Skip to content

QA : extend test on eth_simulateV1 with test on historical and latest#20818

Draft
lupin012 wants to merge 7 commits intomainfrom
lupin012/extendTestsOnEthSimulateV1
Draft

QA : extend test on eth_simulateV1 with test on historical and latest#20818
lupin012 wants to merge 7 commits intomainfrom
lupin012/extendTestsOnEthSimulateV1

Conversation

@lupin012
Copy link
Copy Markdown
Contributor

@lupin012 lupin012 commented Apr 26, 2026

close #17330
Added more eth_simulateV1 tests "adapting" the Hive test suite.

lupin012 and others added 7 commits April 26, 2026 11:30
Move blockHashOverrides map from inside simulateBlock to the SimulateV1
loop so that BLOCKHASH instructions in a simulated block can see the
hashes of previously simulated blocks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Geth always sets SkipTransactionChecks=true for eth_simulateV1, meaning
the EIP-7825 MaxTxnGasLimit cap never applies to simulated calls even
in validation mode. Erigon was incorrectly setting CheckGas=validation,
causing calls with gas > 16,777,216 to be rejected with ErrGasLimitTooHigh.
The validation flag should only control nonce checking, not protocol-level
transaction caps.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

rpc: cover more corner cases for eth_simulateV1 in RPC Integration Tests

1 participant