Struct fuel_core::service::adapters::ExecutorAdapter
source · Fields§
§database: Database
§config: Config
Trait Implementations§
source§impl Executor<Database> for ExecutorAdapter
impl Executor<Database> for ExecutorAdapter
source§fn execute_without_commit(
&self,
block: ExecutionBlock
) -> Result<UncommittedResult<DBTransaction<Database>>, Error>
fn execute_without_commit(
&self,
block: ExecutionBlock
) -> Result<UncommittedResult<DBTransaction<Database>>, Error>
Executes the block and returns the result of execution with uncommitted database
transaction.
source§fn dry_run(
&self,
block: ExecutionBlock,
utxo_validation: Option<bool>
) -> Result<Vec<Vec<Receipt>>, Error>
fn dry_run(
&self,
block: ExecutionBlock,
utxo_validation: Option<bool>
) -> Result<Vec<Vec<Receipt>>, Error>
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.