Add 'World state unavailable' as non-retryable for proof lower bound - #904
Open
easy2stake wants to merge 1 commit into
Open
easy2stake wants to merge 1 commit into
easy2stake wants to merge 1 commit into
Conversation
Linea (linea-besu) returns this error from eth_getProof on pruned
state. Without it in NO_PROOF_ERRORS, RecursiveLowerBound retries
indefinitely and emits the "report it to dshackle devs" warning.
Reproduced on rpc-svc-fsn1s3 (linea mainnet):
- eth_getProof at an old/pruned block -> {"error":{"code":-32000,"message":"World state unavailable"}}
- eth_getProof at a recent block -> valid proof returned
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Hi @a10zn8 , can you please check this out ? It is for the linea-besu client. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
World state unavailablefrometh_getProofon pruned state, instead of one of the error strings already recognized inNO_PROOF_ERRORS.RecursiveLowerBound.retrySpectreats it as a transient error and retries indefinitely with backoff up to 3 minutes, spamming the"...please report it to dshackle devs"warning on every retry past 30 attempts, instead of settling the PROOF lower bound.state is not availablefor opBNB/BSC).Test plan
Reproduced against a Linea mainnet upstream (
rpc-svc-fsn1s3):eth_getProofat an old/pruned block returns{"error":{"code":-32000,"message":"World state unavailable"}}eth_getProofat a recent block returns a valid proofSet<String>, consistent with prior PRs adding upstream-specific non-retryable error strings (no behavioral change to retry logic itself)🤖 Generated with Claude Code