Initialize Ethereum light client with Forced Checkpoint

Generate a beacon checkpoint to sync the Ethereum client from. This is done on bridge initialization or forced sync reset.

Generate Checkpoint Data

On the server where the relayer is deployed, run the following command:

relayer/build/snowbridge-relay generate-beacon-checkpoint --url http://127.0.0.1:9596

The command will output the beacon checkpoint data in hex form. Prepend 0x5200 to the resulting hex (the Ethereum client pallet index and the force_checkpoint call index combined).

Call Force Checkpoint from Relay Chain

Use the resulting call data to make the Transact call to set the beacon checkpoint.

Replace the encoded call bytes highlighted in the screenshot below with the checkpoint data generated in the previous step:

Last updated