Skip to content

Commit b13c1fc

Browse files
committed
update
1 parent 6514248 commit b13c1fc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

auction/src/benchmarking.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ impl<T: Config> BenchmarkHelper<BlockNumberFor<T>, T::AccountId, T::Balance> for
5858
}
5959
}
6060

61-
fn assert_last_event<T: Config>(generic_event: T::RuntimeEvent) {
62-
frame_system::Pallet::<T>::assert_last_event(generic_event.into());
63-
}
64-
6561
#[benchmarks]
6662
mod benchmarks {
6763
use super::*;
@@ -76,7 +72,7 @@ mod benchmarks {
7672
#[extrinsic_call]
7773
_(RawOrigin::Signed(bidder.clone()), auction_id, bid_price);
7874

79-
assert_last_event::<T>(
75+
frame_system::Pallet::<T>::assert_last_event(
8076
Event::Bid {
8177
auction_id,
8278
bidder: bidder,

0 commit comments

Comments
 (0)