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

fix genesis time calc #150

Closed
ltitanb opened this issue Oct 7, 2024 · 0 comments · Fixed by #190
Closed

fix genesis time calc #150

ltitanb opened this issue Oct 7, 2024 · 0 comments · Fixed by #190

Comments

@ltitanb
Copy link
Collaborator

ltitanb commented Oct 7, 2024

For custom chains, we calculate the genesis time as min_genesis_time + genesis_delay, this seems to hold for most testnets, but can be different than the actual genesis time (e.g. it's different in mainnet).

// note that this can be wrong, (e.g. it's wrong in mainnet). The correct
// value should come from /eth/v1/beacon/genesis
// more info here: https://kb.beaconcha.in/ethereum-staking/the-genesis-event
// FIXME

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

Successfully merging a pull request may close this issue.

1 participant