ChainSafe / eth2-light-client-demo

https://lodestar-lightclient.chainsafe.io/
MIT License
5 stars 7 forks source link

Trusted Checkpoint failing to Initialize. #11

Open jeyakatsa opened 2 years ago

jeyakatsa commented 2 years ago

Describe the bug

Trusted Checkpoint Failing to Initialize.

Expected behavior

Within the Trusted Checkpoint input, I'm supposed to input the Block Root hash and its supposed to produce the below image... Result

Instead it shows: Error

Steps to Reproduce

According to the video: https://www.youtube.com/watch?v=3O7nNHhdqlc&t=68s

  1. Open https://beaconcha.in/
  2. Click on Epoc
  3. Click on Slot
  4. Copy Block Root hash
  5. Open https://light-client-demo.lodestar.casa/
  6. Paste Block Root hash into Trusted Checkpoint [input]
  7. Click Initialize From Trusted Checkpoint
  8. Error: Error initializing from trusted checkpoint ---hashnumber--- : Epoch is not a number: NaN

Desktop:

dapplion commented 2 years ago

Hey @jeyakatsa :wave:

The format of the trusted checkpoint is

<root>:<epoch>

So you must append the epoch to the root

nazarhussain commented 7 months ago

@jeluard This seems to be a valid issue we need to address. https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#checkpoint