Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trusted Checkpoint failing to Initialize. #11

Open
jeyakatsa opened this issue Oct 20, 2021 · 2 comments
Open

Trusted Checkpoint failing to Initialize. #11

jeyakatsa opened this issue Oct 20, 2021 · 2 comments

Comments

@jeyakatsa
Copy link

jeyakatsa commented Oct 20, 2021

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:

  • OS: Windows 10
  • Version: Online Issue, (Version not Applicable)
  • Branch: Online Issue, (Version not Applicable)
  • Commit hash: Online Issue, (Version not Applicable)
@dapplion
Copy link
Contributor

Hey @jeyakatsa 👋

The format of the trusted checkpoint is

<root>:<epoch>

So you must append the epoch to the root

@nazarhussain
Copy link
Contributor

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants