fuel_core_producer::ports

Trait 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§