pub async fn to_execute_env(
        &self,
        connection: &mut Connection<'_, Core>,
        resolved_block_info: &ResolvedBlockInfo,
        fee_input: BatchFeeInput,
        tx: &L2Tx,
    ) -> anyhow::Result<OneshotEnv> {
        self.to_env_inner(
            connection,
            TxExecutionMode::VerifyExecute,
            resolved_block_info,
            fee_input,
            Some(tx.common_data.fee.max_fee_per_gas.as_u64()),
        )
        .await
    }
Prepares environment for executing a provided transaction.
core/lib/vm_executor/src/oneshot/env.rs