Trait fuel_core_producer::ports::DryRunner

source ·
pub trait DryRunner: Send + Sync {
    // Required method
    fn dry_run(
        &self,
        block: Components<Vec<Transaction>>,
        utxo_validation: Option<bool>,
    ) -> ExecutorResult<Vec<TransactionExecutionStatus>>;
}

Required Methods§

source

fn dry_run( &self, block: Components<Vec<Transaction>>, utxo_validation: Option<bool>, ) -> ExecutorResult<Vec<TransactionExecutionStatus>>

Executes the block without committing it to the database. During execution collects the receipts to return them. The utxo_validation field can be used to disable the validation of utxos during execution.

Implementors§