From 7820806cb0998de1884124fbe1b1c7ccb8f3d2d6 Mon Sep 17 00:00:00 2001 From: Aarsh Shah Date: Wed, 8 Nov 2023 08:36:33 +0400 Subject: [PATCH] fix nit --- vm_api/src/trace.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vm_api/src/trace.rs b/vm_api/src/trace.rs index 4608a0a6b..436c7d40f 100644 --- a/vm_api/src/trace.rs +++ b/vm_api/src/trace.rs @@ -137,12 +137,6 @@ impl ExpectInvocation { assert_eq!(*emitted, *expected); } - for (i, event) in emitted_events.iter().enumerate() { - let expect_event = expected_events.get(i).unwrap(); - // only try to match if required fields match - assert_eq!(*event, *expect_event); - } - if let Some(expect_subinvocs) = &self.subinvocs { let subinvocs = &invoc.subinvocations;