diff --git a/src/testing.rs b/src/testing.rs index 60973d34..aa0555ee 100644 --- a/src/testing.rs +++ b/src/testing.rs @@ -15,10 +15,9 @@ use httptest::{ }; use itertools::Itertools; use std::str::FromStr; -use vm::vm::{VmPartialExecutionResult, VmTxExecutionResult}; +use vm::VmExecutionResultAndLogs; use zksync_basic_types::{H160, U64}; use zksync_types::api::Log; -use zksync_types::tx::tx_execution_info::TxExecutionStatus; use zksync_types::{ fee::Fee, l2::L2Tx, Address, L2ChainId, Nonce, PackedEthSignature, ProtocolVersionId, H256, U256, @@ -455,21 +454,15 @@ pub fn default_tx_execution_info() -> TxExecutionInfo { }, common_data: Default::default(), received_timestamp_ms: Default::default(), + raw_bytes: None, }, batch_number: Default::default(), miniblock_number: Default::default(), - result: VmTxExecutionResult { - status: TxExecutionStatus::Success, - result: VmPartialExecutionResult { - logs: Default::default(), - revert_reason: Default::default(), - contracts_used: Default::default(), - cycles_used: Default::default(), - computational_gas_used: Default::default(), - }, - call_traces: Default::default(), - gas_refunded: Default::default(), - operator_suggested_refund: Default::default(), + result: VmExecutionResultAndLogs { + result: vm::ExecutionResult::Success { output: vec![] }, + logs: Default::default(), + statistics: Default::default(), + refunds: Default::default(), }, } }