Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Block production can fail when eth1 deposits are not current

See original GitHub issue
ERROR | 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:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

ajsuttoncommented, Jun 28, 2022

Assigned to me so no one else takes it - apparently can’t assign it to you directly.

sragsscommented, Jun 29, 2022

Let me know if we should also check that it is a GetNewBlock call.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found