pub(crate) fn successful_exec_with_log() -> BatchTransactionExecutionResult {
    BatchTransactionExecutionResult {
        tx_result: Box::new(VmExecutionResultAndLogs {
            logs: VmExecutionLogs {
                user_l2_to_l1_logs: vec![UserL2ToL1Log::default()],
                ..VmExecutionLogs::default()
            },
            ..VmExecutionResultAndLogs::mock_success()
        }),
        compression_result: Ok(()),
        call_traces: vec![],
    }
}
Creates a `TxExecutionResult` object denoting a successful tx execution with the given execution metrics.
core/node/state_keeper/src/testonly/test_batch_executor.rs