/// Creates block with the specified transaction and returns its execution result.
Creates block with the specified transaction and returns its execution result.
Creates block with the specified transaction and returns its execution result .
pub fn execute_transaction(
    testkit: &mut TestKit,
    tx: Verified<AnyTx>,
) -> Result<(), ExecutionError> {
    testkit.create_block_with_transaction(tx).transactions[0]
        .status()
        .map_err(Clone::clone)
}
pub fn execute_transaction ( testkit : & mut TestKit , tx : Verified < AnyTx > , ) -> Result < ( ) , ExecutionError > { testkit . create_block_with_transaction ( tx ) . transactions [ 0 ] . status ( ) . map_err ( Clone :: clone ) }
Creates block with the specified transaction and returns its execution result.
Creates block with the specified transaction and returns its execution result .
testkit
&mut TestKit
tx
Verified<AnyTx>