pub trait DryRunner: Send + Sync {
// Required method
fn dry_run(
&self,
block: Components<Vec<Transaction>>,
utxo_validation: Option<bool>,
) -> ExecutorResult<Vec<TransactionExecutionStatus>>;
}
Required Methods§
sourcefn dry_run(
&self,
block: Components<Vec<Transaction>>,
utxo_validation: Option<bool>,
) -> ExecutorResult<Vec<TransactionExecutionStatus>>
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.