Skip to content

Add support for testing checkpoint sync on local network #4

@jimmygchen

Description

@jimmygchen

I'm adding some end-to-end sync tests to Lighthouse CI, and thought about utilising this tool. This is great.

Currently it looks like I can already use this tool for various purposes

  • testing forward sync (both long & short slot range)
  • testing if a client can serve sync requests (by using a single client type to serve all requests)

I think it would be useful if this can be expanded to cover checkpoint sync as well, i.e. adding a node some time after genesis and checkpoint sync to the testnet - this would make sure we cover backfilling as well.

This is pretty easy to achieve with ethereum-package on a live network or running devnet - although devnets don't stay live for too long, so in order to test the next fork - it would be nice to be able to do this on a local network. I'm not sure if this is straight forward to do though.

I tried using kt service update to purge a CL node db and checkpoint sync, but the command doesn't seem to work.

Maybe someone has better ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions