fn assert_executed(execution_result: &BatchTransactionExecutionResult) {
    let result = &execution_result.tx_result.result;
    assert_matches!(
        result,
        ExecutionResult::Success { .. } | ExecutionResult::Revert { .. }
    );
}
Ensures that the transaction was executed successfully.
core/node/state_keeper/src/executor/tests/mod.rs