Skip to main content

context_for_child_transaction

Function context_for_child_transaction 

Source
pub async fn context_for_child_transaction<FEN, P>(
    provider: &P,
    block_number: u64,
    tx: &TxEnvFor<FEN>,
    networks: NetworkConfigs,
) -> Result<ChainFor<FEN>>
where FEN: FoundryEvmNetwork, P: Provider<FEN::Network>,
Expand description

Builds context for a synthetic transaction executed on top of block_number.