Skip to main content

apply_env_overrides

Function apply_env_overrides 

Source
fn apply_env_overrides(
    executor: &mut Executor<EthEvmNetwork>,
    env: &Env,
    overrides: &EnvOverrides,
)
Expand description

Sets the transaction and block fields a test overrides, on top of the runner’s environment

The executor sends every call with a zero base fee and gas price so it can never be rejected for its fees, and its cheatcode inspector shows the test the block and gas price set here.