Skip to content
Snippets Groups Projects

Quota pallet benchmark

Compare and Show latest version
1 file
+ 0
7
Compare changes
  • Side-by-side
  • Inline
@@ -19,13 +19,6 @@
use super::*;
use frame_benchmarking::{account, benchmarks};
// FIXME this is a naïve implementation of benchmarks:
// - without properly prepare data
// - without "verify" blocks
// - without thinking about worst case scenario
// - without writing complexity in the term of refund queue length
// It's there as a seed for benchmark implementation and to use WeightInfo where needed.
fn assert_has_event<T: Config>(generic_event: <T as Config>::RuntimeEvent) {
frame_system::Pallet::<T>::assert_has_event(generic_event.into());
}
Loading