lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Manual checkpoint sync question

Open artjoma opened this issue 2 years ago • 1 comments

Could you please advice. According to documentation:

https://lighthouse-book.sigmaprime.io/checkpoint-sync.html?highlight=checkpoint-block#manual-checkpoint-sync
--checkpoint-state: accepts an SSZ-encoded BeaconState blob
--checkpoint-block: accepts an SSZ-encoded SignedBeaconBlock blob

Where I can get BeaconState blob and SignedBeaconBlock blob files. Export from lighthouse node or how ?

artjoma avatar Aug 31 '22 11:08 artjoma

Check the standard beacon API endpoints. Make sure to use the correct header to get SSZ encoding.

To indicate that SSZ data is required in response to a request the header "Accept: application/octet-stream" should be sent. Note that only a subset of requests can respond with data in SSZ format; these are noted in each individual request.

https://ethereum.github.io/beacon-APIs/#/Debug/getStateV2

realbigsean avatar Aug 31 '22 16:08 realbigsean

Closing as resolved

michaelsproul avatar Sep 26 '22 05:09 michaelsproul