diff --git a/runtime/manta/src/weights/calamari_vesting.rs b/runtime/manta/src/weights/calamari_vesting.rs
deleted file mode 100644
index 38825a28a..000000000
--- a/runtime/manta/src/weights/calamari_vesting.rs
+++ /dev/null
@@ -1,121 +0,0 @@
-// Copyright 2020-2023 Manta Network.
-// This file is part of Manta.
-//
-// Manta is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// Manta is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Manta. If not, see .
-
-//! Autogenerated weights for calamari_vesting
-//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
-
-// Executed Command:
-// ./target/production/manta
-// benchmark
-// pallet
-// --chain=calamari-dev
-// --steps=50
-// --repeat=40
-// --pallet=calamari_vesting
-// --extrinsic=*
-// --execution=wasm
-// --wasm-execution=compiled
-// --heap-pages=4096
-// --output=./scripts/benchmarking/frame-weights-output/calamari_vesting.rs
-// --template=.github/resources/frame-weight-template.hbs
-
-#![cfg_attr(rustfmt, rustfmt_skip)]
-#![allow(unused_parens)]
-#![allow(unused_imports)]
-#![allow(clippy::unnecessary_cast)]
-
-use frame_support::{traits::Get, weights::Weight};
-use sp_std::marker::PhantomData;
-use manta_primitives::constants::RocksDbWeight;
-
-/// Weight functions needed for calamari_vesting.
-pub trait WeightInfo {
- fn update_vesting_schedule() -> Weight;
- fn vest() -> Weight;
- fn vested_transfer() -> Weight;
-}
-
-/// Weights for calamari_vesting using the Substrate node and recommended hardware.
-pub struct SubstrateWeight(PhantomData);
-impl calamari_vesting::WeightInfo for SubstrateWeight {
- // Storage: CalamariVesting VestingSchedule (r:1 w:1)
- // Storage: Timestamp Now (r:1 w:0)
- fn update_vesting_schedule() -> Weight {
- // Minimum execution time: 19_534 nanoseconds.
- Weight::from_ref_time(19_981_000)
- .saturating_add(T::DbWeight::get().reads(2))
- .saturating_add(T::DbWeight::get().writes(1))
- }
- // Storage: Timestamp Now (r:1 w:0)
- // Storage: CalamariVesting VestingSchedule (r:1 w:0)
- // Storage: CalamariVesting VestingBalances (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- fn vest() -> Weight {
- // Minimum execution time: 42_488 nanoseconds.
- Weight::from_ref_time(46_283_000)
- .saturating_add(T::DbWeight::get().reads(5))
- .saturating_add(T::DbWeight::get().writes(3))
- }
- // Storage: CalamariVesting VestingBalances (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: Timestamp Now (r:1 w:0)
- // Storage: CalamariVesting VestingSchedule (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- fn vested_transfer() -> Weight {
- // Minimum execution time: 63_758 nanoseconds.
- Weight::from_ref_time(69_421_000)
- .saturating_add(T::DbWeight::get().reads(5))
- .saturating_add(T::DbWeight::get().writes(3))
- }
-}
-
-// For backwards compatibility and tests
-impl WeightInfo for () {
- // Storage: CalamariVesting VestingSchedule (r:1 w:1)
- // Storage: Timestamp Now (r:1 w:0)
- fn update_vesting_schedule() -> Weight {
- // Minimum execution time: 19_534 nanoseconds.
- Weight::from_ref_time(19_981_000)
- .saturating_add(RocksDbWeight::get().reads(2))
- .saturating_add(RocksDbWeight::get().writes(1))
- }
- // Storage: Timestamp Now (r:1 w:0)
- // Storage: CalamariVesting VestingSchedule (r:1 w:0)
- // Storage: CalamariVesting VestingBalances (r:1 w:1)
- // Storage: Balances Locks (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- fn vest() -> Weight {
- // Minimum execution time: 42_488 nanoseconds.
- Weight::from_ref_time(46_283_000)
- .saturating_add(RocksDbWeight::get().reads(5))
- .saturating_add(RocksDbWeight::get().writes(3))
- }
- // Storage: CalamariVesting VestingBalances (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: Timestamp Now (r:1 w:0)
- // Storage: CalamariVesting VestingSchedule (r:1 w:0)
- // Storage: Balances Locks (r:1 w:1)
- fn vested_transfer() -> Weight {
- // Minimum execution time: 63_758 nanoseconds.
- Weight::from_ref_time(69_421_000)
- .saturating_add(RocksDbWeight::get().reads(5))
- .saturating_add(RocksDbWeight::get().writes(3))
- }
-}
diff --git a/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs
index 321bd0d66..1f6b6cb94 100644
--- a/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs
+++ b/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for cumulus_pallet_xcmp_queue
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=cumulus_pallet_xcmp_queue
@@ -55,15 +55,15 @@ pub struct SubstrateWeight(PhantomData);
impl cumulus_pallet_xcmp_queue::WeightInfo for SubstrateWeight {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
- // Minimum execution time: 7_032 nanoseconds.
- Weight::from_ref_time(7_204_000)
+ // Minimum execution time: 6_934 nanoseconds.
+ Weight::from_ref_time(7_182_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
- // Minimum execution time: 16_948 nanoseconds.
- Weight::from_ref_time(17_488_000)
+ // Minimum execution time: 6_997 nanoseconds.
+ Weight::from_ref_time(7_236_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -73,15 +73,15 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for Substrat
impl WeightInfo for () {
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_u32() -> Weight {
- // Minimum execution time: 7_032 nanoseconds.
- Weight::from_ref_time(7_204_000)
+ // Minimum execution time: 6_934 nanoseconds.
+ Weight::from_ref_time(7_182_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: XcmpQueue QueueConfig (r:1 w:1)
fn set_config_with_weight() -> Weight {
- // Minimum execution time: 16_948 nanoseconds.
- Weight::from_ref_time(17_488_000)
+ // Minimum execution time: 6_997 nanoseconds.
+ Weight::from_ref_time(7_236_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
diff --git a/runtime/manta/src/weights/frame_system.rs b/runtime/manta/src/weights/frame_system.rs
index adfa62ffd..ead1a4d62 100644
--- a/runtime/manta/src/weights/frame_system.rs
+++ b/runtime/manta/src/weights/frame_system.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for frame_system
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=frame_system
@@ -59,51 +59,51 @@ pub struct SubstrateWeight(PhantomData);
impl frame_system::WeightInfo for SubstrateWeight {
/// The range of component `b` is `[0, 3670016]`.
fn remark(b: u32, ) -> Weight {
- // Minimum execution time: 3_622 nanoseconds.
- Weight::from_ref_time(12_977_645)
+ // Minimum execution time: 3_697 nanoseconds.
+ Weight::from_ref_time(13_336_119)
// Standard Error: 0
- .saturating_add(Weight::from_ref_time(459).saturating_mul(b.into()))
+ .saturating_add(Weight::from_ref_time(458).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3670016]`.
fn remark_with_event(b: u32, ) -> Weight {
- // Minimum execution time: 13_385 nanoseconds.
- Weight::from_ref_time(13_659_000)
+ // Minimum execution time: 13_738 nanoseconds.
+ Weight::from_ref_time(13_978_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_043).saturating_mul(b.into()))
+ .saturating_add(Weight::from_ref_time(2_050).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
- // Minimum execution time: 8_062 nanoseconds.
- Weight::from_ref_time(8_395_000)
+ // Minimum execution time: 7_882 nanoseconds.
+ Weight::from_ref_time(8_752_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
- // Minimum execution time: 3_693 nanoseconds.
- Weight::from_ref_time(3_786_000)
- // Standard Error: 1_507
- .saturating_add(Weight::from_ref_time(733_452).saturating_mul(i.into()))
+ // Minimum execution time: 11_680 nanoseconds.
+ Weight::from_ref_time(11_840_000)
+ // Standard Error: 1_649
+ .saturating_add(Weight::from_ref_time(714_189).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
- // Minimum execution time: 3_723 nanoseconds.
- Weight::from_ref_time(3_794_000)
- // Standard Error: 584
- .saturating_add(Weight::from_ref_time(522_896).saturating_mul(i.into()))
+ // Minimum execution time: 11_851 nanoseconds.
+ Weight::from_ref_time(12_080_000)
+ // Standard Error: 713
+ .saturating_add(Weight::from_ref_time(510_262).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
- // Minimum execution time: 5_511 nanoseconds.
- Weight::from_ref_time(5_694_000)
- // Standard Error: 743
- .saturating_add(Weight::from_ref_time(1_124_880).saturating_mul(p.into()))
+ // Minimum execution time: 5_726 nanoseconds.
+ Weight::from_ref_time(5_832_000)
+ // Standard Error: 691
+ .saturating_add(Weight::from_ref_time(1_113_002).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
@@ -112,51 +112,51 @@ impl frame_system::WeightInfo for SubstrateWeight {
impl WeightInfo for () {
/// The range of component `b` is `[0, 3670016]`.
fn remark(b: u32, ) -> Weight {
- // Minimum execution time: 3_622 nanoseconds.
- Weight::from_ref_time(12_977_645)
+ // Minimum execution time: 3_697 nanoseconds.
+ Weight::from_ref_time(13_336_119)
// Standard Error: 0
- .saturating_add(Weight::from_ref_time(459).saturating_mul(b.into()))
+ .saturating_add(Weight::from_ref_time(458).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3670016]`.
fn remark_with_event(b: u32, ) -> Weight {
- // Minimum execution time: 13_385 nanoseconds.
- Weight::from_ref_time(13_659_000)
+ // Minimum execution time: 13_738 nanoseconds.
+ Weight::from_ref_time(13_978_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_043).saturating_mul(b.into()))
+ .saturating_add(Weight::from_ref_time(2_050).saturating_mul(b.into()))
}
// Storage: System Digest (r:1 w:1)
// Storage: unknown [0x3a686561707061676573] (r:0 w:1)
fn set_heap_pages() -> Weight {
- // Minimum execution time: 8_062 nanoseconds.
- Weight::from_ref_time(8_395_000)
+ // Minimum execution time: 7_882 nanoseconds.
+ Weight::from_ref_time(8_752_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn set_storage(i: u32, ) -> Weight {
- // Minimum execution time: 3_693 nanoseconds.
- Weight::from_ref_time(3_786_000)
- // Standard Error: 1_507
- .saturating_add(Weight::from_ref_time(733_452).saturating_mul(i.into()))
+ // Minimum execution time: 11_680 nanoseconds.
+ Weight::from_ref_time(11_840_000)
+ // Standard Error: 1_649
+ .saturating_add(Weight::from_ref_time(714_189).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn kill_storage(i: u32, ) -> Weight {
- // Minimum execution time: 3_723 nanoseconds.
- Weight::from_ref_time(3_794_000)
- // Standard Error: 584
- .saturating_add(Weight::from_ref_time(522_896).saturating_mul(i.into()))
+ // Minimum execution time: 11_851 nanoseconds.
+ Weight::from_ref_time(12_080_000)
+ // Standard Error: 713
+ .saturating_add(Weight::from_ref_time(510_262).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
- // Minimum execution time: 5_511 nanoseconds.
- Weight::from_ref_time(5_694_000)
- // Standard Error: 743
- .saturating_add(Weight::from_ref_time(1_124_880).saturating_mul(p.into()))
+ // Minimum execution time: 5_726 nanoseconds.
+ Weight::from_ref_time(5_832_000)
+ // Standard Error: 691
+ .saturating_add(Weight::from_ref_time(1_113_002).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into())))
}
}
diff --git a/runtime/manta/src/weights/manta_collator_selection.rs b/runtime/manta/src/weights/manta_collator_selection.rs
index ef033747d..682f7aa33 100644
--- a/runtime/manta/src/weights/manta_collator_selection.rs
+++ b/runtime/manta/src/weights/manta_collator_selection.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for manta_collator_selection
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=manta_collator_selection
@@ -64,33 +64,35 @@ pub struct SubstrateWeight(PhantomData);
impl manta_collator_selection::WeightInfo for SubstrateWeight {
// Storage: CollatorSelection Invulnerables (r:0 w:1)
/// The range of component `b` is `[1, 5]`.
- fn set_invulnerables(_b: u32, ) -> Weight {
- // Minimum execution time: 13_177 nanoseconds.
- Weight::from_ref_time(15_233_013)
+ fn set_invulnerables(b: u32, ) -> Weight {
+ // Minimum execution time: 12_910 nanoseconds.
+ Weight::from_ref_time(14_277_128)
+ // Standard Error: 3_572
+ .saturating_add(Weight::from_ref_time(63_586).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
- // Minimum execution time: 14_751 nanoseconds.
- Weight::from_ref_time(16_065_000)
+ // Minimum execution time: 14_130 nanoseconds.
+ Weight::from_ref_time(15_793_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
- // Minimum execution time: 13_861 nanoseconds.
- Weight::from_ref_time(14_109_000)
+ // Minimum execution time: 13_354 nanoseconds.
+ Weight::from_ref_time(13_684_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection EvictionBaseline (r:0 w:1)
fn set_eviction_baseline() -> Weight {
- // Minimum execution time: 13_258 nanoseconds.
- Weight::from_ref_time(13_568_000)
+ // Minimum execution time: 12_949 nanoseconds.
+ Weight::from_ref_time(13_408_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection EvictionTolerance (r:0 w:1)
fn set_eviction_tolerance() -> Weight {
- // Minimum execution time: 12_940 nanoseconds.
- Weight::from_ref_time(13_564_000)
+ // Minimum execution time: 12_800 nanoseconds.
+ Weight::from_ref_time(13_390_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
@@ -100,20 +102,20 @@ impl manta_collator_selection::WeightInfo for Substrate
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
/// The range of component `c` is `[1, 50]`.
fn register_as_candidate(c: u32, ) -> Weight {
- // Minimum execution time: 45_731 nanoseconds.
- Weight::from_ref_time(50_996_324)
- // Standard Error: 3_113
- .saturating_add(Weight::from_ref_time(219_506).saturating_mul(c.into()))
+ // Minimum execution time: 44_616 nanoseconds.
+ Weight::from_ref_time(49_335_523)
+ // Standard Error: 3_014
+ .saturating_add(Weight::from_ref_time(249_741).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
/// The range of component `c` is `[1, 50]`.
fn leave_intent(c: u32, ) -> Weight {
- // Minimum execution time: 31_366 nanoseconds.
- Weight::from_ref_time(35_017_814)
- // Standard Error: 1_927
- .saturating_add(Weight::from_ref_time(180_885).saturating_mul(c.into()))
+ // Minimum execution time: 30_268 nanoseconds.
+ Weight::from_ref_time(33_911_007)
+ // Standard Error: 2_238
+ .saturating_add(Weight::from_ref_time(206_016).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -121,10 +123,10 @@ impl manta_collator_selection::WeightInfo for Substrate
// Storage: CollatorSelection Candidates (r:1 w:1)
/// The range of component `c` is `[1, 50]`.
fn remove_collator(c: u32, ) -> Weight {
- // Minimum execution time: 33_940 nanoseconds.
- Weight::from_ref_time(37_833_295)
- // Standard Error: 2_518
- .saturating_add(Weight::from_ref_time(203_571).saturating_mul(c.into()))
+ // Minimum execution time: 32_229 nanoseconds.
+ Weight::from_ref_time(36_291_427)
+ // Standard Error: 2_464
+ .saturating_add(Weight::from_ref_time(209_468).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -135,10 +137,10 @@ impl manta_collator_selection::WeightInfo for Substrate
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
/// The range of component `c` is `[1, 50]`.
fn register_candidate(c: u32, ) -> Weight {
- // Minimum execution time: 47_171 nanoseconds.
- Weight::from_ref_time(51_391_396)
- // Standard Error: 2_348
- .saturating_add(Weight::from_ref_time(212_689).saturating_mul(c.into()))
+ // Minimum execution time: 45_531 nanoseconds.
+ Weight::from_ref_time(49_973_015)
+ // Standard Error: 3_029
+ .saturating_add(Weight::from_ref_time(239_765).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -146,8 +148,8 @@ impl manta_collator_selection::WeightInfo for Substrate
// Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1)
// Storage: System BlockWeight (r:1 w:1)
fn note_author() -> Weight {
- // Minimum execution time: 34_330 nanoseconds.
- Weight::from_ref_time(35_154_000)
+ // Minimum execution time: 35_709 nanoseconds.
+ Weight::from_ref_time(37_121_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -161,10 +163,10 @@ impl manta_collator_selection::WeightInfo for Substrate
// Storage: System Account (r:1 w:1)
/// The range of component `c` is `[1, 50]`.
fn new_session(c: u32, ) -> Weight {
- // Minimum execution time: 35_467 nanoseconds.
- Weight::from_ref_time(25_716_892)
- // Standard Error: 47_648
- .saturating_add(Weight::from_ref_time(22_058_183).saturating_mul(c.into()))
+ // Minimum execution time: 34_377 nanoseconds.
+ Weight::from_ref_time(24_953_466)
+ // Standard Error: 48_029
+ .saturating_add(Weight::from_ref_time(21_940_574).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(3))
@@ -176,33 +178,35 @@ impl manta_collator_selection::WeightInfo for Substrate
impl WeightInfo for () {
// Storage: CollatorSelection Invulnerables (r:0 w:1)
/// The range of component `b` is `[1, 5]`.
- fn set_invulnerables(_b: u32, ) -> Weight {
- // Minimum execution time: 13_177 nanoseconds.
- Weight::from_ref_time(15_233_013)
+ fn set_invulnerables(b: u32, ) -> Weight {
+ // Minimum execution time: 12_910 nanoseconds.
+ Weight::from_ref_time(14_277_128)
+ // Standard Error: 3_572
+ .saturating_add(Weight::from_ref_time(63_586).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: CollatorSelection DesiredCandidates (r:0 w:1)
fn set_desired_candidates() -> Weight {
- // Minimum execution time: 14_751 nanoseconds.
- Weight::from_ref_time(16_065_000)
+ // Minimum execution time: 14_130 nanoseconds.
+ Weight::from_ref_time(15_793_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: CollatorSelection CandidacyBond (r:0 w:1)
fn set_candidacy_bond() -> Weight {
- // Minimum execution time: 13_861 nanoseconds.
- Weight::from_ref_time(14_109_000)
+ // Minimum execution time: 13_354 nanoseconds.
+ Weight::from_ref_time(13_684_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: CollatorSelection EvictionBaseline (r:0 w:1)
fn set_eviction_baseline() -> Weight {
- // Minimum execution time: 13_258 nanoseconds.
- Weight::from_ref_time(13_568_000)
+ // Minimum execution time: 12_949 nanoseconds.
+ Weight::from_ref_time(13_408_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: CollatorSelection EvictionTolerance (r:0 w:1)
fn set_eviction_tolerance() -> Weight {
- // Minimum execution time: 12_940 nanoseconds.
- Weight::from_ref_time(13_564_000)
+ // Minimum execution time: 12_800 nanoseconds.
+ Weight::from_ref_time(13_390_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
@@ -212,20 +216,20 @@ impl WeightInfo for () {
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
/// The range of component `c` is `[1, 50]`.
fn register_as_candidate(c: u32, ) -> Weight {
- // Minimum execution time: 45_731 nanoseconds.
- Weight::from_ref_time(50_996_324)
- // Standard Error: 3_113
- .saturating_add(Weight::from_ref_time(219_506).saturating_mul(c.into()))
+ // Minimum execution time: 44_616 nanoseconds.
+ Weight::from_ref_time(49_335_523)
+ // Standard Error: 3_014
+ .saturating_add(Weight::from_ref_time(249_741).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: CollatorSelection Candidates (r:1 w:1)
/// The range of component `c` is `[1, 50]`.
fn leave_intent(c: u32, ) -> Weight {
- // Minimum execution time: 31_366 nanoseconds.
- Weight::from_ref_time(35_017_814)
- // Standard Error: 1_927
- .saturating_add(Weight::from_ref_time(180_885).saturating_mul(c.into()))
+ // Minimum execution time: 30_268 nanoseconds.
+ Weight::from_ref_time(33_911_007)
+ // Standard Error: 2_238
+ .saturating_add(Weight::from_ref_time(206_016).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -233,10 +237,10 @@ impl WeightInfo for () {
// Storage: CollatorSelection Candidates (r:1 w:1)
/// The range of component `c` is `[1, 50]`.
fn remove_collator(c: u32, ) -> Weight {
- // Minimum execution time: 33_940 nanoseconds.
- Weight::from_ref_time(37_833_295)
- // Standard Error: 2_518
- .saturating_add(Weight::from_ref_time(203_571).saturating_mul(c.into()))
+ // Minimum execution time: 32_229 nanoseconds.
+ Weight::from_ref_time(36_291_427)
+ // Standard Error: 2_464
+ .saturating_add(Weight::from_ref_time(209_468).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -247,10 +251,10 @@ impl WeightInfo for () {
// Storage: CollatorSelection CandidacyBond (r:1 w:0)
/// The range of component `c` is `[1, 50]`.
fn register_candidate(c: u32, ) -> Weight {
- // Minimum execution time: 47_171 nanoseconds.
- Weight::from_ref_time(51_391_396)
- // Standard Error: 2_348
- .saturating_add(Weight::from_ref_time(212_689).saturating_mul(c.into()))
+ // Minimum execution time: 45_531 nanoseconds.
+ Weight::from_ref_time(49_973_015)
+ // Standard Error: 3_029
+ .saturating_add(Weight::from_ref_time(239_765).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -258,8 +262,8 @@ impl WeightInfo for () {
// Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1)
// Storage: System BlockWeight (r:1 w:1)
fn note_author() -> Weight {
- // Minimum execution time: 34_330 nanoseconds.
- Weight::from_ref_time(35_154_000)
+ // Minimum execution time: 35_709 nanoseconds.
+ Weight::from_ref_time(37_121_000)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(4))
}
@@ -273,10 +277,10 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
/// The range of component `c` is `[1, 50]`.
fn new_session(c: u32, ) -> Weight {
- // Minimum execution time: 35_467 nanoseconds.
- Weight::from_ref_time(25_716_892)
- // Standard Error: 47_648
- .saturating_add(Weight::from_ref_time(22_058_183).saturating_mul(c.into()))
+ // Minimum execution time: 34_377 nanoseconds.
+ Weight::from_ref_time(24_953_466)
+ // Standard Error: 48_029
+ .saturating_add(Weight::from_ref_time(21_940_574).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(6))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(RocksDbWeight::get().writes(3))
diff --git a/runtime/manta/src/weights/pallet_asset_manager.rs b/runtime/manta/src/weights/pallet_asset_manager.rs
index 205f947dc..29997508c 100644
--- a/runtime/manta/src/weights/pallet_asset_manager.rs
+++ b/runtime/manta/src/weights/pallet_asset_manager.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_asset_manager
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_asset_manager
@@ -66,16 +66,16 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
// Storage: AssetManager AssetIdLocation (r:0 w:1)
fn register_asset() -> Weight {
- // Minimum execution time: 50_018 nanoseconds.
- Weight::from_ref_time(51_986_000)
+ // Minimum execution time: 50_656 nanoseconds.
+ Weight::from_ref_time(51_549_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: AssetManager AssetIdLocation (r:1 w:0)
// Storage: AssetManager UnitsPerSecond (r:0 w:1)
fn set_units_per_second() -> Weight {
- // Minimum execution time: 57_698 nanoseconds.
- Weight::from_ref_time(61_447_000)
+ // Minimum execution time: 61_452 nanoseconds.
+ Weight::from_ref_time(64_160_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -83,8 +83,8 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig
// Storage: AssetManager LocationAssetId (r:1 w:2)
// Storage: AssetManager AllowedDestParaIds (r:2 w:2)
fn update_asset_location() -> Weight {
- // Minimum execution time: 76_243 nanoseconds.
- Weight::from_ref_time(78_556_000)
+ // Minimum execution time: 77_867 nanoseconds.
+ Weight::from_ref_time(80_379_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(5))
}
@@ -93,8 +93,8 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig
// Storage: Assets Metadata (r:1 w:1)
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
fn update_asset_metadata() -> Weight {
- // Minimum execution time: 75_397 nanoseconds.
- Weight::from_ref_time(78_224_000)
+ // Minimum execution time: 74_856 nanoseconds.
+ Weight::from_ref_time(78_390_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -102,21 +102,21 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn mint_asset() -> Weight {
- // Minimum execution time: 81_921 nanoseconds.
- Weight::from_ref_time(85_143_000)
+ // Minimum execution time: 80_246 nanoseconds.
+ Weight::from_ref_time(83_592_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: AssetManager MinXcmFee (r:0 w:1)
fn set_min_xcm_fee() -> Weight {
- // Minimum execution time: 47_309 nanoseconds.
- Weight::from_ref_time(50_848_000)
+ // Minimum execution time: 47_273 nanoseconds.
+ Weight::from_ref_time(49_791_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: AssetManager FilteredOutgoingAssetLocations (r:0 w:1)
fn update_outgoing_filtered_assets() -> Weight {
- // Minimum execution time: 38_688 nanoseconds.
- Weight::from_ref_time(41_264_000)
+ // Minimum execution time: 35_640 nanoseconds.
+ Weight::from_ref_time(36_901_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: AssetManager AssetIdLocation (r:2 w:0)
@@ -127,8 +127,8 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
// Storage: AssetManager LpToAssetIdPair (r:0 w:1)
fn register_lp_asset() -> Weight {
- // Minimum execution time: 56_356 nanoseconds.
- Weight::from_ref_time(57_464_000)
+ // Minimum execution time: 57_299 nanoseconds.
+ Weight::from_ref_time(58_374_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -143,16 +143,16 @@ impl WeightInfo for () {
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
// Storage: AssetManager AssetIdLocation (r:0 w:1)
fn register_asset() -> Weight {
- // Minimum execution time: 50_018 nanoseconds.
- Weight::from_ref_time(51_986_000)
+ // Minimum execution time: 50_656 nanoseconds.
+ Weight::from_ref_time(51_549_000)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(6))
}
// Storage: AssetManager AssetIdLocation (r:1 w:0)
// Storage: AssetManager UnitsPerSecond (r:0 w:1)
fn set_units_per_second() -> Weight {
- // Minimum execution time: 57_698 nanoseconds.
- Weight::from_ref_time(61_447_000)
+ // Minimum execution time: 61_452 nanoseconds.
+ Weight::from_ref_time(64_160_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -160,8 +160,8 @@ impl WeightInfo for () {
// Storage: AssetManager LocationAssetId (r:1 w:2)
// Storage: AssetManager AllowedDestParaIds (r:2 w:2)
fn update_asset_location() -> Weight {
- // Minimum execution time: 76_243 nanoseconds.
- Weight::from_ref_time(78_556_000)
+ // Minimum execution time: 77_867 nanoseconds.
+ Weight::from_ref_time(80_379_000)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(5))
}
@@ -170,8 +170,8 @@ impl WeightInfo for () {
// Storage: Assets Metadata (r:1 w:1)
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
fn update_asset_metadata() -> Weight {
- // Minimum execution time: 75_397 nanoseconds.
- Weight::from_ref_time(78_224_000)
+ // Minimum execution time: 74_856 nanoseconds.
+ Weight::from_ref_time(78_390_000)
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -179,21 +179,21 @@ impl WeightInfo for () {
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn mint_asset() -> Weight {
- // Minimum execution time: 81_921 nanoseconds.
- Weight::from_ref_time(85_143_000)
+ // Minimum execution time: 80_246 nanoseconds.
+ Weight::from_ref_time(83_592_000)
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: AssetManager MinXcmFee (r:0 w:1)
fn set_min_xcm_fee() -> Weight {
- // Minimum execution time: 47_309 nanoseconds.
- Weight::from_ref_time(50_848_000)
+ // Minimum execution time: 47_273 nanoseconds.
+ Weight::from_ref_time(49_791_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: AssetManager FilteredOutgoingAssetLocations (r:0 w:1)
fn update_outgoing_filtered_assets() -> Weight {
- // Minimum execution time: 38_688 nanoseconds.
- Weight::from_ref_time(41_264_000)
+ // Minimum execution time: 35_640 nanoseconds.
+ Weight::from_ref_time(36_901_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: AssetManager AssetIdLocation (r:2 w:0)
@@ -204,8 +204,8 @@ impl WeightInfo for () {
// Storage: AssetManager AssetIdMetadata (r:0 w:1)
// Storage: AssetManager LpToAssetIdPair (r:0 w:1)
fn register_lp_asset() -> Weight {
- // Minimum execution time: 56_356 nanoseconds.
- Weight::from_ref_time(57_464_000)
+ // Minimum execution time: 57_299 nanoseconds.
+ Weight::from_ref_time(58_374_000)
.saturating_add(RocksDbWeight::get().reads(6))
.saturating_add(RocksDbWeight::get().writes(6))
}
diff --git a/runtime/manta/src/weights/pallet_assets.rs b/runtime/manta/src/weights/pallet_assets.rs
index 3b6673c85..52a17ed51 100644
--- a/runtime/manta/src/weights/pallet_assets.rs
+++ b/runtime/manta/src/weights/pallet_assets.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_assets
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_assets
@@ -79,22 +79,22 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Asset (r:1 w:1)
fn create() -> Weight {
- // Minimum execution time: 18_144 nanoseconds.
- Weight::from_ref_time(18_611_000)
+ // Minimum execution time: 18_050 nanoseconds.
+ Weight::from_ref_time(18_656_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
- // Minimum execution time: 17_041 nanoseconds.
- Weight::from_ref_time(17_620_000)
+ // Minimum execution time: 17_180 nanoseconds.
+ Weight::from_ref_time(17_782_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn start_destroy() -> Weight {
- // Minimum execution time: 18_305 nanoseconds.
- Weight::from_ref_time(20_112_000)
+ // Minimum execution time: 20_003 nanoseconds.
+ Weight::from_ref_time(20_474_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -103,10 +103,10 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: System Account (r:20 w:20)
/// The range of component `c` is `[0, 1000]`.
fn destroy_accounts(c: u32, ) -> Weight {
- // Minimum execution time: 21_206 nanoseconds.
- Weight::from_ref_time(21_749_000)
- // Standard Error: 6_388
- .saturating_add(Weight::from_ref_time(14_851_266).saturating_mul(c.into()))
+ // Minimum execution time: 22_129 nanoseconds.
+ Weight::from_ref_time(22_724_000)
+ // Standard Error: 6_613
+ .saturating_add(Weight::from_ref_time(14_589_100).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -116,10 +116,10 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Approvals (r:1 w:0)
/// The range of component `a` is `[0, 1000]`.
fn destroy_approvals(a: u32, ) -> Weight {
- // Minimum execution time: 23_743 nanoseconds.
- Weight::from_ref_time(24_392_000)
- // Standard Error: 4_496
- .saturating_add(Weight::from_ref_time(7_602_889).saturating_mul(a.into()))
+ // Minimum execution time: 28_977 nanoseconds.
+ Weight::from_ref_time(29_362_000)
+ // Standard Error: 4_812
+ .saturating_add(Weight::from_ref_time(7_446_658).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -128,24 +128,24 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn finish_destroy() -> Weight {
- // Minimum execution time: 19_354 nanoseconds.
- Weight::from_ref_time(20_169_000)
+ // Minimum execution time: 27_412 nanoseconds.
+ Weight::from_ref_time(40_578_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
- // Minimum execution time: 31_276 nanoseconds.
- Weight::from_ref_time(33_871_000)
+ // Minimum execution time: 32_658 nanoseconds.
+ Weight::from_ref_time(33_808_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
- // Minimum execution time: 40_873 nanoseconds.
- Weight::from_ref_time(42_234_000)
+ // Minimum execution time: 38_596 nanoseconds.
+ Weight::from_ref_time(41_168_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -153,8 +153,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- // Minimum execution time: 49_989 nanoseconds.
- Weight::from_ref_time(50_948_000)
+ // Minimum execution time: 50_113 nanoseconds.
+ Weight::from_ref_time(53_678_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -162,8 +162,8 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- // Minimum execution time: 42_824 nanoseconds.
- Weight::from_ref_time(46_704_000)
+ // Minimum execution time: 45_643 nanoseconds.
+ Weight::from_ref_time(46_851_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -171,53 +171,53 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
- // Minimum execution time: 52_746 nanoseconds.
- Weight::from_ref_time(54_706_000)
+ // Minimum execution time: 53_909 nanoseconds.
+ Weight::from_ref_time(54_597_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
- // Minimum execution time: 21_976 nanoseconds.
- Weight::from_ref_time(22_599_000)
+ // Minimum execution time: 23_243 nanoseconds.
+ Weight::from_ref_time(23_740_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
- // Minimum execution time: 23_667 nanoseconds.
- Weight::from_ref_time(24_160_000)
+ // Minimum execution time: 23_100 nanoseconds.
+ Weight::from_ref_time(23_925_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
- // Minimum execution time: 18_324 nanoseconds.
- Weight::from_ref_time(18_880_000)
+ // Minimum execution time: 18_302 nanoseconds.
+ Weight::from_ref_time(19_707_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
- // Minimum execution time: 19_080 nanoseconds.
- Weight::from_ref_time(19_825_000)
+ // Minimum execution time: 19_060 nanoseconds.
+ Weight::from_ref_time(19_747_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
- // Minimum execution time: 20_224 nanoseconds.
- Weight::from_ref_time(21_127_000)
+ // Minimum execution time: 20_329 nanoseconds.
+ Weight::from_ref_time(21_180_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
- // Minimum execution time: 19_280 nanoseconds.
- Weight::from_ref_time(19_934_000)
+ // Minimum execution time: 18_254 nanoseconds.
+ Weight::from_ref_time(19_958_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -225,21 +225,19 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Metadata (r:1 w:1)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
- fn set_metadata(n: u32, s: u32, ) -> Weight {
- // Minimum execution time: 20_747 nanoseconds.
- Weight::from_ref_time(22_513_301)
- // Standard Error: 936
- .saturating_add(Weight::from_ref_time(4_793).saturating_mul(n.into()))
- // Standard Error: 936
- .saturating_add(Weight::from_ref_time(3_689).saturating_mul(s.into()))
+ fn set_metadata(n: u32, _s: u32, ) -> Weight {
+ // Minimum execution time: 20_456 nanoseconds.
+ Weight::from_ref_time(22_574_665)
+ // Standard Error: 1_017
+ .saturating_add(Weight::from_ref_time(809).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
- // Minimum execution time: 21_087 nanoseconds.
- Weight::from_ref_time(21_523_000)
+ // Minimum execution time: 22_708 nanoseconds.
+ Weight::from_ref_time(22_982_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -248,31 +246,31 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
- // Minimum execution time: 18_153 nanoseconds.
- Weight::from_ref_time(22_411_094)
+ // Minimum execution time: 17_780 nanoseconds.
+ Weight::from_ref_time(22_834_964)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
- // Minimum execution time: 20_700 nanoseconds.
- Weight::from_ref_time(22_644_000)
+ // Minimum execution time: 20_964 nanoseconds.
+ Weight::from_ref_time(22_383_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
- // Minimum execution time: 17_469 nanoseconds.
- Weight::from_ref_time(19_169_000)
+ // Minimum execution time: 18_928 nanoseconds.
+ Weight::from_ref_time(19_410_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
- // Minimum execution time: 25_433 nanoseconds.
- Weight::from_ref_time(26_185_000)
+ // Minimum execution time: 25_418 nanoseconds.
+ Weight::from_ref_time(26_339_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -281,24 +279,24 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_approved() -> Weight {
- // Minimum execution time: 59_112 nanoseconds.
- Weight::from_ref_time(62_889_000)
+ // Minimum execution time: 58_766 nanoseconds.
+ Weight::from_ref_time(63_172_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
- // Minimum execution time: 26_682 nanoseconds.
- Weight::from_ref_time(29_083_000)
+ // Minimum execution time: 28_169 nanoseconds.
+ Weight::from_ref_time(28_862_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
- // Minimum execution time: 27_212 nanoseconds.
- Weight::from_ref_time(27_744_000)
+ // Minimum execution time: 28_901 nanoseconds.
+ Weight::from_ref_time(30_081_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -308,22 +306,22 @@ impl pallet_assets::WeightInfo for SubstrateWeight {
impl WeightInfo for () {
// Storage: Assets Asset (r:1 w:1)
fn create() -> Weight {
- // Minimum execution time: 18_144 nanoseconds.
- Weight::from_ref_time(18_611_000)
+ // Minimum execution time: 18_050 nanoseconds.
+ Weight::from_ref_time(18_656_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn force_create() -> Weight {
- // Minimum execution time: 17_041 nanoseconds.
- Weight::from_ref_time(17_620_000)
+ // Minimum execution time: 17_180 nanoseconds.
+ Weight::from_ref_time(17_782_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn start_destroy() -> Weight {
- // Minimum execution time: 18_305 nanoseconds.
- Weight::from_ref_time(20_112_000)
+ // Minimum execution time: 20_003 nanoseconds.
+ Weight::from_ref_time(20_474_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -332,10 +330,10 @@ impl WeightInfo for () {
// Storage: System Account (r:20 w:20)
/// The range of component `c` is `[0, 1000]`.
fn destroy_accounts(c: u32, ) -> Weight {
- // Minimum execution time: 21_206 nanoseconds.
- Weight::from_ref_time(21_749_000)
- // Standard Error: 6_388
- .saturating_add(Weight::from_ref_time(14_851_266).saturating_mul(c.into()))
+ // Minimum execution time: 22_129 nanoseconds.
+ Weight::from_ref_time(22_724_000)
+ // Standard Error: 6_613
+ .saturating_add(Weight::from_ref_time(14_589_100).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into())))
.saturating_add(RocksDbWeight::get().writes(1))
@@ -345,10 +343,10 @@ impl WeightInfo for () {
// Storage: Assets Approvals (r:1 w:0)
/// The range of component `a` is `[0, 1000]`.
fn destroy_approvals(a: u32, ) -> Weight {
- // Minimum execution time: 23_743 nanoseconds.
- Weight::from_ref_time(24_392_000)
- // Standard Error: 4_496
- .saturating_add(Weight::from_ref_time(7_602_889).saturating_mul(a.into()))
+ // Minimum execution time: 28_977 nanoseconds.
+ Weight::from_ref_time(29_362_000)
+ // Standard Error: 4_812
+ .saturating_add(Weight::from_ref_time(7_446_658).saturating_mul(a.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into())))
.saturating_add(RocksDbWeight::get().writes(1))
@@ -357,24 +355,24 @@ impl WeightInfo for () {
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn finish_destroy() -> Weight {
- // Minimum execution time: 19_354 nanoseconds.
- Weight::from_ref_time(20_169_000)
+ // Minimum execution time: 27_412 nanoseconds.
+ Weight::from_ref_time(40_578_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn mint() -> Weight {
- // Minimum execution time: 31_276 nanoseconds.
- Weight::from_ref_time(33_871_000)
+ // Minimum execution time: 32_658 nanoseconds.
+ Weight::from_ref_time(33_808_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:1 w:1)
fn burn() -> Weight {
- // Minimum execution time: 40_873 nanoseconds.
- Weight::from_ref_time(42_234_000)
+ // Minimum execution time: 38_596 nanoseconds.
+ Weight::from_ref_time(41_168_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -382,8 +380,8 @@ impl WeightInfo for () {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- // Minimum execution time: 49_989 nanoseconds.
- Weight::from_ref_time(50_948_000)
+ // Minimum execution time: 50_113 nanoseconds.
+ Weight::from_ref_time(53_678_000)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(4))
}
@@ -391,8 +389,8 @@ impl WeightInfo for () {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- // Minimum execution time: 42_824 nanoseconds.
- Weight::from_ref_time(46_704_000)
+ // Minimum execution time: 45_643 nanoseconds.
+ Weight::from_ref_time(46_851_000)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(4))
}
@@ -400,53 +398,53 @@ impl WeightInfo for () {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn force_transfer() -> Weight {
- // Minimum execution time: 52_746 nanoseconds.
- Weight::from_ref_time(54_706_000)
+ // Minimum execution time: 53_909 nanoseconds.
+ Weight::from_ref_time(54_597_000)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(4))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn freeze() -> Weight {
- // Minimum execution time: 21_976 nanoseconds.
- Weight::from_ref_time(22_599_000)
+ // Minimum execution time: 23_243 nanoseconds.
+ Weight::from_ref_time(23_740_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Account (r:1 w:1)
fn thaw() -> Weight {
- // Minimum execution time: 23_667 nanoseconds.
- Weight::from_ref_time(24_160_000)
+ // Minimum execution time: 23_100 nanoseconds.
+ Weight::from_ref_time(23_925_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn freeze_asset() -> Weight {
- // Minimum execution time: 18_324 nanoseconds.
- Weight::from_ref_time(18_880_000)
+ // Minimum execution time: 18_302 nanoseconds.
+ Weight::from_ref_time(19_707_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn thaw_asset() -> Weight {
- // Minimum execution time: 19_080 nanoseconds.
- Weight::from_ref_time(19_825_000)
+ // Minimum execution time: 19_060 nanoseconds.
+ Weight::from_ref_time(19_747_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Metadata (r:1 w:0)
fn transfer_ownership() -> Weight {
- // Minimum execution time: 20_224 nanoseconds.
- Weight::from_ref_time(21_127_000)
+ // Minimum execution time: 20_329 nanoseconds.
+ Weight::from_ref_time(21_180_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn set_team() -> Weight {
- // Minimum execution time: 19_280 nanoseconds.
- Weight::from_ref_time(19_934_000)
+ // Minimum execution time: 18_254 nanoseconds.
+ Weight::from_ref_time(19_958_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -454,21 +452,19 @@ impl WeightInfo for () {
// Storage: Assets Metadata (r:1 w:1)
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
- fn set_metadata(n: u32, s: u32, ) -> Weight {
- // Minimum execution time: 20_747 nanoseconds.
- Weight::from_ref_time(22_513_301)
- // Standard Error: 936
- .saturating_add(Weight::from_ref_time(4_793).saturating_mul(n.into()))
- // Standard Error: 936
- .saturating_add(Weight::from_ref_time(3_689).saturating_mul(s.into()))
+ fn set_metadata(n: u32, _s: u32, ) -> Weight {
+ // Minimum execution time: 20_456 nanoseconds.
+ Weight::from_ref_time(22_574_665)
+ // Standard Error: 1_017
+ .saturating_add(Weight::from_ref_time(809).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn clear_metadata() -> Weight {
- // Minimum execution time: 21_087 nanoseconds.
- Weight::from_ref_time(21_523_000)
+ // Minimum execution time: 22_708 nanoseconds.
+ Weight::from_ref_time(22_982_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -477,31 +473,31 @@ impl WeightInfo for () {
/// The range of component `n` is `[0, 50]`.
/// The range of component `s` is `[0, 50]`.
fn force_set_metadata(_n: u32, _s: u32, ) -> Weight {
- // Minimum execution time: 18_153 nanoseconds.
- Weight::from_ref_time(22_411_094)
+ // Minimum execution time: 17_780 nanoseconds.
+ Weight::from_ref_time(22_834_964)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn force_clear_metadata() -> Weight {
- // Minimum execution time: 20_700 nanoseconds.
- Weight::from_ref_time(22_644_000)
+ // Minimum execution time: 20_964 nanoseconds.
+ Weight::from_ref_time(22_383_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
fn force_asset_status() -> Weight {
- // Minimum execution time: 17_469 nanoseconds.
- Weight::from_ref_time(19_169_000)
+ // Minimum execution time: 18_928 nanoseconds.
+ Weight::from_ref_time(19_410_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn approve_transfer() -> Weight {
- // Minimum execution time: 25_433 nanoseconds.
- Weight::from_ref_time(26_185_000)
+ // Minimum execution time: 25_418 nanoseconds.
+ Weight::from_ref_time(26_339_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -510,24 +506,24 @@ impl WeightInfo for () {
// Storage: Assets Account (r:2 w:2)
// Storage: System Account (r:1 w:1)
fn transfer_approved() -> Weight {
- // Minimum execution time: 59_112 nanoseconds.
- Weight::from_ref_time(62_889_000)
+ // Minimum execution time: 58_766 nanoseconds.
+ Weight::from_ref_time(63_172_000)
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(5))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn cancel_approval() -> Weight {
- // Minimum execution time: 26_682 nanoseconds.
- Weight::from_ref_time(29_083_000)
+ // Minimum execution time: 28_169 nanoseconds.
+ Weight::from_ref_time(28_862_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Approvals (r:1 w:1)
fn force_cancel_approval() -> Weight {
- // Minimum execution time: 27_212 nanoseconds.
- Weight::from_ref_time(27_744_000)
+ // Minimum execution time: 28_901 nanoseconds.
+ Weight::from_ref_time(30_081_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
diff --git a/runtime/manta/src/weights/pallet_author_inherent.rs b/runtime/manta/src/weights/pallet_author_inherent.rs
index 73e442829..ff4ea0f8c 100644
--- a/runtime/manta/src/weights/pallet_author_inherent.rs
+++ b/runtime/manta/src/weights/pallet_author_inherent.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_author_inherent
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_author_inherent
@@ -57,8 +57,8 @@ impl pallet_author_inherent::WeightInfo for SubstrateWe
// Storage: AuthorInherent Author (r:1 w:0)
// Storage: ParachainStaking SelectedCandidates (r:1 w:0)
fn kick_off_authorship_validation() -> Weight {
- // Minimum execution time: 15_757 nanoseconds.
- Weight::from_ref_time(16_575_000)
+ // Minimum execution time: 16_089 nanoseconds.
+ Weight::from_ref_time(16_774_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -71,8 +71,8 @@ impl WeightInfo for () {
// Storage: AuthorInherent Author (r:1 w:0)
// Storage: ParachainStaking SelectedCandidates (r:1 w:0)
fn kick_off_authorship_validation() -> Weight {
- // Minimum execution time: 15_757 nanoseconds.
- Weight::from_ref_time(16_575_000)
+ // Minimum execution time: 16_089 nanoseconds.
+ Weight::from_ref_time(16_774_000)
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(1))
}
diff --git a/runtime/manta/src/weights/pallet_balances.rs b/runtime/manta/src/weights/pallet_balances.rs
index a7dc92a77..d1d7abb1d 100644
--- a/runtime/manta/src/weights/pallet_balances.rs
+++ b/runtime/manta/src/weights/pallet_balances.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_balances
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_balances
@@ -60,50 +60,50 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_balances::WeightInfo for SubstrateWeight {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- // Minimum execution time: 47_354 nanoseconds.
- Weight::from_ref_time(48_862_000)
+ // Minimum execution time: 47_050 nanoseconds.
+ Weight::from_ref_time(47_818_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- // Minimum execution time: 36_170 nanoseconds.
- Weight::from_ref_time(36_690_000)
+ // Minimum execution time: 33_674 nanoseconds.
+ Weight::from_ref_time(35_147_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
- // Minimum execution time: 23_530 nanoseconds.
- Weight::from_ref_time(25_298_000)
+ // Minimum execution time: 23_843 nanoseconds.
+ Weight::from_ref_time(24_990_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
- // Minimum execution time: 26_665 nanoseconds.
- Weight::from_ref_time(29_320_000)
+ // Minimum execution time: 26_253 nanoseconds.
+ Weight::from_ref_time(28_431_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
- // Minimum execution time: 44_172 nanoseconds.
- Weight::from_ref_time(47_208_000)
+ // Minimum execution time: 43_345 nanoseconds.
+ Weight::from_ref_time(47_065_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
- // Minimum execution time: 38_738 nanoseconds.
- Weight::from_ref_time(42_254_000)
+ // Minimum execution time: 40_935 nanoseconds.
+ Weight::from_ref_time(41_452_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
- // Minimum execution time: 20_070 nanoseconds.
- Weight::from_ref_time(22_078_000)
+ // Minimum execution time: 21_223 nanoseconds.
+ Weight::from_ref_time(21_654_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -113,50 +113,50 @@ impl pallet_balances::WeightInfo for SubstrateWeight
impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
- // Minimum execution time: 47_354 nanoseconds.
- Weight::from_ref_time(48_862_000)
+ // Minimum execution time: 47_050 nanoseconds.
+ Weight::from_ref_time(47_818_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn transfer_keep_alive() -> Weight {
- // Minimum execution time: 36_170 nanoseconds.
- Weight::from_ref_time(36_690_000)
+ // Minimum execution time: 33_674 nanoseconds.
+ Weight::from_ref_time(35_147_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_creating() -> Weight {
- // Minimum execution time: 23_530 nanoseconds.
- Weight::from_ref_time(25_298_000)
+ // Minimum execution time: 23_843 nanoseconds.
+ Weight::from_ref_time(24_990_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn set_balance_killing() -> Weight {
- // Minimum execution time: 26_665 nanoseconds.
- Weight::from_ref_time(29_320_000)
+ // Minimum execution time: 26_253 nanoseconds.
+ Weight::from_ref_time(28_431_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: System Account (r:2 w:2)
fn force_transfer() -> Weight {
- // Minimum execution time: 44_172 nanoseconds.
- Weight::from_ref_time(47_208_000)
+ // Minimum execution time: 43_345 nanoseconds.
+ Weight::from_ref_time(47_065_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: System Account (r:1 w:1)
fn transfer_all() -> Weight {
- // Minimum execution time: 38_738 nanoseconds.
- Weight::from_ref_time(42_254_000)
+ // Minimum execution time: 40_935 nanoseconds.
+ Weight::from_ref_time(41_452_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: System Account (r:1 w:1)
fn force_unreserve() -> Weight {
- // Minimum execution time: 20_070 nanoseconds.
- Weight::from_ref_time(22_078_000)
+ // Minimum execution time: 21_223 nanoseconds.
+ Weight::from_ref_time(21_654_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
diff --git a/runtime/manta/src/weights/pallet_collective.rs b/runtime/manta/src/weights/pallet_collective.rs
index f3492c140..4f8a8b002 100644
--- a/runtime/manta/src/weights/pallet_collective.rs
+++ b/runtime/manta/src/weights/pallet_collective.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_collective
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_collective
@@ -69,12 +69,12 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
- // Minimum execution time: 18_819 nanoseconds.
- Weight::from_ref_time(19_880_000)
- // Standard Error: 52_736
- .saturating_add(Weight::from_ref_time(5_958_682).saturating_mul(m.into()))
- // Standard Error: 52_736
- .saturating_add(Weight::from_ref_time(8_435_522).saturating_mul(p.into()))
+ // Minimum execution time: 20_001 nanoseconds.
+ Weight::from_ref_time(20_185_000)
+ // Standard Error: 52_494
+ .saturating_add(Weight::from_ref_time(5_981_845).saturating_mul(m.into()))
+ // Standard Error: 52_494
+ .saturating_add(Weight::from_ref_time(8_435_582).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(2))
@@ -83,24 +83,22 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
// Storage: Council Members (r:1 w:0)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
- fn execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 21_942 nanoseconds.
- Weight::from_ref_time(23_608_655)
- // Standard Error: 136
- .saturating_add(Weight::from_ref_time(780).saturating_mul(b.into()))
- // Standard Error: 1_410
- .saturating_add(Weight::from_ref_time(11_674).saturating_mul(m.into()))
+ fn execute(_b: u32, _m: u32, ) -> Weight {
+ // Minimum execution time: 21_456 nanoseconds.
+ Weight::from_ref_time(30_857_795)
.saturating_add(T::DbWeight::get().reads(1))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:0)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
- fn propose_execute(b: u32, _m: u32, ) -> Weight {
- // Minimum execution time: 24_324 nanoseconds.
- Weight::from_ref_time(27_910_857)
- // Standard Error: 285
- .saturating_add(Weight::from_ref_time(960).saturating_mul(b.into()))
+ fn propose_execute(b: u32, m: u32, ) -> Weight {
+ // Minimum execution time: 23_638 nanoseconds.
+ Weight::from_ref_time(23_616_139)
+ // Standard Error: 61
+ .saturating_add(Weight::from_ref_time(1_931).saturating_mul(b.into()))
+ // Standard Error: 631
+ .saturating_add(Weight::from_ref_time(25_329).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
}
// Storage: Council Members (r:1 w:0)
@@ -112,14 +110,14 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 30_419 nanoseconds.
- Weight::from_ref_time(31_420_406)
- // Standard Error: 98
- .saturating_add(Weight::from_ref_time(4_275).saturating_mul(b.into()))
- // Standard Error: 1_031
- .saturating_add(Weight::from_ref_time(29_402).saturating_mul(m.into()))
- // Standard Error: 1_018
- .saturating_add(Weight::from_ref_time(171_174).saturating_mul(p.into()))
+ // Minimum execution time: 30_261 nanoseconds.
+ Weight::from_ref_time(31_870_155)
+ // Standard Error: 95
+ .saturating_add(Weight::from_ref_time(4_075).saturating_mul(b.into()))
+ // Standard Error: 999
+ .saturating_add(Weight::from_ref_time(22_824).saturating_mul(m.into()))
+ // Standard Error: 987
+ .saturating_add(Weight::from_ref_time(166_520).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -127,10 +125,10 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
// Storage: Council Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
- // Minimum execution time: 34_358 nanoseconds.
- Weight::from_ref_time(35_249_930)
- // Standard Error: 429
- .saturating_add(Weight::from_ref_time(55_233).saturating_mul(m.into()))
+ // Minimum execution time: 33_625 nanoseconds.
+ Weight::from_ref_time(34_613_592)
+ // Standard Error: 426
+ .saturating_add(Weight::from_ref_time(49_464).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -141,12 +139,12 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 33_636 nanoseconds.
- Weight::from_ref_time(36_091_999)
- // Standard Error: 892
- .saturating_add(Weight::from_ref_time(27_360).saturating_mul(m.into()))
- // Standard Error: 870
- .saturating_add(Weight::from_ref_time(162_346).saturating_mul(p.into()))
+ // Minimum execution time: 32_897 nanoseconds.
+ Weight::from_ref_time(35_124_529)
+ // Standard Error: 882
+ .saturating_add(Weight::from_ref_time(29_030).saturating_mul(m.into()))
+ // Standard Error: 860
+ .saturating_add(Weight::from_ref_time(161_391).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -158,14 +156,14 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 45_667 nanoseconds.
- Weight::from_ref_time(47_420_944)
- // Standard Error: 91
- .saturating_add(Weight::from_ref_time(2_389).saturating_mul(b.into()))
- // Standard Error: 961
- .saturating_add(Weight::from_ref_time(24_385).saturating_mul(m.into()))
- // Standard Error: 937
- .saturating_add(Weight::from_ref_time(172_563).saturating_mul(p.into()))
+ // Minimum execution time: 45_174 nanoseconds.
+ Weight::from_ref_time(45_009_641)
+ // Standard Error: 89
+ .saturating_add(Weight::from_ref_time(4_154).saturating_mul(b.into()))
+ // Standard Error: 950
+ .saturating_add(Weight::from_ref_time(23_528).saturating_mul(m.into()))
+ // Standard Error: 926
+ .saturating_add(Weight::from_ref_time(188_619).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -177,12 +175,12 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 36_080 nanoseconds.
- Weight::from_ref_time(38_205_323)
- // Standard Error: 899
- .saturating_add(Weight::from_ref_time(40_244).saturating_mul(m.into()))
- // Standard Error: 877
- .saturating_add(Weight::from_ref_time(159_997).saturating_mul(p.into()))
+ // Minimum execution time: 35_348 nanoseconds.
+ Weight::from_ref_time(39_085_383)
+ // Standard Error: 871
+ .saturating_add(Weight::from_ref_time(26_533).saturating_mul(m.into()))
+ // Standard Error: 849
+ .saturating_add(Weight::from_ref_time(158_715).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -195,14 +193,14 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 47_773 nanoseconds.
- Weight::from_ref_time(50_110_409)
- // Standard Error: 98
- .saturating_add(Weight::from_ref_time(3_023).saturating_mul(b.into()))
- // Standard Error: 1_045
- .saturating_add(Weight::from_ref_time(22_228).saturating_mul(m.into()))
- // Standard Error: 1_019
- .saturating_add(Weight::from_ref_time(178_284).saturating_mul(p.into()))
+ // Minimum execution time: 47_311 nanoseconds.
+ Weight::from_ref_time(50_881_513)
+ // Standard Error: 97
+ .saturating_add(Weight::from_ref_time(2_182).saturating_mul(b.into()))
+ // Standard Error: 1_032
+ .saturating_add(Weight::from_ref_time(17_415).saturating_mul(m.into()))
+ // Standard Error: 1_006
+ .saturating_add(Weight::from_ref_time(178_670).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -211,10 +209,10 @@ impl pallet_collective::WeightInfo for SubstrateWeight<
// Storage: Council ProposalOf (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
- // Minimum execution time: 20_927 nanoseconds.
- Weight::from_ref_time(25_177_454)
- // Standard Error: 1_251
- .saturating_add(Weight::from_ref_time(157_227).saturating_mul(p.into()))
+ // Minimum execution time: 21_229 nanoseconds.
+ Weight::from_ref_time(24_462_323)
+ // Standard Error: 1_172
+ .saturating_add(Weight::from_ref_time(162_850).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -230,12 +228,12 @@ impl WeightInfo for () {
/// The range of component `n` is `[0, 100]`.
/// The range of component `p` is `[0, 100]`.
fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
- // Minimum execution time: 18_819 nanoseconds.
- Weight::from_ref_time(19_880_000)
- // Standard Error: 52_736
- .saturating_add(Weight::from_ref_time(5_958_682).saturating_mul(m.into()))
- // Standard Error: 52_736
- .saturating_add(Weight::from_ref_time(8_435_522).saturating_mul(p.into()))
+ // Minimum execution time: 20_001 nanoseconds.
+ Weight::from_ref_time(20_185_000)
+ // Standard Error: 52_494
+ .saturating_add(Weight::from_ref_time(5_981_845).saturating_mul(m.into()))
+ // Standard Error: 52_494
+ .saturating_add(Weight::from_ref_time(8_435_582).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(RocksDbWeight::get().writes(2))
@@ -244,24 +242,22 @@ impl WeightInfo for () {
// Storage: Council Members (r:1 w:0)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
- fn execute(b: u32, m: u32, ) -> Weight {
- // Minimum execution time: 21_942 nanoseconds.
- Weight::from_ref_time(23_608_655)
- // Standard Error: 136
- .saturating_add(Weight::from_ref_time(780).saturating_mul(b.into()))
- // Standard Error: 1_410
- .saturating_add(Weight::from_ref_time(11_674).saturating_mul(m.into()))
+ fn execute(_b: u32, _m: u32, ) -> Weight {
+ // Minimum execution time: 21_456 nanoseconds.
+ Weight::from_ref_time(30_857_795)
.saturating_add(RocksDbWeight::get().reads(1))
}
// Storage: Council Members (r:1 w:0)
// Storage: Council ProposalOf (r:1 w:0)
/// The range of component `b` is `[2, 1024]`.
/// The range of component `m` is `[1, 100]`.
- fn propose_execute(b: u32, _m: u32, ) -> Weight {
- // Minimum execution time: 24_324 nanoseconds.
- Weight::from_ref_time(27_910_857)
- // Standard Error: 285
- .saturating_add(Weight::from_ref_time(960).saturating_mul(b.into()))
+ fn propose_execute(b: u32, m: u32, ) -> Weight {
+ // Minimum execution time: 23_638 nanoseconds.
+ Weight::from_ref_time(23_616_139)
+ // Standard Error: 61
+ .saturating_add(Weight::from_ref_time(1_931).saturating_mul(b.into()))
+ // Standard Error: 631
+ .saturating_add(Weight::from_ref_time(25_329).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(2))
}
// Storage: Council Members (r:1 w:0)
@@ -273,14 +269,14 @@ impl WeightInfo for () {
/// The range of component `m` is `[2, 100]`.
/// The range of component `p` is `[1, 100]`.
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 30_419 nanoseconds.
- Weight::from_ref_time(31_420_406)
- // Standard Error: 98
- .saturating_add(Weight::from_ref_time(4_275).saturating_mul(b.into()))
- // Standard Error: 1_031
- .saturating_add(Weight::from_ref_time(29_402).saturating_mul(m.into()))
- // Standard Error: 1_018
- .saturating_add(Weight::from_ref_time(171_174).saturating_mul(p.into()))
+ // Minimum execution time: 30_261 nanoseconds.
+ Weight::from_ref_time(31_870_155)
+ // Standard Error: 95
+ .saturating_add(Weight::from_ref_time(4_075).saturating_mul(b.into()))
+ // Standard Error: 999
+ .saturating_add(Weight::from_ref_time(22_824).saturating_mul(m.into()))
+ // Standard Error: 987
+ .saturating_add(Weight::from_ref_time(166_520).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(4))
}
@@ -288,10 +284,10 @@ impl WeightInfo for () {
// Storage: Council Voting (r:1 w:1)
/// The range of component `m` is `[5, 100]`.
fn vote(m: u32, ) -> Weight {
- // Minimum execution time: 34_358 nanoseconds.
- Weight::from_ref_time(35_249_930)
- // Standard Error: 429
- .saturating_add(Weight::from_ref_time(55_233).saturating_mul(m.into()))
+ // Minimum execution time: 33_625 nanoseconds.
+ Weight::from_ref_time(34_613_592)
+ // Standard Error: 426
+ .saturating_add(Weight::from_ref_time(49_464).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -302,12 +298,12 @@ impl WeightInfo for () {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 33_636 nanoseconds.
- Weight::from_ref_time(36_091_999)
- // Standard Error: 892
- .saturating_add(Weight::from_ref_time(27_360).saturating_mul(m.into()))
- // Standard Error: 870
- .saturating_add(Weight::from_ref_time(162_346).saturating_mul(p.into()))
+ // Minimum execution time: 32_897 nanoseconds.
+ Weight::from_ref_time(35_124_529)
+ // Standard Error: 882
+ .saturating_add(Weight::from_ref_time(29_030).saturating_mul(m.into()))
+ // Standard Error: 860
+ .saturating_add(Weight::from_ref_time(161_391).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -319,14 +315,14 @@ impl WeightInfo for () {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 45_667 nanoseconds.
- Weight::from_ref_time(47_420_944)
- // Standard Error: 91
- .saturating_add(Weight::from_ref_time(2_389).saturating_mul(b.into()))
- // Standard Error: 961
- .saturating_add(Weight::from_ref_time(24_385).saturating_mul(m.into()))
- // Standard Error: 937
- .saturating_add(Weight::from_ref_time(172_563).saturating_mul(p.into()))
+ // Minimum execution time: 45_174 nanoseconds.
+ Weight::from_ref_time(45_009_641)
+ // Standard Error: 89
+ .saturating_add(Weight::from_ref_time(4_154).saturating_mul(b.into()))
+ // Standard Error: 950
+ .saturating_add(Weight::from_ref_time(23_528).saturating_mul(m.into()))
+ // Standard Error: 926
+ .saturating_add(Weight::from_ref_time(188_619).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -338,12 +334,12 @@ impl WeightInfo for () {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_disapproved(m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 36_080 nanoseconds.
- Weight::from_ref_time(38_205_323)
- // Standard Error: 899
- .saturating_add(Weight::from_ref_time(40_244).saturating_mul(m.into()))
- // Standard Error: 877
- .saturating_add(Weight::from_ref_time(159_997).saturating_mul(p.into()))
+ // Minimum execution time: 35_348 nanoseconds.
+ Weight::from_ref_time(39_085_383)
+ // Standard Error: 871
+ .saturating_add(Weight::from_ref_time(26_533).saturating_mul(m.into()))
+ // Standard Error: 849
+ .saturating_add(Weight::from_ref_time(158_715).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -356,14 +352,14 @@ impl WeightInfo for () {
/// The range of component `m` is `[4, 100]`.
/// The range of component `p` is `[1, 100]`.
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
- // Minimum execution time: 47_773 nanoseconds.
- Weight::from_ref_time(50_110_409)
- // Standard Error: 98
- .saturating_add(Weight::from_ref_time(3_023).saturating_mul(b.into()))
- // Standard Error: 1_045
- .saturating_add(Weight::from_ref_time(22_228).saturating_mul(m.into()))
- // Standard Error: 1_019
- .saturating_add(Weight::from_ref_time(178_284).saturating_mul(p.into()))
+ // Minimum execution time: 47_311 nanoseconds.
+ Weight::from_ref_time(50_881_513)
+ // Standard Error: 97
+ .saturating_add(Weight::from_ref_time(2_182).saturating_mul(b.into()))
+ // Standard Error: 1_032
+ .saturating_add(Weight::from_ref_time(17_415).saturating_mul(m.into()))
+ // Standard Error: 1_006
+ .saturating_add(Weight::from_ref_time(178_670).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -372,10 +368,10 @@ impl WeightInfo for () {
// Storage: Council ProposalOf (r:0 w:1)
/// The range of component `p` is `[1, 100]`.
fn disapprove_proposal(p: u32, ) -> Weight {
- // Minimum execution time: 20_927 nanoseconds.
- Weight::from_ref_time(25_177_454)
- // Standard Error: 1_251
- .saturating_add(Weight::from_ref_time(157_227).saturating_mul(p.into()))
+ // Minimum execution time: 21_229 nanoseconds.
+ Weight::from_ref_time(24_462_323)
+ // Standard Error: 1_172
+ .saturating_add(Weight::from_ref_time(162_850).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(3))
}
diff --git a/runtime/manta/src/weights/pallet_democracy.rs b/runtime/manta/src/weights/pallet_democracy.rs
index 6edb7244b..d37ae6571 100644
--- a/runtime/manta/src/weights/pallet_democracy.rs
+++ b/runtime/manta/src/weights/pallet_democracy.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_democracy
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_democracy
@@ -78,15 +78,15 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 52_264 nanoseconds.
- Weight::from_ref_time(52_999_000)
+ // Minimum execution time: 52_620 nanoseconds.
+ Weight::from_ref_time(53_629_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy DepositOf (r:1 w:1)
fn second() -> Weight {
- // Minimum execution time: 45_561 nanoseconds.
- Weight::from_ref_time(46_848_000)
+ // Minimum execution time: 45_840 nanoseconds.
+ Weight::from_ref_time(46_670_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -94,8 +94,8 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 61_303 nanoseconds.
- Weight::from_ref_time(62_194_000)
+ // Minimum execution time: 61_661 nanoseconds.
+ Weight::from_ref_time(62_469_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -103,16 +103,16 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 60_943 nanoseconds.
- Weight::from_ref_time(61_763_000)
+ // Minimum execution time: 61_775 nanoseconds.
+ Weight::from_ref_time(62_899_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
fn emergency_cancel() -> Weight {
- // Minimum execution time: 23_084 nanoseconds.
- Weight::from_ref_time(23_731_000)
+ // Minimum execution time: 22_452 nanoseconds.
+ Weight::from_ref_time(23_237_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -123,45 +123,45 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 85_987 nanoseconds.
- Weight::from_ref_time(87_000_000)
+ // Minimum execution time: 86_029 nanoseconds.
+ Weight::from_ref_time(87_269_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
- // Minimum execution time: 16_412 nanoseconds.
- Weight::from_ref_time(17_356_000)
+ // Minimum execution time: 16_864 nanoseconds.
+ Weight::from_ref_time(18_127_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
- // Minimum execution time: 5_110 nanoseconds.
- Weight::from_ref_time(5_277_000)
+ // Minimum execution time: 5_365 nanoseconds.
+ Weight::from_ref_time(5_536_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
- // Minimum execution time: 5_170 nanoseconds.
- Weight::from_ref_time(5_331_000)
+ // Minimum execution time: 5_056 nanoseconds.
+ Weight::from_ref_time(5_207_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn fast_track() -> Weight {
- // Minimum execution time: 31_268 nanoseconds.
- Weight::from_ref_time(47_509_000)
+ // Minimum execution time: 21_603 nanoseconds.
+ Weight::from_ref_time(23_763_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
- // Minimum execution time: 28_445 nanoseconds.
- Weight::from_ref_time(30_428_000)
+ // Minimum execution time: 29_029 nanoseconds.
+ Weight::from_ref_time(31_424_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -169,15 +169,15 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 71_437 nanoseconds.
- Weight::from_ref_time(72_900_000)
+ // Minimum execution time: 72_738 nanoseconds.
+ Weight::from_ref_time(73_733_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
- // Minimum execution time: 14_730 nanoseconds.
- Weight::from_ref_time(15_163_000)
+ // Minimum execution time: 15_403 nanoseconds.
+ Weight::from_ref_time(15_676_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
@@ -185,10 +185,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 7_246 nanoseconds.
- Weight::from_ref_time(10_643_587)
- // Standard Error: 6_433
- .saturating_add(Weight::from_ref_time(2_428_673).saturating_mul(r.into()))
+ // Minimum execution time: 7_434 nanoseconds.
+ Weight::from_ref_time(11_602_614)
+ // Standard Error: 6_107
+ .saturating_add(Weight::from_ref_time(2_478_648).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -201,10 +201,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 9_957 nanoseconds.
- Weight::from_ref_time(13_390_832)
- // Standard Error: 4_961
- .saturating_add(Weight::from_ref_time(2_420_717).saturating_mul(r.into()))
+ // Minimum execution time: 10_239 nanoseconds.
+ Weight::from_ref_time(13_343_928)
+ // Standard Error: 5_539
+ .saturating_add(Weight::from_ref_time(2_493_329).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -214,10 +214,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 45_570 nanoseconds.
- Weight::from_ref_time(54_267_048)
- // Standard Error: 5_551
- .saturating_add(Weight::from_ref_time(3_496_977).saturating_mul(r.into()))
+ // Minimum execution time: 46_021 nanoseconds.
+ Weight::from_ref_time(53_044_954)
+ // Standard Error: 6_106
+ .saturating_add(Weight::from_ref_time(3_575_888).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
@@ -227,10 +227,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 26_799 nanoseconds.
- Weight::from_ref_time(30_488_058)
- // Standard Error: 4_824
- .saturating_add(Weight::from_ref_time(3_494_833).saturating_mul(r.into()))
+ // Minimum execution time: 28_664 nanoseconds.
+ Weight::from_ref_time(31_030_297)
+ // Standard Error: 5_159
+ .saturating_add(Weight::from_ref_time(3_579_560).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(2))
@@ -238,8 +238,8 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 5_304 nanoseconds.
- Weight::from_ref_time(5_448_000)
+ // Minimum execution time: 5_133 nanoseconds.
+ Weight::from_ref_time(5_561_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:1 w:1)
@@ -247,10 +247,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 28_118 nanoseconds.
- Weight::from_ref_time(34_389_617)
- // Standard Error: 1_321
- .saturating_add(Weight::from_ref_time(73_156).saturating_mul(r.into()))
+ // Minimum execution time: 26_172 nanoseconds.
+ Weight::from_ref_time(34_337_372)
+ // Standard Error: 1_517
+ .saturating_add(Weight::from_ref_time(82_343).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -259,10 +259,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 32_134 nanoseconds.
- Weight::from_ref_time(33_736_233)
- // Standard Error: 964
- .saturating_add(Weight::from_ref_time(122_356).saturating_mul(r.into()))
+ // Minimum execution time: 31_967 nanoseconds.
+ Weight::from_ref_time(34_023_879)
+ // Standard Error: 1_135
+ .saturating_add(Weight::from_ref_time(135_232).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -270,10 +270,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 16_849 nanoseconds.
- Weight::from_ref_time(19_860_606)
- // Standard Error: 896
- .saturating_add(Weight::from_ref_time(128_252).saturating_mul(r.into()))
+ // Minimum execution time: 18_126 nanoseconds.
+ Weight::from_ref_time(21_857_027)
+ // Standard Error: 3_237
+ .saturating_add(Weight::from_ref_time(103_724).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -281,10 +281,10 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 17_500 nanoseconds.
- Weight::from_ref_time(19_803_659)
- // Standard Error: 915
- .saturating_add(Weight::from_ref_time(125_311).saturating_mul(r.into()))
+ // Minimum execution time: 17_102 nanoseconds.
+ Weight::from_ref_time(20_334_029)
+ // Standard Error: 896
+ .saturating_add(Weight::from_ref_time(123_614).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -297,15 +297,15 @@ impl WeightInfo for () {
// Storage: Democracy Blacklist (r:1 w:0)
// Storage: Democracy DepositOf (r:0 w:1)
fn propose() -> Weight {
- // Minimum execution time: 52_264 nanoseconds.
- Weight::from_ref_time(52_999_000)
+ // Minimum execution time: 52_620 nanoseconds.
+ Weight::from_ref_time(53_629_000)
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
// Storage: Democracy DepositOf (r:1 w:1)
fn second() -> Weight {
- // Minimum execution time: 45_561 nanoseconds.
- Weight::from_ref_time(46_848_000)
+ // Minimum execution time: 45_840 nanoseconds.
+ Weight::from_ref_time(46_670_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -313,8 +313,8 @@ impl WeightInfo for () {
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_new() -> Weight {
- // Minimum execution time: 61_303 nanoseconds.
- Weight::from_ref_time(62_194_000)
+ // Minimum execution time: 61_661 nanoseconds.
+ Weight::from_ref_time(62_469_000)
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -322,16 +322,16 @@ impl WeightInfo for () {
// Storage: Democracy VotingOf (r:1 w:1)
// Storage: Balances Locks (r:1 w:1)
fn vote_existing() -> Weight {
- // Minimum execution time: 60_943 nanoseconds.
- Weight::from_ref_time(61_763_000)
+ // Minimum execution time: 61_775 nanoseconds.
+ Weight::from_ref_time(62_899_000)
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Cancellations (r:1 w:1)
fn emergency_cancel() -> Weight {
- // Minimum execution time: 23_084 nanoseconds.
- Weight::from_ref_time(23_731_000)
+ // Minimum execution time: 22_452 nanoseconds.
+ Weight::from_ref_time(23_237_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -342,45 +342,45 @@ impl WeightInfo for () {
// Storage: Democracy ReferendumInfoOf (r:1 w:1)
// Storage: Democracy Blacklist (r:0 w:1)
fn blacklist() -> Weight {
- // Minimum execution time: 85_987 nanoseconds.
- Weight::from_ref_time(87_000_000)
+ // Minimum execution time: 86_029 nanoseconds.
+ Weight::from_ref_time(87_269_000)
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(6))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:0)
fn external_propose() -> Weight {
- // Minimum execution time: 16_412 nanoseconds.
- Weight::from_ref_time(17_356_000)
+ // Minimum execution time: 16_864 nanoseconds.
+ Weight::from_ref_time(18_127_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_majority() -> Weight {
- // Minimum execution time: 5_110 nanoseconds.
- Weight::from_ref_time(5_277_000)
+ // Minimum execution time: 5_365 nanoseconds.
+ Weight::from_ref_time(5_536_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:0 w:1)
fn external_propose_default() -> Weight {
- // Minimum execution time: 5_170 nanoseconds.
- Weight::from_ref_time(5_331_000)
+ // Minimum execution time: 5_056 nanoseconds.
+ Weight::from_ref_time(5_207_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy ReferendumCount (r:1 w:1)
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn fast_track() -> Weight {
- // Minimum execution time: 31_268 nanoseconds.
- Weight::from_ref_time(47_509_000)
+ // Minimum execution time: 21_603 nanoseconds.
+ Weight::from_ref_time(23_763_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(3))
}
// Storage: Democracy NextExternal (r:1 w:1)
// Storage: Democracy Blacklist (r:1 w:1)
fn veto_external() -> Weight {
- // Minimum execution time: 28_445 nanoseconds.
- Weight::from_ref_time(30_428_000)
+ // Minimum execution time: 29_029 nanoseconds.
+ Weight::from_ref_time(31_424_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -388,15 +388,15 @@ impl WeightInfo for () {
// Storage: Democracy DepositOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn cancel_proposal() -> Weight {
- // Minimum execution time: 71_437 nanoseconds.
- Weight::from_ref_time(72_900_000)
+ // Minimum execution time: 72_738 nanoseconds.
+ Weight::from_ref_time(73_733_000)
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
// Storage: Democracy ReferendumInfoOf (r:0 w:1)
fn cancel_referendum() -> Weight {
- // Minimum execution time: 14_730 nanoseconds.
- Weight::from_ref_time(15_163_000)
+ // Minimum execution time: 15_403 nanoseconds.
+ Weight::from_ref_time(15_676_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Democracy LowestUnbaked (r:1 w:1)
@@ -404,10 +404,10 @@ impl WeightInfo for () {
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base(r: u32, ) -> Weight {
- // Minimum execution time: 7_246 nanoseconds.
- Weight::from_ref_time(10_643_587)
- // Standard Error: 6_433
- .saturating_add(Weight::from_ref_time(2_428_673).saturating_mul(r.into()))
+ // Minimum execution time: 7_434 nanoseconds.
+ Weight::from_ref_time(11_602_614)
+ // Standard Error: 6_107
+ .saturating_add(Weight::from_ref_time(2_478_648).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(1))
@@ -420,10 +420,10 @@ impl WeightInfo for () {
// Storage: Democracy ReferendumInfoOf (r:2 w:0)
/// The range of component `r` is `[0, 99]`.
fn on_initialize_base_with_launch_period(r: u32, ) -> Weight {
- // Minimum execution time: 9_957 nanoseconds.
- Weight::from_ref_time(13_390_832)
- // Standard Error: 4_961
- .saturating_add(Weight::from_ref_time(2_420_717).saturating_mul(r.into()))
+ // Minimum execution time: 10_239 nanoseconds.
+ Weight::from_ref_time(13_343_928)
+ // Standard Error: 5_539
+ .saturating_add(Weight::from_ref_time(2_493_329).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(1))
@@ -433,10 +433,10 @@ impl WeightInfo for () {
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn delegate(r: u32, ) -> Weight {
- // Minimum execution time: 45_570 nanoseconds.
- Weight::from_ref_time(54_267_048)
- // Standard Error: 5_551
- .saturating_add(Weight::from_ref_time(3_496_977).saturating_mul(r.into()))
+ // Minimum execution time: 46_021 nanoseconds.
+ Weight::from_ref_time(53_044_954)
+ // Standard Error: 6_106
+ .saturating_add(Weight::from_ref_time(3_575_888).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(4))
@@ -446,10 +446,10 @@ impl WeightInfo for () {
// Storage: Democracy ReferendumInfoOf (r:2 w:2)
/// The range of component `r` is `[0, 99]`.
fn undelegate(r: u32, ) -> Weight {
- // Minimum execution time: 26_799 nanoseconds.
- Weight::from_ref_time(30_488_058)
- // Standard Error: 4_824
- .saturating_add(Weight::from_ref_time(3_494_833).saturating_mul(r.into()))
+ // Minimum execution time: 28_664 nanoseconds.
+ Weight::from_ref_time(31_030_297)
+ // Standard Error: 5_159
+ .saturating_add(Weight::from_ref_time(3_579_560).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(2))
@@ -457,8 +457,8 @@ impl WeightInfo for () {
}
// Storage: Democracy PublicProps (r:0 w:1)
fn clear_public_proposals() -> Weight {
- // Minimum execution time: 5_304 nanoseconds.
- Weight::from_ref_time(5_448_000)
+ // Minimum execution time: 5_133 nanoseconds.
+ Weight::from_ref_time(5_561_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Democracy VotingOf (r:1 w:1)
@@ -466,10 +466,10 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_remove(r: u32, ) -> Weight {
- // Minimum execution time: 28_118 nanoseconds.
- Weight::from_ref_time(34_389_617)
- // Standard Error: 1_321
- .saturating_add(Weight::from_ref_time(73_156).saturating_mul(r.into()))
+ // Minimum execution time: 26_172 nanoseconds.
+ Weight::from_ref_time(34_337_372)
+ // Standard Error: 1_517
+ .saturating_add(Weight::from_ref_time(82_343).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -478,10 +478,10 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
/// The range of component `r` is `[0, 99]`.
fn unlock_set(r: u32, ) -> Weight {
- // Minimum execution time: 32_134 nanoseconds.
- Weight::from_ref_time(33_736_233)
- // Standard Error: 964
- .saturating_add(Weight::from_ref_time(122_356).saturating_mul(r.into()))
+ // Minimum execution time: 31_967 nanoseconds.
+ Weight::from_ref_time(34_023_879)
+ // Standard Error: 1_135
+ .saturating_add(Weight::from_ref_time(135_232).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -489,10 +489,10 @@ impl WeightInfo for () {
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_vote(r: u32, ) -> Weight {
- // Minimum execution time: 16_849 nanoseconds.
- Weight::from_ref_time(19_860_606)
- // Standard Error: 896
- .saturating_add(Weight::from_ref_time(128_252).saturating_mul(r.into()))
+ // Minimum execution time: 18_126 nanoseconds.
+ Weight::from_ref_time(21_857_027)
+ // Standard Error: 3_237
+ .saturating_add(Weight::from_ref_time(103_724).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -500,10 +500,10 @@ impl WeightInfo for () {
// Storage: Democracy VotingOf (r:1 w:1)
/// The range of component `r` is `[1, 100]`.
fn remove_other_vote(r: u32, ) -> Weight {
- // Minimum execution time: 17_500 nanoseconds.
- Weight::from_ref_time(19_803_659)
- // Standard Error: 915
- .saturating_add(Weight::from_ref_time(125_311).saturating_mul(r.into()))
+ // Minimum execution time: 17_102 nanoseconds.
+ Weight::from_ref_time(20_334_029)
+ // Standard Error: 896
+ .saturating_add(Weight::from_ref_time(123_614).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
diff --git a/runtime/manta/src/weights/pallet_manta_pay.rs b/runtime/manta/src/weights/pallet_manta_pay.rs
index 582df50ed..072f7d4a6 100644
--- a/runtime/manta/src/weights/pallet_manta_pay.rs
+++ b/runtime/manta/src/weights/pallet_manta_pay.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_manta_pay
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_manta_pay
@@ -63,8 +63,8 @@ impl pallet_manta_pay::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 39_354_539 nanoseconds.
- Weight::from_ref_time(39_415_372_000)
+ // Minimum execution time: 39_421_816 nanoseconds.
+ Weight::from_ref_time(39_442_588_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(7))
}
@@ -79,8 +79,8 @@ impl pallet_manta_pay::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 52_492_462 nanoseconds.
- Weight::from_ref_time(52_593_823_000)
+ // Minimum execution time: 52_867_215 nanoseconds.
+ Weight::from_ref_time(52_959_241_000)
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(13))
}
@@ -92,16 +92,16 @@ impl pallet_manta_pay::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 69_709_373 nanoseconds.
- Weight::from_ref_time(69_854_786_000)
+ // Minimum execution time: 72_727_522 nanoseconds.
+ Weight::from_ref_time(72_757_960_000)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(13))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
fn public_transfer() -> Weight {
- // Minimum execution time: 46_292 nanoseconds.
- Weight::from_ref_time(67_203_000)
+ // Minimum execution time: 45_527 nanoseconds.
+ Weight::from_ref_time(48_748_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -117,8 +117,8 @@ impl WeightInfo for () {
// Storage: MantaPay UtxoAccumulatorOutputs (r:0 w:1)
// Storage: MantaPay Shards (r:0 w:1)
fn to_private() -> Weight {
- // Minimum execution time: 39_354_539 nanoseconds.
- Weight::from_ref_time(39_415_372_000)
+ // Minimum execution time: 39_421_816 nanoseconds.
+ Weight::from_ref_time(39_442_588_000)
.saturating_add(RocksDbWeight::get().reads(6))
.saturating_add(RocksDbWeight::get().writes(7))
}
@@ -133,8 +133,8 @@ impl WeightInfo for () {
// Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2)
// Storage: MantaPay Shards (r:0 w:1)
fn to_public() -> Weight {
- // Minimum execution time: 52_492_462 nanoseconds.
- Weight::from_ref_time(52_593_823_000)
+ // Minimum execution time: 52_867_215 nanoseconds.
+ Weight::from_ref_time(52_959_241_000)
.saturating_add(RocksDbWeight::get().reads(11))
.saturating_add(RocksDbWeight::get().writes(13))
}
@@ -146,16 +146,16 @@ impl WeightInfo for () {
// Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2)
// Storage: MantaPay Shards (r:0 w:2)
fn private_transfer() -> Weight {
- // Minimum execution time: 69_709_373 nanoseconds.
- Weight::from_ref_time(69_854_786_000)
+ // Minimum execution time: 72_727_522 nanoseconds.
+ Weight::from_ref_time(72_757_960_000)
.saturating_add(RocksDbWeight::get().reads(9))
.saturating_add(RocksDbWeight::get().writes(13))
}
// Storage: Assets Asset (r:1 w:1)
// Storage: Assets Account (r:2 w:2)
fn public_transfer() -> Weight {
- // Minimum execution time: 46_292 nanoseconds.
- Weight::from_ref_time(67_203_000)
+ // Minimum execution time: 45_527 nanoseconds.
+ Weight::from_ref_time(48_748_000)
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
diff --git a/runtime/manta/src/weights/pallet_manta_sbt.rs b/runtime/manta/src/weights/pallet_manta_sbt.rs
index dd002da4c..049e5a2fe 100644
--- a/runtime/manta/src/weights/pallet_manta_sbt.rs
+++ b/runtime/manta/src/weights/pallet_manta_sbt.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_manta_sbt
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_manta_sbt
@@ -60,34 +60,30 @@ pub trait WeightInfo {
/// Weights for pallet_manta_sbt using the Substrate node and recommended hardware.
pub struct SubstrateWeight(PhantomData);
impl pallet_manta_sbt::WeightInfo for SubstrateWeight {
- // Storage: MantaSbt MintIdRegistry (r:1 w:0)
- // Storage: Timestamp Now (r:1 w:0)
- // Storage: MantaSbt PublicMintList (r:1 w:0)
// Storage: MantaSbt ReservedIds (r:1 w:1)
// Storage: MantaSbt UtxoSet (r:1 w:1)
// Storage: MantaSbt ShardTrees (r:1 w:1)
// Storage: MantaSbt Shards (r:0 w:1)
// Storage: MantaSbt SbtMetadataV2 (r:0 w:1)
fn to_private() -> Weight {
- // Minimum execution time: 39_276_244 nanoseconds.
- Weight::from_ref_time(39_373_413_000)
- .saturating_add(T::DbWeight::get().reads(6))
+ // Minimum execution time: 39_339_258 nanoseconds.
+ Weight::from_ref_time(39_391_801_000)
+ .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(5))
}
- // Storage: MantaSbt ReservedIds (r:1 w:1)
- // Storage: MantaSbt FreeReserveAccount (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: MantaSbt NextSbtId (r:1 w:1)
+ // Storage: MantaSbt ReservedIds (r:0 w:1)
fn reserve_sbt() -> Weight {
- // Minimum execution time: 50_853 nanoseconds.
- Weight::from_ref_time(55_490_000)
- .saturating_add(T::DbWeight::get().reads(4))
+ // Minimum execution time: 66_079 nanoseconds.
+ Weight::from_ref_time(67_067_000)
+ .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: MantaSbt AllowlistAccount (r:0 w:1)
fn change_allowlist_account() -> Weight {
- // Minimum execution time: 30_900 nanoseconds.
- Weight::from_ref_time(31_479_000)
+ // Minimum execution time: 16_023 nanoseconds.
+ Weight::from_ref_time(16_287_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: MantaSbt MintIdRegistry (r:1 w:0)
@@ -96,27 +92,25 @@ impl pallet_manta_sbt::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 28_733 nanoseconds.
- Weight::from_ref_time(31_452_000)
+ // Minimum execution time: 28_265 nanoseconds.
+ Weight::from_ref_time(30_552_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: MantaSbt NextMintId (r:1 w:1)
- // Storage: MantaSbt PublicMintList (r:0 w:1)
// Storage: MantaSbt MintIdRegistry (r:0 w:1)
fn new_mint_info() -> Weight {
- // Minimum execution time: 19_768 nanoseconds.
- Weight::from_ref_time(20_186_000)
+ // Minimum execution time: 17_689 nanoseconds.
+ Weight::from_ref_time(18_095_000)
.saturating_add(T::DbWeight::get().reads(1))
- .saturating_add(T::DbWeight::get().writes(3))
+ .saturating_add(T::DbWeight::get().writes(2))
}
// Storage: MantaSbt MintIdRegistry (r:1 w:1)
- // Storage: MantaSbt PublicMintList (r:0 w:1)
fn update_mint_info() -> Weight {
- // Minimum execution time: 22_532 nanoseconds.
- Weight::from_ref_time(23_440_000)
+ // Minimum execution time: 20_602 nanoseconds.
+ Weight::from_ref_time(21_478_000)
.saturating_add(T::DbWeight::get().reads(1))
- .saturating_add(T::DbWeight::get().writes(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
// Storage: MantaSbt MintIdRegistry (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
@@ -127,55 +121,51 @@ impl pallet_manta_sbt::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 39_867_812 nanoseconds.
- Weight::from_ref_time(39_985_055_000)
+ // Minimum execution time: 39_404_034 nanoseconds.
+ Weight::from_ref_time(39_419_457_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: MantaSbt AllowlistAccount (r:0 w:1)
fn change_free_reserve_account() -> Weight {
- // Minimum execution time: 16_279 nanoseconds.
- Weight::from_ref_time(16_617_000)
+ // Minimum execution time: 18_545 nanoseconds.
+ Weight::from_ref_time(19_347_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: MantaSbt EvmAccountAllowlist (r:0 w:1)
fn remove_allowlist_evm_account() -> Weight {
- // Minimum execution time: 16_502 nanoseconds.
- Weight::from_ref_time(17_741_000)
+ // Minimum execution time: 17_677 nanoseconds.
+ Weight::from_ref_time(18_596_000)
.saturating_add(T::DbWeight::get().writes(1))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
- // Storage: MantaSbt MintIdRegistry (r:1 w:0)
- // Storage: Timestamp Now (r:1 w:0)
- // Storage: MantaSbt PublicMintList (r:1 w:0)
// Storage: MantaSbt ReservedIds (r:1 w:1)
// Storage: MantaSbt UtxoSet (r:1 w:1)
// Storage: MantaSbt ShardTrees (r:1 w:1)
// Storage: MantaSbt Shards (r:0 w:1)
// Storage: MantaSbt SbtMetadataV2 (r:0 w:1)
fn to_private() -> Weight {
- // Minimum execution time: 39_276_244 nanoseconds.
- Weight::from_ref_time(39_373_413_000)
- .saturating_add(RocksDbWeight::get().reads(6))
+ // Minimum execution time: 39_339_258 nanoseconds.
+ Weight::from_ref_time(39_391_801_000)
+ .saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(5))
}
- // Storage: MantaSbt ReservedIds (r:1 w:1)
- // Storage: MantaSbt FreeReserveAccount (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: MantaSbt NextSbtId (r:1 w:1)
+ // Storage: MantaSbt ReservedIds (r:0 w:1)
fn reserve_sbt() -> Weight {
- // Minimum execution time: 50_853 nanoseconds.
- Weight::from_ref_time(55_490_000)
- .saturating_add(RocksDbWeight::get().reads(4))
+ // Minimum execution time: 66_079 nanoseconds.
+ Weight::from_ref_time(67_067_000)
+ .saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(3))
}
// Storage: MantaSbt AllowlistAccount (r:0 w:1)
fn change_allowlist_account() -> Weight {
- // Minimum execution time: 30_900 nanoseconds.
- Weight::from_ref_time(31_479_000)
+ // Minimum execution time: 16_023 nanoseconds.
+ Weight::from_ref_time(16_287_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: MantaSbt MintIdRegistry (r:1 w:0)
@@ -184,27 +174,25 @@ impl WeightInfo for () {
// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1)
// Storage: MantaSbt NextSbtId (r:1 w:1)
fn allowlist_evm_account() -> Weight {
- // Minimum execution time: 28_733 nanoseconds.
- Weight::from_ref_time(31_452_000)
+ // Minimum execution time: 28_265 nanoseconds.
+ Weight::from_ref_time(30_552_000)
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: MantaSbt NextMintId (r:1 w:1)
- // Storage: MantaSbt PublicMintList (r:0 w:1)
// Storage: MantaSbt MintIdRegistry (r:0 w:1)
fn new_mint_info() -> Weight {
- // Minimum execution time: 19_768 nanoseconds.
- Weight::from_ref_time(20_186_000)
+ // Minimum execution time: 17_689 nanoseconds.
+ Weight::from_ref_time(18_095_000)
.saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(3))
+ .saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: MantaSbt MintIdRegistry (r:1 w:1)
- // Storage: MantaSbt PublicMintList (r:0 w:1)
fn update_mint_info() -> Weight {
- // Minimum execution time: 22_532 nanoseconds.
- Weight::from_ref_time(23_440_000)
+ // Minimum execution time: 20_602 nanoseconds.
+ Weight::from_ref_time(21_478_000)
.saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(2))
+ .saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: MantaSbt MintIdRegistry (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
@@ -215,21 +203,21 @@ impl WeightInfo for () {
// Storage: MantaSbt Shards (r:0 w:1)
// Storage: MantaSbt SbtMetadataV2 (r:0 w:1)
fn mint_sbt_eth() -> Weight {
- // Minimum execution time: 39_867_812 nanoseconds.
- Weight::from_ref_time(39_985_055_000)
+ // Minimum execution time: 39_404_034 nanoseconds.
+ Weight::from_ref_time(39_419_457_000)
.saturating_add(RocksDbWeight::get().reads(6))
.saturating_add(RocksDbWeight::get().writes(5))
}
// Storage: MantaSbt AllowlistAccount (r:0 w:1)
fn change_free_reserve_account() -> Weight {
- // Minimum execution time: 16_279 nanoseconds.
- Weight::from_ref_time(16_617_000)
+ // Minimum execution time: 18_545 nanoseconds.
+ Weight::from_ref_time(19_347_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: MantaSbt EvmAccountAllowlist (r:0 w:1)
fn remove_allowlist_evm_account() -> Weight {
- // Minimum execution time: 16_502 nanoseconds.
- Weight::from_ref_time(17_741_000)
+ // Minimum execution time: 17_677 nanoseconds.
+ Weight::from_ref_time(18_596_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
}
diff --git a/runtime/manta/src/weights/pallet_membership.rs b/runtime/manta/src/weights/pallet_membership.rs
index 300ac589d..4bcdfb409 100644
--- a/runtime/manta/src/weights/pallet_membership.rs
+++ b/runtime/manta/src/weights/pallet_membership.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_membership
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_membership
@@ -64,10 +64,10 @@ impl pallet_membership::WeightInfo for SubstrateWeight<
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
- // Minimum execution time: 22_252 nanoseconds.
- Weight::from_ref_time(24_060_186)
- // Standard Error: 765
- .saturating_add(Weight::from_ref_time(42_054).saturating_mul(m.into()))
+ // Minimum execution time: 22_766 nanoseconds.
+ Weight::from_ref_time(24_567_329)
+ // Standard Error: 821
+ .saturating_add(Weight::from_ref_time(42_164).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -78,10 +78,10 @@ impl pallet_membership::WeightInfo for SubstrateWeight<
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
- // Minimum execution time: 24_984 nanoseconds.
- Weight::from_ref_time(26_661_155)
- // Standard Error: 892
- .saturating_add(Weight::from_ref_time(39_382).saturating_mul(m.into()))
+ // Minimum execution time: 25_259 nanoseconds.
+ Weight::from_ref_time(28_064_052)
+ // Standard Error: 2_785
+ .saturating_add(Weight::from_ref_time(29_673).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -92,10 +92,10 @@ impl pallet_membership::WeightInfo for SubstrateWeight<
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
- // Minimum execution time: 24_537 nanoseconds.
- Weight::from_ref_time(27_007_500)
- // Standard Error: 782
- .saturating_add(Weight::from_ref_time(53_990).saturating_mul(m.into()))
+ // Minimum execution time: 25_541 nanoseconds.
+ Weight::from_ref_time(27_431_569)
+ // Standard Error: 1_703
+ .saturating_add(Weight::from_ref_time(56_048).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -106,10 +106,10 @@ impl pallet_membership::WeightInfo for SubstrateWeight<
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
- // Minimum execution time: 25_078 nanoseconds.
- Weight::from_ref_time(26_496_322)
- // Standard Error: 1_240
- .saturating_add(Weight::from_ref_time(191_131).saturating_mul(m.into()))
+ // Minimum execution time: 25_812 nanoseconds.
+ Weight::from_ref_time(27_123_739)
+ // Standard Error: 1_311
+ .saturating_add(Weight::from_ref_time(190_355).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -120,10 +120,10 @@ impl pallet_membership::WeightInfo for SubstrateWeight<
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
- // Minimum execution time: 24_983 nanoseconds.
- Weight::from_ref_time(27_161_327)
- // Standard Error: 1_588
- .saturating_add(Weight::from_ref_time(65_235).saturating_mul(m.into()))
+ // Minimum execution time: 25_698 nanoseconds.
+ Weight::from_ref_time(27_926_546)
+ // Standard Error: 1_111
+ .saturating_add(Weight::from_ref_time(56_817).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -131,11 +131,9 @@ impl pallet_membership::WeightInfo for SubstrateWeight<
// Storage: CouncilMembership Prime (r:0 w:1)
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
- fn set_prime(m: u32, ) -> Weight {
- // Minimum execution time: 9_735 nanoseconds.
- Weight::from_ref_time(10_728_574)
- // Standard Error: 345
- .saturating_add(Weight::from_ref_time(10_022).saturating_mul(m.into()))
+ fn set_prime(_m: u32, ) -> Weight {
+ // Minimum execution time: 10_316 nanoseconds.
+ Weight::from_ref_time(12_440_795)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -143,10 +141,10 @@ impl pallet_membership::WeightInfo for SubstrateWeight<
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn clear_prime(m: u32, ) -> Weight {
- // Minimum execution time: 4_859 nanoseconds.
- Weight::from_ref_time(5_502_546)
- // Standard Error: 146
- .saturating_add(Weight::from_ref_time(258).saturating_mul(m.into()))
+ // Minimum execution time: 5_041 nanoseconds.
+ Weight::from_ref_time(5_647_122)
+ // Standard Error: 612
+ .saturating_add(Weight::from_ref_time(2_675).saturating_mul(m.into()))
.saturating_add(T::DbWeight::get().writes(2))
}
}
@@ -159,10 +157,10 @@ impl WeightInfo for () {
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 99]`.
fn add_member(m: u32, ) -> Weight {
- // Minimum execution time: 22_252 nanoseconds.
- Weight::from_ref_time(24_060_186)
- // Standard Error: 765
- .saturating_add(Weight::from_ref_time(42_054).saturating_mul(m.into()))
+ // Minimum execution time: 22_766 nanoseconds.
+ Weight::from_ref_time(24_567_329)
+ // Standard Error: 821
+ .saturating_add(Weight::from_ref_time(42_164).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -173,10 +171,10 @@ impl WeightInfo for () {
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn remove_member(m: u32, ) -> Weight {
- // Minimum execution time: 24_984 nanoseconds.
- Weight::from_ref_time(26_661_155)
- // Standard Error: 892
- .saturating_add(Weight::from_ref_time(39_382).saturating_mul(m.into()))
+ // Minimum execution time: 25_259 nanoseconds.
+ Weight::from_ref_time(28_064_052)
+ // Standard Error: 2_785
+ .saturating_add(Weight::from_ref_time(29_673).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -187,10 +185,10 @@ impl WeightInfo for () {
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[2, 100]`.
fn swap_member(m: u32, ) -> Weight {
- // Minimum execution time: 24_537 nanoseconds.
- Weight::from_ref_time(27_007_500)
- // Standard Error: 782
- .saturating_add(Weight::from_ref_time(53_990).saturating_mul(m.into()))
+ // Minimum execution time: 25_541 nanoseconds.
+ Weight::from_ref_time(27_431_569)
+ // Standard Error: 1_703
+ .saturating_add(Weight::from_ref_time(56_048).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -201,10 +199,10 @@ impl WeightInfo for () {
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn reset_member(m: u32, ) -> Weight {
- // Minimum execution time: 25_078 nanoseconds.
- Weight::from_ref_time(26_496_322)
- // Standard Error: 1_240
- .saturating_add(Weight::from_ref_time(191_131).saturating_mul(m.into()))
+ // Minimum execution time: 25_812 nanoseconds.
+ Weight::from_ref_time(27_123_739)
+ // Standard Error: 1_311
+ .saturating_add(Weight::from_ref_time(190_355).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(3))
}
@@ -215,10 +213,10 @@ impl WeightInfo for () {
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn change_key(m: u32, ) -> Weight {
- // Minimum execution time: 24_983 nanoseconds.
- Weight::from_ref_time(27_161_327)
- // Standard Error: 1_588
- .saturating_add(Weight::from_ref_time(65_235).saturating_mul(m.into()))
+ // Minimum execution time: 25_698 nanoseconds.
+ Weight::from_ref_time(27_926_546)
+ // Standard Error: 1_111
+ .saturating_add(Weight::from_ref_time(56_817).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().writes(4))
}
@@ -226,11 +224,9 @@ impl WeightInfo for () {
// Storage: CouncilMembership Prime (r:0 w:1)
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
- fn set_prime(m: u32, ) -> Weight {
- // Minimum execution time: 9_735 nanoseconds.
- Weight::from_ref_time(10_728_574)
- // Standard Error: 345
- .saturating_add(Weight::from_ref_time(10_022).saturating_mul(m.into()))
+ fn set_prime(_m: u32, ) -> Weight {
+ // Minimum execution time: 10_316 nanoseconds.
+ Weight::from_ref_time(12_440_795)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -238,10 +234,10 @@ impl WeightInfo for () {
// Storage: Council Prime (r:0 w:1)
/// The range of component `m` is `[1, 100]`.
fn clear_prime(m: u32, ) -> Weight {
- // Minimum execution time: 4_859 nanoseconds.
- Weight::from_ref_time(5_502_546)
- // Standard Error: 146
- .saturating_add(Weight::from_ref_time(258).saturating_mul(m.into()))
+ // Minimum execution time: 5_041 nanoseconds.
+ Weight::from_ref_time(5_647_122)
+ // Standard Error: 612
+ .saturating_add(Weight::from_ref_time(2_675).saturating_mul(m.into()))
.saturating_add(RocksDbWeight::get().writes(2))
}
}
diff --git a/runtime/manta/src/weights/pallet_multisig.rs b/runtime/manta/src/weights/pallet_multisig.rs
index 29057aab5..b62003d90 100644
--- a/runtime/manta/src/weights/pallet_multisig.rs
+++ b/runtime/manta/src/weights/pallet_multisig.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_multisig
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_multisig
@@ -60,22 +60,22 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_multisig::WeightInfo for SubstrateWeight {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
- // Minimum execution time: 18_539 nanoseconds.
- Weight::from_ref_time(19_299_120)
- // Standard Error: 4
- .saturating_add(Weight::from_ref_time(658).saturating_mul(z.into()))
+ // Minimum execution time: 18_455 nanoseconds.
+ Weight::from_ref_time(19_184_067)
+ // Standard Error: 5
+ .saturating_add(Weight::from_ref_time(699).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
- // Minimum execution time: 53_607 nanoseconds.
- Weight::from_ref_time(42_829_151)
- // Standard Error: 1_743
- .saturating_add(Weight::from_ref_time(128_445).saturating_mul(s.into()))
- // Standard Error: 17
- .saturating_add(Weight::from_ref_time(1_778).saturating_mul(z.into()))
+ // Minimum execution time: 52_225 nanoseconds.
+ Weight::from_ref_time(39_457_371)
+ // Standard Error: 1_510
+ .saturating_add(Weight::from_ref_time(144_369).saturating_mul(s.into()))
+ // Standard Error: 14
+ .saturating_add(Weight::from_ref_time(1_885).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -83,12 +83,12 @@ impl pallet_multisig::WeightInfo for SubstrateWeight
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
- // Minimum execution time: 40_782 nanoseconds.
- Weight::from_ref_time(29_617_504)
- // Standard Error: 1_110
- .saturating_add(Weight::from_ref_time(125_575).saturating_mul(s.into()))
+ // Minimum execution time: 39_784 nanoseconds.
+ Weight::from_ref_time(30_031_932)
+ // Standard Error: 1_084
+ .saturating_add(Weight::from_ref_time(123_848).saturating_mul(s.into()))
// Standard Error: 10
- .saturating_add(Weight::from_ref_time(1_825).saturating_mul(z.into()))
+ .saturating_add(Weight::from_ref_time(1_742).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -97,12 +97,12 @@ impl pallet_multisig::WeightInfo for SubstrateWeight
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
- // Minimum execution time: 57_192 nanoseconds.
- Weight::from_ref_time(42_452_230)
- // Standard Error: 863
- .saturating_add(Weight::from_ref_time(160_869).saturating_mul(s.into()))
+ // Minimum execution time: 56_785 nanoseconds.
+ Weight::from_ref_time(43_244_519)
+ // Standard Error: 876
+ .saturating_add(Weight::from_ref_time(149_280).saturating_mul(s.into()))
// Standard Error: 8
- .saturating_add(Weight::from_ref_time(1_880).saturating_mul(z.into()))
+ .saturating_add(Weight::from_ref_time(1_805).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -110,30 +110,30 @@ impl pallet_multisig::WeightInfo for SubstrateWeight
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
- // Minimum execution time: 34_991 nanoseconds.
- Weight::from_ref_time(39_069_881)
- // Standard Error: 1_564
- .saturating_add(Weight::from_ref_time(141_769).saturating_mul(s.into()))
+ // Minimum execution time: 35_173 nanoseconds.
+ Weight::from_ref_time(38_120_448)
+ // Standard Error: 1_486
+ .saturating_add(Weight::from_ref_time(139_410).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
- // Minimum execution time: 25_071 nanoseconds.
- Weight::from_ref_time(26_652_351)
- // Standard Error: 1_106
- .saturating_add(Weight::from_ref_time(133_965).saturating_mul(s.into()))
+ // Minimum execution time: 24_719 nanoseconds.
+ Weight::from_ref_time(26_449_437)
+ // Standard Error: 999
+ .saturating_add(Weight::from_ref_time(128_015).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
- // Minimum execution time: 35_714 nanoseconds.
- Weight::from_ref_time(38_425_597)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(133_960).saturating_mul(s.into()))
+ // Minimum execution time: 34_945 nanoseconds.
+ Weight::from_ref_time(37_238_829)
+ // Standard Error: 1_276
+ .saturating_add(Weight::from_ref_time(135_996).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -143,22 +143,22 @@ impl pallet_multisig::WeightInfo for SubstrateWeight
impl WeightInfo for () {
/// The range of component `z` is `[0, 10000]`.
fn as_multi_threshold_1(z: u32, ) -> Weight {
- // Minimum execution time: 18_539 nanoseconds.
- Weight::from_ref_time(19_299_120)
- // Standard Error: 4
- .saturating_add(Weight::from_ref_time(658).saturating_mul(z.into()))
+ // Minimum execution time: 18_455 nanoseconds.
+ Weight::from_ref_time(19_184_067)
+ // Standard Error: 5
+ .saturating_add(Weight::from_ref_time(699).saturating_mul(z.into()))
}
// Storage: Multisig Multisigs (r:1 w:1)
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_create(s: u32, z: u32, ) -> Weight {
- // Minimum execution time: 53_607 nanoseconds.
- Weight::from_ref_time(42_829_151)
- // Standard Error: 1_743
- .saturating_add(Weight::from_ref_time(128_445).saturating_mul(s.into()))
- // Standard Error: 17
- .saturating_add(Weight::from_ref_time(1_778).saturating_mul(z.into()))
+ // Minimum execution time: 52_225 nanoseconds.
+ Weight::from_ref_time(39_457_371)
+ // Standard Error: 1_510
+ .saturating_add(Weight::from_ref_time(144_369).saturating_mul(s.into()))
+ // Standard Error: 14
+ .saturating_add(Weight::from_ref_time(1_885).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -166,12 +166,12 @@ impl WeightInfo for () {
/// The range of component `s` is `[3, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_approve(s: u32, z: u32, ) -> Weight {
- // Minimum execution time: 40_782 nanoseconds.
- Weight::from_ref_time(29_617_504)
- // Standard Error: 1_110
- .saturating_add(Weight::from_ref_time(125_575).saturating_mul(s.into()))
+ // Minimum execution time: 39_784 nanoseconds.
+ Weight::from_ref_time(30_031_932)
+ // Standard Error: 1_084
+ .saturating_add(Weight::from_ref_time(123_848).saturating_mul(s.into()))
// Standard Error: 10
- .saturating_add(Weight::from_ref_time(1_825).saturating_mul(z.into()))
+ .saturating_add(Weight::from_ref_time(1_742).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -180,12 +180,12 @@ impl WeightInfo for () {
/// The range of component `s` is `[2, 100]`.
/// The range of component `z` is `[0, 10000]`.
fn as_multi_complete(s: u32, z: u32, ) -> Weight {
- // Minimum execution time: 57_192 nanoseconds.
- Weight::from_ref_time(42_452_230)
- // Standard Error: 863
- .saturating_add(Weight::from_ref_time(160_869).saturating_mul(s.into()))
+ // Minimum execution time: 56_785 nanoseconds.
+ Weight::from_ref_time(43_244_519)
+ // Standard Error: 876
+ .saturating_add(Weight::from_ref_time(149_280).saturating_mul(s.into()))
// Standard Error: 8
- .saturating_add(Weight::from_ref_time(1_880).saturating_mul(z.into()))
+ .saturating_add(Weight::from_ref_time(1_805).saturating_mul(z.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -193,30 +193,30 @@ impl WeightInfo for () {
// Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_create(s: u32, ) -> Weight {
- // Minimum execution time: 34_991 nanoseconds.
- Weight::from_ref_time(39_069_881)
- // Standard Error: 1_564
- .saturating_add(Weight::from_ref_time(141_769).saturating_mul(s.into()))
+ // Minimum execution time: 35_173 nanoseconds.
+ Weight::from_ref_time(38_120_448)
+ // Standard Error: 1_486
+ .saturating_add(Weight::from_ref_time(139_410).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn approve_as_multi_approve(s: u32, ) -> Weight {
- // Minimum execution time: 25_071 nanoseconds.
- Weight::from_ref_time(26_652_351)
- // Standard Error: 1_106
- .saturating_add(Weight::from_ref_time(133_965).saturating_mul(s.into()))
+ // Minimum execution time: 24_719 nanoseconds.
+ Weight::from_ref_time(26_449_437)
+ // Standard Error: 999
+ .saturating_add(Weight::from_ref_time(128_015).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Multisig Multisigs (r:1 w:1)
/// The range of component `s` is `[2, 100]`.
fn cancel_as_multi(s: u32, ) -> Weight {
- // Minimum execution time: 35_714 nanoseconds.
- Weight::from_ref_time(38_425_597)
- // Standard Error: 1_460
- .saturating_add(Weight::from_ref_time(133_960).saturating_mul(s.into()))
+ // Minimum execution time: 34_945 nanoseconds.
+ Weight::from_ref_time(37_238_829)
+ // Standard Error: 1_276
+ .saturating_add(Weight::from_ref_time(135_996).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
diff --git a/runtime/manta/src/weights/pallet_parachain_staking.rs b/runtime/manta/src/weights/pallet_parachain_staking.rs
index 8b9b6d770..1981d8d5a 100644
--- a/runtime/manta/src/weights/pallet_parachain_staking.rs
+++ b/runtime/manta/src/weights/pallet_parachain_staking.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_parachain_staking
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_parachain_staking
@@ -84,51 +84,51 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_parachain_staking::WeightInfo for SubstrateWeight {
// Storage: ParachainStaking InflationConfig (r:1 w:1)
fn set_staking_expectations() -> Weight {
- // Minimum execution time: 19_862 nanoseconds.
- Weight::from_ref_time(20_902_000)
+ // Minimum execution time: 18_810 nanoseconds.
+ Weight::from_ref_time(19_350_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParachainStaking InflationConfig (r:1 w:1)
fn set_inflation() -> Weight {
- // Minimum execution time: 61_430 nanoseconds.
- Weight::from_ref_time(67_072_000)
+ // Minimum execution time: 67_848 nanoseconds.
+ Weight::from_ref_time(68_449_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
fn set_parachain_bond_account() -> Weight {
- // Minimum execution time: 20_378 nanoseconds.
- Weight::from_ref_time(21_022_000)
+ // Minimum execution time: 20_549 nanoseconds.
+ Weight::from_ref_time(21_086_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
fn set_parachain_bond_reserve_percent() -> Weight {
- // Minimum execution time: 19_573 nanoseconds.
- Weight::from_ref_time(20_024_000)
+ // Minimum execution time: 19_269 nanoseconds.
+ Weight::from_ref_time(20_273_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParachainStaking TotalSelected (r:1 w:1)
fn set_total_selected() -> Weight {
- // Minimum execution time: 19_987 nanoseconds.
- Weight::from_ref_time(21_462_000)
+ // Minimum execution time: 20_367 nanoseconds.
+ Weight::from_ref_time(21_709_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParachainStaking CollatorCommission (r:1 w:1)
fn set_collator_commission() -> Weight {
- // Minimum execution time: 17_265 nanoseconds.
- Weight::from_ref_time(17_545_000)
+ // Minimum execution time: 18_750 nanoseconds.
+ Weight::from_ref_time(19_169_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParachainStaking TotalSelected (r:1 w:0)
// Storage: ParachainStaking InflationConfig (r:1 w:1)
fn set_blocks_per_round() -> Weight {
- // Minimum execution time: 68_674 nanoseconds.
- Weight::from_ref_time(70_966_000)
+ // Minimum execution time: 69_060 nanoseconds.
+ Weight::from_ref_time(71_413_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -143,10 +143,10 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking BottomDelegations (r:0 w:1)
/// The range of component `x` is `[3, 1000]`.
fn join_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 57_011 nanoseconds.
- Weight::from_ref_time(67_201_776)
- // Standard Error: 569
- .saturating_add(Weight::from_ref_time(98_206).saturating_mul(x.into()))
+ // Minimum execution time: 57_140 nanoseconds.
+ Weight::from_ref_time(66_362_805)
+ // Standard Error: 609
+ .saturating_add(Weight::from_ref_time(99_652).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
@@ -154,10 +154,10 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking CandidatePool (r:1 w:1)
/// The range of component `x` is `[3, 1000]`.
fn schedule_leave_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 31_843 nanoseconds.
- Weight::from_ref_time(36_591_622)
- // Standard Error: 576
- .saturating_add(Weight::from_ref_time(79_519).saturating_mul(x.into()))
+ // Minimum execution time: 32_124 nanoseconds.
+ Weight::from_ref_time(37_583_389)
+ // Standard Error: 590
+ .saturating_add(Weight::from_ref_time(77_716).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -171,10 +171,10 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking Total (r:1 w:1)
/// The range of component `x` is `[2, 150]`.
fn execute_leave_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 97_769 nanoseconds.
- Weight::from_ref_time(98_599_000)
- // Standard Error: 29_062
- .saturating_add(Weight::from_ref_time(21_032_018).saturating_mul(x.into()))
+ // Minimum execution time: 97_361 nanoseconds.
+ Weight::from_ref_time(99_045_000)
+ // Standard Error: 28_747
+ .saturating_add(Weight::from_ref_time(21_109_117).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().writes(4))
@@ -184,26 +184,26 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking CandidatePool (r:1 w:1)
/// The range of component `x` is `[3, 1000]`.
fn cancel_leave_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 29_926 nanoseconds.
- Weight::from_ref_time(33_909_435)
- // Standard Error: 589
- .saturating_add(Weight::from_ref_time(91_018).saturating_mul(x.into()))
+ // Minimum execution time: 29_484 nanoseconds.
+ Weight::from_ref_time(34_453_649)
+ // Standard Error: 594
+ .saturating_add(Weight::from_ref_time(87_959).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn go_offline() -> Weight {
- // Minimum execution time: 28_443 nanoseconds.
- Weight::from_ref_time(30_787_000)
+ // Minimum execution time: 28_656 nanoseconds.
+ Weight::from_ref_time(31_291_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn go_online() -> Weight {
- // Minimum execution time: 28_276 nanoseconds.
- Weight::from_ref_time(30_644_000)
+ // Minimum execution time: 28_053 nanoseconds.
+ Weight::from_ref_time(30_209_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -213,15 +213,15 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: Balances Locks (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn candidate_bond_more() -> Weight {
- // Minimum execution time: 47_866 nanoseconds.
- Weight::from_ref_time(48_751_000)
+ // Minimum execution time: 48_599 nanoseconds.
+ Weight::from_ref_time(51_978_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
fn schedule_candidate_bond_less() -> Weight {
- // Minimum execution time: 26_094 nanoseconds.
- Weight::from_ref_time(28_511_000)
+ // Minimum execution time: 26_472 nanoseconds.
+ Weight::from_ref_time(28_306_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -231,15 +231,15 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: System Account (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn execute_candidate_bond_less() -> Weight {
- // Minimum execution time: 60_638 nanoseconds.
- Weight::from_ref_time(61_928_000)
+ // Minimum execution time: 60_347 nanoseconds.
+ Weight::from_ref_time(61_537_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
fn cancel_candidate_bond_less() -> Weight {
- // Minimum execution time: 23_698 nanoseconds.
- Weight::from_ref_time(25_747_000)
+ // Minimum execution time: 24_783 nanoseconds.
+ Weight::from_ref_time(25_804_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -253,20 +253,20 @@ impl pallet_parachain_staking::WeightInfo for Substrate
/// The range of component `x` is `[3, 25]`.
/// The range of component `y` is `[2, 100]`.
fn delegate(x: u32, y: u32, ) -> Weight {
- // Minimum execution time: 83_686 nanoseconds.
- Weight::from_ref_time(76_654_844)
- // Standard Error: 3_130
- .saturating_add(Weight::from_ref_time(348_512).saturating_mul(x.into()))
- // Standard Error: 721
- .saturating_add(Weight::from_ref_time(172_632).saturating_mul(y.into()))
+ // Minimum execution time: 83_255 nanoseconds.
+ Weight::from_ref_time(76_427_984)
+ // Standard Error: 2_338
+ .saturating_add(Weight::from_ref_time(324_604).saturating_mul(x.into()))
+ // Standard Error: 539
+ .saturating_add(Weight::from_ref_time(174_239).saturating_mul(y.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn schedule_leave_delegators() -> Weight {
- // Minimum execution time: 30_285 nanoseconds.
- Weight::from_ref_time(30_976_000)
+ // Minimum execution time: 30_993 nanoseconds.
+ Weight::from_ref_time(31_337_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -280,10 +280,10 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: System Account (r:1 w:1)
/// The range of component `x` is `[2, 25]`.
fn execute_leave_delegators(x: u32, ) -> Weight {
- // Minimum execution time: 87_087 nanoseconds.
- Weight::from_ref_time(49_873_549)
- // Standard Error: 16_845
- .saturating_add(Weight::from_ref_time(19_633_895).saturating_mul(x.into()))
+ // Minimum execution time: 86_911 nanoseconds.
+ Weight::from_ref_time(51_000_573)
+ // Standard Error: 14_968
+ .saturating_add(Weight::from_ref_time(19_422_511).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().writes(2))
@@ -292,16 +292,16 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn cancel_leave_delegators() -> Weight {
- // Minimum execution time: 33_300 nanoseconds.
- Weight::from_ref_time(34_326_000)
+ // Minimum execution time: 31_775 nanoseconds.
+ Weight::from_ref_time(32_644_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn schedule_revoke_delegation() -> Weight {
- // Minimum execution time: 30_355 nanoseconds.
- Weight::from_ref_time(32_340_000)
+ // Minimum execution time: 30_752 nanoseconds.
+ Weight::from_ref_time(33_640_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -314,16 +314,16 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Storage: ParachainStaking Total (r:1 w:1)
fn delegator_bond_more() -> Weight {
- // Minimum execution time: 67_985 nanoseconds.
- Weight::from_ref_time(72_402_000)
+ // Minimum execution time: 68_549 nanoseconds.
+ Weight::from_ref_time(69_853_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(7))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn schedule_delegator_bond_less() -> Weight {
- // Minimum execution time: 30_971 nanoseconds.
- Weight::from_ref_time(32_859_000)
+ // Minimum execution time: 31_118 nanoseconds.
+ Weight::from_ref_time(32_846_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -336,8 +336,8 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Storage: ParachainStaking Total (r:1 w:1)
fn execute_revoke_delegation() -> Weight {
- // Minimum execution time: 89_561 nanoseconds.
- Weight::from_ref_time(91_019_000)
+ // Minimum execution time: 89_094 nanoseconds.
+ Weight::from_ref_time(90_910_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(8))
}
@@ -350,24 +350,24 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Storage: ParachainStaking Total (r:1 w:1)
fn execute_delegator_bond_less() -> Weight {
- // Minimum execution time: 81_770 nanoseconds.
- Weight::from_ref_time(83_663_000)
+ // Minimum execution time: 81_408 nanoseconds.
+ Weight::from_ref_time(83_566_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(8))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn cancel_revoke_delegation() -> Weight {
- // Minimum execution time: 31_780 nanoseconds.
- Weight::from_ref_time(33_214_000)
+ // Minimum execution time: 30_310 nanoseconds.
+ Weight::from_ref_time(32_906_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn cancel_delegator_bond_less() -> Weight {
- // Minimum execution time: 36_325 nanoseconds.
- Weight::from_ref_time(36_832_000)
+ // Minimum execution time: 36_586 nanoseconds.
+ Weight::from_ref_time(37_123_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -390,10 +390,10 @@ impl pallet_parachain_staking::WeightInfo for Substrate
/// The range of component `x` is `[8, 100]`.
/// The range of component `y` is `[0, 10000]`.
fn round_transition_on_initialize(x: u32, _y: u32, ) -> Weight {
- // Minimum execution time: 739_994 nanoseconds.
- Weight::from_ref_time(1_460_340_467)
- // Standard Error: 245_599
- .saturating_add(Weight::from_ref_time(1_540_934).saturating_mul(x.into()))
+ // Minimum execution time: 715_034 nanoseconds.
+ Weight::from_ref_time(1_455_450_972)
+ // Standard Error: 245_853
+ .saturating_add(Weight::from_ref_time(1_424_086).saturating_mul(x.into()))
.saturating_add(T::DbWeight::get().reads(119))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into())))
.saturating_add(T::DbWeight::get().writes(113))
@@ -405,18 +405,18 @@ impl pallet_parachain_staking::WeightInfo for Substrate
// Storage: System Account (r:1 w:1)
/// The range of component `y` is `[0, 100]`.
fn pay_one_collator_reward(y: u32, ) -> Weight {
- // Minimum execution time: 48_338 nanoseconds.
- Weight::from_ref_time(56_487_468)
- // Standard Error: 5_414
- .saturating_add(Weight::from_ref_time(12_423_768).saturating_mul(y.into()))
+ // Minimum execution time: 48_388 nanoseconds.
+ Weight::from_ref_time(58_474_815)
+ // Standard Error: 4_937
+ .saturating_add(Weight::from_ref_time(12_249_541).saturating_mul(y.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into())))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(y.into())))
}
fn base_on_initialize() -> Weight {
- // Minimum execution time: 6_027 nanoseconds.
- Weight::from_ref_time(6_578_000)
+ // Minimum execution time: 6_604 nanoseconds.
+ Weight::from_ref_time(6_826_000)
}
}
@@ -424,51 +424,51 @@ impl pallet_parachain_staking::WeightInfo for Substrate
impl WeightInfo for () {
// Storage: ParachainStaking InflationConfig (r:1 w:1)
fn set_staking_expectations() -> Weight {
- // Minimum execution time: 19_862 nanoseconds.
- Weight::from_ref_time(20_902_000)
+ // Minimum execution time: 18_810 nanoseconds.
+ Weight::from_ref_time(19_350_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: ParachainStaking InflationConfig (r:1 w:1)
fn set_inflation() -> Weight {
- // Minimum execution time: 61_430 nanoseconds.
- Weight::from_ref_time(67_072_000)
+ // Minimum execution time: 67_848 nanoseconds.
+ Weight::from_ref_time(68_449_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
fn set_parachain_bond_account() -> Weight {
- // Minimum execution time: 20_378 nanoseconds.
- Weight::from_ref_time(21_022_000)
+ // Minimum execution time: 20_549 nanoseconds.
+ Weight::from_ref_time(21_086_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: ParachainStaking ParachainBondInfo (r:1 w:1)
fn set_parachain_bond_reserve_percent() -> Weight {
- // Minimum execution time: 19_573 nanoseconds.
- Weight::from_ref_time(20_024_000)
+ // Minimum execution time: 19_269 nanoseconds.
+ Weight::from_ref_time(20_273_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: ParachainStaking TotalSelected (r:1 w:1)
fn set_total_selected() -> Weight {
- // Minimum execution time: 19_987 nanoseconds.
- Weight::from_ref_time(21_462_000)
+ // Minimum execution time: 20_367 nanoseconds.
+ Weight::from_ref_time(21_709_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: ParachainStaking CollatorCommission (r:1 w:1)
fn set_collator_commission() -> Weight {
- // Minimum execution time: 17_265 nanoseconds.
- Weight::from_ref_time(17_545_000)
+ // Minimum execution time: 18_750 nanoseconds.
+ Weight::from_ref_time(19_169_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: ParachainStaking TotalSelected (r:1 w:0)
// Storage: ParachainStaking InflationConfig (r:1 w:1)
fn set_blocks_per_round() -> Weight {
- // Minimum execution time: 68_674 nanoseconds.
- Weight::from_ref_time(70_966_000)
+ // Minimum execution time: 69_060 nanoseconds.
+ Weight::from_ref_time(71_413_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -483,10 +483,10 @@ impl WeightInfo for () {
// Storage: ParachainStaking BottomDelegations (r:0 w:1)
/// The range of component `x` is `[3, 1000]`.
fn join_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 57_011 nanoseconds.
- Weight::from_ref_time(67_201_776)
- // Standard Error: 569
- .saturating_add(Weight::from_ref_time(98_206).saturating_mul(x.into()))
+ // Minimum execution time: 57_140 nanoseconds.
+ Weight::from_ref_time(66_362_805)
+ // Standard Error: 609
+ .saturating_add(Weight::from_ref_time(99_652).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(7))
.saturating_add(RocksDbWeight::get().writes(7))
}
@@ -494,10 +494,10 @@ impl WeightInfo for () {
// Storage: ParachainStaking CandidatePool (r:1 w:1)
/// The range of component `x` is `[3, 1000]`.
fn schedule_leave_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 31_843 nanoseconds.
- Weight::from_ref_time(36_591_622)
- // Standard Error: 576
- .saturating_add(Weight::from_ref_time(79_519).saturating_mul(x.into()))
+ // Minimum execution time: 32_124 nanoseconds.
+ Weight::from_ref_time(37_583_389)
+ // Standard Error: 590
+ .saturating_add(Weight::from_ref_time(77_716).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -511,10 +511,10 @@ impl WeightInfo for () {
// Storage: ParachainStaking Total (r:1 w:1)
/// The range of component `x` is `[2, 150]`.
fn execute_leave_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 97_769 nanoseconds.
- Weight::from_ref_time(98_599_000)
- // Standard Error: 29_062
- .saturating_add(Weight::from_ref_time(21_032_018).saturating_mul(x.into()))
+ // Minimum execution time: 97_361 nanoseconds.
+ Weight::from_ref_time(99_045_000)
+ // Standard Error: 28_747
+ .saturating_add(Weight::from_ref_time(21_109_117).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(4))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(x.into())))
.saturating_add(RocksDbWeight::get().writes(4))
@@ -524,26 +524,26 @@ impl WeightInfo for () {
// Storage: ParachainStaking CandidatePool (r:1 w:1)
/// The range of component `x` is `[3, 1000]`.
fn cancel_leave_candidates(x: u32, ) -> Weight {
- // Minimum execution time: 29_926 nanoseconds.
- Weight::from_ref_time(33_909_435)
- // Standard Error: 589
- .saturating_add(Weight::from_ref_time(91_018).saturating_mul(x.into()))
+ // Minimum execution time: 29_484 nanoseconds.
+ Weight::from_ref_time(34_453_649)
+ // Standard Error: 594
+ .saturating_add(Weight::from_ref_time(87_959).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn go_offline() -> Weight {
- // Minimum execution time: 28_443 nanoseconds.
- Weight::from_ref_time(30_787_000)
+ // Minimum execution time: 28_656 nanoseconds.
+ Weight::from_ref_time(31_291_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn go_online() -> Weight {
- // Minimum execution time: 28_276 nanoseconds.
- Weight::from_ref_time(30_644_000)
+ // Minimum execution time: 28_053 nanoseconds.
+ Weight::from_ref_time(30_209_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -553,15 +553,15 @@ impl WeightInfo for () {
// Storage: Balances Locks (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn candidate_bond_more() -> Weight {
- // Minimum execution time: 47_866 nanoseconds.
- Weight::from_ref_time(48_751_000)
+ // Minimum execution time: 48_599 nanoseconds.
+ Weight::from_ref_time(51_978_000)
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(5))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
fn schedule_candidate_bond_less() -> Weight {
- // Minimum execution time: 26_094 nanoseconds.
- Weight::from_ref_time(28_511_000)
+ // Minimum execution time: 26_472 nanoseconds.
+ Weight::from_ref_time(28_306_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -571,15 +571,15 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
// Storage: ParachainStaking CandidatePool (r:1 w:1)
fn execute_candidate_bond_less() -> Weight {
- // Minimum execution time: 60_638 nanoseconds.
- Weight::from_ref_time(61_928_000)
+ // Minimum execution time: 60_347 nanoseconds.
+ Weight::from_ref_time(61_537_000)
.saturating_add(RocksDbWeight::get().reads(5))
.saturating_add(RocksDbWeight::get().writes(5))
}
// Storage: ParachainStaking CandidateInfo (r:1 w:1)
fn cancel_candidate_bond_less() -> Weight {
- // Minimum execution time: 23_698 nanoseconds.
- Weight::from_ref_time(25_747_000)
+ // Minimum execution time: 24_783 nanoseconds.
+ Weight::from_ref_time(25_804_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -593,20 +593,20 @@ impl WeightInfo for () {
/// The range of component `x` is `[3, 25]`.
/// The range of component `y` is `[2, 100]`.
fn delegate(x: u32, y: u32, ) -> Weight {
- // Minimum execution time: 83_686 nanoseconds.
- Weight::from_ref_time(76_654_844)
- // Standard Error: 3_130
- .saturating_add(Weight::from_ref_time(348_512).saturating_mul(x.into()))
- // Standard Error: 721
- .saturating_add(Weight::from_ref_time(172_632).saturating_mul(y.into()))
+ // Minimum execution time: 83_255 nanoseconds.
+ Weight::from_ref_time(76_427_984)
+ // Standard Error: 2_338
+ .saturating_add(Weight::from_ref_time(324_604).saturating_mul(x.into()))
+ // Standard Error: 539
+ .saturating_add(Weight::from_ref_time(174_239).saturating_mul(y.into()))
.saturating_add(RocksDbWeight::get().reads(7))
.saturating_add(RocksDbWeight::get().writes(7))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn schedule_leave_delegators() -> Weight {
- // Minimum execution time: 30_285 nanoseconds.
- Weight::from_ref_time(30_976_000)
+ // Minimum execution time: 30_993 nanoseconds.
+ Weight::from_ref_time(31_337_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -620,10 +620,10 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
/// The range of component `x` is `[2, 25]`.
fn execute_leave_delegators(x: u32, ) -> Weight {
- // Minimum execution time: 87_087 nanoseconds.
- Weight::from_ref_time(49_873_549)
- // Standard Error: 16_845
- .saturating_add(Weight::from_ref_time(19_633_895).saturating_mul(x.into()))
+ // Minimum execution time: 86_911 nanoseconds.
+ Weight::from_ref_time(51_000_573)
+ // Standard Error: 14_968
+ .saturating_add(Weight::from_ref_time(19_422_511).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(x.into())))
.saturating_add(RocksDbWeight::get().writes(2))
@@ -632,16 +632,16 @@ impl WeightInfo for () {
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn cancel_leave_delegators() -> Weight {
- // Minimum execution time: 33_300 nanoseconds.
- Weight::from_ref_time(34_326_000)
+ // Minimum execution time: 31_775 nanoseconds.
+ Weight::from_ref_time(32_644_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn schedule_revoke_delegation() -> Weight {
- // Minimum execution time: 30_355 nanoseconds.
- Weight::from_ref_time(32_340_000)
+ // Minimum execution time: 30_752 nanoseconds.
+ Weight::from_ref_time(33_640_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -654,16 +654,16 @@ impl WeightInfo for () {
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Storage: ParachainStaking Total (r:1 w:1)
fn delegator_bond_more() -> Weight {
- // Minimum execution time: 67_985 nanoseconds.
- Weight::from_ref_time(72_402_000)
+ // Minimum execution time: 68_549 nanoseconds.
+ Weight::from_ref_time(69_853_000)
.saturating_add(RocksDbWeight::get().reads(8))
.saturating_add(RocksDbWeight::get().writes(7))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn schedule_delegator_bond_less() -> Weight {
- // Minimum execution time: 30_971 nanoseconds.
- Weight::from_ref_time(32_859_000)
+ // Minimum execution time: 31_118 nanoseconds.
+ Weight::from_ref_time(32_846_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -676,8 +676,8 @@ impl WeightInfo for () {
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Storage: ParachainStaking Total (r:1 w:1)
fn execute_revoke_delegation() -> Weight {
- // Minimum execution time: 89_561 nanoseconds.
- Weight::from_ref_time(91_019_000)
+ // Minimum execution time: 89_094 nanoseconds.
+ Weight::from_ref_time(90_910_000)
.saturating_add(RocksDbWeight::get().reads(8))
.saturating_add(RocksDbWeight::get().writes(8))
}
@@ -690,24 +690,24 @@ impl WeightInfo for () {
// Storage: ParachainStaking CandidatePool (r:1 w:1)
// Storage: ParachainStaking Total (r:1 w:1)
fn execute_delegator_bond_less() -> Weight {
- // Minimum execution time: 81_770 nanoseconds.
- Weight::from_ref_time(83_663_000)
+ // Minimum execution time: 81_408 nanoseconds.
+ Weight::from_ref_time(83_566_000)
.saturating_add(RocksDbWeight::get().reads(8))
.saturating_add(RocksDbWeight::get().writes(8))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn cancel_revoke_delegation() -> Weight {
- // Minimum execution time: 31_780 nanoseconds.
- Weight::from_ref_time(33_214_000)
+ // Minimum execution time: 30_310 nanoseconds.
+ Weight::from_ref_time(32_906_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: ParachainStaking DelegatorState (r:1 w:1)
// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1)
fn cancel_delegator_bond_less() -> Weight {
- // Minimum execution time: 36_325 nanoseconds.
- Weight::from_ref_time(36_832_000)
+ // Minimum execution time: 36_586 nanoseconds.
+ Weight::from_ref_time(37_123_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -730,10 +730,10 @@ impl WeightInfo for () {
/// The range of component `x` is `[8, 100]`.
/// The range of component `y` is `[0, 10000]`.
fn round_transition_on_initialize(x: u32, _y: u32, ) -> Weight {
- // Minimum execution time: 739_994 nanoseconds.
- Weight::from_ref_time(1_460_340_467)
- // Standard Error: 245_599
- .saturating_add(Weight::from_ref_time(1_540_934).saturating_mul(x.into()))
+ // Minimum execution time: 715_034 nanoseconds.
+ Weight::from_ref_time(1_455_450_972)
+ // Standard Error: 245_853
+ .saturating_add(Weight::from_ref_time(1_424_086).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(119))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into())))
.saturating_add(RocksDbWeight::get().writes(113))
@@ -745,17 +745,17 @@ impl WeightInfo for () {
// Storage: System Account (r:1 w:1)
/// The range of component `y` is `[0, 100]`.
fn pay_one_collator_reward(y: u32, ) -> Weight {
- // Minimum execution time: 48_338 nanoseconds.
- Weight::from_ref_time(56_487_468)
- // Standard Error: 5_414
- .saturating_add(Weight::from_ref_time(12_423_768).saturating_mul(y.into()))
+ // Minimum execution time: 48_388 nanoseconds.
+ Weight::from_ref_time(58_474_815)
+ // Standard Error: 4_937
+ .saturating_add(Weight::from_ref_time(12_249_541).saturating_mul(y.into()))
.saturating_add(RocksDbWeight::get().reads(6))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into())))
.saturating_add(RocksDbWeight::get().writes(3))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(y.into())))
}
fn base_on_initialize() -> Weight {
- // Minimum execution time: 6_027 nanoseconds.
- Weight::from_ref_time(6_578_000)
+ // Minimum execution time: 6_604 nanoseconds.
+ Weight::from_ref_time(6_826_000)
}
}
diff --git a/runtime/manta/src/weights/pallet_preimage.rs b/runtime/manta/src/weights/pallet_preimage.rs
index 65e27ff37..1a9036bb5 100644
--- a/runtime/manta/src/weights/pallet_preimage.rs
+++ b/runtime/manta/src/weights/pallet_preimage.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_preimage
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_preimage
@@ -67,10 +67,10 @@ impl pallet_preimage::WeightInfo for SubstrateWeight
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight {
- // Minimum execution time: 33_610 nanoseconds.
- Weight::from_ref_time(33_942_000)
+ // Minimum execution time: 30_369 nanoseconds.
+ Weight::from_ref_time(32_476_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_824).saturating_mul(s.into()))
+ .saturating_add(Weight::from_ref_time(2_814).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -78,10 +78,10 @@ impl pallet_preimage::WeightInfo for SubstrateWeight
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight {
- // Minimum execution time: 29_813 nanoseconds.
- Weight::from_ref_time(30_241_000)
+ // Minimum execution time: 21_233 nanoseconds.
+ Weight::from_ref_time(22_522_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_818).saturating_mul(s.into()))
+ .saturating_add(Weight::from_ref_time(2_811).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -89,76 +89,76 @@ impl pallet_preimage::WeightInfo for SubstrateWeight
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight {
- // Minimum execution time: 21_012 nanoseconds.
- Weight::from_ref_time(21_396_000)
+ // Minimum execution time: 19_712 nanoseconds.
+ Weight::from_ref_time(20_061_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_815).saturating_mul(s.into()))
+ .saturating_add(Weight::from_ref_time(2_814).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_preimage() -> Weight {
- // Minimum execution time: 41_563 nanoseconds.
- Weight::from_ref_time(42_406_000)
+ // Minimum execution time: 42_055 nanoseconds.
+ Weight::from_ref_time(42_673_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_no_deposit_preimage() -> Weight {
- // Minimum execution time: 28_332 nanoseconds.
- Weight::from_ref_time(28_931_000)
+ // Minimum execution time: 28_839 nanoseconds.
+ Weight::from_ref_time(29_575_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_preimage() -> Weight {
- // Minimum execution time: 27_272 nanoseconds.
- Weight::from_ref_time(28_031_000)
+ // Minimum execution time: 28_004 nanoseconds.
+ Weight::from_ref_time(28_616_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_no_deposit_preimage() -> Weight {
- // Minimum execution time: 14_592 nanoseconds.
- Weight::from_ref_time(15_098_000)
+ // Minimum execution time: 15_122 nanoseconds.
+ Weight::from_ref_time(15_480_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_unnoted_preimage() -> Weight {
- // Minimum execution time: 19_997 nanoseconds.
- Weight::from_ref_time(20_512_000)
+ // Minimum execution time: 19_849 nanoseconds.
+ Weight::from_ref_time(20_340_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_requested_preimage() -> Weight {
- // Minimum execution time: 9_253 nanoseconds.
- Weight::from_ref_time(9_600_000)
+ // Minimum execution time: 9_216 nanoseconds.
+ Weight::from_ref_time(9_453_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unrequest_preimage() -> Weight {
- // Minimum execution time: 26_504 nanoseconds.
- Weight::from_ref_time(27_321_000)
+ // Minimum execution time: 27_656 nanoseconds.
+ Weight::from_ref_time(28_476_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_unnoted_preimage() -> Weight {
- // Minimum execution time: 9_174 nanoseconds.
- Weight::from_ref_time(9_588_000)
+ // Minimum execution time: 9_349 nanoseconds.
+ Weight::from_ref_time(9_552_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_multi_referenced_preimage() -> Weight {
- // Minimum execution time: 9_424 nanoseconds.
- Weight::from_ref_time(9_620_000)
+ // Minimum execution time: 9_201 nanoseconds.
+ Weight::from_ref_time(9_487_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -170,10 +170,10 @@ impl WeightInfo for () {
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight {
- // Minimum execution time: 33_610 nanoseconds.
- Weight::from_ref_time(33_942_000)
+ // Minimum execution time: 30_369 nanoseconds.
+ Weight::from_ref_time(32_476_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_824).saturating_mul(s.into()))
+ .saturating_add(Weight::from_ref_time(2_814).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -181,10 +181,10 @@ impl WeightInfo for () {
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight {
- // Minimum execution time: 29_813 nanoseconds.
- Weight::from_ref_time(30_241_000)
+ // Minimum execution time: 21_233 nanoseconds.
+ Weight::from_ref_time(22_522_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_818).saturating_mul(s.into()))
+ .saturating_add(Weight::from_ref_time(2_811).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -192,76 +192,76 @@ impl WeightInfo for () {
// Storage: Preimage PreimageFor (r:0 w:1)
/// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight {
- // Minimum execution time: 21_012 nanoseconds.
- Weight::from_ref_time(21_396_000)
+ // Minimum execution time: 19_712 nanoseconds.
+ Weight::from_ref_time(20_061_000)
// Standard Error: 1
- .saturating_add(Weight::from_ref_time(2_815).saturating_mul(s.into()))
+ .saturating_add(Weight::from_ref_time(2_814).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_preimage() -> Weight {
- // Minimum execution time: 41_563 nanoseconds.
- Weight::from_ref_time(42_406_000)
+ // Minimum execution time: 42_055 nanoseconds.
+ Weight::from_ref_time(42_673_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unnote_no_deposit_preimage() -> Weight {
- // Minimum execution time: 28_332 nanoseconds.
- Weight::from_ref_time(28_931_000)
+ // Minimum execution time: 28_839 nanoseconds.
+ Weight::from_ref_time(29_575_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_preimage() -> Weight {
- // Minimum execution time: 27_272 nanoseconds.
- Weight::from_ref_time(28_031_000)
+ // Minimum execution time: 28_004 nanoseconds.
+ Weight::from_ref_time(28_616_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_no_deposit_preimage() -> Weight {
- // Minimum execution time: 14_592 nanoseconds.
- Weight::from_ref_time(15_098_000)
+ // Minimum execution time: 15_122 nanoseconds.
+ Weight::from_ref_time(15_480_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_unnoted_preimage() -> Weight {
- // Minimum execution time: 19_997 nanoseconds.
- Weight::from_ref_time(20_512_000)
+ // Minimum execution time: 19_849 nanoseconds.
+ Weight::from_ref_time(20_340_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn request_requested_preimage() -> Weight {
- // Minimum execution time: 9_253 nanoseconds.
- Weight::from_ref_time(9_600_000)
+ // Minimum execution time: 9_216 nanoseconds.
+ Weight::from_ref_time(9_453_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
// Storage: Preimage PreimageFor (r:0 w:1)
fn unrequest_preimage() -> Weight {
- // Minimum execution time: 26_504 nanoseconds.
- Weight::from_ref_time(27_321_000)
+ // Minimum execution time: 27_656 nanoseconds.
+ Weight::from_ref_time(28_476_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_unnoted_preimage() -> Weight {
- // Minimum execution time: 9_174 nanoseconds.
- Weight::from_ref_time(9_588_000)
+ // Minimum execution time: 9_349 nanoseconds.
+ Weight::from_ref_time(9_552_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Preimage StatusFor (r:1 w:1)
fn unrequest_multi_referenced_preimage() -> Weight {
- // Minimum execution time: 9_424 nanoseconds.
- Weight::from_ref_time(9_620_000)
+ // Minimum execution time: 9_201 nanoseconds.
+ Weight::from_ref_time(9_487_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
diff --git a/runtime/manta/src/weights/pallet_scheduler.rs b/runtime/manta/src/weights/pallet_scheduler.rs
index 708c08867..2d34f3588 100644
--- a/runtime/manta/src/weights/pallet_scheduler.rs
+++ b/runtime/manta/src/weights/pallet_scheduler.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_scheduler
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_scheduler
@@ -65,61 +65,61 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_scheduler::WeightInfo for SubstrateWeight {
// Storage: Scheduler IncompleteSince (r:1 w:1)
fn service_agendas_base() -> Weight {
- // Minimum execution time: 4_573 nanoseconds.
- Weight::from_ref_time(4_711_000)
+ // Minimum execution time: 4_845 nanoseconds.
+ Weight::from_ref_time(4_939_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight {
- // Minimum execution time: 3_833 nanoseconds.
- Weight::from_ref_time(9_038_173)
- // Standard Error: 5_082
- .saturating_add(Weight::from_ref_time(751_926).saturating_mul(s.into()))
+ // Minimum execution time: 8_208 nanoseconds.
+ Weight::from_ref_time(8_529_104)
+ // Standard Error: 2_697
+ .saturating_add(Weight::from_ref_time(770_288).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_base() -> Weight {
- // Minimum execution time: 10_566 nanoseconds.
- Weight::from_ref_time(10_831_000)
+ // Minimum execution time: 10_777 nanoseconds.
+ Weight::from_ref_time(10_958_000)
}
// Storage: Preimage PreimageFor (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
/// The range of component `s` is `[128, 4194304]`.
fn service_task_fetched(s: u32, ) -> Weight {
- // Minimum execution time: 22_929 nanoseconds.
- Weight::from_ref_time(23_249_000)
- // Standard Error: 1
- .saturating_add(Weight::from_ref_time(1_758).saturating_mul(s.into()))
+ // Minimum execution time: 23_227 nanoseconds.
+ Weight::from_ref_time(23_594_000)
+ // Standard Error: 5
+ .saturating_add(Weight::from_ref_time(1_795).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:0 w:1)
fn service_task_named() -> Weight {
- // Minimum execution time: 12_007 nanoseconds.
- Weight::from_ref_time(12_308_000)
+ // Minimum execution time: 24_717 nanoseconds.
+ Weight::from_ref_time(37_757_000)
.saturating_add(T::DbWeight::get().writes(1))
}
fn service_task_periodic() -> Weight {
- // Minimum execution time: 9_762 nanoseconds.
- Weight::from_ref_time(10_780_000)
+ // Minimum execution time: 14_797 nanoseconds.
+ Weight::from_ref_time(15_222_000)
}
fn execute_dispatch_signed() -> Weight {
- // Minimum execution time: 4_653 nanoseconds.
- Weight::from_ref_time(4_762_000)
+ // Minimum execution time: 6_692 nanoseconds.
+ Weight::from_ref_time(6_886_000)
}
fn execute_dispatch_unsigned() -> Weight {
- // Minimum execution time: 4_556 nanoseconds.
- Weight::from_ref_time(4_716_000)
+ // Minimum execution time: 4_840 nanoseconds.
+ Weight::from_ref_time(4_946_000)
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight {
- // Minimum execution time: 16_953 nanoseconds.
- Weight::from_ref_time(22_575_803)
- // Standard Error: 3_168
- .saturating_add(Weight::from_ref_time(838_864).saturating_mul(s.into()))
+ // Minimum execution time: 18_608 nanoseconds.
+ Weight::from_ref_time(23_175_287)
+ // Standard Error: 3_173
+ .saturating_add(Weight::from_ref_time(846_144).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -127,10 +127,10 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 21_809 nanoseconds.
- Weight::from_ref_time(24_077_010)
- // Standard Error: 3_740
- .saturating_add(Weight::from_ref_time(1_409_208).saturating_mul(s.into()))
+ // Minimum execution time: 23_332 nanoseconds.
+ Weight::from_ref_time(24_383_594)
+ // Standard Error: 4_101
+ .saturating_add(Weight::from_ref_time(1_412_848).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -138,10 +138,10 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 21_469 nanoseconds.
- Weight::from_ref_time(26_566_544)
- // Standard Error: 3_911
- .saturating_add(Weight::from_ref_time(869_009).saturating_mul(s.into()))
+ // Minimum execution time: 21_762 nanoseconds.
+ Weight::from_ref_time(26_872_288)
+ // Standard Error: 3_676
+ .saturating_add(Weight::from_ref_time(883_404).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -149,10 +149,10 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 23_280 nanoseconds.
- Weight::from_ref_time(25_957_266)
- // Standard Error: 4_200
- .saturating_add(Weight::from_ref_time(1_438_713).saturating_mul(s.into()))
+ // Minimum execution time: 23_694 nanoseconds.
+ Weight::from_ref_time(26_729_328)
+ // Standard Error: 3_595
+ .saturating_add(Weight::from_ref_time(1_422_442).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -162,61 +162,61 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 4_573 nanoseconds.
- Weight::from_ref_time(4_711_000)
+ // Minimum execution time: 4_845 nanoseconds.
+ Weight::from_ref_time(4_939_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight {
- // Minimum execution time: 3_833 nanoseconds.
- Weight::from_ref_time(9_038_173)
- // Standard Error: 5_082
- .saturating_add(Weight::from_ref_time(751_926).saturating_mul(s.into()))
+ // Minimum execution time: 8_208 nanoseconds.
+ Weight::from_ref_time(8_529_104)
+ // Standard Error: 2_697
+ .saturating_add(Weight::from_ref_time(770_288).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
fn service_task_base() -> Weight {
- // Minimum execution time: 10_566 nanoseconds.
- Weight::from_ref_time(10_831_000)
+ // Minimum execution time: 10_777 nanoseconds.
+ Weight::from_ref_time(10_958_000)
}
// Storage: Preimage PreimageFor (r:1 w:1)
// Storage: Preimage StatusFor (r:1 w:1)
/// The range of component `s` is `[128, 4194304]`.
fn service_task_fetched(s: u32, ) -> Weight {
- // Minimum execution time: 22_929 nanoseconds.
- Weight::from_ref_time(23_249_000)
- // Standard Error: 1
- .saturating_add(Weight::from_ref_time(1_758).saturating_mul(s.into()))
+ // Minimum execution time: 23_227 nanoseconds.
+ Weight::from_ref_time(23_594_000)
+ // Standard Error: 5
+ .saturating_add(Weight::from_ref_time(1_795).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Scheduler Lookup (r:0 w:1)
fn service_task_named() -> Weight {
- // Minimum execution time: 12_007 nanoseconds.
- Weight::from_ref_time(12_308_000)
+ // Minimum execution time: 24_717 nanoseconds.
+ Weight::from_ref_time(37_757_000)
.saturating_add(RocksDbWeight::get().writes(1))
}
fn service_task_periodic() -> Weight {
- // Minimum execution time: 9_762 nanoseconds.
- Weight::from_ref_time(10_780_000)
+ // Minimum execution time: 14_797 nanoseconds.
+ Weight::from_ref_time(15_222_000)
}
fn execute_dispatch_signed() -> Weight {
- // Minimum execution time: 4_653 nanoseconds.
- Weight::from_ref_time(4_762_000)
+ // Minimum execution time: 6_692 nanoseconds.
+ Weight::from_ref_time(6_886_000)
}
fn execute_dispatch_unsigned() -> Weight {
- // Minimum execution time: 4_556 nanoseconds.
- Weight::from_ref_time(4_716_000)
+ // Minimum execution time: 4_840 nanoseconds.
+ Weight::from_ref_time(4_946_000)
}
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight {
- // Minimum execution time: 16_953 nanoseconds.
- Weight::from_ref_time(22_575_803)
- // Standard Error: 3_168
- .saturating_add(Weight::from_ref_time(838_864).saturating_mul(s.into()))
+ // Minimum execution time: 18_608 nanoseconds.
+ Weight::from_ref_time(23_175_287)
+ // Standard Error: 3_173
+ .saturating_add(Weight::from_ref_time(846_144).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -224,10 +224,10 @@ impl WeightInfo for () {
// Storage: Scheduler Lookup (r:0 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel(s: u32, ) -> Weight {
- // Minimum execution time: 21_809 nanoseconds.
- Weight::from_ref_time(24_077_010)
- // Standard Error: 3_740
- .saturating_add(Weight::from_ref_time(1_409_208).saturating_mul(s.into()))
+ // Minimum execution time: 23_332 nanoseconds.
+ Weight::from_ref_time(24_383_594)
+ // Standard Error: 4_101
+ .saturating_add(Weight::from_ref_time(1_412_848).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -235,10 +235,10 @@ impl WeightInfo for () {
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[0, 49]`.
fn schedule_named(s: u32, ) -> Weight {
- // Minimum execution time: 21_469 nanoseconds.
- Weight::from_ref_time(26_566_544)
- // Standard Error: 3_911
- .saturating_add(Weight::from_ref_time(869_009).saturating_mul(s.into()))
+ // Minimum execution time: 21_762 nanoseconds.
+ Weight::from_ref_time(26_872_288)
+ // Standard Error: 3_676
+ .saturating_add(Weight::from_ref_time(883_404).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -246,10 +246,10 @@ impl WeightInfo for () {
// Storage: Scheduler Agenda (r:1 w:1)
/// The range of component `s` is `[1, 50]`.
fn cancel_named(s: u32, ) -> Weight {
- // Minimum execution time: 23_280 nanoseconds.
- Weight::from_ref_time(25_957_266)
- // Standard Error: 4_200
- .saturating_add(Weight::from_ref_time(1_438_713).saturating_mul(s.into()))
+ // Minimum execution time: 23_694 nanoseconds.
+ Weight::from_ref_time(26_729_328)
+ // Standard Error: 3_595
+ .saturating_add(Weight::from_ref_time(1_422_442).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
diff --git a/runtime/manta/src/weights/pallet_session.rs b/runtime/manta/src/weights/pallet_session.rs
index 00dea1271..0d03a836d 100644
--- a/runtime/manta/src/weights/pallet_session.rs
+++ b/runtime/manta/src/weights/pallet_session.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_session
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_session
@@ -54,39 +54,39 @@ pub trait WeightInfo {
pub struct SubstrateWeight(PhantomData);
impl pallet_session::WeightInfo for SubstrateWeight {
// Storage: Session NextKeys (r:1 w:1)
- // Storage: Session KeyOwner (r:3 w:3)
+ // Storage: Session KeyOwner (r:2 w:2)
fn set_keys() -> Weight {
- // Minimum execution time: 30_030 nanoseconds.
- Weight::from_ref_time(31_087_000)
- .saturating_add(T::DbWeight::get().reads(4))
- .saturating_add(T::DbWeight::get().writes(4))
+ // Minimum execution time: 26_476 nanoseconds.
+ Weight::from_ref_time(27_358_000)
+ .saturating_add(T::DbWeight::get().reads(3))
+ .saturating_add(T::DbWeight::get().writes(3))
}
// Storage: Session NextKeys (r:1 w:1)
- // Storage: Session KeyOwner (r:0 w:3)
+ // Storage: Session KeyOwner (r:0 w:2)
fn purge_keys() -> Weight {
- // Minimum execution time: 21_501 nanoseconds.
- Weight::from_ref_time(23_162_000)
+ // Minimum execution time: 20_959 nanoseconds.
+ Weight::from_ref_time(21_422_000)
.saturating_add(T::DbWeight::get().reads(1))
- .saturating_add(T::DbWeight::get().writes(4))
+ .saturating_add(T::DbWeight::get().writes(3))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
// Storage: Session NextKeys (r:1 w:1)
- // Storage: Session KeyOwner (r:3 w:3)
+ // Storage: Session KeyOwner (r:2 w:2)
fn set_keys() -> Weight {
- // Minimum execution time: 30_030 nanoseconds.
- Weight::from_ref_time(31_087_000)
- .saturating_add(RocksDbWeight::get().reads(4))
- .saturating_add(RocksDbWeight::get().writes(4))
+ // Minimum execution time: 26_476 nanoseconds.
+ Weight::from_ref_time(27_358_000)
+ .saturating_add(RocksDbWeight::get().reads(3))
+ .saturating_add(RocksDbWeight::get().writes(3))
}
// Storage: Session NextKeys (r:1 w:1)
- // Storage: Session KeyOwner (r:0 w:3)
+ // Storage: Session KeyOwner (r:0 w:2)
fn purge_keys() -> Weight {
- // Minimum execution time: 21_501 nanoseconds.
- Weight::from_ref_time(23_162_000)
+ // Minimum execution time: 20_959 nanoseconds.
+ Weight::from_ref_time(21_422_000)
.saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(4))
+ .saturating_add(RocksDbWeight::get().writes(3))
}
}
diff --git a/runtime/manta/src/weights/pallet_timestamp.rs b/runtime/manta/src/weights/pallet_timestamp.rs
index 723c75706..238e13334 100644
--- a/runtime/manta/src/weights/pallet_timestamp.rs
+++ b/runtime/manta/src/weights/pallet_timestamp.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_timestamp
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_timestamp
@@ -55,14 +55,14 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_timestamp::WeightInfo for SubstrateWeight {
// Storage: Timestamp Now (r:1 w:1)
fn set() -> Weight {
- // Minimum execution time: 8_156 nanoseconds.
- Weight::from_ref_time(8_288_000)
+ // Minimum execution time: 8_271 nanoseconds.
+ Weight::from_ref_time(8_553_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
- // Minimum execution time: 4_708 nanoseconds.
- Weight::from_ref_time(4_847_000)
+ // Minimum execution time: 13_511 nanoseconds.
+ Weight::from_ref_time(13_859_000)
}
}
@@ -70,13 +70,13 @@ impl pallet_timestamp::WeightInfo for SubstrateWeight Weight {
- // Minimum execution time: 8_156 nanoseconds.
- Weight::from_ref_time(8_288_000)
+ // Minimum execution time: 8_271 nanoseconds.
+ Weight::from_ref_time(8_553_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
fn on_finalize() -> Weight {
- // Minimum execution time: 4_708 nanoseconds.
- Weight::from_ref_time(4_847_000)
+ // Minimum execution time: 13_511 nanoseconds.
+ Weight::from_ref_time(13_859_000)
}
}
diff --git a/runtime/manta/src/weights/pallet_treasury.rs b/runtime/manta/src/weights/pallet_treasury.rs
index e63ac2754..4f93ee4f3 100644
--- a/runtime/manta/src/weights/pallet_treasury.rs
+++ b/runtime/manta/src/weights/pallet_treasury.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_treasury
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_treasury
@@ -58,22 +58,22 @@ pub trait WeightInfo {
pub struct SubstrateWeight(PhantomData);
impl pallet_treasury::WeightInfo for SubstrateWeight {
fn spend() -> Weight {
- // Minimum execution time: 186 nanoseconds.
- Weight::from_ref_time(217_000)
+ // Minimum execution time: 176 nanoseconds.
+ Weight::from_ref_time(192_000)
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn propose_spend() -> Weight {
- // Minimum execution time: 42_007 nanoseconds.
- Weight::from_ref_time(42_869_000)
+ // Minimum execution time: 31_419 nanoseconds.
+ Weight::from_ref_time(32_099_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_proposal() -> Weight {
- // Minimum execution time: 53_135 nanoseconds.
- Weight::from_ref_time(55_100_000)
+ // Minimum execution time: 48_307 nanoseconds.
+ Weight::from_ref_time(49_758_000)
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -81,17 +81,17 @@ impl pallet_treasury::WeightInfo for SubstrateWeight
// Storage: Treasury Approvals (r:1 w:1)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
- // Minimum execution time: 11_799 nanoseconds.
- Weight::from_ref_time(15_755_562)
- // Standard Error: 1_016
- .saturating_add(Weight::from_ref_time(87_281).saturating_mul(p.into()))
+ // Minimum execution time: 11_519 nanoseconds.
+ Weight::from_ref_time(15_780_104)
+ // Standard Error: 1_068
+ .saturating_add(Weight::from_ref_time(91_968).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: Treasury Approvals (r:1 w:1)
fn remove_approval() -> Weight {
- // Minimum execution time: 10_135 nanoseconds.
- Weight::from_ref_time(10_475_000)
+ // Minimum execution time: 10_157 nanoseconds.
+ Weight::from_ref_time(10_325_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -102,10 +102,10 @@ impl pallet_treasury::WeightInfo for SubstrateWeight
// Storage: System Account (r:4 w:4)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
- // Minimum execution time: 36_229 nanoseconds.
- Weight::from_ref_time(51_294_846)
- // Standard Error: 11_212
- .saturating_add(Weight::from_ref_time(30_414_396).saturating_mul(p.into()))
+ // Minimum execution time: 37_672 nanoseconds.
+ Weight::from_ref_time(46_897_318)
+ // Standard Error: 12_962
+ .saturating_add(Weight::from_ref_time(29_860_588).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(3))
@@ -116,22 +116,22 @@ impl pallet_treasury::WeightInfo for SubstrateWeight
// For backwards compatibility and tests
impl WeightInfo for () {
fn spend() -> Weight {
- // Minimum execution time: 186 nanoseconds.
- Weight::from_ref_time(217_000)
+ // Minimum execution time: 176 nanoseconds.
+ Weight::from_ref_time(192_000)
}
// Storage: Treasury ProposalCount (r:1 w:1)
// Storage: Treasury Proposals (r:0 w:1)
fn propose_spend() -> Weight {
- // Minimum execution time: 42_007 nanoseconds.
- Weight::from_ref_time(42_869_000)
+ // Minimum execution time: 31_419 nanoseconds.
+ Weight::from_ref_time(32_099_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(2))
}
// Storage: Treasury Proposals (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn reject_proposal() -> Weight {
- // Minimum execution time: 53_135 nanoseconds.
- Weight::from_ref_time(55_100_000)
+ // Minimum execution time: 48_307 nanoseconds.
+ Weight::from_ref_time(49_758_000)
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(2))
}
@@ -139,17 +139,17 @@ impl WeightInfo for () {
// Storage: Treasury Approvals (r:1 w:1)
/// The range of component `p` is `[0, 99]`.
fn approve_proposal(p: u32, ) -> Weight {
- // Minimum execution time: 11_799 nanoseconds.
- Weight::from_ref_time(15_755_562)
- // Standard Error: 1_016
- .saturating_add(Weight::from_ref_time(87_281).saturating_mul(p.into()))
+ // Minimum execution time: 11_519 nanoseconds.
+ Weight::from_ref_time(15_780_104)
+ // Standard Error: 1_068
+ .saturating_add(Weight::from_ref_time(91_968).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(2))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: Treasury Approvals (r:1 w:1)
fn remove_approval() -> Weight {
- // Minimum execution time: 10_135 nanoseconds.
- Weight::from_ref_time(10_475_000)
+ // Minimum execution time: 10_157 nanoseconds.
+ Weight::from_ref_time(10_325_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -160,10 +160,10 @@ impl WeightInfo for () {
// Storage: System Account (r:4 w:4)
/// The range of component `p` is `[0, 100]`.
fn on_initialize_proposals(p: u32, ) -> Weight {
- // Minimum execution time: 36_229 nanoseconds.
- Weight::from_ref_time(51_294_846)
- // Standard Error: 11_212
- .saturating_add(Weight::from_ref_time(30_414_396).saturating_mul(p.into()))
+ // Minimum execution time: 37_672 nanoseconds.
+ Weight::from_ref_time(46_897_318)
+ // Standard Error: 12_962
+ .saturating_add(Weight::from_ref_time(29_860_588).saturating_mul(p.into()))
.saturating_add(RocksDbWeight::get().reads(3))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(RocksDbWeight::get().writes(3))
diff --git a/runtime/manta/src/weights/pallet_tx_pause.rs b/runtime/manta/src/weights/pallet_tx_pause.rs
index 70e57dec1..b4bef24bf 100644
--- a/runtime/manta/src/weights/pallet_tx_pause.rs
+++ b/runtime/manta/src/weights/pallet_tx_pause.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_tx_pause
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_tx_pause
@@ -55,15 +55,15 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_tx_pause::WeightInfo for SubstrateWeight {
// Storage: TransactionPause PausedTransactions (r:1 w:1)
fn pause_transaction() -> Weight {
- // Minimum execution time: 18_717 nanoseconds.
- Weight::from_ref_time(19_233_000)
+ // Minimum execution time: 19_079 nanoseconds.
+ Weight::from_ref_time(19_590_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: TransactionPause PausedTransactions (r:1 w:1)
fn unpause_transaction() -> Weight {
- // Minimum execution time: 19_758 nanoseconds.
- Weight::from_ref_time(20_694_000)
+ // Minimum execution time: 20_401 nanoseconds.
+ Weight::from_ref_time(20_901_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -73,15 +73,15 @@ impl pallet_tx_pause::WeightInfo for SubstrateWeight
impl WeightInfo for () {
// Storage: TransactionPause PausedTransactions (r:1 w:1)
fn pause_transaction() -> Weight {
- // Minimum execution time: 18_717 nanoseconds.
- Weight::from_ref_time(19_233_000)
+ // Minimum execution time: 19_079 nanoseconds.
+ Weight::from_ref_time(19_590_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
// Storage: TransactionPause PausedTransactions (r:1 w:1)
fn unpause_transaction() -> Weight {
- // Minimum execution time: 19_758 nanoseconds.
- Weight::from_ref_time(20_694_000)
+ // Minimum execution time: 20_401 nanoseconds.
+ Weight::from_ref_time(20_901_000)
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
diff --git a/runtime/manta/src/weights/pallet_utility.rs b/runtime/manta/src/weights/pallet_utility.rs
index 9489fdef3..19120f887 100644
--- a/runtime/manta/src/weights/pallet_utility.rs
+++ b/runtime/manta/src/weights/pallet_utility.rs
@@ -17,14 +17,14 @@
//! Autogenerated weights for pallet_utility
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_utility
@@ -58,32 +58,32 @@ pub struct SubstrateWeight(PhantomData);
impl pallet_utility::WeightInfo for SubstrateWeight {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
- // Minimum execution time: 12_570 nanoseconds.
- Weight::from_ref_time(34_554_682)
- // Standard Error: 2_996
- .saturating_add(Weight::from_ref_time(5_034_120).saturating_mul(c.into()))
+ // Minimum execution time: 12_676 nanoseconds.
+ Weight::from_ref_time(41_270_866)
+ // Standard Error: 2_889
+ .saturating_add(Weight::from_ref_time(5_067_788).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
- // Minimum execution time: 6_979 nanoseconds.
- Weight::from_ref_time(7_158_000)
+ // Minimum execution time: 7_350 nanoseconds.
+ Weight::from_ref_time(7_516_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
- // Minimum execution time: 12_516 nanoseconds.
- Weight::from_ref_time(36_825_342)
- // Standard Error: 2_697
- .saturating_add(Weight::from_ref_time(5_269_403).saturating_mul(c.into()))
+ // Minimum execution time: 12_378 nanoseconds.
+ Weight::from_ref_time(35_524_315)
+ // Standard Error: 3_108
+ .saturating_add(Weight::from_ref_time(5_357_815).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
- // Minimum execution time: 14_263 nanoseconds.
- Weight::from_ref_time(15_795_000)
+ // Minimum execution time: 15_730 nanoseconds.
+ Weight::from_ref_time(16_116_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
- // Minimum execution time: 12_732 nanoseconds.
- Weight::from_ref_time(29_579_515)
- // Standard Error: 2_992
- .saturating_add(Weight::from_ref_time(5_039_890).saturating_mul(c.into()))
+ // Minimum execution time: 12_810 nanoseconds.
+ Weight::from_ref_time(33_361_568)
+ // Standard Error: 3_009
+ .saturating_add(Weight::from_ref_time(5_061_791).saturating_mul(c.into()))
}
}
@@ -91,31 +91,31 @@ impl pallet_utility::WeightInfo for SubstrateWeight
impl WeightInfo for () {
/// The range of component `c` is `[0, 1000]`.
fn batch(c: u32, ) -> Weight {
- // Minimum execution time: 12_570 nanoseconds.
- Weight::from_ref_time(34_554_682)
- // Standard Error: 2_996
- .saturating_add(Weight::from_ref_time(5_034_120).saturating_mul(c.into()))
+ // Minimum execution time: 12_676 nanoseconds.
+ Weight::from_ref_time(41_270_866)
+ // Standard Error: 2_889
+ .saturating_add(Weight::from_ref_time(5_067_788).saturating_mul(c.into()))
}
fn as_derivative() -> Weight {
- // Minimum execution time: 6_979 nanoseconds.
- Weight::from_ref_time(7_158_000)
+ // Minimum execution time: 7_350 nanoseconds.
+ Weight::from_ref_time(7_516_000)
}
/// The range of component `c` is `[0, 1000]`.
fn batch_all(c: u32, ) -> Weight {
- // Minimum execution time: 12_516 nanoseconds.
- Weight::from_ref_time(36_825_342)
- // Standard Error: 2_697
- .saturating_add(Weight::from_ref_time(5_269_403).saturating_mul(c.into()))
+ // Minimum execution time: 12_378 nanoseconds.
+ Weight::from_ref_time(35_524_315)
+ // Standard Error: 3_108
+ .saturating_add(Weight::from_ref_time(5_357_815).saturating_mul(c.into()))
}
fn dispatch_as() -> Weight {
- // Minimum execution time: 14_263 nanoseconds.
- Weight::from_ref_time(15_795_000)
+ // Minimum execution time: 15_730 nanoseconds.
+ Weight::from_ref_time(16_116_000)
}
/// The range of component `c` is `[0, 1000]`.
fn force_batch(c: u32, ) -> Weight {
- // Minimum execution time: 12_732 nanoseconds.
- Weight::from_ref_time(29_579_515)
- // Standard Error: 2_992
- .saturating_add(Weight::from_ref_time(5_039_890).saturating_mul(c.into()))
+ // Minimum execution time: 12_810 nanoseconds.
+ Weight::from_ref_time(33_361_568)
+ // Standard Error: 3_009
+ .saturating_add(Weight::from_ref_time(5_061_791).saturating_mul(c.into()))
}
}
diff --git a/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
index 82e3b01d1..44cfc2dd1 100644
--- a/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
+++ b/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
@@ -17,15 +17,15 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::fungible`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! HOSTNAME: `ip-172-31-92-160`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! HOSTNAME: `ip-172-31-18-143`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_xcm_benchmarks::fungible
@@ -50,7 +50,7 @@ impl WeightInfo {
// Storage: AssetManager LocationAssetId (r:1 w:0)
// Storage: System Account (r:1 w:1)
pub(crate) fn withdraw_asset() -> Weight {
- Weight::from_ref_time(46_658_000)
+ Weight::from_ref_time(46_290_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -58,7 +58,7 @@ impl WeightInfo {
// Storage: AssetManager LocationAssetId (r:1 w:0)
// Storage: System Account (r:2 w:2)
pub(crate) fn transfer_asset() -> Weight {
- Weight::from_ref_time(59_664_000)
+ Weight::from_ref_time(76_176_000)
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -71,18 +71,18 @@ impl WeightInfo {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn transfer_reserve_asset() -> Weight {
- Weight::from_ref_time(76_442_000)
+ Weight::from_ref_time(75_822_000)
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(4))
}
pub(crate) fn reserve_asset_deposited() -> Weight {
- Weight::from_ref_time(2_220_000)
+ Weight::from_ref_time(2_206_000)
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
// Storage: AssetManager LocationAssetId (r:1 w:0)
// Storage: System Account (r:1 w:1)
pub(crate) fn deposit_asset() -> Weight {
- Weight::from_ref_time(46_325_000)
+ Weight::from_ref_time(44_666_000)
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -95,7 +95,7 @@ impl WeightInfo {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn deposit_reserve_asset() -> Weight {
- Weight::from_ref_time(68_156_000)
+ Weight::from_ref_time(64_881_000)
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -106,7 +106,7 @@ impl WeightInfo {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn initiate_teleport() -> Weight {
- Weight::from_ref_time(30_352_000)
+ Weight::from_ref_time(28_929_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
}
diff --git a/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
index 141ba410a..2dd70f49b 100644
--- a/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
+++ b/runtime/manta/src/weights/xcm/pallet_xcm_benchmarks_generic.rs
@@ -17,15 +17,15 @@
//! Autogenerated weights for `pallet_xcm_benchmarks::generic`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! HOSTNAME: `ip-172-31-92-160`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
+//! DATE: 2023-06-05, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! HOSTNAME: `ip-172-31-18-143`, CPU: `Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz`
+//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("manta-dev"), DB CACHE: 1024
// Executed Command:
// ./target/production/manta
// benchmark
// pallet
-// --chain=calamari-dev
+// --chain=manta-dev
// --steps=50
// --repeat=40
// --pallet=pallet_xcm_benchmarks::generic
@@ -53,38 +53,38 @@ impl WeightInfo {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn query_holding() -> Weight {
- Weight::from_ref_time(1_120_464_000)
+ Weight::from_ref_time(1_094_941_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
}
pub(crate) fn buy_execution() -> Weight {
- Weight::from_ref_time(4_574_000)
+ Weight::from_ref_time(4_585_000)
}
// Storage: PolkadotXcm Queries (r:1 w:0)
pub(crate) fn query_response() -> Weight {
- Weight::from_ref_time(14_611_000)
+ Weight::from_ref_time(14_392_000)
.saturating_add(T::DbWeight::get().reads(1))
}
pub(crate) fn transact() -> Weight {
- Weight::from_ref_time(17_302_000)
+ Weight::from_ref_time(17_418_000)
}
pub(crate) fn refund_surplus() -> Weight {
- Weight::from_ref_time(4_570_000)
+ Weight::from_ref_time(4_630_000)
}
pub(crate) fn set_error_handler() -> Weight {
- Weight::from_ref_time(1_082_000)
+ Weight::from_ref_time(1_147_000)
}
pub(crate) fn set_appendix() -> Weight {
- Weight::from_ref_time(3_287_000)
+ Weight::from_ref_time(3_333_000)
}
pub(crate) fn clear_error() -> Weight {
- Weight::from_ref_time(3_097_000)
+ Weight::from_ref_time(3_311_000)
}
pub(crate) fn descend_origin() -> Weight {
- Weight::from_ref_time(8_492_000)
+ Weight::from_ref_time(5_716_000)
}
pub(crate) fn clear_origin() -> Weight {
- Weight::from_ref_time(3_121_000)
+ Weight::from_ref_time(2_072_000)
}
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
@@ -92,18 +92,18 @@ impl WeightInfo {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn report_error() -> Weight {
- Weight::from_ref_time(19_774_000)
+ Weight::from_ref_time(20_206_000)
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
}
// Storage: PolkadotXcm AssetTraps (r:1 w:1)
pub(crate) fn claim_asset() -> Weight {
- Weight::from_ref_time(20_233_000)
+ Weight::from_ref_time(20_013_000)
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
pub(crate) fn trap() -> Weight {
- Weight::from_ref_time(1_053_000)
+ Weight::from_ref_time(1_107_000)
}
// Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1)
// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
@@ -112,13 +112,13 @@ impl WeightInfo {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn subscribe_version() -> Weight {
- Weight::from_ref_time(17_641_000)
+ Weight::from_ref_time(42_103_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
// Storage: PolkadotXcm VersionNotifyTargets (r:0 w:1)
pub(crate) fn unsubscribe_version() -> Weight {
- Weight::from_ref_time(2_702_000)
+ Weight::from_ref_time(3_274_000)
.saturating_add(T::DbWeight::get().writes(1))
}
// Storage: ParachainInfo ParachainId (r:1 w:0)
@@ -128,7 +128,7 @@ impl WeightInfo {
// Storage: ParachainSystem HostConfiguration (r:1 w:0)
// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
pub(crate) fn initiate_reserve_withdraw() -> Weight {
- Weight::from_ref_time(1_334_567_000)
+ Weight::from_ref_time(1_364_373_000)
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
}
diff --git a/runtime/manta/src/weights/zenlink_protocol.rs b/runtime/manta/src/weights/zenlink_protocol.rs
deleted file mode 100644
index c2b876de8..000000000
--- a/runtime/manta/src/weights/zenlink_protocol.rs
+++ /dev/null
@@ -1,385 +0,0 @@
-// Copyright 2020-2023 Manta Network.
-// This file is part of Manta.
-//
-// Manta is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// Manta is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Manta. If not, see .
-
-//! Autogenerated weights for zenlink_protocol
-//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-06-16, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("calamari-dev"), DB CACHE: 1024
-
-// Executed Command:
-// ./target/production/manta
-// benchmark
-// pallet
-// --chain=calamari-dev
-// --steps=50
-// --repeat=40
-// --pallet=zenlink_protocol
-// --extrinsic=*
-// --execution=wasm
-// --wasm-execution=compiled
-// --heap-pages=4096
-// --output=./scripts/benchmarking/frame-weights-output/zenlink_protocol.rs
-// --template=.github/resources/frame-weight-template.hbs
-
-#![cfg_attr(rustfmt, rustfmt_skip)]
-#![allow(unused_parens)]
-#![allow(unused_imports)]
-#![allow(clippy::unnecessary_cast)]
-
-use frame_support::{traits::Get, weights::Weight};
-use sp_std::marker::PhantomData;
-use manta_primitives::constants::RocksDbWeight;
-
-/// Weight functions needed for zenlink_protocol.
-pub trait WeightInfo {
- fn set_fee_receiver() -> Weight;
- fn set_fee_point() -> Weight;
- fn create_pair() -> Weight;
- fn bootstrap_create() -> Weight;
- fn bootstrap_contribute() -> Weight;
- fn bootstrap_claim() -> Weight;
- fn bootstrap_end() -> Weight;
- fn bootstrap_update() -> Weight;
- fn bootstrap_refund() -> Weight;
- fn add_liquidity() -> Weight;
- fn remove_liquidity() -> Weight;
- fn swap_exact_assets_for_assets() -> Weight;
- fn swap_assets_for_exact_assets() -> Weight;
-}
-
-/// Weights for zenlink_protocol using the Substrate node and recommended hardware.
-pub struct SubstrateWeight(PhantomData);
-impl zenlink_protocol::WeightInfo for SubstrateWeight {
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:1)
- fn set_fee_receiver() -> Weight {
- // Minimum execution time: 18_780 nanoseconds.
- Weight::from_ref_time(19_454_000)
- .saturating_add(T::DbWeight::get().reads(1))
- .saturating_add(T::DbWeight::get().writes(1))
- }
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:1)
- fn set_fee_point() -> Weight {
- // Minimum execution time: 12_070 nanoseconds.
- Weight::from_ref_time(12_449_000)
- .saturating_add(T::DbWeight::get().reads(1))
- .saturating_add(T::DbWeight::get().writes(1))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignList (r:1 w:0)
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol LiquidityPairs (r:0 w:1)
- fn create_pair() -> Weight {
- // Minimum execution time: 28_323 nanoseconds.
- Weight::from_ref_time(31_133_000)
- .saturating_add(T::DbWeight::get().reads(3))
- .saturating_add(T::DbWeight::get().writes(2))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapLimits (r:0 w:1)
- // Storage: ZenlinkProtocol BootstrapRewards (r:0 w:1)
- fn bootstrap_create() -> Weight {
- // Minimum execution time: 23_627 nanoseconds.
- Weight::from_ref_time(24_503_000)
- .saturating_add(T::DbWeight::get().reads(1))
- .saturating_add(T::DbWeight::get().writes(3))
- }
- // Storage: ZenlinkProtocol BootstrapLimits (r:1 w:0)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapPersonalSupply (r:1 w:1)
- fn bootstrap_contribute() -> Weight {
- // Minimum execution time: 66_108 nanoseconds.
- Weight::from_ref_time(68_303_000)
- .saturating_add(T::DbWeight::get().reads(8))
- .saturating_add(T::DbWeight::get().writes(6))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:0)
- // Storage: ZenlinkProtocol BootstrapPersonalSupply (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapEndStatus (r:1 w:0)
- // Storage: ZenlinkProtocol LiquidityPairs (r:1 w:0)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: AssetManager LocationAssetId (r:3 w:0)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:5 w:5)
- // Storage: Assets Metadata (r:4 w:4)
- // Storage: Assets Account (r:2 w:2)
- // Storage: System Account (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapRewards (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:2 w:2)
- // Storage: AssetManager AssetIdMetadata (r:0 w:4)
- fn bootstrap_claim() -> Weight {
- // Minimum execution time: 240_595 nanoseconds.
- Weight::from_ref_time(245_086_000)
- .saturating_add(T::DbWeight::get().reads(24))
- .saturating_add(T::DbWeight::get().writes(20))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: AssetManager LocationAssetId (r:3 w:3)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:5 w:5)
- // Storage: Assets Metadata (r:5 w:5)
- // Storage: Assets Account (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: AssetManager AssetIdMetadata (r:0 w:5)
- // Storage: AssetManager AssetIdLocation (r:0 w:3)
- // Storage: ZenlinkProtocol LiquidityPairs (r:0 w:1)
- // Storage: ZenlinkProtocol BootstrapEndStatus (r:0 w:1)
- fn bootstrap_end() -> Weight {
- // Minimum execution time: 207_899 nanoseconds.
- Weight::from_ref_time(221_469_000)
- .saturating_add(T::DbWeight::get().reads(22))
- .saturating_add(T::DbWeight::get().writes(31))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapRewards (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapLimits (r:0 w:1)
- fn bootstrap_update() -> Weight {
- // Minimum execution time: 30_974 nanoseconds.
- Weight::from_ref_time(31_494_000)
- .saturating_add(T::DbWeight::get().reads(2))
- .saturating_add(T::DbWeight::get().writes(3))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapPersonalSupply (r:1 w:1)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- fn bootstrap_refund() -> Weight {
- // Minimum execution time: 63_658 nanoseconds.
- Weight::from_ref_time(69_312_000)
- .saturating_add(T::DbWeight::get().reads(7))
- .saturating_add(T::DbWeight::get().writes(6))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: ZenlinkProtocol LiquidityPairs (r:1 w:0)
- // Storage: ZenlinkProtocol KLast (r:1 w:0)
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:0)
- // Storage: AssetManager LocationAssetId (r:3 w:3)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:5 w:5)
- // Storage: Assets Metadata (r:5 w:5)
- // Storage: Assets Account (r:1 w:1)
- // Storage: AssetManager AssetIdMetadata (r:0 w:5)
- // Storage: AssetManager AssetIdLocation (r:0 w:3)
- fn add_liquidity() -> Weight {
- // Minimum execution time: 215_726 nanoseconds.
- Weight::from_ref_time(217_839_000)
- .saturating_add(T::DbWeight::get().reads(24))
- .saturating_add(T::DbWeight::get().writes(28))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: ZenlinkProtocol LiquidityPairs (r:1 w:0)
- // Storage: ZenlinkProtocol KLast (r:1 w:0)
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:0)
- // Storage: AssetManager LocationAssetId (r:3 w:0)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:3 w:3)
- // Storage: Assets Metadata (r:2 w:2)
- // Storage: Assets Account (r:1 w:1)
- // Storage: AssetManager AssetIdMetadata (r:0 w:2)
- fn remove_liquidity() -> Weight {
- // Minimum execution time: 163_415 nanoseconds.
- Weight::from_ref_time(165_016_000)
- .saturating_add(T::DbWeight::get().reads(19))
- .saturating_add(T::DbWeight::get().writes(14))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:6 w:6)
- // Storage: ZenlinkProtocol PairStatuses (r:2 w:0)
- fn swap_exact_assets_for_assets() -> Weight {
- // Minimum execution time: 98_109 nanoseconds.
- Weight::from_ref_time(103_746_000)
- .saturating_add(T::DbWeight::get().reads(9))
- .saturating_add(T::DbWeight::get().writes(6))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:6 w:6)
- // Storage: ZenlinkProtocol PairStatuses (r:2 w:0)
- fn swap_assets_for_exact_assets() -> Weight {
- // Minimum execution time: 98_449 nanoseconds.
- Weight::from_ref_time(99_498_000)
- .saturating_add(T::DbWeight::get().reads(9))
- .saturating_add(T::DbWeight::get().writes(6))
- }
-}
-
-// For backwards compatibility and tests
-impl WeightInfo for () {
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:1)
- fn set_fee_receiver() -> Weight {
- // Minimum execution time: 18_780 nanoseconds.
- Weight::from_ref_time(19_454_000)
- .saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(1))
- }
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:1)
- fn set_fee_point() -> Weight {
- // Minimum execution time: 12_070 nanoseconds.
- Weight::from_ref_time(12_449_000)
- .saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(1))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignList (r:1 w:0)
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol LiquidityPairs (r:0 w:1)
- fn create_pair() -> Weight {
- // Minimum execution time: 28_323 nanoseconds.
- Weight::from_ref_time(31_133_000)
- .saturating_add(RocksDbWeight::get().reads(3))
- .saturating_add(RocksDbWeight::get().writes(2))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapLimits (r:0 w:1)
- // Storage: ZenlinkProtocol BootstrapRewards (r:0 w:1)
- fn bootstrap_create() -> Weight {
- // Minimum execution time: 23_627 nanoseconds.
- Weight::from_ref_time(24_503_000)
- .saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(3))
- }
- // Storage: ZenlinkProtocol BootstrapLimits (r:1 w:0)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapPersonalSupply (r:1 w:1)
- fn bootstrap_contribute() -> Weight {
- // Minimum execution time: 66_108 nanoseconds.
- Weight::from_ref_time(68_303_000)
- .saturating_add(RocksDbWeight::get().reads(8))
- .saturating_add(RocksDbWeight::get().writes(6))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:0)
- // Storage: ZenlinkProtocol BootstrapPersonalSupply (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapEndStatus (r:1 w:0)
- // Storage: ZenlinkProtocol LiquidityPairs (r:1 w:0)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: AssetManager LocationAssetId (r:3 w:0)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:5 w:5)
- // Storage: Assets Metadata (r:4 w:4)
- // Storage: Assets Account (r:2 w:2)
- // Storage: System Account (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapRewards (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:2 w:2)
- // Storage: AssetManager AssetIdMetadata (r:0 w:4)
- fn bootstrap_claim() -> Weight {
- // Minimum execution time: 240_595 nanoseconds.
- Weight::from_ref_time(245_086_000)
- .saturating_add(RocksDbWeight::get().reads(24))
- .saturating_add(RocksDbWeight::get().writes(20))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: AssetManager LocationAssetId (r:3 w:3)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:5 w:5)
- // Storage: Assets Metadata (r:5 w:5)
- // Storage: Assets Account (r:1 w:1)
- // Storage: System Account (r:1 w:1)
- // Storage: AssetManager AssetIdMetadata (r:0 w:5)
- // Storage: AssetManager AssetIdLocation (r:0 w:3)
- // Storage: ZenlinkProtocol LiquidityPairs (r:0 w:1)
- // Storage: ZenlinkProtocol BootstrapEndStatus (r:0 w:1)
- fn bootstrap_end() -> Weight {
- // Minimum execution time: 207_899 nanoseconds.
- Weight::from_ref_time(221_469_000)
- .saturating_add(RocksDbWeight::get().reads(22))
- .saturating_add(RocksDbWeight::get().writes(31))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapRewards (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapLimits (r:0 w:1)
- fn bootstrap_update() -> Weight {
- // Minimum execution time: 30_974 nanoseconds.
- Weight::from_ref_time(31_494_000)
- .saturating_add(RocksDbWeight::get().reads(2))
- .saturating_add(RocksDbWeight::get().writes(3))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ZenlinkProtocol BootstrapPersonalSupply (r:1 w:1)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- fn bootstrap_refund() -> Weight {
- // Minimum execution time: 63_658 nanoseconds.
- Weight::from_ref_time(69_312_000)
- .saturating_add(RocksDbWeight::get().reads(7))
- .saturating_add(RocksDbWeight::get().writes(6))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: ZenlinkProtocol LiquidityPairs (r:1 w:0)
- // Storage: ZenlinkProtocol KLast (r:1 w:0)
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:0)
- // Storage: AssetManager LocationAssetId (r:3 w:3)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:5 w:5)
- // Storage: Assets Metadata (r:5 w:5)
- // Storage: Assets Account (r:1 w:1)
- // Storage: AssetManager AssetIdMetadata (r:0 w:5)
- // Storage: AssetManager AssetIdLocation (r:0 w:3)
- fn add_liquidity() -> Weight {
- // Minimum execution time: 215_726 nanoseconds.
- Weight::from_ref_time(217_839_000)
- .saturating_add(RocksDbWeight::get().reads(24))
- .saturating_add(RocksDbWeight::get().writes(28))
- }
- // Storage: ZenlinkProtocol PairStatuses (r:1 w:1)
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:4 w:4)
- // Storage: ZenlinkProtocol LiquidityPairs (r:1 w:0)
- // Storage: ZenlinkProtocol KLast (r:1 w:0)
- // Storage: ZenlinkProtocol FeeMeta (r:1 w:0)
- // Storage: AssetManager LocationAssetId (r:3 w:0)
- // Storage: AssetManager NextAssetId (r:1 w:1)
- // Storage: Assets Asset (r:3 w:3)
- // Storage: Assets Metadata (r:2 w:2)
- // Storage: Assets Account (r:1 w:1)
- // Storage: AssetManager AssetIdMetadata (r:0 w:2)
- fn remove_liquidity() -> Weight {
- // Minimum execution time: 163_415 nanoseconds.
- Weight::from_ref_time(165_016_000)
- .saturating_add(RocksDbWeight::get().reads(19))
- .saturating_add(RocksDbWeight::get().writes(14))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:6 w:6)
- // Storage: ZenlinkProtocol PairStatuses (r:2 w:0)
- fn swap_exact_assets_for_assets() -> Weight {
- // Minimum execution time: 98_109 nanoseconds.
- Weight::from_ref_time(103_746_000)
- .saturating_add(RocksDbWeight::get().reads(9))
- .saturating_add(RocksDbWeight::get().writes(6))
- }
- // Storage: ParachainInfo ParachainId (r:1 w:0)
- // Storage: ZenlinkProtocol ForeignLedger (r:6 w:6)
- // Storage: ZenlinkProtocol PairStatuses (r:2 w:0)
- fn swap_assets_for_exact_assets() -> Weight {
- // Minimum execution time: 98_449 nanoseconds.
- Weight::from_ref_time(99_498_000)
- .saturating_add(RocksDbWeight::get().reads(9))
- .saturating_add(RocksDbWeight::get().writes(6))
- }
-}