Function apply_chain_and_block_specific_env_changes
pub fn apply_chain_and_block_specific_env_changes<N, SPEC, BLOCK>(
evm_env: &mut EvmEnv<SPEC, BLOCK>,
block: &<N as Network>::BlockResponse,
configs: NetworkConfigs,
)Expand description
Depending on the configured chain id and block number this should apply any specific changes
- checks for prevrandao mixhash after merge
- applies chain specifics: on Arbitrum
block.numberis the L1 block
Should be called with proper chain id (retrieved from provider if not provided), works with any
[FoundryBlock] type.