pub fn execute_transaction(utx: Extrinsic) -> ApplyResult {
	let extrinsic_index: u32 = storage::unhashed::get(well_known_keys::EXTRINSIC_INDEX).unwrap();
	let result = execute_transaction_backend(&utx);
	ExtrinsicData::insert(extrinsic_index, utx.encode());
	storage::unhashed::put(well_known_keys::EXTRINSIC_INDEX, &(extrinsic_index + 1));
	result
}
/// Execute a transaction outside of the block execution function.
/// This doesn't attempt to validate anything regarding the block.
Execute a transaction outside of the block execution function.
This doesn't attempt to validate anything regarding the block.
Execute a transaction outside of the block execution function . This doesn ' t attempt to validate anything regarding the block .
pub fn execute_transaction(utx: Extrinsic) -> ApplyResult {
	let extrinsic_index: u32 = storage::unhashed::get(well_known_keys::EXTRINSIC_INDEX).unwrap();
	let result = execute_transaction_backend(&utx);
	ExtrinsicData::insert(extrinsic_index, utx.encode());
	storage::unhashed::put(well_known_keys::EXTRINSIC_INDEX, &(extrinsic_index + 1));
	result
}
pub fn execute_transaction ( utx : Extrinsic ) -> ApplyResult { let extrinsic_index : u32 = storage :: unhashed :: get ( well_known_keys :: EXTRINSIC_INDEX ) . unwrap ( ) ; let result = execute_transaction_backend ( & utx ) ; ExtrinsicData :: insert ( extrinsic_index , utx . encode ( ) ) ; storage :: unhashed :: put ( well_known_keys :: EXTRINSIC_INDEX , & ( extrinsic_index + 1 ) ) ; result }
Execute a transaction outside of the block execution function.
Execute a transaction outside of the block execution function .
utx
Extrinsic
utx
Extrinsic