Skip to content

rpc: add check on latest executed block#19018

Merged
canepat merged 11 commits into
mainfrom
lupin012/add_check_on_lastExecutedBlock
Feb 10, 2026
Merged

rpc: add check on latest executed block#19018
canepat merged 11 commits into
mainfrom
lupin012/add_check_on_lastExecutedBlock

Conversation

@lupin012

@lupin012 lupin012 commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

closes #18912

@lupin012 lupin012 force-pushed the lupin012/add_check_on_lastExecutedBlock branch from dfcef25 to f4ba9c4 Compare February 9, 2026 22:21
@lupin012 lupin012 marked this pull request as ready for review February 9, 2026 23:00
@lupin012 lupin012 marked this pull request as draft February 9, 2026 23:41
@lupin012 lupin012 marked this pull request as ready for review February 10, 2026 07:19
@canepat canepat merged commit c3ffd2b into main Feb 10, 2026
30 of 33 checks passed
@canepat canepat deleted the lupin012/add_check_on_lastExecutedBlock branch February 10, 2026 10:58
Sahil-4555 pushed a commit to Sahil-4555/erigon that referenced this pull request Feb 11, 2026
Sahil-4555 pushed a commit to Sahil-4555/erigon that referenced this pull request Feb 11, 2026
AskAlexSharov pushed a commit that referenced this pull request Feb 13, 2026
madumas added a commit to ellipfra/poly-erigon that referenced this pull request Mar 30, 2026
…ech#19018)

Prevent RPC endpoints from returning stale/incorrect data for blocks
that have headers but haven't been executed yet. Returns explicit error
"block X is not executed (last block: Y)" instead of silent wrong data.

Also fixes isLatest cache bug in headerByNumberOrHash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eth_call returns stale/incorrect data instead of error for blocks beyond Execution stage

3 participants