diff --git a/Cargo.lock b/Cargo.lock index 64c2628..b1722b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1186,7 +1186,7 @@ dependencies = [ [[package]] name = "casper-runtime" -version = "3.5.21" +version = "3.5.22" dependencies = [ "casper-runtime-constants", "frame-benchmarking", diff --git a/pallets/slow-clap/src/weights.rs b/pallets/slow-clap/src/weights.rs index 6347a93..dc7b5ff 100644 --- a/pallets/slow-clap/src/weights.rs +++ b/pallets/slow-clap/src/weights.rs @@ -35,16 +35,15 @@ // --header=./file_header.txt // --output=./runtime/casper/src/weights/ghost_slow_clap.rs -use frame_support::{ - traits::Get, - weights::{Weight, constants::RocksDbWeight} -}; - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] +use frame_support::{ + traits::Get, + weights::{Weight, constants::RocksDbWeight} +}; use core::marker::PhantomData; pub trait WeightInfo { @@ -143,8 +142,8 @@ impl WeightInfo for () { // Minimum execution time: 211_154_000 picoseconds. Weight::from_parts(215_420_000, 0) .saturating_add(Weight::from_parts(0, 3820)) - .saturating_add(T::RocksDbWeight::get().reads(10)) - .saturating_add(T::RocksDbWeight::get().writes(7)) + .saturating_add(RocksDbWeight::get().reads(10)) + .saturating_add(RocksDbWeight::get().writes(7)) } /// Storage: `GhostSlowClaps::ReceivedClaps` (r:1 w:0) /// Proof: `GhostSlowClaps::ReceivedClaps` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -171,7 +170,7 @@ impl WeightInfo for () { // Minimum execution time: 208_453_000 picoseconds. Weight::from_parts(212_038_000, 0) .saturating_add(Weight::from_parts(0, 4120)) - .saturating_add(T::RocksDbWeight::get().reads(9)) - .saturating_add(T::RocksDbWeight::get().writes(5)) + .saturating_add(RocksDbWeight::get().reads(9)) + .saturating_add(RocksDbWeight::get().writes(5)) } }