Functionsยง
- apply_
context_ ๐update monad - Applies a fork/roll/transact context update to the active EVM context.
- check_
broadcast ๐ - convert_
to_ ๐bytes - Convert fixed bytes and address values to bytes in order to prevent encoding issues.
- create_
fork ๐ - Creates a new fork
- create_
fork_ ๐at_ transaction - Creates a new fork at the given transaction
- create_
fork_ ๐request - Creates the request object for a new fork request
- create_
select_ ๐fork - Creates and then also selects the new fork
- create_
select_ ๐fork_ at_ transaction - Creates and then also selects the new fork at the given transaction
- fork_
env_ ๐op - Clones the EVM and tx environments, runs a fork operation that may modify them, then writes them back. This is the common pattern for all fork-switching cheatcodes (rollFork, selectFork, createSelectFork).
- persist_
caller ๐ - persistent_
created_ ๐accounts - record_
fork_ ๐roll - record_
fork_ ๐switch - refresh_
active_ ๐fork_ state - Refreshes cached fork and journal state after a
vm.rpccall on the active fork that mutates the node directly. Only well-known Anvil/Hardhat account/storage setters are handled; chain-advancing methods (e.g.eth_sendTransaction) need re-forking, not synchronization. - rpc_
call ๐ - Performs an Ethereum JSON-RPC request to the given endpoint.
- rpc_
json_ ๐call - Performs an Ethereum JSON-RPC request to the given endpoint and returns the JSON result.
- rpc_
result ๐ - transact ๐