Skip to content

Conversation

@lupin012
Copy link
Contributor

@lupin012 lupin012 commented Nov 15, 2025

close #17869

The PR contains fixes:

  • Each iteration of the simulation must start from a fresh copy of the initial state, including all defined stateOverrides
  • When the state is overriden on ibs the state should be commited.

The rpc-tests are updated wiith same call data request as issue for the following rpc-api on latest:

  • eth call
  • debug traceCall (callTracer)
  • debug traceCall (default tracer)
  • eth estimateGas
    the response are verificated with Geth

@lupin012 lupin012 marked this pull request as ready for review November 16, 2025 14:56
@AskAlexSharov AskAlexSharov merged commit 1dce6b2 into main Nov 17, 2025
32 checks passed
@AskAlexSharov AskAlexSharov deleted the lupin012/fix_17869 branch November 17, 2025 01:48
canepat added a commit that referenced this pull request Nov 17, 2025
…sent (#17935)

Fixes regression on Hive test
`ethSimulate-self-destructive-contract-produces-logs` introduced by
#17914

For being conservative, `CommitBlock` has been inserted/enabled only for
APIs where tests utilising `stateOverrides` exist. In all other cases,
`Overrides` is called without a subsequent `CommitBlock`. Tests will
subsequently be conducted for these cases, and `CommitBlock` will be
inserted if necessary.

---------

Co-authored-by: canepat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rpc: eth_estimateGas returns value greater than expected

3 participants