fn replay_block_transactions<FEN: FoundryEvmNetwork>(
block: Option<&AnyRpcBlock>,
target_hash: B256,
executor: &mut Executor<FEN>,
evm_env: &EvmEnvFor<FEN>,
context: Option<&BlockContext<FEN>>,
) -> Result<Option<ChainFor<FEN>>>Expand description
Replays the transactions preceding target_hash in block and returns the extension state
prepared for the target, positioned in context when the network’s execution depends on the
block position.
System transactions are skipped, except canonical protocol transactions of the network, such as Monad’s staking syscalls, which replay.