From 0261d123a92f9720f008823bac5b333bddb2c1ff Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 26 Jan 2023 22:34:59 +0100 Subject: [PATCH] Fix XCM transact bench (#6635) Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi --- xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs index 2bd73a85088b..e8acf8aa7bdc 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/benchmarking.rs @@ -100,8 +100,6 @@ benchmarks! { call: double_encoded_noop_call, }; let xcm = Xcm(vec![instruction]); - - let num_events = frame_system::Pallet::::events().len(); }: { executor.bench_process(xcm)?; } verify {