Module forking

Module forking 

Source
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§

ForkInfo
Fork configuration details
ForkResult
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.