Expand description
Utilities for serving eth_simulateV1
Enums§
- EthSimulate
Error - Errors which may occur during
eth_simulateV1execution.
Constants§
- SIMULATE_
REVERT_ CODE - Error code for execution reverted in
eth_simulateV1. - SIMULATE_
VM_ ERROR_ CODE - Error code for VM execution errors (e.g., out of gas) in
eth_simulateV1.
Functions§
- apply_
precompile_ overrides - Applies precompile move overrides from state overrides to the EVM’s precompiles map.
- build_
simulated_ block - Handles outputs of the calls execution and builds a
SimulatedBlock. - execute_
transactions - Converts all
TransactionRequests intoRecoveredtransactions and applies them to the given [BlockExecutor]. - resolve_
transaction - Goes over the list of
TransactionRequests and populates missing fields trying to resolve them into primitive transactions.