Module utils
forge
1.2.3
Module utils
Module Items
Functions
Type Aliases
In crate forge
Modules
args
backend
cmd
constants
coverage
decode
executors
fork
fuzz
gas_report
inspectors
lockfile
multi_runner
opts
progress
result
revm
runner
traces
utils
Macros
call_inspectors
Structs
ContractRunner
Env
EnvMut
EvmEnv
Lockfile
Enums
DepIdentifier
Constants
FOUNDRY_LOCK
Traits
InspectorExt
TestFilter
Type Aliases
DepMap
forge
Module
utils
Copy item path
Settings
Help
Summary
Functions
§
apply_
chain_
and_
block_
specific_
env_
changes
Depending on the configured chain id and block number this should apply any specific changes
configure_
tx_
env
Configures the env for the given RPC transaction. Accounts for an impersonated transaction by resetting the
env.tx.caller
field to
tx.from
.
configure_
tx_
req_
env
Configures the env for the given RPC transaction request.
impersonated_from
is the address of the impersonated account. This helps account for an impersonated transaction by resetting the
env.tx.caller
field to
impersonated_from
.
get_
function
Given an ABI and selector, it tries to find the respective function.
Type Aliases
§
State
Changeset
EVM State is a mapping from addresses to accounts.