Skip to content

Commit

Permalink
use sp_std::vec
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Jul 17, 2024
1 parent 9ebe890 commit 13fd33c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
use crate::paras::*;
use pallet_mmr::BenchmarkHelper;
use sp_std::vec;

/// Struct to setup benchmarks for the `merkle-mountain-range` pallet.
pub struct MmrSetup<T>(core::marker::PhantomData<T>);
Expand Down
6 changes: 3 additions & 3 deletions polkadot/runtime/westend/src/weights/pallet_mmr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Autogenerated weights for `pallet_mmr`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-16, STEPS: `5`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2024-07-17, STEPS: `5`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `am1max.local`, CPU: `<UNKNOWN>`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("westend-dev")`, DB CACHE: 1024
Expand Down Expand Up @@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_mmr::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `1071043 + x * (39 ±0)`
// Estimated: `3608787 + x * (39 ±0)`
// Minimum execution time: 10_052_000_000 picoseconds.
Weight::from_parts(10_269_714_886, 0)
// Minimum execution time: 10_200_000_000 picoseconds.
Weight::from_parts(10_834_353_578, 0)
.saturating_add(Weight::from_parts(0, 3608787))
.saturating_add(T::DbWeight::get().reads(1031))
.saturating_add(T::DbWeight::get().writes(4))
Expand Down

0 comments on commit 13fd33c

Please sign in to comment.