Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ischasny committed Oct 18, 2024
1 parent ceb6e10 commit d93b52d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lib/vm_executor/src/oneshot/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl MockOneshotExecutor {

fn mock_inspect(&self, env: &OneshotEnv, args: TxExecutionArgs) -> VmExecutionResultAndLogs {
match env.system.execution_mode {
TxExecutionMode::EthCall => (self.call_responses)(&args.transaction, &env),
TxExecutionMode::EthCall => (self.call_responses)(&args.transaction, env),
TxExecutionMode::VerifyExecute | TxExecutionMode::EstimateFee => {
(self.tx_responses)(&args.transaction, env)
}
Expand Down
2 changes: 1 addition & 1 deletion core/node/state_keeper/src/io/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ async fn test_mempool_with_timestamp_assertion(commitment_mode: L1BatchCommitmen
.expect("Failed to find transaction")
.unwrap();
assert_eq!(
"rejected: Transaction failed block.timestamp constraint",
"rejected: Transaction failed block.timestamp assertion",
rejected_storage_tx_2.error.unwrap()
);
}
Expand Down

0 comments on commit d93b52d

Please sign in to comment.