Skip to main content

execute

Function execute 

Source
fn execute<FEN: FoundryEvmNetwork>(
    backend: &mut dyn CheatcodesBackend<FEN>,
    env: EvmEnvFor<FEN>,
    tx: &Recovered<TxFor<FEN>>,
    ext: Option<ChainFor<FEN>>,
    stack: &mut InspectorStack<FEN>,
) -> Result<(Execution<FEN>, FoundryEvmFor<'static, FEN>)>
Expand description

Executes tx and returns its result and EVM for the caller to commit, park or discard.