Block production can fail when eth1 deposits are not current
See original GitHub issueERROR | BeaconRestApi | Failed to process request to URL ..../eth/v2/validator/blocks/....
tech.pegasys.teku.validator.coordinator.MissingDepositsException: Unable to create block because ETH1 deposits are not available. Missing deposits 410438 to 410582
In this case, we’ve failed with 500 with full stack trace.
What’d be nice is if GetNewBlock fails (v2 only is fine), and the exception is a MissingDepositsException
, we should pass back the error message, still as a 500 error, and we won’t need to fall through to the default exception handler and print the stack trace.
This will give the user a lot more context about what may be going wrong.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
eth 2.0 - Eth2 Client Teku missing proposals
coordinator.MissingDepositsException: Unable to create block because ETH1 deposits are not available. Missing deposits 124010 to 165920 at tech.
Read more >A data-driven view of the beacon chain incident
The only thing that will fail is the onboarding of new validator deposits until the chain votes on the correct ETH1 data once...
Read more >What is "Syncing deposit contract block cache"?
After validators create their execution layer deposit transaction there are two waiting periods before they can start producing blocks and attestations:.
Read more >3.5.3 Block processing - Upgrading Ethereum
Blocks may contain Eth1Data which is supposed to be the proposer's best view of the Eth1 chain and the deposit contract at the...
Read more >On the way to Eth1 finality - Proof-of-Stake
This is achieved by bringing Eth1 block hash and root of deposit tree to the beacon chain. During period of time called voting...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Assigned to me so no one else takes it - apparently can’t assign it to you directly.
Let me know if we should also check that it is a
GetNewBlock
call.