mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Companion for paritytech/substrate#12157 (#1590)
* Remove RefTimeWeight
* [ci] Apply cargo-fmt
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+248
-248
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
use frame_support::{
|
use frame_support::{
|
||||||
traits::Get,
|
traits::Get,
|
||||||
weights::{constants::RocksDbWeight, RefTimeWeight, Weight},
|
weights::{constants::RocksDbWeight, Weight},
|
||||||
};
|
};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
@@ -39,137 +39,93 @@ pub trait WeightInfo {
|
|||||||
pub struct SubstrateWeight<T>(PhantomData<T>);
|
pub struct SubstrateWeight<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||||
fn set_invulnerables(b: u32) -> Weight {
|
fn set_invulnerables(b: u32) -> Weight {
|
||||||
Weight::from_ref_time(18_563_000 as RefTimeWeight)
|
Weight::from_ref_time(18_563_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(b as u64))
|
||||||
Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight),
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
)
|
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
Weight::from_ref_time(16_363_000 as RefTimeWeight)
|
Weight::from_ref_time(16_363_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
Weight::from_ref_time(16_840_000 as RefTimeWeight)
|
Weight::from_ref_time(16_840_000 as u64).saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn register_as_candidate(c: u32) -> Weight {
|
fn register_as_candidate(c: u32) -> Weight {
|
||||||
Weight::from_ref_time(71_196_000 as RefTimeWeight)
|
Weight::from_ref_time(71_196_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(198_000 as u64).saturating_mul(c as u64))
|
||||||
Weight::from_ref_time(198_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight),
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
)
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn leave_intent(c: u32) -> Weight {
|
fn leave_intent(c: u32) -> Weight {
|
||||||
Weight::from_ref_time(55_336_000 as RefTimeWeight)
|
Weight::from_ref_time(55_336_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
|
||||||
Weight::from_ref_time(151_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight),
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
)
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
Weight::from_ref_time(71_461_000 as RefTimeWeight)
|
Weight::from_ref_time(71_461_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
fn new_session(r: u32, c: u32) -> Weight {
|
fn new_session(r: u32, c: u32) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_010_000
|
// Standard Error: 1_010_000
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(109_961_000 as u64).saturating_mul(r as u64))
|
||||||
Weight::from_ref_time(109_961_000 as RefTimeWeight)
|
|
||||||
.saturating_mul(r as RefTimeWeight),
|
|
||||||
)
|
|
||||||
// Standard Error: 1_010_000
|
// Standard Error: 1_010_000
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(151_952_000 as u64).saturating_mul(c as u64))
|
||||||
Weight::from_ref_time(151_952_000 as RefTimeWeight)
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_mul(c as RefTimeWeight),
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
)
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_add(
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(c as u64)))
|
||||||
T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
.saturating_add(
|
|
||||||
T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
.saturating_add(
|
|
||||||
T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(r as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
.saturating_add(
|
|
||||||
T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For backwards compatibility and tests
|
// For backwards compatibility and tests
|
||||||
impl WeightInfo for () {
|
impl WeightInfo for () {
|
||||||
fn set_invulnerables(b: u32) -> Weight {
|
fn set_invulnerables(b: u32) -> Weight {
|
||||||
Weight::from_ref_time(18_563_000 as RefTimeWeight)
|
Weight::from_ref_time(18_563_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(b as u64))
|
||||||
Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight),
|
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||||
)
|
|
||||||
.saturating_add(RocksDbWeight::get().writes(1 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
Weight::from_ref_time(16_363_000 as RefTimeWeight)
|
Weight::from_ref_time(16_363_000 as u64)
|
||||||
.saturating_add(RocksDbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
Weight::from_ref_time(16_840_000 as RefTimeWeight)
|
Weight::from_ref_time(16_840_000 as u64)
|
||||||
.saturating_add(RocksDbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
fn register_as_candidate(c: u32) -> Weight {
|
fn register_as_candidate(c: u32) -> Weight {
|
||||||
Weight::from_ref_time(71_196_000 as RefTimeWeight)
|
Weight::from_ref_time(71_196_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(198_000 as u64).saturating_mul(c as u64))
|
||||||
Weight::from_ref_time(198_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight),
|
.saturating_add(RocksDbWeight::get().reads(4 as u64))
|
||||||
)
|
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||||
.saturating_add(RocksDbWeight::get().reads(4 as RefTimeWeight))
|
|
||||||
.saturating_add(RocksDbWeight::get().writes(2 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn leave_intent(c: u32) -> Weight {
|
fn leave_intent(c: u32) -> Weight {
|
||||||
Weight::from_ref_time(55_336_000 as RefTimeWeight)
|
Weight::from_ref_time(55_336_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(151_000 as u64).saturating_mul(c as u64))
|
||||||
Weight::from_ref_time(151_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight),
|
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||||
)
|
.saturating_add(RocksDbWeight::get().writes(2 as u64))
|
||||||
.saturating_add(RocksDbWeight::get().reads(1 as RefTimeWeight))
|
|
||||||
.saturating_add(RocksDbWeight::get().writes(2 as RefTimeWeight))
|
|
||||||
}
|
}
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
Weight::from_ref_time(71_461_000 as RefTimeWeight)
|
Weight::from_ref_time(71_461_000 as u64)
|
||||||
.saturating_add(RocksDbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(RocksDbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
fn new_session(r: u32, c: u32) -> Weight {
|
fn new_session(r: u32, c: u32) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_010_000
|
// Standard Error: 1_010_000
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(109_961_000 as u64).saturating_mul(r as u64))
|
||||||
Weight::from_ref_time(109_961_000 as RefTimeWeight)
|
|
||||||
.saturating_mul(r as RefTimeWeight),
|
|
||||||
)
|
|
||||||
// Standard Error: 1_010_000
|
// Standard Error: 1_010_000
|
||||||
.saturating_add(
|
.saturating_add(Weight::from_ref_time(151_952_000 as u64).saturating_mul(c as u64))
|
||||||
Weight::from_ref_time(151_952_000 as RefTimeWeight)
|
.saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_mul(c as RefTimeWeight),
|
.saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
)
|
.saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_add(
|
.saturating_add(RocksDbWeight::get().writes((2 as u64).saturating_mul(c as u64)))
|
||||||
RocksDbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
.saturating_add(
|
|
||||||
RocksDbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
.saturating_add(
|
|
||||||
RocksDbWeight::get()
|
|
||||||
.writes((2 as RefTimeWeight).saturating_mul(r as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
.saturating_add(
|
|
||||||
RocksDbWeight::get()
|
|
||||||
.writes((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
use frame_support::{
|
use frame_support::{
|
||||||
traits::Get,
|
traits::Get,
|
||||||
weights::{constants::RocksDbWeight, RefTimeWeight, Weight},
|
weights::{constants::RocksDbWeight, Weight},
|
||||||
};
|
};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
@@ -18,31 +18,31 @@ pub struct SubstrateWeight<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
Weight::from_ref_time(2_717_000 as RefTimeWeight)
|
Weight::from_ref_time(2_717_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
Weight::from_ref_time(2_717_000 as RefTimeWeight)
|
Weight::from_ref_time(2_717_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl WeightInfo for () {
|
impl WeightInfo for () {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
Weight::from_ref_time(2_717_000 as RefTimeWeight)
|
Weight::from_ref_time(2_717_000 as u64)
|
||||||
.saturating_add(RocksDbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(RocksDbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
Weight::from_ref_time(2_717_000 as RefTimeWeight)
|
Weight::from_ref_time(2_717_000 as u64)
|
||||||
.saturating_add(RocksDbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(RocksDbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(RocksDbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+7
-7
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
||||||
@@ -48,14 +48,14 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
Weight::from_ref_time(5_634_000 as RefTimeWeight)
|
Weight::from_ref_time(5_634_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
Weight::from_ref_time(5_559_000 as RefTimeWeight)
|
Weight::from_ref_time(5_559_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `frame_system`.
|
/// Weight functions for `frame_system`.
|
||||||
@@ -48,43 +48,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark(_b: u32, ) -> Weight {
|
fn remark(_b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark_with_event(b: u32, ) -> Weight {
|
fn remark_with_event(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Digest (r:1 w:1)
|
// Storage: System Digest (r:1 w:1)
|
||||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
Weight::from_ref_time(5_461_000 as RefTimeWeight)
|
Weight::from_ref_time(5_461_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn set_storage(i: u32, ) -> Weight {
|
fn set_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(622_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(622_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn kill_storage(i: u32, ) -> Weight {
|
fn kill_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(351_000 as RefTimeWeight)
|
Weight::from_ref_time(351_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(513_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(513_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `p` is `[1, 1000]`.
|
/// The range of component `p` is `[1, 1000]`.
|
||||||
fn kill_prefix(p: u32, ) -> Weight {
|
fn kill_prefix(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(1_054_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_054_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_assets`.
|
/// Weight functions for `pallet_assets`.
|
||||||
@@ -48,15 +48,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
Weight::from_ref_time(26_670_000 as RefTimeWeight)
|
Weight::from_ref_time(26_670_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
Weight::from_ref_time(15_063_000 as RefTimeWeight)
|
Weight::from_ref_time(15_063_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:5002 w:5001)
|
// Storage: Assets Account (r:5002 w:5001)
|
||||||
@@ -67,165 +67,165 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[0, 5000]`.
|
/// The range of component `s` is `[0, 5000]`.
|
||||||
/// The range of component `a` is `[0, 500]`.
|
/// The range of component `a` is `[0, 500]`.
|
||||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 46_000
|
// Standard Error: 46_000
|
||||||
.saturating_add(Weight::from_ref_time(16_382_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(16_382_000 as u64).saturating_mul(c as u64))
|
||||||
// Standard Error: 46_000
|
// Standard Error: 46_000
|
||||||
.saturating_add(Weight::from_ref_time(19_187_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(19_187_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 465_000
|
// Standard Error: 465_000
|
||||||
.saturating_add(Weight::from_ref_time(16_818_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(16_818_000 as u64).saturating_mul(a as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(a as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
Weight::from_ref_time(29_655_000 as RefTimeWeight)
|
Weight::from_ref_time(29_655_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
Weight::from_ref_time(33_648_000 as RefTimeWeight)
|
Weight::from_ref_time(33_648_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(47_414_000 as RefTimeWeight)
|
Weight::from_ref_time(47_414_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
Weight::from_ref_time(39_871_000 as RefTimeWeight)
|
Weight::from_ref_time(39_871_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
Weight::from_ref_time(47_454_000 as RefTimeWeight)
|
Weight::from_ref_time(47_454_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
Weight::from_ref_time(20_827_000 as RefTimeWeight)
|
Weight::from_ref_time(20_827_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
Weight::from_ref_time(21_249_000 as RefTimeWeight)
|
Weight::from_ref_time(21_249_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn freeze_asset() -> Weight {
|
fn freeze_asset() -> Weight {
|
||||||
Weight::from_ref_time(17_775_000 as RefTimeWeight)
|
Weight::from_ref_time(17_775_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn thaw_asset() -> Weight {
|
fn thaw_asset() -> Weight {
|
||||||
Weight::from_ref_time(17_917_000 as RefTimeWeight)
|
Weight::from_ref_time(17_917_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Metadata (r:1 w:0)
|
// Storage: Assets Metadata (r:1 w:0)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
Weight::from_ref_time(18_724_000 as RefTimeWeight)
|
Weight::from_ref_time(18_724_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
Weight::from_ref_time(17_448_000 as RefTimeWeight)
|
Weight::from_ref_time(17_448_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
/// The range of component `n` is `[0, 50]`.
|
/// The range of component `n` is `[0, 50]`.
|
||||||
/// The range of component `s` is `[0, 50]`.
|
/// The range of component `s` is `[0, 50]`.
|
||||||
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
|
fn set_metadata(_n: u32, _s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_859_000 as RefTimeWeight)
|
Weight::from_ref_time(31_859_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_293_000 as RefTimeWeight)
|
Weight::from_ref_time(31_293_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
/// The range of component `n` is `[0, 50]`.
|
/// The range of component `n` is `[0, 50]`.
|
||||||
/// The range of component `s` is `[0, 50]`.
|
/// The range of component `s` is `[0, 50]`.
|
||||||
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
|
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(19_595_000 as RefTimeWeight)
|
Weight::from_ref_time(19_595_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_clear_metadata() -> Weight {
|
fn force_clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_366_000 as RefTimeWeight)
|
Weight::from_ref_time(31_366_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_asset_status() -> Weight {
|
fn force_asset_status() -> Weight {
|
||||||
Weight::from_ref_time(16_884_000 as RefTimeWeight)
|
Weight::from_ref_time(16_884_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
Weight::from_ref_time(34_730_000 as RefTimeWeight)
|
Weight::from_ref_time(34_730_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_approved() -> Weight {
|
fn transfer_approved() -> Weight {
|
||||||
Weight::from_ref_time(59_797_000 as RefTimeWeight)
|
Weight::from_ref_time(59_797_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(35_178_000 as RefTimeWeight)
|
Weight::from_ref_time(35_178_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn force_cancel_approval() -> Weight {
|
fn force_cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(36_840_000 as RefTimeWeight)
|
Weight::from_ref_time(36_840_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_balances`.
|
/// Weight functions for `pallet_balances`.
|
||||||
@@ -48,44 +48,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(41_804_000 as RefTimeWeight)
|
Weight::from_ref_time(41_804_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
Weight::from_ref_time(31_899_000 as RefTimeWeight)
|
Weight::from_ref_time(31_899_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_creating() -> Weight {
|
fn set_balance_creating() -> Weight {
|
||||||
Weight::from_ref_time(20_638_000 as RefTimeWeight)
|
Weight::from_ref_time(20_638_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_killing() -> Weight {
|
fn set_balance_killing() -> Weight {
|
||||||
Weight::from_ref_time(24_081_000 as RefTimeWeight)
|
Weight::from_ref_time(24_081_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
Weight::from_ref_time(41_357_000 as RefTimeWeight)
|
Weight::from_ref_time(41_357_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_all() -> Weight {
|
fn transfer_all() -> Weight {
|
||||||
Weight::from_ref_time(37_382_000 as RefTimeWeight)
|
Weight::from_ref_time(37_382_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_unreserve() -> Weight {
|
fn force_unreserve() -> Weight {
|
||||||
Weight::from_ref_time(18_476_000 as RefTimeWeight)
|
Weight::from_ref_time(18_476_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+26
-26
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_collator_selection`.
|
/// Weight functions for `pallet_collator_selection`.
|
||||||
@@ -50,21 +50,21 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||||
/// The range of component `b` is `[1, 100]`.
|
/// The range of component `b` is `[1, 100]`.
|
||||||
fn set_invulnerables(b: u32, ) -> Weight {
|
fn set_invulnerables(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(8_196_000 as RefTimeWeight)
|
Weight::from_ref_time(8_196_000 as u64)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(3_354_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_354_000 as u64).saturating_mul(b as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
Weight::from_ref_time(9_141_000 as RefTimeWeight)
|
Weight::from_ref_time(9_141_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
Weight::from_ref_time(9_554_000 as RefTimeWeight)
|
Weight::from_ref_time(9_554_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
||||||
@@ -74,29 +74,29 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn register_as_candidate(c: u32, ) -> Weight {
|
fn register_as_candidate(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(55_660_000 as RefTimeWeight)
|
Weight::from_ref_time(55_660_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[6, 1000]`.
|
/// The range of component `c` is `[6, 1000]`.
|
||||||
fn leave_intent(c: u32, ) -> Weight {
|
fn leave_intent(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(56_380_000 as RefTimeWeight)
|
Weight::from_ref_time(56_380_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
Weight::from_ref_time(31_852_000 as RefTimeWeight)
|
Weight::from_ref_time(31_852_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
||||||
@@ -106,13 +106,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
/// The range of component `r` is `[1, 1000]`.
|
/// The range of component `r` is `[1, 1000]`.
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 2_076_000
|
// Standard Error: 2_076_000
|
||||||
.saturating_add(Weight::from_ref_time(10_780_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(10_780_000 as u64).saturating_mul(r as u64))
|
||||||
// Standard Error: 2_076_000
|
// Standard Error: 2_076_000
|
||||||
.saturating_add(Weight::from_ref_time(55_238_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(55_238_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_multisig`.
|
/// Weight functions for `pallet_multisig`.
|
||||||
@@ -48,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(18_001_000 as RefTimeWeight)
|
Weight::from_ref_time(18_001_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(35_223_000 as RefTimeWeight)
|
Weight::from_ref_time(35_223_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -71,38 +71,38 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(39_275_000 as RefTimeWeight)
|
Weight::from_ref_time(39_275_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(92_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(24_703_000 as RefTimeWeight)
|
Weight::from_ref_time(24_703_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(96_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(96_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(38_375_000 as RefTimeWeight)
|
Weight::from_ref_time(38_375_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -110,53 +110,53 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(46_964_000 as RefTimeWeight)
|
Weight::from_ref_time(46_964_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(143_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(143_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(34_450_000 as RefTimeWeight)
|
Weight::from_ref_time(34_450_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:0)
|
// Storage: Multisig Calls (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(22_051_000 as RefTimeWeight)
|
Weight::from_ref_time(22_051_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(69_763_000 as RefTimeWeight)
|
Weight::from_ref_time(69_763_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(53_182_000 as RefTimeWeight)
|
Weight::from_ref_time(53_182_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_proxy`.
|
/// Weight functions for `pallet_proxy`.
|
||||||
@@ -49,10 +49,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy(p: u32, ) -> Weight {
|
fn proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(18_075_000 as RefTimeWeight)
|
Weight::from_ref_time(18_075_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(92_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -60,39 +60,39 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(35_722_000 as RefTimeWeight)
|
Weight::from_ref_time(35_722_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(180_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(25_193_000 as RefTimeWeight)
|
Weight::from_ref_time(25_193_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(185_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(185_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(23_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(25_123_000 as RefTimeWeight)
|
Weight::from_ref_time(25_123_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(190_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(21_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -100,58 +100,58 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn announce(a: u32, p: u32, ) -> Weight {
|
fn announce(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(32_582_000 as RefTimeWeight)
|
Weight::from_ref_time(32_582_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(200_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(200_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(93_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn add_proxy(p: u32, ) -> Weight {
|
fn add_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(28_173_000 as RefTimeWeight)
|
Weight::from_ref_time(28_173_000 as u64)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(112_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxy(p: u32, ) -> Weight {
|
fn remove_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(28_247_000 as RefTimeWeight)
|
Weight::from_ref_time(28_247_000 as u64)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxies(p: u32, ) -> Weight {
|
fn remove_proxies(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(23_821_000 as RefTimeWeight)
|
Weight::from_ref_time(23_821_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn anonymous(p: u32, ) -> Weight {
|
fn anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_472_000 as RefTimeWeight)
|
Weight::from_ref_time(31_472_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(21_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[0, 30]`.
|
/// The range of component `p` is `[0, 30]`.
|
||||||
fn kill_anonymous(p: u32, ) -> Weight {
|
fn kill_anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(24_620_000 as RefTimeWeight)
|
Weight::from_ref_time(24_620_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_session`.
|
/// Weight functions for `pallet_session`.
|
||||||
@@ -49,15 +49,15 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:1 w:1)
|
// Storage: Session KeyOwner (r:1 w:1)
|
||||||
fn set_keys() -> Weight {
|
fn set_keys() -> Weight {
|
||||||
Weight::from_ref_time(16_555_000 as RefTimeWeight)
|
Weight::from_ref_time(16_555_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:0 w:1)
|
// Storage: Session KeyOwner (r:0 w:1)
|
||||||
fn purge_keys() -> Weight {
|
fn purge_keys() -> Weight {
|
||||||
Weight::from_ref_time(13_554_000 as RefTimeWeight)
|
Weight::from_ref_time(13_554_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_timestamp`.
|
/// Weight functions for `pallet_timestamp`.
|
||||||
@@ -48,11 +48,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Timestamp Now (r:1 w:1)
|
// Storage: Timestamp Now (r:1 w:1)
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
Weight::from_ref_time(6_818_000 as RefTimeWeight)
|
Weight::from_ref_time(6_818_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
Weight::from_ref_time(2_431_000 as RefTimeWeight)
|
Weight::from_ref_time(2_431_000 as u64)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_uniques`.
|
/// Weight functions for `pallet_uniques`.
|
||||||
@@ -53,17 +53,17 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
Weight::from_ref_time(28_358_000 as RefTimeWeight)
|
Weight::from_ref_time(28_358_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques NextCollectionId (r:1 w:1)
|
// Storage: Uniques NextCollectionId (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
Weight::from_ref_time(17_824_000 as RefTimeWeight)
|
Weight::from_ref_time(17_824_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:0)
|
// Storage: Uniques Asset (r:1 w:0)
|
||||||
@@ -77,191 +77,191 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `m` is `[0, 1000]`.
|
/// The range of component `m` is `[0, 1000]`.
|
||||||
/// The range of component `a` is `[0, 1000]`.
|
/// The range of component `a` is `[0, 1000]`.
|
||||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 17_000
|
// Standard Error: 17_000
|
||||||
.saturating_add(Weight::from_ref_time(10_592_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(10_592_000 as u64).saturating_mul(n as u64))
|
||||||
// Standard Error: 17_000
|
// Standard Error: 17_000
|
||||||
.saturating_add(Weight::from_ref_time(1_658_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_658_000 as u64).saturating_mul(m as u64))
|
||||||
// Standard Error: 17_000
|
// Standard Error: 17_000
|
||||||
.saturating_add(Weight::from_ref_time(1_593_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_593_000 as u64).saturating_mul(a as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(m as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(m as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
Weight::from_ref_time(36_742_000 as RefTimeWeight)
|
Weight::from_ref_time(36_742_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
Weight::from_ref_time(37_124_000 as RefTimeWeight)
|
Weight::from_ref_time(37_124_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(28_961_000 as RefTimeWeight)
|
Weight::from_ref_time(28_961_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:100 w:100)
|
// Storage: Uniques Asset (r:100 w:100)
|
||||||
/// The range of component `i` is `[0, 5000]`.
|
/// The range of component `i` is `[0, 5000]`.
|
||||||
fn redeposit(i: u32, ) -> Weight {
|
fn redeposit(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 15_000
|
// Standard Error: 15_000
|
||||||
.saturating_add(Weight::from_ref_time(12_880_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(12_880_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
Weight::from_ref_time(21_658_000 as RefTimeWeight)
|
Weight::from_ref_time(21_658_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
Weight::from_ref_time(21_980_000 as RefTimeWeight)
|
Weight::from_ref_time(21_980_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn freeze_collection() -> Weight {
|
fn freeze_collection() -> Weight {
|
||||||
Weight::from_ref_time(17_123_000 as RefTimeWeight)
|
Weight::from_ref_time(17_123_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn thaw_collection() -> Weight {
|
fn thaw_collection() -> Weight {
|
||||||
Weight::from_ref_time(17_398_000 as RefTimeWeight)
|
Weight::from_ref_time(17_398_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
Weight::from_ref_time(25_473_000 as RefTimeWeight)
|
Weight::from_ref_time(25_473_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
Weight::from_ref_time(17_970_000 as RefTimeWeight)
|
Weight::from_ref_time(17_970_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_item_status() -> Weight {
|
fn force_item_status() -> Weight {
|
||||||
Weight::from_ref_time(20_781_000 as RefTimeWeight)
|
Weight::from_ref_time(20_781_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn set_attribute() -> Weight {
|
fn set_attribute() -> Weight {
|
||||||
Weight::from_ref_time(42_652_000 as RefTimeWeight)
|
Weight::from_ref_time(42_652_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn clear_attribute() -> Weight {
|
fn clear_attribute() -> Weight {
|
||||||
Weight::from_ref_time(41_166_000 as RefTimeWeight)
|
Weight::from_ref_time(41_166_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn set_metadata() -> Weight {
|
fn set_metadata() -> Weight {
|
||||||
Weight::from_ref_time(35_471_000 as RefTimeWeight)
|
Weight::from_ref_time(35_471_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(35_110_000 as RefTimeWeight)
|
Weight::from_ref_time(35_110_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn set_collection_metadata() -> Weight {
|
fn set_collection_metadata() -> Weight {
|
||||||
Weight::from_ref_time(33_536_000 as RefTimeWeight)
|
Weight::from_ref_time(33_536_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn clear_collection_metadata() -> Weight {
|
fn clear_collection_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_913_000 as RefTimeWeight)
|
Weight::from_ref_time(31_913_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
Weight::from_ref_time(23_536_000 as RefTimeWeight)
|
Weight::from_ref_time(23_536_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(23_748_000 as RefTimeWeight)
|
Weight::from_ref_time(23_748_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
fn set_accept_ownership() -> Weight {
|
fn set_accept_ownership() -> Weight {
|
||||||
Weight::from_ref_time(20_712_000 as RefTimeWeight)
|
Weight::from_ref_time(20_712_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn set_collection_max_supply() -> Weight {
|
fn set_collection_max_supply() -> Weight {
|
||||||
Weight::from_ref_time(20_245_000 as RefTimeWeight)
|
Weight::from_ref_time(20_245_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:0)
|
// Storage: Uniques Asset (r:1 w:0)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn set_price() -> Weight {
|
fn set_price() -> Weight {
|
||||||
Weight::from_ref_time(20_065_000 as RefTimeWeight)
|
Weight::from_ref_time(20_065_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques ItemPriceOf (r:1 w:1)
|
// Storage: Uniques ItemPriceOf (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
fn buy_item() -> Weight {
|
fn buy_item() -> Weight {
|
||||||
Weight::from_ref_time(40_638_000 as RefTimeWeight)
|
Weight::from_ref_time(40_638_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_utility`.
|
/// Weight functions for `pallet_utility`.
|
||||||
@@ -48,26 +48,26 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch(c: u32, ) -> Weight {
|
fn batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(22_923_000 as RefTimeWeight)
|
Weight::from_ref_time(22_923_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(3_526_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_526_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
Weight::from_ref_time(5_220_000 as RefTimeWeight)
|
Weight::from_ref_time(5_220_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch_all(c: u32, ) -> Weight {
|
fn batch_all(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(20_953_000 as RefTimeWeight)
|
Weight::from_ref_time(20_953_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_698_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_698_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn dispatch_as() -> Weight {
|
fn dispatch_as() -> Weight {
|
||||||
Weight::from_ref_time(12_087_000 as RefTimeWeight)
|
Weight::from_ref_time(12_087_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn force_batch(c: u32, ) -> Weight {
|
fn force_batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(10_076_000 as RefTimeWeight)
|
Weight::from_ref_time(10_076_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_546_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_546_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+20
-20
@@ -42,7 +42,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weights for `pallet_xcm_benchmarks::fungible`.
|
/// Weights for `pallet_xcm_benchmarks::fungible`.
|
||||||
@@ -50,15 +50,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> WeightInfo<T> {
|
impl<T: frame_system::Config> WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
pub(crate) fn withdraw_asset() -> Weight {
|
pub(crate) fn withdraw_asset() -> Weight {
|
||||||
Weight::from_ref_time(29_190_000 as RefTimeWeight)
|
Weight::from_ref_time(29_190_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
pub(crate) fn transfer_asset() -> Weight {
|
pub(crate) fn transfer_asset() -> Weight {
|
||||||
Weight::from_ref_time(34_102_000 as RefTimeWeight)
|
Weight::from_ref_time(34_102_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
@@ -68,18 +68,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||||
Weight::from_ref_time(49_386_000 as RefTimeWeight)
|
Weight::from_ref_time(49_386_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||||
Weight::from_ref_time(4_937_000 as RefTimeWeight)
|
Weight::from_ref_time(4_937_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
pub(crate) fn deposit_asset() -> Weight {
|
pub(crate) fn deposit_asset() -> Weight {
|
||||||
Weight::from_ref_time(30_853_000 as RefTimeWeight)
|
Weight::from_ref_time(30_853_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
@@ -89,9 +89,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||||
Weight::from_ref_time(45_866_000 as RefTimeWeight)
|
Weight::from_ref_time(45_866_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -100,8 +100,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn initiate_teleport() -> Weight {
|
pub(crate) fn initiate_teleport() -> Weight {
|
||||||
Weight::from_ref_time(23_964_000 as RefTimeWeight)
|
Weight::from_ref_time(23_964_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+29
-29
@@ -42,7 +42,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weights for `pallet_xcm_benchmarks::generic`.
|
/// Weights for `pallet_xcm_benchmarks::generic`.
|
||||||
@@ -55,38 +55,38 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn query_holding() -> Weight {
|
pub(crate) fn query_holding() -> Weight {
|
||||||
Weight::from_ref_time(694_466_000 as RefTimeWeight)
|
Weight::from_ref_time(694_466_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn buy_execution() -> Weight {
|
pub(crate) fn buy_execution() -> Weight {
|
||||||
Weight::from_ref_time(7_095_000 as RefTimeWeight)
|
Weight::from_ref_time(7_095_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||||
pub(crate) fn query_response() -> Weight {
|
pub(crate) fn query_response() -> Weight {
|
||||||
Weight::from_ref_time(13_270_000 as RefTimeWeight)
|
Weight::from_ref_time(13_270_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn transact() -> Weight {
|
pub(crate) fn transact() -> Weight {
|
||||||
Weight::from_ref_time(16_375_000 as RefTimeWeight)
|
Weight::from_ref_time(16_375_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn refund_surplus() -> Weight {
|
pub(crate) fn refund_surplus() -> Weight {
|
||||||
Weight::from_ref_time(7_319_000 as RefTimeWeight)
|
Weight::from_ref_time(7_319_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn set_error_handler() -> Weight {
|
pub(crate) fn set_error_handler() -> Weight {
|
||||||
Weight::from_ref_time(3_515_000 as RefTimeWeight)
|
Weight::from_ref_time(3_515_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn set_appendix() -> Weight {
|
pub(crate) fn set_appendix() -> Weight {
|
||||||
Weight::from_ref_time(3_501_000 as RefTimeWeight)
|
Weight::from_ref_time(3_501_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn clear_error() -> Weight {
|
pub(crate) fn clear_error() -> Weight {
|
||||||
Weight::from_ref_time(3_459_000 as RefTimeWeight)
|
Weight::from_ref_time(3_459_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn descend_origin() -> Weight {
|
pub(crate) fn descend_origin() -> Weight {
|
||||||
Weight::from_ref_time(4_319_000 as RefTimeWeight)
|
Weight::from_ref_time(4_319_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn clear_origin() -> Weight {
|
pub(crate) fn clear_origin() -> Weight {
|
||||||
Weight::from_ref_time(3_511_000 as RefTimeWeight)
|
Weight::from_ref_time(3_511_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
@@ -94,18 +94,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn report_error() -> Weight {
|
pub(crate) fn report_error() -> Weight {
|
||||||
Weight::from_ref_time(13_284_000 as RefTimeWeight)
|
Weight::from_ref_time(13_284_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||||
pub(crate) fn claim_asset() -> Weight {
|
pub(crate) fn claim_asset() -> Weight {
|
||||||
Weight::from_ref_time(7_985_000 as RefTimeWeight)
|
Weight::from_ref_time(7_985_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn trap() -> Weight {
|
pub(crate) fn trap() -> Weight {
|
||||||
Weight::from_ref_time(3_515_000 as RefTimeWeight)
|
Weight::from_ref_time(3_515_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -114,14 +114,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn subscribe_version() -> Weight {
|
pub(crate) fn subscribe_version() -> Weight {
|
||||||
Weight::from_ref_time(16_657_000 as RefTimeWeight)
|
Weight::from_ref_time(16_657_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
||||||
pub(crate) fn unsubscribe_version() -> Weight {
|
pub(crate) fn unsubscribe_version() -> Weight {
|
||||||
Weight::from_ref_time(5_622_000 as RefTimeWeight)
|
Weight::from_ref_time(5_622_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -130,8 +130,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||||
Weight::from_ref_time(878_786_000 as RefTimeWeight)
|
Weight::from_ref_time(878_786_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+7
-7
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
||||||
@@ -48,14 +48,14 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
Weight::from_ref_time(5_192_000 as RefTimeWeight)
|
Weight::from_ref_time(5_192_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
Weight::from_ref_time(5_363_000 as RefTimeWeight)
|
Weight::from_ref_time(5_363_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `frame_system`.
|
/// Weight functions for `frame_system`.
|
||||||
@@ -48,43 +48,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark(_b: u32, ) -> Weight {
|
fn remark(_b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark_with_event(b: u32, ) -> Weight {
|
fn remark_with_event(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Digest (r:1 w:1)
|
// Storage: System Digest (r:1 w:1)
|
||||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
Weight::from_ref_time(5_446_000 as RefTimeWeight)
|
Weight::from_ref_time(5_446_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn set_storage(i: u32, ) -> Weight {
|
fn set_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(626_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(626_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn kill_storage(i: u32, ) -> Weight {
|
fn kill_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(515_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(515_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `p` is `[1, 1000]`.
|
/// The range of component `p` is `[1, 1000]`.
|
||||||
fn kill_prefix(p: u32, ) -> Weight {
|
fn kill_prefix(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(1_052_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_052_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_assets`.
|
/// Weight functions for `pallet_assets`.
|
||||||
@@ -48,15 +48,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
Weight::from_ref_time(26_226_000 as RefTimeWeight)
|
Weight::from_ref_time(26_226_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
Weight::from_ref_time(15_357_000 as RefTimeWeight)
|
Weight::from_ref_time(15_357_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:5002 w:5001)
|
// Storage: Assets Account (r:5002 w:5001)
|
||||||
@@ -67,171 +67,171 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[0, 5000]`.
|
/// The range of component `s` is `[0, 5000]`.
|
||||||
/// The range of component `a` is `[0, 500]`.
|
/// The range of component `a` is `[0, 500]`.
|
||||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 45_000
|
// Standard Error: 45_000
|
||||||
.saturating_add(Weight::from_ref_time(15_904_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(15_904_000 as u64).saturating_mul(c as u64))
|
||||||
// Standard Error: 45_000
|
// Standard Error: 45_000
|
||||||
.saturating_add(Weight::from_ref_time(18_803_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(18_803_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 450_000
|
// Standard Error: 450_000
|
||||||
.saturating_add(Weight::from_ref_time(17_017_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(17_017_000 as u64).saturating_mul(a as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(a as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
Weight::from_ref_time(29_616_000 as RefTimeWeight)
|
Weight::from_ref_time(29_616_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
Weight::from_ref_time(33_496_000 as RefTimeWeight)
|
Weight::from_ref_time(33_496_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(46_790_000 as RefTimeWeight)
|
Weight::from_ref_time(46_790_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
Weight::from_ref_time(39_769_000 as RefTimeWeight)
|
Weight::from_ref_time(39_769_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
Weight::from_ref_time(47_200_000 as RefTimeWeight)
|
Weight::from_ref_time(47_200_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
Weight::from_ref_time(20_873_000 as RefTimeWeight)
|
Weight::from_ref_time(20_873_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
Weight::from_ref_time(21_228_000 as RefTimeWeight)
|
Weight::from_ref_time(21_228_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn freeze_asset() -> Weight {
|
fn freeze_asset() -> Weight {
|
||||||
Weight::from_ref_time(17_685_000 as RefTimeWeight)
|
Weight::from_ref_time(17_685_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn thaw_asset() -> Weight {
|
fn thaw_asset() -> Weight {
|
||||||
Weight::from_ref_time(17_542_000 as RefTimeWeight)
|
Weight::from_ref_time(17_542_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Metadata (r:1 w:0)
|
// Storage: Assets Metadata (r:1 w:0)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
Weight::from_ref_time(18_639_000 as RefTimeWeight)
|
Weight::from_ref_time(18_639_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
Weight::from_ref_time(17_135_000 as RefTimeWeight)
|
Weight::from_ref_time(17_135_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
/// The range of component `n` is `[0, 50]`.
|
/// The range of component `n` is `[0, 50]`.
|
||||||
/// The range of component `s` is `[0, 50]`.
|
/// The range of component `s` is `[0, 50]`.
|
||||||
fn set_metadata(n: u32, s: u32, ) -> Weight {
|
fn set_metadata(n: u32, s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_324_000 as RefTimeWeight)
|
Weight::from_ref_time(31_324_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_340_000 as RefTimeWeight)
|
Weight::from_ref_time(31_340_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
/// The range of component `n` is `[0, 50]`.
|
/// The range of component `n` is `[0, 50]`.
|
||||||
/// The range of component `s` is `[0, 50]`.
|
/// The range of component `s` is `[0, 50]`.
|
||||||
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(18_756_000 as RefTimeWeight)
|
Weight::from_ref_time(18_756_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_clear_metadata() -> Weight {
|
fn force_clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_427_000 as RefTimeWeight)
|
Weight::from_ref_time(31_427_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_asset_status() -> Weight {
|
fn force_asset_status() -> Weight {
|
||||||
Weight::from_ref_time(16_930_000 as RefTimeWeight)
|
Weight::from_ref_time(16_930_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
Weight::from_ref_time(34_492_000 as RefTimeWeight)
|
Weight::from_ref_time(34_492_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_approved() -> Weight {
|
fn transfer_approved() -> Weight {
|
||||||
Weight::from_ref_time(60_098_000 as RefTimeWeight)
|
Weight::from_ref_time(60_098_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(35_630_000 as RefTimeWeight)
|
Weight::from_ref_time(35_630_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn force_cancel_approval() -> Weight {
|
fn force_cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(37_399_000 as RefTimeWeight)
|
Weight::from_ref_time(37_399_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_balances`.
|
/// Weight functions for `pallet_balances`.
|
||||||
@@ -48,44 +48,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(41_006_000 as RefTimeWeight)
|
Weight::from_ref_time(41_006_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
Weight::from_ref_time(31_329_000 as RefTimeWeight)
|
Weight::from_ref_time(31_329_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_creating() -> Weight {
|
fn set_balance_creating() -> Weight {
|
||||||
Weight::from_ref_time(21_075_000 as RefTimeWeight)
|
Weight::from_ref_time(21_075_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_killing() -> Weight {
|
fn set_balance_killing() -> Weight {
|
||||||
Weight::from_ref_time(24_413_000 as RefTimeWeight)
|
Weight::from_ref_time(24_413_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
Weight::from_ref_time(41_434_000 as RefTimeWeight)
|
Weight::from_ref_time(41_434_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_all() -> Weight {
|
fn transfer_all() -> Weight {
|
||||||
Weight::from_ref_time(37_653_000 as RefTimeWeight)
|
Weight::from_ref_time(37_653_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_unreserve() -> Weight {
|
fn force_unreserve() -> Weight {
|
||||||
Weight::from_ref_time(18_701_000 as RefTimeWeight)
|
Weight::from_ref_time(18_701_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+26
-26
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_collator_selection`.
|
/// Weight functions for `pallet_collator_selection`.
|
||||||
@@ -50,21 +50,21 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||||
/// The range of component `b` is `[1, 100]`.
|
/// The range of component `b` is `[1, 100]`.
|
||||||
fn set_invulnerables(b: u32, ) -> Weight {
|
fn set_invulnerables(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(8_587_000 as RefTimeWeight)
|
Weight::from_ref_time(8_587_000 as u64)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(3_304_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_304_000 as u64).saturating_mul(b as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
Weight::from_ref_time(9_027_000 as RefTimeWeight)
|
Weight::from_ref_time(9_027_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
Weight::from_ref_time(9_244_000 as RefTimeWeight)
|
Weight::from_ref_time(9_244_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
||||||
@@ -74,29 +74,29 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn register_as_candidate(c: u32, ) -> Weight {
|
fn register_as_candidate(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(60_984_000 as RefTimeWeight)
|
Weight::from_ref_time(60_984_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(89_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[6, 1000]`.
|
/// The range of component `c` is `[6, 1000]`.
|
||||||
fn leave_intent(c: u32, ) -> Weight {
|
fn leave_intent(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(49_046_000 as RefTimeWeight)
|
Weight::from_ref_time(49_046_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
Weight::from_ref_time(32_269_000 as RefTimeWeight)
|
Weight::from_ref_time(32_269_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
||||||
@@ -106,13 +106,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
/// The range of component `r` is `[1, 1000]`.
|
/// The range of component `r` is `[1, 1000]`.
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_992_000
|
// Standard Error: 1_992_000
|
||||||
.saturating_add(Weight::from_ref_time(10_521_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(10_521_000 as u64).saturating_mul(r as u64))
|
||||||
// Standard Error: 1_992_000
|
// Standard Error: 1_992_000
|
||||||
.saturating_add(Weight::from_ref_time(53_162_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(53_162_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_multisig`.
|
/// Weight functions for `pallet_multisig`.
|
||||||
@@ -48,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(17_175_000 as RefTimeWeight)
|
Weight::from_ref_time(17_175_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(35_937_000 as RefTimeWeight)
|
Weight::from_ref_time(35_937_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -71,38 +71,38 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(37_468_000 as RefTimeWeight)
|
Weight::from_ref_time(37_468_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(89_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(25_557_000 as RefTimeWeight)
|
Weight::from_ref_time(25_557_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(83_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(38_127_000 as RefTimeWeight)
|
Weight::from_ref_time(38_127_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(88_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -110,53 +110,53 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(47_383_000 as RefTimeWeight)
|
Weight::from_ref_time(47_383_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(127_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(127_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(33_472_000 as RefTimeWeight)
|
Weight::from_ref_time(33_472_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:0)
|
// Storage: Multisig Calls (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(21_612_000 as RefTimeWeight)
|
Weight::from_ref_time(21_612_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(119_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(68_168_000 as RefTimeWeight)
|
Weight::from_ref_time(68_168_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(52_748_000 as RefTimeWeight)
|
Weight::from_ref_time(52_748_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_proxy`.
|
/// Weight functions for `pallet_proxy`.
|
||||||
@@ -49,10 +49,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy(p: u32, ) -> Weight {
|
fn proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(17_582_000 as RefTimeWeight)
|
Weight::from_ref_time(17_582_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -60,39 +60,39 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(34_603_000 as RefTimeWeight)
|
Weight::from_ref_time(34_603_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(169_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(169_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(24_496_000 as RefTimeWeight)
|
Weight::from_ref_time(24_496_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(179_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(25_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(24_237_000 as RefTimeWeight)
|
Weight::from_ref_time(24_237_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(181_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(181_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -100,58 +100,58 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn announce(a: u32, p: u32, ) -> Weight {
|
fn announce(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(32_065_000 as RefTimeWeight)
|
Weight::from_ref_time(32_065_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(91_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn add_proxy(p: u32, ) -> Weight {
|
fn add_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(27_168_000 as RefTimeWeight)
|
Weight::from_ref_time(27_168_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxy(p: u32, ) -> Weight {
|
fn remove_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(27_233_000 as RefTimeWeight)
|
Weight::from_ref_time(27_233_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxies(p: u32, ) -> Weight {
|
fn remove_proxies(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(23_010_000 as RefTimeWeight)
|
Weight::from_ref_time(23_010_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(95_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn anonymous(p: u32, ) -> Weight {
|
fn anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(30_378_000 as RefTimeWeight)
|
Weight::from_ref_time(30_378_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(16_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[0, 30]`.
|
/// The range of component `p` is `[0, 30]`.
|
||||||
fn kill_anonymous(p: u32, ) -> Weight {
|
fn kill_anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(23_977_000 as RefTimeWeight)
|
Weight::from_ref_time(23_977_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(76_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_session`.
|
/// Weight functions for `pallet_session`.
|
||||||
@@ -49,15 +49,15 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:1 w:1)
|
// Storage: Session KeyOwner (r:1 w:1)
|
||||||
fn set_keys() -> Weight {
|
fn set_keys() -> Weight {
|
||||||
Weight::from_ref_time(16_170_000 as RefTimeWeight)
|
Weight::from_ref_time(16_170_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:0 w:1)
|
// Storage: Session KeyOwner (r:0 w:1)
|
||||||
fn purge_keys() -> Weight {
|
fn purge_keys() -> Weight {
|
||||||
Weight::from_ref_time(13_246_000 as RefTimeWeight)
|
Weight::from_ref_time(13_246_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_timestamp`.
|
/// Weight functions for `pallet_timestamp`.
|
||||||
@@ -48,11 +48,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Timestamp Now (r:1 w:1)
|
// Storage: Timestamp Now (r:1 w:1)
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
Weight::from_ref_time(6_737_000 as RefTimeWeight)
|
Weight::from_ref_time(6_737_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
Weight::from_ref_time(2_329_000 as RefTimeWeight)
|
Weight::from_ref_time(2_329_000 as u64)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_uniques`.
|
/// Weight functions for `pallet_uniques`.
|
||||||
@@ -53,17 +53,17 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
Weight::from_ref_time(27_424_000 as RefTimeWeight)
|
Weight::from_ref_time(27_424_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques NextCollectionId (r:1 w:1)
|
// Storage: Uniques NextCollectionId (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
Weight::from_ref_time(17_098_000 as RefTimeWeight)
|
Weight::from_ref_time(17_098_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:0)
|
// Storage: Uniques Asset (r:1 w:0)
|
||||||
@@ -77,191 +77,191 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `m` is `[0, 1000]`.
|
/// The range of component `m` is `[0, 1000]`.
|
||||||
/// The range of component `a` is `[0, 1000]`.
|
/// The range of component `a` is `[0, 1000]`.
|
||||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 18_000
|
// Standard Error: 18_000
|
||||||
.saturating_add(Weight::from_ref_time(10_919_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(10_919_000 as u64).saturating_mul(n as u64))
|
||||||
// Standard Error: 18_000
|
// Standard Error: 18_000
|
||||||
.saturating_add(Weight::from_ref_time(1_679_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_679_000 as u64).saturating_mul(m as u64))
|
||||||
// Standard Error: 18_000
|
// Standard Error: 18_000
|
||||||
.saturating_add(Weight::from_ref_time(1_463_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_463_000 as u64).saturating_mul(a as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(m as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(m as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
Weight::from_ref_time(36_329_000 as RefTimeWeight)
|
Weight::from_ref_time(36_329_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
Weight::from_ref_time(36_746_000 as RefTimeWeight)
|
Weight::from_ref_time(36_746_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(28_916_000 as RefTimeWeight)
|
Weight::from_ref_time(28_916_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:100 w:100)
|
// Storage: Uniques Asset (r:100 w:100)
|
||||||
/// The range of component `i` is `[0, 5000]`.
|
/// The range of component `i` is `[0, 5000]`.
|
||||||
fn redeposit(i: u32, ) -> Weight {
|
fn redeposit(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 15_000
|
// Standard Error: 15_000
|
||||||
.saturating_add(Weight::from_ref_time(12_745_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(12_745_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
Weight::from_ref_time(21_813_000 as RefTimeWeight)
|
Weight::from_ref_time(21_813_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
Weight::from_ref_time(22_088_000 as RefTimeWeight)
|
Weight::from_ref_time(22_088_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn freeze_collection() -> Weight {
|
fn freeze_collection() -> Weight {
|
||||||
Weight::from_ref_time(17_184_000 as RefTimeWeight)
|
Weight::from_ref_time(17_184_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn thaw_collection() -> Weight {
|
fn thaw_collection() -> Weight {
|
||||||
Weight::from_ref_time(17_311_000 as RefTimeWeight)
|
Weight::from_ref_time(17_311_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
Weight::from_ref_time(25_174_000 as RefTimeWeight)
|
Weight::from_ref_time(25_174_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
Weight::from_ref_time(17_879_000 as RefTimeWeight)
|
Weight::from_ref_time(17_879_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_item_status() -> Weight {
|
fn force_item_status() -> Weight {
|
||||||
Weight::from_ref_time(20_491_000 as RefTimeWeight)
|
Weight::from_ref_time(20_491_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn set_attribute() -> Weight {
|
fn set_attribute() -> Weight {
|
||||||
Weight::from_ref_time(42_444_000 as RefTimeWeight)
|
Weight::from_ref_time(42_444_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn clear_attribute() -> Weight {
|
fn clear_attribute() -> Weight {
|
||||||
Weight::from_ref_time(41_217_000 as RefTimeWeight)
|
Weight::from_ref_time(41_217_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn set_metadata() -> Weight {
|
fn set_metadata() -> Weight {
|
||||||
Weight::from_ref_time(34_559_000 as RefTimeWeight)
|
Weight::from_ref_time(34_559_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(34_863_000 as RefTimeWeight)
|
Weight::from_ref_time(34_863_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn set_collection_metadata() -> Weight {
|
fn set_collection_metadata() -> Weight {
|
||||||
Weight::from_ref_time(33_199_000 as RefTimeWeight)
|
Weight::from_ref_time(33_199_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn clear_collection_metadata() -> Weight {
|
fn clear_collection_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_472_000 as RefTimeWeight)
|
Weight::from_ref_time(31_472_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
Weight::from_ref_time(23_618_000 as RefTimeWeight)
|
Weight::from_ref_time(23_618_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(23_507_000 as RefTimeWeight)
|
Weight::from_ref_time(23_507_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
fn set_accept_ownership() -> Weight {
|
fn set_accept_ownership() -> Weight {
|
||||||
Weight::from_ref_time(21_120_000 as RefTimeWeight)
|
Weight::from_ref_time(21_120_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn set_collection_max_supply() -> Weight {
|
fn set_collection_max_supply() -> Weight {
|
||||||
Weight::from_ref_time(20_664_000 as RefTimeWeight)
|
Weight::from_ref_time(20_664_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:0)
|
// Storage: Uniques Asset (r:1 w:0)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn set_price() -> Weight {
|
fn set_price() -> Weight {
|
||||||
Weight::from_ref_time(19_938_000 as RefTimeWeight)
|
Weight::from_ref_time(19_938_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques ItemPriceOf (r:1 w:1)
|
// Storage: Uniques ItemPriceOf (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
fn buy_item() -> Weight {
|
fn buy_item() -> Weight {
|
||||||
Weight::from_ref_time(39_254_000 as RefTimeWeight)
|
Weight::from_ref_time(39_254_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_utility`.
|
/// Weight functions for `pallet_utility`.
|
||||||
@@ -48,26 +48,26 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch(c: u32, ) -> Weight {
|
fn batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(30_959_000 as RefTimeWeight)
|
Weight::from_ref_time(30_959_000 as u64)
|
||||||
// Standard Error: 6_000
|
// Standard Error: 6_000
|
||||||
.saturating_add(Weight::from_ref_time(3_220_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_220_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
Weight::from_ref_time(4_732_000 as RefTimeWeight)
|
Weight::from_ref_time(4_732_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch_all(c: u32, ) -> Weight {
|
fn batch_all(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(16_465_000 as RefTimeWeight)
|
Weight::from_ref_time(16_465_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_364_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_364_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn dispatch_as() -> Weight {
|
fn dispatch_as() -> Weight {
|
||||||
Weight::from_ref_time(11_903_000 as RefTimeWeight)
|
Weight::from_ref_time(11_903_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn force_batch(c: u32, ) -> Weight {
|
fn force_batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(22_621_000 as RefTimeWeight)
|
Weight::from_ref_time(22_621_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(3_147_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_147_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+20
-20
@@ -43,7 +43,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weights for `pallet_xcm_benchmarks::fungible`.
|
/// Weights for `pallet_xcm_benchmarks::fungible`.
|
||||||
@@ -51,15 +51,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> WeightInfo<T> {
|
impl<T: frame_system::Config> WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
pub(crate) fn withdraw_asset() -> Weight {
|
pub(crate) fn withdraw_asset() -> Weight {
|
||||||
Weight::from_ref_time(34_002_000 as RefTimeWeight)
|
Weight::from_ref_time(34_002_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
pub(crate) fn transfer_asset() -> Weight {
|
pub(crate) fn transfer_asset() -> Weight {
|
||||||
Weight::from_ref_time(38_285_000 as RefTimeWeight)
|
Weight::from_ref_time(38_285_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
@@ -69,18 +69,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||||
Weight::from_ref_time(55_068_000 as RefTimeWeight)
|
Weight::from_ref_time(55_068_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||||
Weight::from_ref_time(7_796_000 as RefTimeWeight)
|
Weight::from_ref_time(7_796_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
pub(crate) fn deposit_asset() -> Weight {
|
pub(crate) fn deposit_asset() -> Weight {
|
||||||
Weight::from_ref_time(35_092_000 as RefTimeWeight)
|
Weight::from_ref_time(35_092_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
@@ -90,9 +90,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||||
Weight::from_ref_time(50_590_000 as RefTimeWeight)
|
Weight::from_ref_time(50_590_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -101,8 +101,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn initiate_teleport() -> Weight {
|
pub(crate) fn initiate_teleport() -> Weight {
|
||||||
Weight::from_ref_time(27_220_000 as RefTimeWeight)
|
Weight::from_ref_time(27_220_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+29
-29
@@ -43,7 +43,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weights for `pallet_xcm_benchmarks::generic`.
|
/// Weights for `pallet_xcm_benchmarks::generic`.
|
||||||
@@ -56,38 +56,38 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn query_holding() -> Weight {
|
pub(crate) fn query_holding() -> Weight {
|
||||||
Weight::from_ref_time(682_639_000 as RefTimeWeight)
|
Weight::from_ref_time(682_639_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn buy_execution() -> Weight {
|
pub(crate) fn buy_execution() -> Weight {
|
||||||
Weight::from_ref_time(9_272_000 as RefTimeWeight)
|
Weight::from_ref_time(9_272_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||||
pub(crate) fn query_response() -> Weight {
|
pub(crate) fn query_response() -> Weight {
|
||||||
Weight::from_ref_time(17_084_000 as RefTimeWeight)
|
Weight::from_ref_time(17_084_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn transact() -> Weight {
|
pub(crate) fn transact() -> Weight {
|
||||||
Weight::from_ref_time(20_265_000 as RefTimeWeight)
|
Weight::from_ref_time(20_265_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn refund_surplus() -> Weight {
|
pub(crate) fn refund_surplus() -> Weight {
|
||||||
Weight::from_ref_time(9_422_000 as RefTimeWeight)
|
Weight::from_ref_time(9_422_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn set_error_handler() -> Weight {
|
pub(crate) fn set_error_handler() -> Weight {
|
||||||
Weight::from_ref_time(5_545_000 as RefTimeWeight)
|
Weight::from_ref_time(5_545_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn set_appendix() -> Weight {
|
pub(crate) fn set_appendix() -> Weight {
|
||||||
Weight::from_ref_time(5_450_000 as RefTimeWeight)
|
Weight::from_ref_time(5_450_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn clear_error() -> Weight {
|
pub(crate) fn clear_error() -> Weight {
|
||||||
Weight::from_ref_time(5_519_000 as RefTimeWeight)
|
Weight::from_ref_time(5_519_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn descend_origin() -> Weight {
|
pub(crate) fn descend_origin() -> Weight {
|
||||||
Weight::from_ref_time(6_398_000 as RefTimeWeight)
|
Weight::from_ref_time(6_398_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn clear_origin() -> Weight {
|
pub(crate) fn clear_origin() -> Weight {
|
||||||
Weight::from_ref_time(5_498_000 as RefTimeWeight)
|
Weight::from_ref_time(5_498_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
@@ -95,18 +95,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn report_error() -> Weight {
|
pub(crate) fn report_error() -> Weight {
|
||||||
Weight::from_ref_time(15_784_000 as RefTimeWeight)
|
Weight::from_ref_time(15_784_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||||
pub(crate) fn claim_asset() -> Weight {
|
pub(crate) fn claim_asset() -> Weight {
|
||||||
Weight::from_ref_time(11_861_000 as RefTimeWeight)
|
Weight::from_ref_time(11_861_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn trap() -> Weight {
|
pub(crate) fn trap() -> Weight {
|
||||||
Weight::from_ref_time(5_462_000 as RefTimeWeight)
|
Weight::from_ref_time(5_462_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -115,14 +115,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn subscribe_version() -> Weight {
|
pub(crate) fn subscribe_version() -> Weight {
|
||||||
Weight::from_ref_time(18_997_000 as RefTimeWeight)
|
Weight::from_ref_time(18_997_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
||||||
pub(crate) fn unsubscribe_version() -> Weight {
|
pub(crate) fn unsubscribe_version() -> Weight {
|
||||||
Weight::from_ref_time(8_684_000 as RefTimeWeight)
|
Weight::from_ref_time(8_684_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -131,8 +131,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||||
Weight::from_ref_time(883_121_000 as RefTimeWeight)
|
Weight::from_ref_time(883_121_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+7
-7
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
||||||
@@ -48,14 +48,14 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
Weight::from_ref_time(5_463_000 as RefTimeWeight)
|
Weight::from_ref_time(5_463_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
Weight::from_ref_time(5_221_000 as RefTimeWeight)
|
Weight::from_ref_time(5_221_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `frame_system`.
|
/// Weight functions for `frame_system`.
|
||||||
@@ -48,43 +48,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark(_b: u32, ) -> Weight {
|
fn remark(_b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark_with_event(b: u32, ) -> Weight {
|
fn remark_with_event(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Digest (r:1 w:1)
|
// Storage: System Digest (r:1 w:1)
|
||||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
Weight::from_ref_time(5_726_000 as RefTimeWeight)
|
Weight::from_ref_time(5_726_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn set_storage(i: u32, ) -> Weight {
|
fn set_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(616_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(616_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn kill_storage(i: u32, ) -> Weight {
|
fn kill_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(519_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(519_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `p` is `[1, 1000]`.
|
/// The range of component `p` is `[1, 1000]`.
|
||||||
fn kill_prefix(p: u32, ) -> Weight {
|
fn kill_prefix(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(1_067_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_067_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_assets`.
|
/// Weight functions for `pallet_assets`.
|
||||||
@@ -48,15 +48,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
Weight::from_ref_time(25_905_000 as RefTimeWeight)
|
Weight::from_ref_time(25_905_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
Weight::from_ref_time(14_977_000 as RefTimeWeight)
|
Weight::from_ref_time(14_977_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:5002 w:5001)
|
// Storage: Assets Account (r:5002 w:5001)
|
||||||
@@ -67,169 +67,169 @@ impl<T: frame_system::Config> pallet_assets::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[0, 5000]`.
|
/// The range of component `s` is `[0, 5000]`.
|
||||||
/// The range of component `a` is `[0, 500]`.
|
/// The range of component `a` is `[0, 500]`.
|
||||||
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
fn destroy(c: u32, s: u32, a: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 46_000
|
// Standard Error: 46_000
|
||||||
.saturating_add(Weight::from_ref_time(16_133_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(16_133_000 as u64).saturating_mul(c as u64))
|
||||||
// Standard Error: 46_000
|
// Standard Error: 46_000
|
||||||
.saturating_add(Weight::from_ref_time(18_915_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(18_915_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 464_000
|
// Standard Error: 464_000
|
||||||
.saturating_add(Weight::from_ref_time(16_795_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(16_795_000 as u64).saturating_mul(a as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64)))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(a as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
Weight::from_ref_time(29_903_000 as RefTimeWeight)
|
Weight::from_ref_time(29_903_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
Weight::from_ref_time(34_384_000 as RefTimeWeight)
|
Weight::from_ref_time(34_384_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(48_218_000 as RefTimeWeight)
|
Weight::from_ref_time(48_218_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
Weight::from_ref_time(40_558_000 as RefTimeWeight)
|
Weight::from_ref_time(40_558_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
Weight::from_ref_time(48_330_000 as RefTimeWeight)
|
Weight::from_ref_time(48_330_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
Weight::from_ref_time(21_218_000 as RefTimeWeight)
|
Weight::from_ref_time(21_218_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Account (r:1 w:1)
|
// Storage: Assets Account (r:1 w:1)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
Weight::from_ref_time(21_227_000 as RefTimeWeight)
|
Weight::from_ref_time(21_227_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn freeze_asset() -> Weight {
|
fn freeze_asset() -> Weight {
|
||||||
Weight::from_ref_time(17_906_000 as RefTimeWeight)
|
Weight::from_ref_time(17_906_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn thaw_asset() -> Weight {
|
fn thaw_asset() -> Weight {
|
||||||
Weight::from_ref_time(17_669_000 as RefTimeWeight)
|
Weight::from_ref_time(17_669_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Metadata (r:1 w:0)
|
// Storage: Assets Metadata (r:1 w:0)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
Weight::from_ref_time(18_756_000 as RefTimeWeight)
|
Weight::from_ref_time(18_756_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
Weight::from_ref_time(17_203_000 as RefTimeWeight)
|
Weight::from_ref_time(17_203_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
/// The range of component `n` is `[0, 50]`.
|
/// The range of component `n` is `[0, 50]`.
|
||||||
/// The range of component `s` is `[0, 50]`.
|
/// The range of component `s` is `[0, 50]`.
|
||||||
fn set_metadata(_n: u32, s: u32, ) -> Weight {
|
fn set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_757_000 as RefTimeWeight)
|
Weight::from_ref_time(31_757_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_669_000 as RefTimeWeight)
|
Weight::from_ref_time(31_669_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
/// The range of component `n` is `[0, 50]`.
|
/// The range of component `n` is `[0, 50]`.
|
||||||
/// The range of component `s` is `[0, 50]`.
|
/// The range of component `s` is `[0, 50]`.
|
||||||
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
fn force_set_metadata(_n: u32, s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(18_566_000 as RefTimeWeight)
|
Weight::from_ref_time(18_566_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:0)
|
// Storage: Assets Asset (r:1 w:0)
|
||||||
// Storage: Assets Metadata (r:1 w:1)
|
// Storage: Assets Metadata (r:1 w:1)
|
||||||
fn force_clear_metadata() -> Weight {
|
fn force_clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_467_000 as RefTimeWeight)
|
Weight::from_ref_time(31_467_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
fn force_asset_status() -> Weight {
|
fn force_asset_status() -> Weight {
|
||||||
Weight::from_ref_time(16_275_000 as RefTimeWeight)
|
Weight::from_ref_time(16_275_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
Weight::from_ref_time(34_436_000 as RefTimeWeight)
|
Weight::from_ref_time(34_436_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Account (r:2 w:2)
|
// Storage: Assets Account (r:2 w:2)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_approved() -> Weight {
|
fn transfer_approved() -> Weight {
|
||||||
Weight::from_ref_time(60_445_000 as RefTimeWeight)
|
Weight::from_ref_time(60_445_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(35_819_000 as RefTimeWeight)
|
Weight::from_ref_time(35_819_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Assets Asset (r:1 w:1)
|
// Storage: Assets Asset (r:1 w:1)
|
||||||
// Storage: Assets Approvals (r:1 w:1)
|
// Storage: Assets Approvals (r:1 w:1)
|
||||||
fn force_cancel_approval() -> Weight {
|
fn force_cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(36_535_000 as RefTimeWeight)
|
Weight::from_ref_time(36_535_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_balances`.
|
/// Weight functions for `pallet_balances`.
|
||||||
@@ -48,44 +48,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(40_330_000 as RefTimeWeight)
|
Weight::from_ref_time(40_330_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
Weight::from_ref_time(30_938_000 as RefTimeWeight)
|
Weight::from_ref_time(30_938_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_creating() -> Weight {
|
fn set_balance_creating() -> Weight {
|
||||||
Weight::from_ref_time(20_284_000 as RefTimeWeight)
|
Weight::from_ref_time(20_284_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_killing() -> Weight {
|
fn set_balance_killing() -> Weight {
|
||||||
Weight::from_ref_time(24_018_000 as RefTimeWeight)
|
Weight::from_ref_time(24_018_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
Weight::from_ref_time(40_970_000 as RefTimeWeight)
|
Weight::from_ref_time(40_970_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_all() -> Weight {
|
fn transfer_all() -> Weight {
|
||||||
Weight::from_ref_time(36_243_000 as RefTimeWeight)
|
Weight::from_ref_time(36_243_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_unreserve() -> Weight {
|
fn force_unreserve() -> Weight {
|
||||||
Weight::from_ref_time(18_374_000 as RefTimeWeight)
|
Weight::from_ref_time(18_374_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+26
-26
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_collator_selection`.
|
/// Weight functions for `pallet_collator_selection`.
|
||||||
@@ -50,21 +50,21 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||||
/// The range of component `b` is `[1, 100]`.
|
/// The range of component `b` is `[1, 100]`.
|
||||||
fn set_invulnerables(b: u32, ) -> Weight {
|
fn set_invulnerables(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(6_669_000 as RefTimeWeight)
|
Weight::from_ref_time(6_669_000 as u64)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(3_218_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_218_000 as u64).saturating_mul(b as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
Weight::from_ref_time(8_348_000 as RefTimeWeight)
|
Weight::from_ref_time(8_348_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
Weight::from_ref_time(8_592_000 as RefTimeWeight)
|
Weight::from_ref_time(8_592_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
||||||
@@ -74,29 +74,29 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn register_as_candidate(c: u32, ) -> Weight {
|
fn register_as_candidate(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(55_542_000 as RefTimeWeight)
|
Weight::from_ref_time(55_542_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(92_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[2, 1000]`.
|
/// The range of component `c` is `[2, 1000]`.
|
||||||
fn leave_intent(c: u32, ) -> Weight {
|
fn leave_intent(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(52_080_000 as RefTimeWeight)
|
Weight::from_ref_time(52_080_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
Weight::from_ref_time(31_546_000 as RefTimeWeight)
|
Weight::from_ref_time(31_546_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
||||||
@@ -106,13 +106,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
/// The range of component `r` is `[1, 1000]`.
|
/// The range of component `r` is `[1, 1000]`.
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_895_000
|
// Standard Error: 1_895_000
|
||||||
.saturating_add(Weight::from_ref_time(9_941_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(9_941_000 as u64).saturating_mul(r as u64))
|
||||||
// Standard Error: 1_895_000
|
// Standard Error: 1_895_000
|
||||||
.saturating_add(Weight::from_ref_time(50_628_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(50_628_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_multisig`.
|
/// Weight functions for `pallet_multisig`.
|
||||||
@@ -48,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(17_854_000 as RefTimeWeight)
|
Weight::from_ref_time(17_854_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(36_613_000 as RefTimeWeight)
|
Weight::from_ref_time(36_613_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(96_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(96_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -71,38 +71,38 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(40_039_000 as RefTimeWeight)
|
Weight::from_ref_time(40_039_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(26_059_000 as RefTimeWeight)
|
Weight::from_ref_time(26_059_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(82_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(38_292_000 as RefTimeWeight)
|
Weight::from_ref_time(38_292_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(90_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -110,53 +110,53 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(47_468_000 as RefTimeWeight)
|
Weight::from_ref_time(47_468_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(33_492_000 as RefTimeWeight)
|
Weight::from_ref_time(33_492_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:0)
|
// Storage: Multisig Calls (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(22_147_000 as RefTimeWeight)
|
Weight::from_ref_time(22_147_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(66_106_000 as RefTimeWeight)
|
Weight::from_ref_time(66_106_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(52_566_000 as RefTimeWeight)
|
Weight::from_ref_time(52_566_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_proxy`.
|
/// Weight functions for `pallet_proxy`.
|
||||||
@@ -49,10 +49,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy(p: u32, ) -> Weight {
|
fn proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(18_084_000 as RefTimeWeight)
|
Weight::from_ref_time(18_084_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(83_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -60,39 +60,39 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(35_619_000 as RefTimeWeight)
|
Weight::from_ref_time(35_619_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(89_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(24_774_000 as RefTimeWeight)
|
Weight::from_ref_time(24_774_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(190_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(190_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(25_855_000 as RefTimeWeight)
|
Weight::from_ref_time(25_855_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(15_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -100,58 +100,58 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn announce(a: u32, p: u32, ) -> Weight {
|
fn announce(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(32_874_000 as RefTimeWeight)
|
Weight::from_ref_time(32_874_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn add_proxy(p: u32, ) -> Weight {
|
fn add_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(28_312_000 as RefTimeWeight)
|
Weight::from_ref_time(28_312_000 as u64)
|
||||||
// Standard Error: 4_000
|
// Standard Error: 4_000
|
||||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxy(p: u32, ) -> Weight {
|
fn remove_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(28_197_000 as RefTimeWeight)
|
Weight::from_ref_time(28_197_000 as u64)
|
||||||
// Standard Error: 4_000
|
// Standard Error: 4_000
|
||||||
.saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxies(p: u32, ) -> Weight {
|
fn remove_proxies(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(23_659_000 as RefTimeWeight)
|
Weight::from_ref_time(23_659_000 as u64)
|
||||||
// Standard Error: 8_000
|
// Standard Error: 8_000
|
||||||
.saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn anonymous(p: u32, ) -> Weight {
|
fn anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_575_000 as RefTimeWeight)
|
Weight::from_ref_time(31_575_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(35_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(35_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[0, 30]`.
|
/// The range of component `p` is `[0, 30]`.
|
||||||
fn kill_anonymous(p: u32, ) -> Weight {
|
fn kill_anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(24_640_000 as RefTimeWeight)
|
Weight::from_ref_time(24_640_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_session`.
|
/// Weight functions for `pallet_session`.
|
||||||
@@ -49,15 +49,15 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:1 w:1)
|
// Storage: Session KeyOwner (r:1 w:1)
|
||||||
fn set_keys() -> Weight {
|
fn set_keys() -> Weight {
|
||||||
Weight::from_ref_time(16_457_000 as RefTimeWeight)
|
Weight::from_ref_time(16_457_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:0 w:1)
|
// Storage: Session KeyOwner (r:0 w:1)
|
||||||
fn purge_keys() -> Weight {
|
fn purge_keys() -> Weight {
|
||||||
Weight::from_ref_time(13_585_000 as RefTimeWeight)
|
Weight::from_ref_time(13_585_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_timestamp`.
|
/// Weight functions for `pallet_timestamp`.
|
||||||
@@ -48,11 +48,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Timestamp Now (r:1 w:1)
|
// Storage: Timestamp Now (r:1 w:1)
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
Weight::from_ref_time(6_762_000 as RefTimeWeight)
|
Weight::from_ref_time(6_762_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
Weight::from_ref_time(2_387_000 as RefTimeWeight)
|
Weight::from_ref_time(2_387_000 as u64)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_uniques`.
|
/// Weight functions for `pallet_uniques`.
|
||||||
@@ -53,17 +53,17 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn create() -> Weight {
|
fn create() -> Weight {
|
||||||
Weight::from_ref_time(27_462_000 as RefTimeWeight)
|
Weight::from_ref_time(27_462_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques NextCollectionId (r:1 w:1)
|
// Storage: Uniques NextCollectionId (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_create() -> Weight {
|
fn force_create() -> Weight {
|
||||||
Weight::from_ref_time(16_480_000 as RefTimeWeight)
|
Weight::from_ref_time(16_480_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:0)
|
// Storage: Uniques Asset (r:1 w:0)
|
||||||
@@ -77,191 +77,191 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `m` is `[0, 1000]`.
|
/// The range of component `m` is `[0, 1000]`.
|
||||||
/// The range of component `a` is `[0, 1000]`.
|
/// The range of component `a` is `[0, 1000]`.
|
||||||
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
fn destroy(n: u32, m: u32, a: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 18_000
|
// Standard Error: 18_000
|
||||||
.saturating_add(Weight::from_ref_time(10_956_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(10_956_000 as u64).saturating_mul(n as u64))
|
||||||
// Standard Error: 18_000
|
// Standard Error: 18_000
|
||||||
.saturating_add(Weight::from_ref_time(1_654_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_654_000 as u64).saturating_mul(m as u64))
|
||||||
// Standard Error: 18_000
|
// Standard Error: 18_000
|
||||||
.saturating_add(Weight::from_ref_time(1_572_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_572_000 as u64).saturating_mul(a as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((2 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(n as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(m as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(m as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(a as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(a as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
// Storage: Uniques CollectionMaxSupply (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
fn mint() -> Weight {
|
fn mint() -> Weight {
|
||||||
Weight::from_ref_time(36_074_000 as RefTimeWeight)
|
Weight::from_ref_time(36_074_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:1)
|
// Storage: Uniques Account (r:0 w:1)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn burn() -> Weight {
|
fn burn() -> Weight {
|
||||||
Weight::from_ref_time(37_583_000 as RefTimeWeight)
|
Weight::from_ref_time(37_583_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(28_134_000 as RefTimeWeight)
|
Weight::from_ref_time(28_134_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques Asset (r:100 w:100)
|
// Storage: Uniques Asset (r:100 w:100)
|
||||||
/// The range of component `i` is `[0, 5000]`.
|
/// The range of component `i` is `[0, 5000]`.
|
||||||
fn redeposit(i: u32, ) -> Weight {
|
fn redeposit(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 16_000
|
// Standard Error: 16_000
|
||||||
.saturating_add(Weight::from_ref_time(12_715_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(12_715_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn freeze() -> Weight {
|
fn freeze() -> Weight {
|
||||||
Weight::from_ref_time(21_019_000 as RefTimeWeight)
|
Weight::from_ref_time(21_019_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn thaw() -> Weight {
|
fn thaw() -> Weight {
|
||||||
Weight::from_ref_time(21_907_000 as RefTimeWeight)
|
Weight::from_ref_time(21_907_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn freeze_collection() -> Weight {
|
fn freeze_collection() -> Weight {
|
||||||
Weight::from_ref_time(16_894_000 as RefTimeWeight)
|
Weight::from_ref_time(16_894_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn thaw_collection() -> Weight {
|
fn thaw_collection() -> Weight {
|
||||||
Weight::from_ref_time(16_650_000 as RefTimeWeight)
|
Weight::from_ref_time(16_650_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:2)
|
// Storage: Uniques ClassAccount (r:0 w:2)
|
||||||
fn transfer_ownership() -> Weight {
|
fn transfer_ownership() -> Weight {
|
||||||
Weight::from_ref_time(25_095_000 as RefTimeWeight)
|
Weight::from_ref_time(25_095_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
fn set_team() -> Weight {
|
fn set_team() -> Weight {
|
||||||
Weight::from_ref_time(17_428_000 as RefTimeWeight)
|
Weight::from_ref_time(17_428_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassAccount (r:0 w:1)
|
// Storage: Uniques ClassAccount (r:0 w:1)
|
||||||
fn force_item_status() -> Weight {
|
fn force_item_status() -> Weight {
|
||||||
Weight::from_ref_time(20_018_000 as RefTimeWeight)
|
Weight::from_ref_time(20_018_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn set_attribute() -> Weight {
|
fn set_attribute() -> Weight {
|
||||||
Weight::from_ref_time(41_955_000 as RefTimeWeight)
|
Weight::from_ref_time(41_955_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:0)
|
||||||
// Storage: Uniques Attribute (r:1 w:1)
|
// Storage: Uniques Attribute (r:1 w:1)
|
||||||
fn clear_attribute() -> Weight {
|
fn clear_attribute() -> Weight {
|
||||||
Weight::from_ref_time(40_201_000 as RefTimeWeight)
|
Weight::from_ref_time(40_201_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn set_metadata() -> Weight {
|
fn set_metadata() -> Weight {
|
||||||
Weight::from_ref_time(33_630_000 as RefTimeWeight)
|
Weight::from_ref_time(33_630_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
// Storage: Uniques InstanceMetadataOf (r:1 w:1)
|
||||||
fn clear_metadata() -> Weight {
|
fn clear_metadata() -> Weight {
|
||||||
Weight::from_ref_time(34_054_000 as RefTimeWeight)
|
Weight::from_ref_time(34_054_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:1)
|
// Storage: Uniques Class (r:1 w:1)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn set_collection_metadata() -> Weight {
|
fn set_collection_metadata() -> Weight {
|
||||||
Weight::from_ref_time(33_283_000 as RefTimeWeight)
|
Weight::from_ref_time(33_283_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
// Storage: Uniques ClassMetadataOf (r:1 w:1)
|
||||||
fn clear_collection_metadata() -> Weight {
|
fn clear_collection_metadata() -> Weight {
|
||||||
Weight::from_ref_time(31_298_000 as RefTimeWeight)
|
Weight::from_ref_time(31_298_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn approve_transfer() -> Weight {
|
fn approve_transfer() -> Weight {
|
||||||
Weight::from_ref_time(22_430_000 as RefTimeWeight)
|
Weight::from_ref_time(22_430_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
fn cancel_approval() -> Weight {
|
fn cancel_approval() -> Weight {
|
||||||
Weight::from_ref_time(23_005_000 as RefTimeWeight)
|
Weight::from_ref_time(23_005_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
// Storage: Uniques OwnershipAcceptance (r:1 w:1)
|
||||||
fn set_accept_ownership() -> Weight {
|
fn set_accept_ownership() -> Weight {
|
||||||
Weight::from_ref_time(20_468_000 as RefTimeWeight)
|
Weight::from_ref_time(20_468_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
// Storage: Uniques CollectionMaxSupply (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
fn set_collection_max_supply() -> Weight {
|
fn set_collection_max_supply() -> Weight {
|
||||||
Weight::from_ref_time(19_948_000 as RefTimeWeight)
|
Weight::from_ref_time(19_948_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:0)
|
// Storage: Uniques Asset (r:1 w:0)
|
||||||
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
// Storage: Uniques ItemPriceOf (r:0 w:1)
|
||||||
fn set_price() -> Weight {
|
fn set_price() -> Weight {
|
||||||
Weight::from_ref_time(19_487_000 as RefTimeWeight)
|
Weight::from_ref_time(19_487_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Uniques Asset (r:1 w:1)
|
// Storage: Uniques Asset (r:1 w:1)
|
||||||
// Storage: Uniques ItemPriceOf (r:1 w:1)
|
// Storage: Uniques ItemPriceOf (r:1 w:1)
|
||||||
// Storage: Uniques Class (r:1 w:0)
|
// Storage: Uniques Class (r:1 w:0)
|
||||||
// Storage: Uniques Account (r:0 w:2)
|
// Storage: Uniques Account (r:0 w:2)
|
||||||
fn buy_item() -> Weight {
|
fn buy_item() -> Weight {
|
||||||
Weight::from_ref_time(39_973_000 as RefTimeWeight)
|
Weight::from_ref_time(39_973_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_utility`.
|
/// Weight functions for `pallet_utility`.
|
||||||
@@ -48,26 +48,26 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch(c: u32, ) -> Weight {
|
fn batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(14_433_000 as RefTimeWeight)
|
Weight::from_ref_time(14_433_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_315_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_315_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
Weight::from_ref_time(5_234_000 as RefTimeWeight)
|
Weight::from_ref_time(5_234_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch_all(c: u32, ) -> Weight {
|
fn batch_all(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(16_023_000 as RefTimeWeight)
|
Weight::from_ref_time(16_023_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_466_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_466_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn dispatch_as() -> Weight {
|
fn dispatch_as() -> Weight {
|
||||||
Weight::from_ref_time(12_588_000 as RefTimeWeight)
|
Weight::from_ref_time(12_588_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn force_batch(c: u32, ) -> Weight {
|
fn force_batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(16_094_000 as RefTimeWeight)
|
Weight::from_ref_time(16_094_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_280_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_280_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+20
-20
@@ -42,7 +42,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weights for `pallet_xcm_benchmarks::fungible`.
|
/// Weights for `pallet_xcm_benchmarks::fungible`.
|
||||||
@@ -50,15 +50,15 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> WeightInfo<T> {
|
impl<T: frame_system::Config> WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
pub(crate) fn withdraw_asset() -> Weight {
|
pub(crate) fn withdraw_asset() -> Weight {
|
||||||
Weight::from_ref_time(28_725_000 as RefTimeWeight)
|
Weight::from_ref_time(28_725_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
pub(crate) fn transfer_asset() -> Weight {
|
pub(crate) fn transfer_asset() -> Weight {
|
||||||
Weight::from_ref_time(33_865_000 as RefTimeWeight)
|
Weight::from_ref_time(33_865_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
@@ -68,18 +68,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn transfer_reserve_asset() -> Weight {
|
pub(crate) fn transfer_reserve_asset() -> Weight {
|
||||||
Weight::from_ref_time(48_839_000 as RefTimeWeight)
|
Weight::from_ref_time(48_839_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(8 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn receive_teleported_asset() -> Weight {
|
pub(crate) fn receive_teleported_asset() -> Weight {
|
||||||
Weight::from_ref_time(4_849_000 as RefTimeWeight)
|
Weight::from_ref_time(4_849_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
pub(crate) fn deposit_asset() -> Weight {
|
pub(crate) fn deposit_asset() -> Weight {
|
||||||
Weight::from_ref_time(29_778_000 as RefTimeWeight)
|
Weight::from_ref_time(29_778_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
@@ -89,9 +89,9 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn deposit_reserve_asset() -> Weight {
|
pub(crate) fn deposit_reserve_asset() -> Weight {
|
||||||
Weight::from_ref_time(45_355_000 as RefTimeWeight)
|
Weight::from_ref_time(45_355_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -100,8 +100,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn initiate_teleport() -> Weight {
|
pub(crate) fn initiate_teleport() -> Weight {
|
||||||
Weight::from_ref_time(23_451_000 as RefTimeWeight)
|
Weight::from_ref_time(23_451_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+29
-29
@@ -42,7 +42,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weights for `pallet_xcm_benchmarks::generic`.
|
/// Weights for `pallet_xcm_benchmarks::generic`.
|
||||||
@@ -55,38 +55,38 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn query_holding() -> Weight {
|
pub(crate) fn query_holding() -> Weight {
|
||||||
Weight::from_ref_time(676_316_000 as RefTimeWeight)
|
Weight::from_ref_time(676_316_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn buy_execution() -> Weight {
|
pub(crate) fn buy_execution() -> Weight {
|
||||||
Weight::from_ref_time(7_030_000 as RefTimeWeight)
|
Weight::from_ref_time(7_030_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm Queries (r:1 w:0)
|
// Storage: PolkadotXcm Queries (r:1 w:0)
|
||||||
pub(crate) fn query_response() -> Weight {
|
pub(crate) fn query_response() -> Weight {
|
||||||
Weight::from_ref_time(12_574_000 as RefTimeWeight)
|
Weight::from_ref_time(12_574_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn transact() -> Weight {
|
pub(crate) fn transact() -> Weight {
|
||||||
Weight::from_ref_time(15_764_000 as RefTimeWeight)
|
Weight::from_ref_time(15_764_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn refund_surplus() -> Weight {
|
pub(crate) fn refund_surplus() -> Weight {
|
||||||
Weight::from_ref_time(7_200_000 as RefTimeWeight)
|
Weight::from_ref_time(7_200_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn set_error_handler() -> Weight {
|
pub(crate) fn set_error_handler() -> Weight {
|
||||||
Weight::from_ref_time(3_310_000 as RefTimeWeight)
|
Weight::from_ref_time(3_310_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn set_appendix() -> Weight {
|
pub(crate) fn set_appendix() -> Weight {
|
||||||
Weight::from_ref_time(3_260_000 as RefTimeWeight)
|
Weight::from_ref_time(3_260_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn clear_error() -> Weight {
|
pub(crate) fn clear_error() -> Weight {
|
||||||
Weight::from_ref_time(3_277_000 as RefTimeWeight)
|
Weight::from_ref_time(3_277_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn descend_origin() -> Weight {
|
pub(crate) fn descend_origin() -> Weight {
|
||||||
Weight::from_ref_time(3_913_000 as RefTimeWeight)
|
Weight::from_ref_time(3_913_000 as u64)
|
||||||
}
|
}
|
||||||
pub(crate) fn clear_origin() -> Weight {
|
pub(crate) fn clear_origin() -> Weight {
|
||||||
Weight::from_ref_time(3_354_000 as RefTimeWeight)
|
Weight::from_ref_time(3_354_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
|
||||||
@@ -94,18 +94,18 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn report_error() -> Weight {
|
pub(crate) fn report_error() -> Weight {
|
||||||
Weight::from_ref_time(13_028_000 as RefTimeWeight)
|
Weight::from_ref_time(13_028_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
|
||||||
pub(crate) fn claim_asset() -> Weight {
|
pub(crate) fn claim_asset() -> Weight {
|
||||||
Weight::from_ref_time(7_739_000 as RefTimeWeight)
|
Weight::from_ref_time(7_739_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
pub(crate) fn trap() -> Weight {
|
pub(crate) fn trap() -> Weight {
|
||||||
Weight::from_ref_time(3_351_000 as RefTimeWeight)
|
Weight::from_ref_time(3_351_000 as u64)
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -114,14 +114,14 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn subscribe_version() -> Weight {
|
pub(crate) fn subscribe_version() -> Weight {
|
||||||
Weight::from_ref_time(16_051_000 as RefTimeWeight)
|
Weight::from_ref_time(16_051_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
|
||||||
pub(crate) fn unsubscribe_version() -> Weight {
|
pub(crate) fn unsubscribe_version() -> Weight {
|
||||||
Weight::from_ref_time(5_477_000 as RefTimeWeight)
|
Weight::from_ref_time(5_477_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
// Storage: ParachainInfo ParachainId (r:1 w:0)
|
||||||
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
|
||||||
@@ -130,8 +130,8 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
|
||||||
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
|
||||||
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
pub(crate) fn initiate_reserve_withdraw() -> Weight {
|
||||||
Weight::from_ref_time(874_435_000 as RefTimeWeight)
|
Weight::from_ref_time(874_435_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+7
-7
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
/// Weight functions for `cumulus_pallet_xcmp_queue`.
|
||||||
@@ -48,14 +48,14 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_u32() -> Weight {
|
fn set_config_with_u32() -> Weight {
|
||||||
Weight::from_ref_time(5_294_000 as RefTimeWeight)
|
Weight::from_ref_time(5_294_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
// Storage: XcmpQueue QueueConfig (r:1 w:1)
|
||||||
fn set_config_with_weight() -> Weight {
|
fn set_config_with_weight() -> Weight {
|
||||||
Weight::from_ref_time(5_180_000 as RefTimeWeight)
|
Weight::from_ref_time(5_180_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+16
-16
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `frame_system`.
|
/// Weight functions for `frame_system`.
|
||||||
@@ -48,43 +48,43 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark(_b: u32, ) -> Weight {
|
fn remark(_b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `b` is `[0, 3932160]`.
|
/// The range of component `b` is `[0, 3932160]`.
|
||||||
fn remark_with_event(b: u32, ) -> Weight {
|
fn remark_with_event(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Digest (r:1 w:1)
|
// Storage: System Digest (r:1 w:1)
|
||||||
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
Weight::from_ref_time(5_069_000 as RefTimeWeight)
|
Weight::from_ref_time(5_069_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn set_storage(i: u32, ) -> Weight {
|
fn set_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(624_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(624_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `i` is `[1, 1000]`.
|
/// The range of component `i` is `[1, 1000]`.
|
||||||
fn kill_storage(i: u32, ) -> Weight {
|
fn kill_storage(i: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(530_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(530_000 as u64).saturating_mul(i as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
|
||||||
}
|
}
|
||||||
// Storage: Skipped Metadata (r:0 w:0)
|
// Storage: Skipped Metadata (r:0 w:0)
|
||||||
/// The range of component `p` is `[1, 1000]`.
|
/// The range of component `p` is `[1, 1000]`.
|
||||||
fn kill_prefix(p: u32, ) -> Weight {
|
fn kill_prefix(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(1_059_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_059_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+77
-77
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_alliance`.
|
/// Weight functions for `pallet_alliance`.
|
||||||
@@ -56,24 +56,24 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `y` is `[0, 90]`.
|
/// The range of component `y` is `[0, 90]`.
|
||||||
/// The range of component `p` is `[1, 100]`.
|
/// The range of component `p` is `[1, 100]`.
|
||||||
fn propose_proposed(_b: u32, _x: u32, _y: u32, p: u32, ) -> Weight {
|
fn propose_proposed(_b: u32, _x: u32, _y: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(53_023_000 as RefTimeWeight)
|
Weight::from_ref_time(53_023_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(132_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(132_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:2 w:0)
|
// Storage: Alliance Members (r:2 w:0)
|
||||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||||
/// The range of component `x` is `[3, 10]`.
|
/// The range of component `x` is `[3, 10]`.
|
||||||
/// The range of component `y` is `[2, 90]`.
|
/// The range of component `y` is `[2, 90]`.
|
||||||
fn vote(x: u32, y: u32, ) -> Weight {
|
fn vote(x: u32, y: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(33_003_000 as RefTimeWeight)
|
Weight::from_ref_time(33_003_000 as u64)
|
||||||
// Standard Error: 106_000
|
// Standard Error: 106_000
|
||||||
.saturating_add(Weight::from_ref_time(312_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(x as u64))
|
||||||
// Standard Error: 4_000
|
// Standard Error: 4_000
|
||||||
.saturating_add(Weight::from_ref_time(82_000 as RefTimeWeight).saturating_mul(y as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(y as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:1 w:0)
|
// Storage: Alliance Members (r:1 w:0)
|
||||||
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
// Storage: AllianceMotion ProposalOf (r:1 w:1)
|
||||||
@@ -81,11 +81,11 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: AllianceMotion Voting (r:0 w:1)
|
// Storage: AllianceMotion Voting (r:0 w:1)
|
||||||
/// The range of component `p` is `[1, 100]`.
|
/// The range of component `p` is `[1, 100]`.
|
||||||
fn veto(p: u32, ) -> Weight {
|
fn veto(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(27_289_000 as RefTimeWeight)
|
Weight::from_ref_time(27_289_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:1 w:0)
|
// Storage: Alliance Members (r:1 w:0)
|
||||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||||
@@ -96,15 +96,15 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `y` is `[2, 90]`.
|
/// The range of component `y` is `[2, 90]`.
|
||||||
/// The range of component `p` is `[1, 100]`.
|
/// The range of component `p` is `[1, 100]`.
|
||||||
fn close_early_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
|
fn close_early_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_884_000 as RefTimeWeight)
|
Weight::from_ref_time(31_884_000 as u64)
|
||||||
// Standard Error: 72_000
|
// Standard Error: 72_000
|
||||||
.saturating_add(Weight::from_ref_time(358_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(358_000 as u64).saturating_mul(x as u64))
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(y as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(y as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:1 w:0)
|
// Storage: Alliance Members (r:1 w:0)
|
||||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||||
@@ -116,17 +116,17 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `y` is `[2, 90]`.
|
/// The range of component `y` is `[2, 90]`.
|
||||||
/// The range of component `p` is `[1, 100]`.
|
/// The range of component `p` is `[1, 100]`.
|
||||||
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
fn close_early_approved(b: u32, x: u32, y: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(43_205_000 as RefTimeWeight)
|
Weight::from_ref_time(43_205_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64))
|
||||||
// Standard Error: 73_000
|
// Standard Error: 73_000
|
||||||
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(x as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(91_000 as RefTimeWeight).saturating_mul(y as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(y as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:1 w:0)
|
// Storage: Alliance Members (r:1 w:0)
|
||||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||||
@@ -139,15 +139,15 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `y` is `[2, 90]`.
|
/// The range of component `y` is `[2, 90]`.
|
||||||
/// The range of component `p` is `[1, 100]`.
|
/// The range of component `p` is `[1, 100]`.
|
||||||
fn close_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
|
fn close_disapproved(x: u32, y: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(49_769_000 as RefTimeWeight)
|
Weight::from_ref_time(49_769_000 as u64)
|
||||||
// Standard Error: 69_000
|
// Standard Error: 69_000
|
||||||
.saturating_add(Weight::from_ref_time(352_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(352_000 as u64).saturating_mul(x as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).saturating_mul(y as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(y as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(100_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:1 w:0)
|
// Storage: Alliance Members (r:1 w:0)
|
||||||
// Storage: AllianceMotion Voting (r:1 w:1)
|
// Storage: AllianceMotion Voting (r:1 w:1)
|
||||||
@@ -160,15 +160,15 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `y` is `[2, 90]`.
|
/// The range of component `y` is `[2, 90]`.
|
||||||
/// The range of component `p` is `[1, 100]`.
|
/// The range of component `p` is `[1, 100]`.
|
||||||
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
fn close_approved(b: u32, _x: u32, y: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(40_901_000 as RefTimeWeight)
|
Weight::from_ref_time(40_901_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).saturating_mul(y as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(y as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:3 w:3)
|
// Storage: Alliance Members (r:3 w:3)
|
||||||
// Storage: AllianceMotion Members (r:1 w:1)
|
// Storage: AllianceMotion Members (r:1 w:1)
|
||||||
@@ -176,55 +176,55 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `y` is `[0, 90]`.
|
/// The range of component `y` is `[0, 90]`.
|
||||||
/// The range of component `z` is `[0, 100]`.
|
/// The range of component `z` is `[0, 100]`.
|
||||||
fn init_members(_x: u32, y: u32, z: u32, ) -> Weight {
|
fn init_members(_x: u32, y: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(39_647_000 as RefTimeWeight)
|
Weight::from_ref_time(39_647_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(y as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(y as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(116_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(116_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Rule (r:0 w:1)
|
// Storage: Alliance Rule (r:0 w:1)
|
||||||
fn set_rule() -> Weight {
|
fn set_rule() -> Weight {
|
||||||
Weight::from_ref_time(14_689_000 as RefTimeWeight)
|
Weight::from_ref_time(14_689_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Announcements (r:1 w:1)
|
// Storage: Alliance Announcements (r:1 w:1)
|
||||||
fn announce() -> Weight {
|
fn announce() -> Weight {
|
||||||
Weight::from_ref_time(15_988_000 as RefTimeWeight)
|
Weight::from_ref_time(15_988_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Announcements (r:1 w:1)
|
// Storage: Alliance Announcements (r:1 w:1)
|
||||||
fn remove_announcement() -> Weight {
|
fn remove_announcement() -> Weight {
|
||||||
Weight::from_ref_time(16_823_000 as RefTimeWeight)
|
Weight::from_ref_time(16_823_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||||
// Storage: Alliance Members (r:4 w:1)
|
// Storage: Alliance Members (r:4 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
// Storage: Alliance DepositOf (r:0 w:1)
|
// Storage: Alliance DepositOf (r:0 w:1)
|
||||||
fn join_alliance() -> Weight {
|
fn join_alliance() -> Weight {
|
||||||
Weight::from_ref_time(46_340_000 as RefTimeWeight)
|
Weight::from_ref_time(46_340_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:4 w:1)
|
// Storage: Alliance Members (r:4 w:1)
|
||||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
// Storage: Alliance UnscrupulousAccounts (r:1 w:0)
|
||||||
fn nominate_ally() -> Weight {
|
fn nominate_ally() -> Weight {
|
||||||
Weight::from_ref_time(36_225_000 as RefTimeWeight)
|
Weight::from_ref_time(36_225_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:3 w:2)
|
// Storage: Alliance Members (r:3 w:2)
|
||||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||||
// Storage: AllianceMotion Members (r:0 w:1)
|
// Storage: AllianceMotion Members (r:0 w:1)
|
||||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||||
fn elevate_ally() -> Weight {
|
fn elevate_ally() -> Weight {
|
||||||
Weight::from_ref_time(30_236_000 as RefTimeWeight)
|
Weight::from_ref_time(30_236_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(4 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance UpForKicking (r:1 w:0)
|
// Storage: Alliance UpForKicking (r:1 w:0)
|
||||||
// Storage: Alliance Members (r:3 w:1)
|
// Storage: Alliance Members (r:3 w:1)
|
||||||
@@ -234,9 +234,9 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: AllianceMotion Members (r:0 w:1)
|
// Storage: AllianceMotion Members (r:0 w:1)
|
||||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||||
fn retire() -> Weight {
|
fn retire() -> Weight {
|
||||||
Weight::from_ref_time(44_311_000 as RefTimeWeight)
|
Weight::from_ref_time(44_311_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(5 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance Members (r:3 w:1)
|
// Storage: Alliance Members (r:3 w:1)
|
||||||
// Storage: AllianceMotion Proposals (r:1 w:0)
|
// Storage: AllianceMotion Proposals (r:1 w:0)
|
||||||
@@ -246,34 +246,34 @@ impl<T: frame_system::Config> pallet_alliance::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: AllianceMotion Prime (r:0 w:1)
|
// Storage: AllianceMotion Prime (r:0 w:1)
|
||||||
// Storage: Alliance UpForKicking (r:0 w:1)
|
// Storage: Alliance UpForKicking (r:0 w:1)
|
||||||
fn kick_member() -> Weight {
|
fn kick_member() -> Weight {
|
||||||
Weight::from_ref_time(46_112_000 as RefTimeWeight)
|
Weight::from_ref_time(46_112_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(6 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||||
/// The range of component `n` is `[1, 100]`.
|
/// The range of component `n` is `[1, 100]`.
|
||||||
/// The range of component `l` is `[1, 255]`.
|
/// The range of component `l` is `[1, 255]`.
|
||||||
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
fn add_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(1_300_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_300_000 as u64).saturating_mul(n as u64))
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(125_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(125_000 as u64).saturating_mul(l as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
// Storage: Alliance UnscrupulousAccounts (r:1 w:1)
|
||||||
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
// Storage: Alliance UnscrupulousWebsites (r:1 w:1)
|
||||||
/// The range of component `n` is `[1, 100]`.
|
/// The range of component `n` is `[1, 100]`.
|
||||||
/// The range of component `l` is `[1, 255]`.
|
/// The range of component `l` is `[1, 255]`.
|
||||||
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
fn remove_unscrupulous_items(n: u32, l: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 197_000
|
// Standard Error: 197_000
|
||||||
.saturating_add(Weight::from_ref_time(34_156_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(34_156_000 as u64).saturating_mul(n as u64))
|
||||||
// Standard Error: 87_000
|
// Standard Error: 87_000
|
||||||
.saturating_add(Weight::from_ref_time(7_042_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(7_042_000 as u64).saturating_mul(l as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+22
-22
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_balances`.
|
/// Weight functions for `pallet_balances`.
|
||||||
@@ -48,44 +48,44 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer() -> Weight {
|
fn transfer() -> Weight {
|
||||||
Weight::from_ref_time(39_576_000 as RefTimeWeight)
|
Weight::from_ref_time(39_576_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_keep_alive() -> Weight {
|
fn transfer_keep_alive() -> Weight {
|
||||||
Weight::from_ref_time(30_212_000 as RefTimeWeight)
|
Weight::from_ref_time(30_212_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_creating() -> Weight {
|
fn set_balance_creating() -> Weight {
|
||||||
Weight::from_ref_time(19_428_000 as RefTimeWeight)
|
Weight::from_ref_time(19_428_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn set_balance_killing() -> Weight {
|
fn set_balance_killing() -> Weight {
|
||||||
Weight::from_ref_time(22_526_000 as RefTimeWeight)
|
Weight::from_ref_time(22_526_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
fn force_transfer() -> Weight {
|
fn force_transfer() -> Weight {
|
||||||
Weight::from_ref_time(38_737_000 as RefTimeWeight)
|
Weight::from_ref_time(38_737_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn transfer_all() -> Weight {
|
fn transfer_all() -> Weight {
|
||||||
Weight::from_ref_time(35_648_000 as RefTimeWeight)
|
Weight::from_ref_time(35_648_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
fn force_unreserve() -> Weight {
|
fn force_unreserve() -> Weight {
|
||||||
Weight::from_ref_time(17_197_000 as RefTimeWeight)
|
Weight::from_ref_time(17_197_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+26
-26
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_collator_selection`.
|
/// Weight functions for `pallet_collator_selection`.
|
||||||
@@ -50,21 +50,21 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
// Storage: CollatorSelection Invulnerables (r:0 w:1)
|
||||||
/// The range of component `b` is `[1, 100]`.
|
/// The range of component `b` is `[1, 100]`.
|
||||||
fn set_invulnerables(b: u32, ) -> Weight {
|
fn set_invulnerables(b: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(7_128_000 as RefTimeWeight)
|
Weight::from_ref_time(7_128_000 as u64)
|
||||||
// Standard Error: 4_000
|
// Standard Error: 4_000
|
||||||
.saturating_add(Weight::from_ref_time(3_105_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_105_000 as u64).saturating_mul(b as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(b as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
|
||||||
fn set_desired_candidates() -> Weight {
|
fn set_desired_candidates() -> Weight {
|
||||||
Weight::from_ref_time(7_922_000 as RefTimeWeight)
|
Weight::from_ref_time(7_922_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
|
||||||
fn set_candidacy_bond() -> Weight {
|
fn set_candidacy_bond() -> Weight {
|
||||||
Weight::from_ref_time(8_226_000 as RefTimeWeight)
|
Weight::from_ref_time(8_226_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
// Storage: CollatorSelection DesiredCandidates (r:1 w:0)
|
||||||
@@ -74,29 +74,29 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn register_as_candidate(c: u32, ) -> Weight {
|
fn register_as_candidate(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(56_086_000 as RefTimeWeight)
|
Weight::from_ref_time(56_086_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(93_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(5 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
/// The range of component `c` is `[6, 1000]`.
|
/// The range of component `c` is `[6, 1000]`.
|
||||||
fn leave_intent(c: u32, ) -> Weight {
|
fn leave_intent(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(58_436_000 as RefTimeWeight)
|
Weight::from_ref_time(58_436_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: System Account (r:2 w:2)
|
// Storage: System Account (r:2 w:2)
|
||||||
// Storage: System BlockWeight (r:1 w:1)
|
// Storage: System BlockWeight (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:0 w:1)
|
||||||
fn note_author() -> Weight {
|
fn note_author() -> Weight {
|
||||||
Weight::from_ref_time(29_654_000 as RefTimeWeight)
|
Weight::from_ref_time(29_654_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(4 as u64))
|
||||||
}
|
}
|
||||||
// Storage: CollatorSelection Candidates (r:1 w:1)
|
// Storage: CollatorSelection Candidates (r:1 w:1)
|
||||||
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
// Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1)
|
||||||
@@ -106,13 +106,13 @@ impl<T: frame_system::Config> pallet_collator_selection::WeightInfo for WeightIn
|
|||||||
/// The range of component `r` is `[1, 1000]`.
|
/// The range of component `r` is `[1, 1000]`.
|
||||||
/// The range of component `c` is `[1, 1000]`.
|
/// The range of component `c` is `[1, 1000]`.
|
||||||
fn new_session(r: u32, c: u32, ) -> Weight {
|
fn new_session(r: u32, c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(0 as RefTimeWeight)
|
Weight::from_ref_time(0 as u64)
|
||||||
// Standard Error: 1_911_000
|
// Standard Error: 1_911_000
|
||||||
.saturating_add(Weight::from_ref_time(9_907_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(9_907_000 as u64).saturating_mul(r as u64))
|
||||||
// Standard Error: 1_911_000
|
// Standard Error: 1_911_000
|
||||||
.saturating_add(Weight::from_ref_time(50_916_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(50_916_000 as u64).saturating_mul(c as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(c as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64)))
|
||||||
.saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+44
-44
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_multisig`.
|
/// Weight functions for `pallet_multisig`.
|
||||||
@@ -48,22 +48,22 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
fn as_multi_threshold_1(z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(17_905_000 as RefTimeWeight)
|
Weight::from_ref_time(17_905_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(34_787_000 as RefTimeWeight)
|
Weight::from_ref_time(34_787_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -71,38 +71,38 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_create_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(38_845_000 as RefTimeWeight)
|
Weight::from_ref_time(38_845_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(25_600_000 as RefTimeWeight)
|
Weight::from_ref_time(25_600_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(76_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[3, 100]`.
|
/// The range of component `s` is `[3, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
fn as_multi_approve_store(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(36_944_000 as RefTimeWeight)
|
Weight::from_ref_time(36_944_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(95_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
@@ -110,53 +110,53 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
/// The range of component `z` is `[0, 10000]`.
|
/// The range of component `z` is `[0, 10000]`.
|
||||||
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(46_014_000 as RefTimeWeight)
|
Weight::from_ref_time(46_014_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(126_000 as u64).saturating_mul(s as u64))
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_create(s: u32, ) -> Weight {
|
fn approve_as_multi_create(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_616_000 as RefTimeWeight)
|
Weight::from_ref_time(31_616_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:0)
|
// Storage: Multisig Calls (r:1 w:0)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
fn approve_as_multi_approve(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(20_862_000 as RefTimeWeight)
|
Weight::from_ref_time(20_862_000 as u64)
|
||||||
// Standard Error: 0
|
// Standard Error: 0
|
||||||
.saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
fn approve_as_multi_complete(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(64_311_000 as RefTimeWeight)
|
Weight::from_ref_time(64_311_000 as u64)
|
||||||
// Standard Error: 1_000
|
// Standard Error: 1_000
|
||||||
.saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(3 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Multisig Multisigs (r:1 w:1)
|
// Storage: Multisig Multisigs (r:1 w:1)
|
||||||
// Storage: Multisig Calls (r:1 w:1)
|
// Storage: Multisig Calls (r:1 w:1)
|
||||||
/// The range of component `s` is `[2, 100]`.
|
/// The range of component `s` is `[2, 100]`.
|
||||||
fn cancel_as_multi(s: u32, ) -> Weight {
|
fn cancel_as_multi(s: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(51_181_000 as RefTimeWeight)
|
Weight::from_ref_time(51_181_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(s as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+44
-44
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_proxy`.
|
/// Weight functions for `pallet_proxy`.
|
||||||
@@ -49,10 +49,10 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy(p: u32, ) -> Weight {
|
fn proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(16_628_000 as RefTimeWeight)
|
Weight::from_ref_time(16_628_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(90_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -60,39 +60,39 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
fn proxy_announced(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(33_846_000 as RefTimeWeight)
|
Weight::from_ref_time(33_846_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(175_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(175_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(88_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
fn remove_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(23_633_000 as RefTimeWeight)
|
Weight::from_ref_time(23_633_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(184_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
// Storage: System Account (r:1 w:1)
|
// Storage: System Account (r:1 w:1)
|
||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
fn reject_announcement(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(24_121_000 as RefTimeWeight)
|
Weight::from_ref_time(24_121_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(177_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(177_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(15_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(15_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:0)
|
// Storage: Proxy Proxies (r:1 w:0)
|
||||||
// Storage: Proxy Announcements (r:1 w:1)
|
// Storage: Proxy Announcements (r:1 w:1)
|
||||||
@@ -100,58 +100,58 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
|
|||||||
/// The range of component `a` is `[0, 31]`.
|
/// The range of component `a` is `[0, 31]`.
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn announce(a: u32, p: u32, ) -> Weight {
|
fn announce(a: u32, p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(31_509_000 as RefTimeWeight)
|
Weight::from_ref_time(31_509_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(a as u64))
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(86_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(3 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn add_proxy(p: u32, ) -> Weight {
|
fn add_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(26_168_000 as RefTimeWeight)
|
Weight::from_ref_time(26_168_000 as u64)
|
||||||
// Standard Error: 4_000
|
// Standard Error: 4_000
|
||||||
.saturating_add(Weight::from_ref_time(127_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(127_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxy(p: u32, ) -> Weight {
|
fn remove_proxy(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(26_306_000 as RefTimeWeight)
|
Weight::from_ref_time(26_306_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn remove_proxies(p: u32, ) -> Weight {
|
fn remove_proxies(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(22_287_000 as RefTimeWeight)
|
Weight::from_ref_time(22_287_000 as u64)
|
||||||
// Standard Error: 3_000
|
// Standard Error: 3_000
|
||||||
.saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[1, 31]`.
|
/// The range of component `p` is `[1, 31]`.
|
||||||
fn anonymous(p: u32, ) -> Weight {
|
fn anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(29_260_000 as RefTimeWeight)
|
Weight::from_ref_time(29_260_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(38_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Proxy Proxies (r:1 w:1)
|
// Storage: Proxy Proxies (r:1 w:1)
|
||||||
/// The range of component `p` is `[0, 30]`.
|
/// The range of component `p` is `[0, 30]`.
|
||||||
fn kill_anonymous(p: u32, ) -> Weight {
|
fn kill_anonymous(p: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(23_012_000 as RefTimeWeight)
|
Weight::from_ref_time(23_012_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(p as u64))
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+7
-7
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_session`.
|
/// Weight functions for `pallet_session`.
|
||||||
@@ -49,15 +49,15 @@ impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
|
|||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:1 w:1)
|
// Storage: Session KeyOwner (r:1 w:1)
|
||||||
fn set_keys() -> Weight {
|
fn set_keys() -> Weight {
|
||||||
Weight::from_ref_time(15_802_000 as RefTimeWeight)
|
Weight::from_ref_time(15_802_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(2 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
// Storage: Session NextKeys (r:1 w:1)
|
// Storage: Session NextKeys (r:1 w:1)
|
||||||
// Storage: Session KeyOwner (r:0 w:1)
|
// Storage: Session KeyOwner (r:0 w:1)
|
||||||
fn purge_keys() -> Weight {
|
fn purge_keys() -> Weight {
|
||||||
Weight::from_ref_time(12_925_000 as RefTimeWeight)
|
Weight::from_ref_time(12_925_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(2 as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-5
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_timestamp`.
|
/// Weight functions for `pallet_timestamp`.
|
||||||
@@ -48,11 +48,11 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// Storage: Timestamp Now (r:1 w:1)
|
// Storage: Timestamp Now (r:1 w:1)
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
Weight::from_ref_time(6_170_000 as RefTimeWeight)
|
Weight::from_ref_time(6_170_000 as u64)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads(1 as u64))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes(1 as u64))
|
||||||
}
|
}
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
Weight::from_ref_time(2_177_000 as RefTimeWeight)
|
Weight::from_ref_time(2_177_000 as u64)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+9
-9
@@ -40,7 +40,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weight functions for `pallet_utility`.
|
/// Weight functions for `pallet_utility`.
|
||||||
@@ -48,26 +48,26 @@ pub struct WeightInfo<T>(PhantomData<T>);
|
|||||||
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch(c: u32, ) -> Weight {
|
fn batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(13_398_000 as RefTimeWeight)
|
Weight::from_ref_time(13_398_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_159_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_159_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
Weight::from_ref_time(4_668_000 as RefTimeWeight)
|
Weight::from_ref_time(4_668_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn batch_all(c: u32, ) -> Weight {
|
fn batch_all(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(10_742_000 as RefTimeWeight)
|
Weight::from_ref_time(10_742_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_375_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_375_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
fn dispatch_as() -> Weight {
|
fn dispatch_as() -> Weight {
|
||||||
Weight::from_ref_time(11_022_000 as RefTimeWeight)
|
Weight::from_ref_time(11_022_000 as u64)
|
||||||
}
|
}
|
||||||
/// The range of component `c` is `[0, 1000]`.
|
/// The range of component `c` is `[0, 1000]`.
|
||||||
fn force_batch(c: u32, ) -> Weight {
|
fn force_batch(c: u32, ) -> Weight {
|
||||||
Weight::from_ref_time(14_280_000 as RefTimeWeight)
|
Weight::from_ref_time(14_280_000 as u64)
|
||||||
// Standard Error: 2_000
|
// Standard Error: 2_000
|
||||||
.saturating_add(Weight::from_ref_time(3_150_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time(3_150_000 as u64).saturating_mul(c as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|
||||||
use frame_support::{traits::Get, weights::{RefTimeWeight, Weight}};
|
use frame_support::{traits::Get, weights::Weight};
|
||||||
use sp_std::marker::PhantomData;
|
use sp_std::marker::PhantomData;
|
||||||
|
|
||||||
/// Weights for `{{pallet}}`.
|
/// Weights for `{{pallet}}`.
|
||||||
@@ -46,22 +46,22 @@ impl<T: frame_system::Config> WeightInfo<T> {
|
|||||||
{{~#each benchmark.components as |c| ~}}
|
{{~#each benchmark.components as |c| ~}}
|
||||||
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
|
{{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}}
|
||||||
) -> Weight {
|
) -> Weight {
|
||||||
Weight::from_ref_time({{underscore benchmark.base_weight}} as RefTimeWeight)
|
Weight::from_ref_time({{underscore benchmark.base_weight}} as u64)
|
||||||
{{#each benchmark.component_weight as |cw|}}
|
{{#each benchmark.component_weight as |cw|}}
|
||||||
// Standard Error: {{underscore cw.error}}
|
// Standard Error: {{underscore cw.error}}
|
||||||
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}} as RefTimeWeight))
|
.saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}} as u64))
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{#if (ne benchmark.base_reads "0")}}
|
{{#if (ne benchmark.base_reads "0")}}
|
||||||
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as u64))
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#each benchmark.component_reads as |cr|}}
|
{{#each benchmark.component_reads as |cr|}}
|
||||||
.saturating_add(T::DbWeight::get().reads(({{cr.slope}} as RefTimeWeight).saturating_mul({{cr.name}} as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().reads(({{cr.slope}} as u64).saturating_mul({{cr.name}} as u64)))
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{#if (ne benchmark.base_writes "0")}}
|
{{#if (ne benchmark.base_writes "0")}}
|
||||||
.saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as RefTimeWeight))
|
.saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as u64))
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#each benchmark.component_writes as |cw|}}
|
{{#each benchmark.component_writes as |cw|}}
|
||||||
.saturating_add(T::DbWeight::get().writes(({{cw.slope}} as RefTimeWeight).saturating_mul({{cw.name}} as RefTimeWeight)))
|
.saturating_add(T::DbWeight::get().writes(({{cw.slope}} as u64).saturating_mul({{cw.name}} as u64)))
|
||||||
{{/each}}
|
{{/each}}
|
||||||
}
|
}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|||||||
Reference in New Issue
Block a user