Expand description
Chain forking utilities for creating and managing forked blockchain states Chain forking and transaction replay utilities
This module provides ACTUAL REVM TRANSACTION EXECUTION with transact_commit()
Structs§
- Fork
Info - Fork configuration details
- Fork
Result - Result of forking operation containing comprehensive replay information
Constants§
- ARBITRUM_
SENDER - Arbitrum L1 sender address of the first transaction in every block.
0x00000000000000000000000000000000000a4b05 - OPTIMISM_
SYSTEM_ ADDRESS - The system address, the sender of the first transaction in every block:
0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001
Functions§
- fork_
and_ prepare - Fork the chain and ACTUALLY EXECUTE preceding transactions with revm.transact_commit()
- get_
chain_ id - Get chain id by querying RPC
- get_
tx_ env_ from_ tx - Get the transaction environment from the transaction.