diff --git a/.github/resources/frame-weight-template.hbs b/.github/resources/frame-weight-template.hbs index 31fd5bc2f..c746cfad8 100644 --- a/.github/resources/frame-weight-template.hbs +++ b/.github/resources/frame-weight-template.hbs @@ -27,7 +27,6 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] -#![allow(double_parens)] #![allow(unused_imports)] #![allow(missing_docs)] @@ -47,11 +46,7 @@ pub trait WeightInfo { /// Weights for {{pallet}} using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); -{{#if (eq pallet "frame_system")}} -impl {{pallet}}::WeightInfo for SubstrateWeight { -{{else}} impl {{pallet}}::WeightInfo for SubstrateWeight { -{{/if}} {{#each benchmarks as |benchmark|}} {{#each benchmark.comments as |comment|}} /// {{comment}} diff --git a/Cargo.lock b/Cargo.lock index ff2041cfa..7c6065e56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1521,7 +1521,7 @@ dependencies = [ [[package]] name = "calamari-runtime" -version = "4.6.2" +version = "4.7.0" dependencies = [ "async-backing-primitives", "calamari-vesting", @@ -1630,7 +1630,7 @@ dependencies = [ [[package]] name = "calamari-vesting" -version = "4.6.2" +version = "4.7.0" dependencies = [ "chrono", "frame-benchmarking", @@ -5030,7 +5030,7 @@ dependencies = [ [[package]] name = "integration-tests" -version = "4.6.2" +version = "4.7.0" dependencies = [ "calamari-runtime", "calamari-vesting", @@ -6111,7 +6111,7 @@ dependencies = [ [[package]] name = "manta" -version = "4.6.2" +version = "4.7.0" dependencies = [ "async-backing-primitives", "async-trait", @@ -6230,7 +6230,7 @@ dependencies = [ [[package]] name = "manta-collator-selection" -version = "4.6.2" +version = "4.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6317,7 +6317,7 @@ dependencies = [ [[package]] name = "manta-primitives" -version = "4.6.2" +version = "4.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6338,7 +6338,7 @@ dependencies = [ [[package]] name = "manta-runtime" -version = "4.6.2" +version = "4.7.0" dependencies = [ "async-backing-primitives", "csv", @@ -7426,7 +7426,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-asset-manager" -version = "4.6.2" +version = "4.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -7866,7 +7866,7 @@ dependencies = [ [[package]] name = "pallet-farming" -version = "4.6.2" +version = "4.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -7890,7 +7890,7 @@ dependencies = [ [[package]] name = "pallet-farming-rpc-api" -version = "4.6.2" +version = "4.7.0" dependencies = [ "jsonrpsee", "manta-primitives", @@ -7906,7 +7906,7 @@ dependencies = [ [[package]] name = "pallet-farming-rpc-runtime-api" -version = "4.6.2" +version = "4.7.0" dependencies = [ "manta-primitives", "parity-scale-codec", @@ -8012,7 +8012,7 @@ dependencies = [ [[package]] name = "pallet-lottery" -version = "4.6.2" +version = "4.7.0" dependencies = [ "calamari-runtime", "frame-benchmarking", @@ -8053,7 +8053,7 @@ dependencies = [ [[package]] name = "pallet-manta-pay" -version = "4.6.2" +version = "4.7.0" dependencies = [ "anyhow", "base64 0.21.5", @@ -8088,7 +8088,7 @@ dependencies = [ [[package]] name = "pallet-manta-sbt" -version = "4.6.2" +version = "4.7.0" dependencies = [ "anyhow", "base64 0.21.5", @@ -8128,7 +8128,7 @@ dependencies = [ [[package]] name = "pallet-manta-support" -version = "4.6.2" +version = "4.7.0" dependencies = [ "anyhow", "base64 0.21.5", @@ -8223,7 +8223,7 @@ dependencies = [ [[package]] name = "pallet-name-service" -version = "4.6.2" +version = "4.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8349,7 +8349,7 @@ dependencies = [ [[package]] name = "pallet-parachain-staking" -version = "4.6.2" +version = "4.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8406,7 +8406,7 @@ dependencies = [ [[package]] name = "pallet-randomness" -version = "4.6.2" +version = "4.7.0" dependencies = [ "derive_more", "frame-benchmarking", @@ -8759,7 +8759,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" -version = "4.6.2" +version = "4.7.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -11233,7 +11233,7 @@ dependencies = [ [[package]] name = "runtime-common" -version = "4.6.2" +version = "4.7.0" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -13017,7 +13017,7 @@ dependencies = [ [[package]] name = "session-key-primitives" -version = "4.6.2" +version = "4.7.0" dependencies = [ "async-trait", "manta-primitives", diff --git a/Cargo.toml b/Cargo.toml index 5400b0bac..bc50b9aa0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ homepage = 'https://manta.network' license = 'GPL-3.0' repository = 'https://github.com/Manta-Network/Manta/' rust-version = '1.74' -version = '4.6.2' +version = '4.7.0' [workspace] members = [ diff --git a/runtime/calamari/src/lib.rs b/runtime/calamari/src/lib.rs index 65ed96120..cbab2b942 100644 --- a/runtime/calamari/src/lib.rs +++ b/runtime/calamari/src/lib.rs @@ -143,10 +143,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("calamari"), impl_name: create_runtime_str!("calamari"), authoring_version: 2, - spec_version: 4620, + spec_version: 4700, impl_version: 1, apis: RUNTIME_API_VERSIONS, - transaction_version: 18, + transaction_version: 19, state_version: 0, }; diff --git a/runtime/calamari/src/weights/calamari_vesting.rs b/runtime/calamari/src/weights/calamari_vesting.rs index 044b1d0e1..375926fa3 100644 --- a/runtime/calamari/src/weights/calamari_vesting.rs +++ b/runtime/calamari/src/weights/calamari_vesting.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for calamari_vesting //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -53,58 +53,58 @@ pub trait WeightInfo { /// 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) - /// Proof Skipped: CalamariVesting VestingSchedule (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `CalamariVesting::VestingSchedule` (r:1 w:1) + /// Proof: `CalamariVesting::VestingSchedule` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn update_vesting_schedule() -> Weight { // Proof Size summary in bytes: // Measured: `118` // Estimated: `1603` - // Minimum execution time: 14_378_000 picoseconds. - Weight::from_parts(14_809_000, 1603) + // Minimum execution time: 10_498_000 picoseconds. + Weight::from_parts(10_860_000, 1603) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: CalamariVesting VestingSchedule (r:1 w:0) - /// Proof Skipped: CalamariVesting VestingSchedule (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CalamariVesting VestingBalances (r:1 w:1) - /// Proof Skipped: CalamariVesting VestingBalances (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `CalamariVesting::VestingSchedule` (r:1 w:0) + /// Proof: `CalamariVesting::VestingSchedule` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CalamariVesting::VestingBalances` (r:1 w:1) + /// Proof: `CalamariVesting::VestingBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn vest() -> Weight { // Proof Size summary in bytes: // Measured: `462` // Estimated: `4764` - // Minimum execution time: 46_572_000 picoseconds. - Weight::from_parts(47_606_000, 4764) + // Minimum execution time: 38_271_000 picoseconds. + Weight::from_parts(39_097_000, 4764) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: CalamariVesting VestingBalances (r:1 w:1) - /// Proof Skipped: CalamariVesting VestingBalances (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: CalamariVesting VestingSchedule (r:1 w:0) - /// Proof Skipped: CalamariVesting VestingSchedule (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `CalamariVesting::VestingBalances` (r:1 w:1) + /// Proof: `CalamariVesting::VestingBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `CalamariVesting::VestingSchedule` (r:1 w:0) + /// Proof: `CalamariVesting::VestingSchedule` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vested_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `232` // Estimated: `4764` - // Minimum execution time: 84_231_000 picoseconds. - Weight::from_parts(85_418_000, 4764) + // Minimum execution time: 71_124_000 picoseconds. + Weight::from_parts(72_435_000, 4764) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -112,59 +112,59 @@ impl calamari_vesting::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `118` // Estimated: `1603` - // Minimum execution time: 14_378_000 picoseconds. - Weight::from_parts(14_809_000, 1603) + // Minimum execution time: 10_498_000 picoseconds. + Weight::from_parts(10_860_000, 1603) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: CalamariVesting VestingSchedule (r:1 w:0) - /// Proof Skipped: CalamariVesting VestingSchedule (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CalamariVesting VestingBalances (r:1 w:1) - /// Proof Skipped: CalamariVesting VestingBalances (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `CalamariVesting::VestingSchedule` (r:1 w:0) + /// Proof: `CalamariVesting::VestingSchedule` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CalamariVesting::VestingBalances` (r:1 w:1) + /// Proof: `CalamariVesting::VestingBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn vest() -> Weight { // Proof Size summary in bytes: // Measured: `462` // Estimated: `4764` - // Minimum execution time: 46_572_000 picoseconds. - Weight::from_parts(47_606_000, 4764) + // Minimum execution time: 38_271_000 picoseconds. + Weight::from_parts(39_097_000, 4764) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: CalamariVesting VestingBalances (r:1 w:1) - /// Proof Skipped: CalamariVesting VestingBalances (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: CalamariVesting VestingSchedule (r:1 w:0) - /// Proof Skipped: CalamariVesting VestingSchedule (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `CalamariVesting::VestingBalances` (r:1 w:1) + /// Proof: `CalamariVesting::VestingBalances` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `CalamariVesting::VestingSchedule` (r:1 w:0) + /// Proof: `CalamariVesting::VestingSchedule` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vested_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `232` // Estimated: `4764` - // Minimum execution time: 84_231_000 picoseconds. - Weight::from_parts(85_418_000, 4764) + // Minimum execution time: 71_124_000 picoseconds. + Weight::from_parts(72_435_000, 4764) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs index 8631e5c40..dcf850764 100644 --- a/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/calamari/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,162 +57,198 @@ pub trait WeightInfo { /// Weights for cumulus_pallet_xcmp_queue using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for SubstrateWeight { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) + // Minimum execution time: 4_348_000 picoseconds. + Weight::from_parts(4_562_000, 1594) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `115` + // Estimated: `3517` + // Minimum execution time: 11_434_000 picoseconds. + Weight::from_parts(11_755_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) + // Minimum execution time: 2_580_000 picoseconds. + Weight::from_parts(2_693_000, 1594) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) + // Measured: `144` + // Estimated: `1629` + // Minimum execution time: 3_468_000 picoseconds. + Weight::from_parts(3_559_000, 1629) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 64_528_000 picoseconds. + Weight::from_parts(64_775_000, 0) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `65744` + // Estimated: `69209` + // Minimum execution time: 146_230_000 picoseconds. + Weight::from_parts(149_680_000, 69209) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 67_482_000 picoseconds. + Weight::from_parts(68_529_000, 69208) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) + // Minimum execution time: 4_348_000 picoseconds. + Weight::from_parts(4_562_000, 1594) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `115` + // Estimated: `3517` + // Minimum execution time: 11_434_000 picoseconds. + Weight::from_parts(11_755_000, 3517) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) + // Minimum execution time: 2_580_000 picoseconds. + Weight::from_parts(2_693_000, 1594) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) + // Measured: `144` + // Estimated: `1629` + // Minimum execution time: 3_468_000 picoseconds. + Weight::from_parts(3_559_000, 1629) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 64_528_000 picoseconds. + Weight::from_parts(64_775_000, 0) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `65744` + // Estimated: `69209` + // Minimum execution time: 146_230_000 picoseconds. + Weight::from_parts(149_680_000, 69209) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 5_584_000 picoseconds. - Weight::from_parts(5_779_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 67_482_000 picoseconds. + Weight::from_parts(68_529_000, 69208) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/frame_system.rs b/runtime/calamari/src/weights/frame_system.rs index 653599085..25d2e675e 100644 --- a/runtime/calamari/src/weights/frame_system.rs +++ b/runtime/calamari/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-07-22, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/runner/runners/2.280.1/_work/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta // benchmark // pallet -// --chain=/home/runner/runners/2.280.1/_work/Manta/Manta/tests/data/fork.json +// --chain=/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json // --steps=50 // --repeat=40 // --pallet=frame_system @@ -38,11 +38,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; -use manta_primitives::constants::RocksDbWeight; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; /// Weight functions needed for frame_system. pub trait WeightInfo { @@ -62,79 +61,131 @@ 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: 6_992 nanoseconds. - Weight::from_parts(16_569_447, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_954_000 picoseconds. + Weight::from_parts(2_391_632, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(458, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(484, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3670016]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 13_480 nanoseconds. - Weight::from_parts(13_649_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_037, 0).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_809_000 picoseconds. + Weight::from_parts(84_232_896, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_573, 0).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 16_008 nanoseconds. - Weight::from_parts(26_061_000, 0) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 3_435_000 picoseconds. + Weight::from_parts(3_658_000, 1485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `156` - // Estimated: `1641` - // Minimum execution time: 122_419_636_000 picoseconds. - Weight::from_parts(127_638_762_000, 1641) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 112_790_421_000 picoseconds. + Weight::from_parts(118_446_237_000, 1649) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 7_523 nanoseconds. - Weight::from_parts(7_618_000, 0) - // Standard Error: 1_503 - .saturating_add(Weight::from_parts(723_581, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_028_000 picoseconds. + Weight::from_parts(2_140_000, 0) + // Standard Error: 1_611 + .saturating_add(Weight::from_parts(803_261, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_056 nanoseconds. - Weight::from_parts(4_144_000, 0) - // Standard Error: 546 - .saturating_add(Weight::from_parts(521_515, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_056_000 picoseconds. + Weight::from_parts(2_156_000, 0) + // Standard Error: 596 + .saturating_add(Weight::from_parts(580_679, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `83 + p * (69 ±0)` + // Estimated: `101 + p * (70 ±0)` + // Minimum execution time: 4_019_000 picoseconds. + Weight::from_parts(4_136_000, 101) + // Standard Error: 1_038 + .saturating_add(Weight::from_parts(1_233_229, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) fn authorize_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_311_000 picoseconds. + Weight::from_parts(12_051_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `1671` + // Minimum execution time: 118_562_148_000 picoseconds. + Weight::from_parts(122_580_458_000, 1671) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } } @@ -142,78 +193,130 @@ 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: 6_992 nanoseconds. - Weight::from_parts(16_569_447, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_954_000 picoseconds. + Weight::from_parts(2_391_632, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(458, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(484, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3670016]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 13_480 nanoseconds. - Weight::from_parts(13_649_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_037, 0).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_809_000 picoseconds. + Weight::from_parts(84_232_896, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_573, 0).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 16_008 nanoseconds. - Weight::from_parts(26_061_000, 0) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 3_435_000 picoseconds. + Weight::from_parts(3_658_000, 1485) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `156` - // Estimated: `1641` - // Minimum execution time: 122_419_636_000 picoseconds. - Weight::from_parts(127_638_762_000, 1641) + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 112_790_421_000 picoseconds. + Weight::from_parts(118_446_237_000, 1649) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 7_523 nanoseconds. - Weight::from_parts(7_618_000, 0) - // Standard Error: 1_503 - .saturating_add(Weight::from_parts(723_581, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_028_000 picoseconds. + Weight::from_parts(2_140_000, 0) + // Standard Error: 1_611 + .saturating_add(Weight::from_parts(803_261, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_056 nanoseconds. - Weight::from_parts(4_144_000, 0) - // Standard Error: 546 - .saturating_add(Weight::from_parts(521_515, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_056_000 picoseconds. + Weight::from_parts(2_156_000, 0) + // Standard Error: 596 + .saturating_add(Weight::from_parts(580_679, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `83 + p * (69 ±0)` + // Estimated: `101 + p * (70 ±0)` + // Minimum execution time: 4_019_000 picoseconds. + Weight::from_parts(4_136_000, 101) + // Standard Error: 1_038 + .saturating_add(Weight::from_parts(1_233_229, 0).saturating_mul(p.into())) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) fn authorize_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_311_000 picoseconds. + Weight::from_parts(12_051_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `1671` + // Minimum execution time: 118_562_148_000 picoseconds. + Weight::from_parts(122_580_458_000, 1671) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } } diff --git a/runtime/calamari/src/weights/manta_collator_selection.rs b/runtime/calamari/src/weights/manta_collator_selection.rs index 05771762e..d79414081 100644 --- a/runtime/calamari/src/weights/manta_collator_selection.rs +++ b/runtime/calamari/src/weights/manta_collator_selection.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for manta_collator_selection //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -61,177 +61,177 @@ pub trait WeightInfo { /// Weights for manta_collator_selection using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl manta_collator_selection::WeightInfo for SubstrateWeight { - /// Storage: CollatorSelection Invulnerables (r:0 w:1) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[1, 5]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_805_000 picoseconds. - Weight::from_parts(8_173_348, 0) - // Standard Error: 2_139 - .saturating_add(Weight::from_parts(21_344, 0).saturating_mul(b.into())) + // Minimum execution time: 5_241_000 picoseconds. + Weight::from_parts(5_614_210, 0) + // Standard Error: 1_928 + .saturating_add(Weight::from_parts(18_838, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_440_000 picoseconds. - Weight::from_parts(9_928_000, 0) + // Minimum execution time: 6_989_000 picoseconds. + Weight::from_parts(7_339_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection CandidacyBond (r:0 w:1) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_candidacy_bond() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_287_000 picoseconds. - Weight::from_parts(7_775_000, 0) + // Minimum execution time: 5_012_000 picoseconds. + Weight::from_parts(5_216_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionBaseline (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionBaseline` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_baseline() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_171_000 picoseconds. - Weight::from_parts(7_396_000, 0) + // Minimum execution time: 4_893_000 picoseconds. + Weight::from_parts(5_101_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionTolerance (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionTolerance` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_tolerance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_192_000 picoseconds. - Weight::from_parts(7_500_000, 0) + // Minimum execution time: 4_816_000 picoseconds. + Weight::from_parts(5_052_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `542 + c * (60 ±0)` // Estimated: `4019 + c * (60 ±0)` - // Minimum execution time: 45_746_000 picoseconds. - Weight::from_parts(49_460_467, 4019) - // Standard Error: 3_046 - .saturating_add(Weight::from_parts(255_457, 0).saturating_mul(c.into())) + // Minimum execution time: 38_705_000 picoseconds. + Weight::from_parts(41_987_944, 4019) + // Standard Error: 3_212 + .saturating_add(Weight::from_parts(247_735, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `222 + c * (48 ±0)` // Estimated: `1711 + c * (49 ±0)` - // Minimum execution time: 29_425_000 picoseconds. - Weight::from_parts(32_528_533, 1711) - // Standard Error: 2_053 - .saturating_add(Weight::from_parts(201_249, 0).saturating_mul(c.into())) + // Minimum execution time: 24_849_000 picoseconds. + Weight::from_parts(26_894_412, 1711) + // Standard Error: 1_864 + .saturating_add(Weight::from_parts(195_391, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn remove_collator(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + c * (48 ±0)` // Estimated: `1770 + c * (49 ±0)` - // Minimum execution time: 31_795_000 picoseconds. - Weight::from_parts(34_846_229, 1770) - // Standard Error: 2_196 - .saturating_add(Weight::from_parts(201_858, 0).saturating_mul(c.into())) + // Minimum execution time: 26_398_000 picoseconds. + Weight::from_parts(29_081_835, 1770) + // Standard Error: 1_945 + .saturating_add(Weight::from_parts(194_143, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `542 + c * (60 ±0)` // Estimated: `4019 + c * (60 ±0)` - // Minimum execution time: 44_891_000 picoseconds. - Weight::from_parts(48_814_765, 4019) - // Standard Error: 2_686 - .saturating_add(Weight::from_parts(247_986, 0).saturating_mul(c.into())) + // Minimum execution time: 38_458_000 picoseconds. + Weight::from_parts(41_993_520, 4019) + // Standard Error: 2_564 + .saturating_add(Weight::from_parts(227_544, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:1 w:1) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `6196` - // Minimum execution time: 47_420_000 picoseconds. - Weight::from_parts(47_983_000, 6196) + // Minimum execution time: 41_953_000 picoseconds. + Weight::from_parts(42_584_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionBaseline (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionTolerance (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:51 w:2) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:49 w:49) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionBaseline` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionTolerance` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:51 w:2) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:49 w:49) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn new_session(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `124 + c * (229 ±0)` // Estimated: `3598 + c * (2704 ±0)` - // Minimum execution time: 33_949_000 picoseconds. - Weight::from_parts(25_999_753, 3598) - // Standard Error: 11_769 - .saturating_add(Weight::from_parts(26_374_574, 0).saturating_mul(c.into())) + // Minimum execution time: 30_178_000 picoseconds. + Weight::from_parts(22_074_903, 3598) + // Standard Error: 12_172 + .saturating_add(Weight::from_parts(22_771_129, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -242,181 +242,181 @@ impl manta_collator_selection::WeightInfo for Substrate // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: CollatorSelection Invulnerables (r:0 w:1) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[1, 5]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_805_000 picoseconds. - Weight::from_parts(8_173_348, 0) - // Standard Error: 2_139 - .saturating_add(Weight::from_parts(21_344, 0).saturating_mul(b.into())) + // Minimum execution time: 5_241_000 picoseconds. + Weight::from_parts(5_614_210, 0) + // Standard Error: 1_928 + .saturating_add(Weight::from_parts(18_838, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_440_000 picoseconds. - Weight::from_parts(9_928_000, 0) + // Minimum execution time: 6_989_000 picoseconds. + Weight::from_parts(7_339_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection CandidacyBond (r:0 w:1) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_candidacy_bond() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_287_000 picoseconds. - Weight::from_parts(7_775_000, 0) + // Minimum execution time: 5_012_000 picoseconds. + Weight::from_parts(5_216_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionBaseline (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionBaseline` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_baseline() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_171_000 picoseconds. - Weight::from_parts(7_396_000, 0) + // Minimum execution time: 4_893_000 picoseconds. + Weight::from_parts(5_101_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionTolerance (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionTolerance` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_tolerance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_192_000 picoseconds. - Weight::from_parts(7_500_000, 0) + // Minimum execution time: 4_816_000 picoseconds. + Weight::from_parts(5_052_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `542 + c * (60 ±0)` // Estimated: `4019 + c * (60 ±0)` - // Minimum execution time: 45_746_000 picoseconds. - Weight::from_parts(49_460_467, 4019) - // Standard Error: 3_046 - .saturating_add(Weight::from_parts(255_457, 0).saturating_mul(c.into())) + // Minimum execution time: 38_705_000 picoseconds. + Weight::from_parts(41_987_944, 4019) + // Standard Error: 3_212 + .saturating_add(Weight::from_parts(247_735, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `222 + c * (48 ±0)` // Estimated: `1711 + c * (49 ±0)` - // Minimum execution time: 29_425_000 picoseconds. - Weight::from_parts(32_528_533, 1711) - // Standard Error: 2_053 - .saturating_add(Weight::from_parts(201_249, 0).saturating_mul(c.into())) + // Minimum execution time: 24_849_000 picoseconds. + Weight::from_parts(26_894_412, 1711) + // Standard Error: 1_864 + .saturating_add(Weight::from_parts(195_391, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn remove_collator(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `281 + c * (48 ±0)` // Estimated: `1770 + c * (49 ±0)` - // Minimum execution time: 31_795_000 picoseconds. - Weight::from_parts(34_846_229, 1770) - // Standard Error: 2_196 - .saturating_add(Weight::from_parts(201_858, 0).saturating_mul(c.into())) + // Minimum execution time: 26_398_000 picoseconds. + Weight::from_parts(29_081_835, 1770) + // Standard Error: 1_945 + .saturating_add(Weight::from_parts(194_143, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `542 + c * (60 ±0)` // Estimated: `4019 + c * (60 ±0)` - // Minimum execution time: 44_891_000 picoseconds. - Weight::from_parts(48_814_765, 4019) - // Standard Error: 2_686 - .saturating_add(Weight::from_parts(247_986, 0).saturating_mul(c.into())) + // Minimum execution time: 38_458_000 picoseconds. + Weight::from_parts(41_993_520, 4019) + // Standard Error: 2_564 + .saturating_add(Weight::from_parts(227_544, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:1 w:1) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `6196` - // Minimum execution time: 47_420_000 picoseconds. - Weight::from_parts(47_983_000, 6196) + // Minimum execution time: 41_953_000 picoseconds. + Weight::from_parts(42_584_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionBaseline (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionTolerance (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:51 w:2) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:49 w:49) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionBaseline` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionTolerance` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:51 w:2) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:49 w:49) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn new_session(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `124 + c * (229 ±0)` // Estimated: `3598 + c * (2704 ±0)` - // Minimum execution time: 33_949_000 picoseconds. - Weight::from_parts(25_999_753, 3598) - // Standard Error: 11_769 - .saturating_add(Weight::from_parts(26_374_574, 0).saturating_mul(c.into())) + // Minimum execution time: 30_178_000 picoseconds. + Weight::from_parts(22_074_903, 3598) + // Standard Error: 12_172 + .saturating_add(Weight::from_parts(22_771_129, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2704).saturating_mul(c.into())) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_asset_manager.rs b/runtime/calamari/src/weights/pallet_asset_manager.rs index 980eb90ee..3e51f12de 100644 --- a/runtime/calamari/src/weights/pallet_asset_manager.rs +++ b/runtime/calamari/src/weights/pallet_asset_manager.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_asset_manager //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -59,148 +59,146 @@ pub trait WeightInfo { /// Weights for pallet_asset_manager using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_asset_manager::WeightInfo for SubstrateWeight { - /// Storage: AssetManager LocationAssetId (r:1 w:1) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdLocation (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:1) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdLocation` (r:0 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `1086` // Estimated: `4551` - // Minimum execution time: 52_275_000 picoseconds. - Weight::from_parts(53_630_000, 4551) + // Minimum execution time: 44_447_000 picoseconds. + Weight::from_parts(45_857_000, 4551) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager UnitsPerSecond (r:0 w:1) - /// Proof Skipped: AssetManager UnitsPerSecond (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::UnitsPerSecond` (r:0 w:1) + /// Proof: `AssetManager::UnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_units_per_second() -> Weight { // Proof Size summary in bytes: // Measured: `1480` // Estimated: `4945` - // Minimum execution time: 45_504_000 picoseconds. - Weight::from_parts(55_487_000, 4945) + // Minimum execution time: 34_487_000 picoseconds. + Weight::from_parts(37_922_000, 4945) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LocationAssetId (r:1 w:2) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AllowedDestParaIds (r:2 w:2) - /// Proof Skipped: AssetManager AllowedDestParaIds (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:2) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AllowedDestParaIds` (r:2 w:2) + /// Proof: `AssetManager::AllowedDestParaIds` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_location() -> Weight { // Proof Size summary in bytes: // Measured: `4183` // Estimated: `10123` - // Minimum execution time: 89_220_000 picoseconds. - Weight::from_parts(99_254_000, 10123) + // Minimum execution time: 68_633_000 picoseconds. + Weight::from_parts(76_688_000, 10123) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4114` // Estimated: `7579` - // Minimum execution time: 79_260_000 picoseconds. - Weight::from_parts(84_422_000, 7579) + // Minimum execution time: 63_580_000 picoseconds. + Weight::from_parts(67_789_000, 7579) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint_asset() -> Weight { // Proof Size summary in bytes: // Measured: `3308` // Estimated: `6773` - // Minimum execution time: 97_982_000 picoseconds. - Weight::from_parts(102_625_000, 6773) + // Minimum execution time: 79_169_000 picoseconds. + Weight::from_parts(84_193_000, 6773) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: AssetManager MinXcmFee (r:0 w:1) - /// Proof Skipped: AssetManager MinXcmFee (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::MinXcmFee` (r:0 w:1) + /// Proof: `AssetManager::MinXcmFee` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_min_xcm_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 32_619_000 picoseconds. - Weight::from_parts(40_062_000, 0) + // Minimum execution time: 25_812_000 picoseconds. + Weight::from_parts(28_640_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: AssetManager FilteredOutgoingAssetLocations (r:0 w:1) - /// Proof Skipped: AssetManager FilteredOutgoingAssetLocations (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::FilteredOutgoingAssetLocations` (r:0 w:1) + /// Proof: `AssetManager::FilteredOutgoingAssetLocations` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_outgoing_filtered_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 30_384_000 picoseconds. - Weight::from_parts(38_610_000, 0) + // Minimum execution time: 24_651_000 picoseconds. + Weight::from_parts(26_158_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:2 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdPairToLp (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdPairToLp (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LpToAssetIdPair (r:0 w:1) - /// Proof Skipped: AssetManager LpToAssetIdPair (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdMetadata` (r:2 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdPairToLp` (r:1 w:1) + /// Proof: `AssetManager::AssetIdPairToLp` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::LpToAssetIdPair` (r:0 w:1) + /// Proof: `AssetManager::LpToAssetIdPair` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_lp_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `1255` - // Estimated: `7195` - // Minimum execution time: 59_526_000 picoseconds. - Weight::from_parts(60_662_000, 7195) + // Measured: `1309` + // Estimated: `7249` + // Minimum execution time: 52_063_000 picoseconds. + Weight::from_parts(53_744_000, 7249) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AssetManager NextPermissionlessAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextPermissionlessAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::NextPermissionlessAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextPermissionlessAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn permissionless_register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `1123` // Estimated: `3687` - // Minimum execution time: 110_053_000 picoseconds. - Weight::from_parts(111_704_000, 3687) + // Minimum execution time: 96_821_000 picoseconds. + Weight::from_parts(98_469_000, 3687) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -208,149 +206,147 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: AssetManager LocationAssetId (r:1 w:1) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdLocation (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:1) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdLocation` (r:0 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `1086` // Estimated: `4551` - // Minimum execution time: 52_275_000 picoseconds. - Weight::from_parts(53_630_000, 4551) + // Minimum execution time: 44_447_000 picoseconds. + Weight::from_parts(45_857_000, 4551) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager UnitsPerSecond (r:0 w:1) - /// Proof Skipped: AssetManager UnitsPerSecond (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::UnitsPerSecond` (r:0 w:1) + /// Proof: `AssetManager::UnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_units_per_second() -> Weight { // Proof Size summary in bytes: // Measured: `1480` // Estimated: `4945` - // Minimum execution time: 45_504_000 picoseconds. - Weight::from_parts(55_487_000, 4945) + // Minimum execution time: 34_487_000 picoseconds. + Weight::from_parts(37_922_000, 4945) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LocationAssetId (r:1 w:2) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AllowedDestParaIds (r:2 w:2) - /// Proof Skipped: AssetManager AllowedDestParaIds (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:2) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AllowedDestParaIds` (r:2 w:2) + /// Proof: `AssetManager::AllowedDestParaIds` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_location() -> Weight { // Proof Size summary in bytes: // Measured: `4183` // Estimated: `10123` - // Minimum execution time: 89_220_000 picoseconds. - Weight::from_parts(99_254_000, 10123) + // Minimum execution time: 68_633_000 picoseconds. + Weight::from_parts(76_688_000, 10123) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4114` // Estimated: `7579` - // Minimum execution time: 79_260_000 picoseconds. - Weight::from_parts(84_422_000, 7579) + // Minimum execution time: 63_580_000 picoseconds. + Weight::from_parts(67_789_000, 7579) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint_asset() -> Weight { // Proof Size summary in bytes: // Measured: `3308` // Estimated: `6773` - // Minimum execution time: 97_982_000 picoseconds. - Weight::from_parts(102_625_000, 6773) + // Minimum execution time: 79_169_000 picoseconds. + Weight::from_parts(84_193_000, 6773) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: AssetManager MinXcmFee (r:0 w:1) - /// Proof Skipped: AssetManager MinXcmFee (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::MinXcmFee` (r:0 w:1) + /// Proof: `AssetManager::MinXcmFee` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_min_xcm_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 32_619_000 picoseconds. - Weight::from_parts(40_062_000, 0) + // Minimum execution time: 25_812_000 picoseconds. + Weight::from_parts(28_640_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: AssetManager FilteredOutgoingAssetLocations (r:0 w:1) - /// Proof Skipped: AssetManager FilteredOutgoingAssetLocations (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::FilteredOutgoingAssetLocations` (r:0 w:1) + /// Proof: `AssetManager::FilteredOutgoingAssetLocations` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_outgoing_filtered_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 30_384_000 picoseconds. - Weight::from_parts(38_610_000, 0) + // Minimum execution time: 24_651_000 picoseconds. + Weight::from_parts(26_158_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:2 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdPairToLp (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdPairToLp (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LpToAssetIdPair (r:0 w:1) - /// Proof Skipped: AssetManager LpToAssetIdPair (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdMetadata` (r:2 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdPairToLp` (r:1 w:1) + /// Proof: `AssetManager::AssetIdPairToLp` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::LpToAssetIdPair` (r:0 w:1) + /// Proof: `AssetManager::LpToAssetIdPair` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_lp_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `1255` - // Estimated: `7195` - // Minimum execution time: 59_526_000 picoseconds. - Weight::from_parts(60_662_000, 7195) + // Measured: `1309` + // Estimated: `7249` + // Minimum execution time: 52_063_000 picoseconds. + Weight::from_parts(53_744_000, 7249) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AssetManager NextPermissionlessAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextPermissionlessAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::NextPermissionlessAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextPermissionlessAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn permissionless_register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `1123` // Estimated: `3687` - // Minimum execution time: 110_053_000 picoseconds. - Weight::from_parts(111_704_000, 3687) + // Minimum execution time: 96_821_000 picoseconds. + Weight::from_parts(98_469_000, 3687) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_assets.rs b/runtime/calamari/src/weights/pallet_assets.rs index e985b4a5d..e1d6000fd 100644 --- a/runtime/calamari/src/weights/pallet_assets.rs +++ b/runtime/calamari/src/weights/pallet_assets.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_assets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -89,432 +89,428 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3687` - // Minimum execution time: 13_721_000 picoseconds. - Weight::from_parts(14_363_000, 3687) + // Minimum execution time: 11_727_000 picoseconds. + Weight::from_parts(12_113_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 15_159_000 picoseconds. - Weight::from_parts(15_708_000, 3687) + // Minimum execution time: 12_683_000 picoseconds. + Weight::from_parts(13_031_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1000 w:1000) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1001 w:1000) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1000 w:1000) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `237 + c * (208 ±0)` // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 19_907_000 picoseconds. - Weight::from_parts(20_223_000, 3687) - // Standard Error: 7_187 - .saturating_add(Weight::from_parts(13_714_382, 0).saturating_mul(c.into())) + // Minimum execution time: 17_875_000 picoseconds. + Weight::from_parts(18_164_000, 3687) + // Standard Error: 5_721 + .saturating_add(Weight::from_parts(13_266_895, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2621).saturating_mul(c.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `712 + a * (86 ±0)` // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 20_245_000 picoseconds. - Weight::from_parts(20_562_000, 3687) - // Standard Error: 2_746 - .saturating_add(Weight::from_parts(5_531_897, 0).saturating_mul(a.into())) + // Minimum execution time: 18_147_000 picoseconds. + Weight::from_parts(18_431_000, 3687) + // Standard Error: 2_311 + .saturating_add(Weight::from_parts(5_532_395, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2635).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 17_178_000 picoseconds. - Weight::from_parts(17_814_000, 3687) + // Minimum execution time: 14_972_000 picoseconds. + Weight::from_parts(15_495_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 29_551_000 picoseconds. - Weight::from_parts(30_267_000, 3687) + // Minimum execution time: 25_258_000 picoseconds. + Weight::from_parts(25_744_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 36_618_000 picoseconds. - Weight::from_parts(37_154_000, 3687) + // Minimum execution time: 32_647_000 picoseconds. + Weight::from_parts(33_160_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `6232` - // Minimum execution time: 49_257_000 picoseconds. - Weight::from_parts(50_225_000, 6232) + // Minimum execution time: 44_345_000 picoseconds. + Weight::from_parts(45_138_000, 6232) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `6232` - // Minimum execution time: 43_374_000 picoseconds. - Weight::from_parts(44_263_000, 6232) + // Minimum execution time: 39_689_000 picoseconds. + Weight::from_parts(40_441_000, 6232) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `6232` - // Minimum execution time: 48_928_000 picoseconds. - Weight::from_parts(50_449_000, 6232) + // Minimum execution time: 44_322_000 picoseconds. + Weight::from_parts(45_233_000, 6232) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 20_973_000 picoseconds. - Weight::from_parts(21_343_000, 3687) + // Minimum execution time: 18_155_000 picoseconds. + Weight::from_parts(18_580_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 20_545_000 picoseconds. - Weight::from_parts(20_993_000, 3687) + // Minimum execution time: 18_030_000 picoseconds. + Weight::from_parts(18_568_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 14_820_000 picoseconds. - Weight::from_parts(15_364_000, 3687) + // Minimum execution time: 12_453_000 picoseconds. + Weight::from_parts(12_809_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 14_606_000 picoseconds. - Weight::from_parts(15_085_000, 3687) + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_951_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 17_593_000 picoseconds. - Weight::from_parts(18_067_000, 3687) + // Minimum execution time: 15_742_000 picoseconds. + Weight::from_parts(16_065_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 14_640_000 picoseconds. - Weight::from_parts(15_037_000, 3687) + // Minimum execution time: 12_691_000 picoseconds. + Weight::from_parts(12_962_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { + fn set_metadata(_n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 18_924_000 picoseconds. - Weight::from_parts(19_777_766, 3687) - // Standard Error: 285 - .saturating_add(Weight::from_parts(515, 0).saturating_mul(n.into())) - // Standard Error: 285 - .saturating_add(Weight::from_parts(1_416, 0).saturating_mul(s.into())) + // Minimum execution time: 16_477_000 picoseconds. + Weight::from_parts(17_362_484, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `3687` - // Minimum execution time: 19_769_000 picoseconds. - Weight::from_parts(20_255_000, 3687) + // Minimum execution time: 17_232_000 picoseconds. + Weight::from_parts(17_785_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `658` // Estimated: `3687` - // Minimum execution time: 16_719_000 picoseconds. - Weight::from_parts(17_277_262, 3687) - // Standard Error: 268 - .saturating_add(Weight::from_parts(2_479, 0).saturating_mul(n.into())) - // Standard Error: 268 - .saturating_add(Weight::from_parts(2_695, 0).saturating_mul(s.into())) + // Minimum execution time: 14_442_000 picoseconds. + Weight::from_parts(15_004_330, 3687) + // Standard Error: 207 + .saturating_add(Weight::from_parts(736, 0).saturating_mul(n.into())) + // Standard Error: 207 + .saturating_add(Weight::from_parts(2_623, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `3687` - // Minimum execution time: 19_158_000 picoseconds. - Weight::from_parts(19_769_000, 3687) + // Minimum execution time: 17_150_000 picoseconds. + Weight::from_parts(17_490_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 13_873_000 picoseconds. - Weight::from_parts(14_246_000, 3687) + // Minimum execution time: 12_010_000 picoseconds. + Weight::from_parts(12_409_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 21_575_000 picoseconds. - Weight::from_parts(22_063_000, 3687) + // Minimum execution time: 19_074_000 picoseconds. + Weight::from_parts(19_501_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `1105` // Estimated: `6232` - // Minimum execution time: 57_282_000 picoseconds. - Weight::from_parts(58_593_000, 6232) + // Minimum execution time: 53_399_000 picoseconds. + Weight::from_parts(54_581_000, 6232) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `3687` - // Minimum execution time: 23_570_000 picoseconds. - Weight::from_parts(24_227_000, 3687) + // Minimum execution time: 21_514_000 picoseconds. + Weight::from_parts(22_064_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `3687` - // Minimum execution time: 24_400_000 picoseconds. - Weight::from_parts(24_856_000, 3687) + // Minimum execution time: 22_027_000 picoseconds. + Weight::from_parts(22_380_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 15_098_000 picoseconds. - Weight::from_parts(15_516_000, 3687) + // Minimum execution time: 12_940_000 picoseconds. + Weight::from_parts(13_239_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `870` // Estimated: `3687` - // Minimum execution time: 36_457_000 picoseconds. - Weight::from_parts(37_077_000, 3687) + // Minimum execution time: 32_331_000 picoseconds. + Weight::from_parts(33_014_000, 3687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 35_460_000 picoseconds. - Weight::from_parts(36_118_000, 3687) + // Minimum execution time: 31_250_000 picoseconds. + Weight::from_parts(31_849_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `3687` - // Minimum execution time: 34_060_000 picoseconds. - Weight::from_parts(34_750_000, 3687) + // Minimum execution time: 31_617_000 picoseconds. + Weight::from_parts(32_164_000, 3687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `974` // Estimated: `3687` - // Minimum execution time: 33_156_000 picoseconds. - Weight::from_parts(33_954_000, 3687) + // Minimum execution time: 31_004_000 picoseconds. + Weight::from_parts(31_691_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 20_413_000 picoseconds. - Weight::from_parts(20_957_000, 3687) + // Minimum execution time: 18_137_000 picoseconds. + Weight::from_parts(18_538_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -529,433 +525,429 @@ impl WeightInfo for () { // Minimum execution time: 0_000 picoseconds. Weight::from_parts(0, 0) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3687` - // Minimum execution time: 13_721_000 picoseconds. - Weight::from_parts(14_363_000, 3687) + // Minimum execution time: 11_727_000 picoseconds. + Weight::from_parts(12_113_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 15_159_000 picoseconds. - Weight::from_parts(15_708_000, 3687) + // Minimum execution time: 12_683_000 picoseconds. + Weight::from_parts(13_031_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1000 w:1000) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1001 w:1000) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1000 w:1000) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `237 + c * (208 ±0)` // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 19_907_000 picoseconds. - Weight::from_parts(20_223_000, 3687) - // Standard Error: 7_187 - .saturating_add(Weight::from_parts(13_714_382, 0).saturating_mul(c.into())) + // Minimum execution time: 17_875_000 picoseconds. + Weight::from_parts(18_164_000, 3687) + // Standard Error: 5_721 + .saturating_add(Weight::from_parts(13_266_895, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2621).saturating_mul(c.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `712 + a * (86 ±0)` // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 20_245_000 picoseconds. - Weight::from_parts(20_562_000, 3687) - // Standard Error: 2_746 - .saturating_add(Weight::from_parts(5_531_897, 0).saturating_mul(a.into())) + // Minimum execution time: 18_147_000 picoseconds. + Weight::from_parts(18_431_000, 3687) + // Standard Error: 2_311 + .saturating_add(Weight::from_parts(5_532_395, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2635).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 17_178_000 picoseconds. - Weight::from_parts(17_814_000, 3687) + // Minimum execution time: 14_972_000 picoseconds. + Weight::from_parts(15_495_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 29_551_000 picoseconds. - Weight::from_parts(30_267_000, 3687) + // Minimum execution time: 25_258_000 picoseconds. + Weight::from_parts(25_744_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 36_618_000 picoseconds. - Weight::from_parts(37_154_000, 3687) + // Minimum execution time: 32_647_000 picoseconds. + Weight::from_parts(33_160_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `6232` - // Minimum execution time: 49_257_000 picoseconds. - Weight::from_parts(50_225_000, 6232) + // Minimum execution time: 44_345_000 picoseconds. + Weight::from_parts(45_138_000, 6232) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `6232` - // Minimum execution time: 43_374_000 picoseconds. - Weight::from_parts(44_263_000, 6232) + // Minimum execution time: 39_689_000 picoseconds. + Weight::from_parts(40_441_000, 6232) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `6232` - // Minimum execution time: 48_928_000 picoseconds. - Weight::from_parts(50_449_000, 6232) + // Minimum execution time: 44_322_000 picoseconds. + Weight::from_parts(45_233_000, 6232) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 20_973_000 picoseconds. - Weight::from_parts(21_343_000, 3687) + // Minimum execution time: 18_155_000 picoseconds. + Weight::from_parts(18_580_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 20_545_000 picoseconds. - Weight::from_parts(20_993_000, 3687) + // Minimum execution time: 18_030_000 picoseconds. + Weight::from_parts(18_568_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 14_820_000 picoseconds. - Weight::from_parts(15_364_000, 3687) + // Minimum execution time: 12_453_000 picoseconds. + Weight::from_parts(12_809_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 14_606_000 picoseconds. - Weight::from_parts(15_085_000, 3687) + // Minimum execution time: 12_533_000 picoseconds. + Weight::from_parts(12_951_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 17_593_000 picoseconds. - Weight::from_parts(18_067_000, 3687) + // Minimum execution time: 15_742_000 picoseconds. + Weight::from_parts(16_065_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 14_640_000 picoseconds. - Weight::from_parts(15_037_000, 3687) + // Minimum execution time: 12_691_000 picoseconds. + Weight::from_parts(12_962_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { + fn set_metadata(_n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 18_924_000 picoseconds. - Weight::from_parts(19_777_766, 3687) - // Standard Error: 285 - .saturating_add(Weight::from_parts(515, 0).saturating_mul(n.into())) - // Standard Error: 285 - .saturating_add(Weight::from_parts(1_416, 0).saturating_mul(s.into())) + // Minimum execution time: 16_477_000 picoseconds. + Weight::from_parts(17_362_484, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `3687` - // Minimum execution time: 19_769_000 picoseconds. - Weight::from_parts(20_255_000, 3687) + // Minimum execution time: 17_232_000 picoseconds. + Weight::from_parts(17_785_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `658` // Estimated: `3687` - // Minimum execution time: 16_719_000 picoseconds. - Weight::from_parts(17_277_262, 3687) - // Standard Error: 268 - .saturating_add(Weight::from_parts(2_479, 0).saturating_mul(n.into())) - // Standard Error: 268 - .saturating_add(Weight::from_parts(2_695, 0).saturating_mul(s.into())) + // Minimum execution time: 14_442_000 picoseconds. + Weight::from_parts(15_004_330, 3687) + // Standard Error: 207 + .saturating_add(Weight::from_parts(736, 0).saturating_mul(n.into())) + // Standard Error: 207 + .saturating_add(Weight::from_parts(2_623, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `979` // Estimated: `3687` - // Minimum execution time: 19_158_000 picoseconds. - Weight::from_parts(19_769_000, 3687) + // Minimum execution time: 17_150_000 picoseconds. + Weight::from_parts(17_490_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 13_873_000 picoseconds. - Weight::from_parts(14_246_000, 3687) + // Minimum execution time: 12_010_000 picoseconds. + Weight::from_parts(12_409_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 21_575_000 picoseconds. - Weight::from_parts(22_063_000, 3687) + // Minimum execution time: 19_074_000 picoseconds. + Weight::from_parts(19_501_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `1105` // Estimated: `6232` - // Minimum execution time: 57_282_000 picoseconds. - Weight::from_parts(58_593_000, 6232) + // Minimum execution time: 53_399_000 picoseconds. + Weight::from_parts(54_581_000, 6232) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `3687` - // Minimum execution time: 23_570_000 picoseconds. - Weight::from_parts(24_227_000, 3687) + // Minimum execution time: 21_514_000 picoseconds. + Weight::from_parts(22_064_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `3687` - // Minimum execution time: 24_400_000 picoseconds. - Weight::from_parts(24_856_000, 3687) + // Minimum execution time: 22_027_000 picoseconds. + Weight::from_parts(22_380_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `3687` - // Minimum execution time: 15_098_000 picoseconds. - Weight::from_parts(15_516_000, 3687) + // Minimum execution time: 12_940_000 picoseconds. + Weight::from_parts(13_239_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `870` // Estimated: `3687` - // Minimum execution time: 36_457_000 picoseconds. - Weight::from_parts(37_077_000, 3687) + // Minimum execution time: 32_331_000 picoseconds. + Weight::from_parts(33_014_000, 3687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `819` // Estimated: `3687` - // Minimum execution time: 35_460_000 picoseconds. - Weight::from_parts(36_118_000, 3687) + // Minimum execution time: 31_250_000 picoseconds. + Weight::from_parts(31_849_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `3687` - // Minimum execution time: 34_060_000 picoseconds. - Weight::from_parts(34_750_000, 3687) + // Minimum execution time: 31_617_000 picoseconds. + Weight::from_parts(32_164_000, 3687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `974` // Estimated: `3687` - // Minimum execution time: 33_156_000 picoseconds. - Weight::from_parts(33_954_000, 3687) + // Minimum execution time: 31_004_000 picoseconds. + Weight::from_parts(31_691_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `3687` - // Minimum execution time: 20_413_000 picoseconds. - Weight::from_parts(20_957_000, 3687) + // Minimum execution time: 18_137_000 picoseconds. + Weight::from_parts(18_538_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_balances.rs b/runtime/calamari/src/weights/pallet_balances.rs index 5510f668a..c7ec42c25 100644 --- a/runtime/calamari/src/weights/pallet_balances.rs +++ b/runtime/calamari/src/weights/pallet_balances.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -58,94 +58,94 @@ pub trait WeightInfo { /// Weights for pallet_balances using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_balances::WeightInfo for SubstrateWeight { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 57_196_000 picoseconds. - Weight::from_parts(58_142_000, 3593) + // Minimum execution time: 48_259_000 picoseconds. + Weight::from_parts(49_130_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 42_861_000 picoseconds. - Weight::from_parts(43_645_000, 3593) + // Minimum execution time: 37_854_000 picoseconds. + Weight::from_parts(38_607_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 16_134_000 picoseconds. - Weight::from_parts(16_490_000, 3593) + // Minimum execution time: 14_145_000 picoseconds. + Weight::from_parts(14_452_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 23_910_000 picoseconds. - Weight::from_parts(24_397_000, 3593) + // Minimum execution time: 19_602_000 picoseconds. + Weight::from_parts(20_005_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `6196` - // Minimum execution time: 59_123_000 picoseconds. - Weight::from_parts(59_813_000, 6196) + // Minimum execution time: 50_191_000 picoseconds. + Weight::from_parts(51_019_000, 6196) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 53_264_000 picoseconds. - Weight::from_parts(54_028_000, 3593) + // Minimum execution time: 47_145_000 picoseconds. + Weight::from_parts(47_603_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 18_641_000 picoseconds. - Weight::from_parts(19_026_000, 3593) + // Minimum execution time: 16_884_000 picoseconds. + Weight::from_parts(17_077_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (135 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 18_177_000 picoseconds. - Weight::from_parts(18_628_000, 990) - // Standard Error: 8_817 - .saturating_add(Weight::from_parts(15_623_922, 0).saturating_mul(u.into())) + // Minimum execution time: 16_520_000 picoseconds. + Weight::from_parts(16_741_000, 990) + // Standard Error: 7_930 + .saturating_add(Weight::from_parts(13_974_245, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) @@ -154,96 +154,96 @@ impl pallet_balances::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 57_196_000 picoseconds. - Weight::from_parts(58_142_000, 3593) + // Minimum execution time: 48_259_000 picoseconds. + Weight::from_parts(49_130_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 42_861_000 picoseconds. - Weight::from_parts(43_645_000, 3593) + // Minimum execution time: 37_854_000 picoseconds. + Weight::from_parts(38_607_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 16_134_000 picoseconds. - Weight::from_parts(16_490_000, 3593) + // Minimum execution time: 14_145_000 picoseconds. + Weight::from_parts(14_452_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 23_910_000 picoseconds. - Weight::from_parts(24_397_000, 3593) + // Minimum execution time: 19_602_000 picoseconds. + Weight::from_parts(20_005_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `6196` - // Minimum execution time: 59_123_000 picoseconds. - Weight::from_parts(59_813_000, 6196) + // Minimum execution time: 50_191_000 picoseconds. + Weight::from_parts(51_019_000, 6196) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 53_264_000 picoseconds. - Weight::from_parts(54_028_000, 3593) + // Minimum execution time: 47_145_000 picoseconds. + Weight::from_parts(47_603_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 18_641_000 picoseconds. - Weight::from_parts(19_026_000, 3593) + // Minimum execution time: 16_884_000 picoseconds. + Weight::from_parts(17_077_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (135 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 18_177_000 picoseconds. - Weight::from_parts(18_628_000, 990) - // Standard Error: 8_817 - .saturating_add(Weight::from_parts(15_623_922, 0).saturating_mul(u.into())) + // Minimum execution time: 16_520_000 picoseconds. + Weight::from_parts(16_741_000, 990) + // Standard Error: 7_930 + .saturating_add(Weight::from_parts(13_974_245, 0).saturating_mul(u.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_collective.rs b/runtime/calamari/src/weights/pallet_collective.rs index 5c3490590..f80126a1f 100644 --- a/runtime/calamari/src/weights/pallet_collective.rs +++ b/runtime/calamari/src/weights/pallet_collective.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -60,14 +60,14 @@ pub trait WeightInfo { /// Weights for pallet_collective using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_collective::WeightInfo for SubstrateWeight { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -75,12 +75,12 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15689 + m * (1967 ±16) + p * (4332 ±16)` - // Minimum execution time: 17_890_000 picoseconds. - Weight::from_parts(18_124_000, 15689) - // Standard Error: 57_141 - .saturating_add(Weight::from_parts(6_619_182, 0).saturating_mul(m.into())) - // Standard Error: 57_141 - .saturating_add(Weight::from_parts(9_511_574, 0).saturating_mul(p.into())) + // Minimum execution time: 15_935_000 picoseconds. + Weight::from_parts(16_183_000, 15689) + // Standard Error: 59_277 + .saturating_add(Weight::from_parts(6_742_151, 0).saturating_mul(m.into())) + // Standard Error: 59_277 + .saturating_add(Weight::from_parts(9_730_432, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -88,52 +88,52 @@ impl pallet_collective::WeightInfo for SubstrateWeight< .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `1516 + m * (32 ±0)` - // Minimum execution time: 17_077_000 picoseconds. - Weight::from_parts(16_187_254, 1516) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_469, 0).saturating_mul(b.into())) - // Standard Error: 145 - .saturating_add(Weight::from_parts(15_216, 0).saturating_mul(m.into())) + // Minimum execution time: 13_499_000 picoseconds. + Weight::from_parts(12_420_191, 1516) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_562, 0).saturating_mul(b.into())) + // Standard Error: 118 + .saturating_add(Weight::from_parts(15_627, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `3496 + m * (32 ±0)` - // Minimum execution time: 20_006_000 picoseconds. - Weight::from_parts(19_239_989, 3496) - // Standard Error: 22 - .saturating_add(Weight::from_parts(1_434, 0).saturating_mul(b.into())) - // Standard Error: 236 - .saturating_add(Weight::from_parts(26_759, 0).saturating_mul(m.into())) + // Minimum execution time: 16_060_000 picoseconds. + Weight::from_parts(15_178_095, 3496) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_449, 0).saturating_mul(b.into())) + // Standard Error: 155 + .saturating_add(Weight::from_parts(25_480, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -141,69 +141,69 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `320 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3712 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 26_878_000 picoseconds. - Weight::from_parts(26_503_203, 3712) - // Standard Error: 83 - .saturating_add(Weight::from_parts(3_734, 0).saturating_mul(b.into())) - // Standard Error: 875 - .saturating_add(Weight::from_parts(27_017, 0).saturating_mul(m.into())) - // Standard Error: 864 - .saturating_add(Weight::from_parts(188_446, 0).saturating_mul(p.into())) + // Minimum execution time: 21_693_000 picoseconds. + Weight::from_parts(21_186_157, 3712) + // Standard Error: 85 + .saturating_add(Weight::from_parts(4_004, 0).saturating_mul(b.into())) + // Standard Error: 896 + .saturating_add(Weight::from_parts(25_964, 0).saturating_mul(m.into())) + // Standard Error: 884 + .saturating_add(Weight::from_parts(182_097, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `769 + m * (64 ±0)` // Estimated: `4233 + m * (64 ±0)` - // Minimum execution time: 27_297_000 picoseconds. - Weight::from_parts(28_974_951, 4233) - // Standard Error: 497 - .saturating_add(Weight::from_parts(40_720, 0).saturating_mul(m.into())) + // Minimum execution time: 24_089_000 picoseconds. + Weight::from_parts(24_815_026, 4233) + // Standard Error: 343 + .saturating_add(Weight::from_parts(38_518, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `358 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3803 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 29_650_000 picoseconds. - Weight::from_parts(30_613_895, 3803) - // Standard Error: 789 - .saturating_add(Weight::from_parts(28_988, 0).saturating_mul(m.into())) - // Standard Error: 769 - .saturating_add(Weight::from_parts(173_825, 0).saturating_mul(p.into())) + // Minimum execution time: 24_248_000 picoseconds. + Weight::from_parts(24_790_299, 3803) + // Standard Error: 666 + .saturating_add(Weight::from_parts(30_809, 0).saturating_mul(m.into())) + // Standard Error: 650 + .saturating_add(Weight::from_parts(168_483, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -211,55 +211,55 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `660 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3977 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 43_505_000 picoseconds. - Weight::from_parts(44_901_179, 3977) - // Standard Error: 157 - .saturating_add(Weight::from_parts(3_720, 0).saturating_mul(b.into())) - // Standard Error: 1_625 - .saturating_add(Weight::from_parts(221_903, 0).saturating_mul(p.into())) + // Minimum execution time: 35_708_000 picoseconds. + Weight::from_parts(37_060_083, 3977) + // Standard Error: 153 + .saturating_add(Weight::from_parts(3_495, 0).saturating_mul(b.into())) + // Standard Error: 1_580 + .saturating_add(Weight::from_parts(216_509, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `378 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3823 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 33_416_000 picoseconds. - Weight::from_parts(32_515_245, 3823) - // Standard Error: 664 - .saturating_add(Weight::from_parts(41_524, 0).saturating_mul(m.into())) - // Standard Error: 648 - .saturating_add(Weight::from_parts(176_054, 0).saturating_mul(p.into())) + // Minimum execution time: 27_397_000 picoseconds. + Weight::from_parts(27_276_394, 3823) + // Standard Error: 679 + .saturating_add(Weight::from_parts(36_830, 0).saturating_mul(m.into())) + // Standard Error: 662 + .saturating_add(Weight::from_parts(169_754, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -267,35 +267,35 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `680 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3997 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 46_679_000 picoseconds. - Weight::from_parts(48_104_724, 3997) - // Standard Error: 119 - .saturating_add(Weight::from_parts(3_755, 0).saturating_mul(b.into())) - // Standard Error: 1_265 - .saturating_add(Weight::from_parts(16_006, 0).saturating_mul(m.into())) - // Standard Error: 1_233 - .saturating_add(Weight::from_parts(222_793, 0).saturating_mul(p.into())) + // Minimum execution time: 37_689_000 picoseconds. + Weight::from_parts(38_970_438, 3997) + // Standard Error: 111 + .saturating_add(Weight::from_parts(3_624, 0).saturating_mul(b.into())) + // Standard Error: 1_179 + .saturating_add(Weight::from_parts(21_128, 0).saturating_mul(m.into())) + // Standard Error: 1_150 + .saturating_add(Weight::from_parts(213_332, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `187 + p * (32 ±0)` // Estimated: `1672 + p * (32 ±0)` - // Minimum execution time: 15_876_000 picoseconds. - Weight::from_parts(18_074_708, 1672) - // Standard Error: 811 - .saturating_add(Weight::from_parts(163_948, 0).saturating_mul(p.into())) + // Minimum execution time: 12_637_000 picoseconds. + Weight::from_parts(14_821_539, 1672) + // Standard Error: 818 + .saturating_add(Weight::from_parts(159_334, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) @@ -304,14 +304,14 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -319,12 +319,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15689 + m * (1967 ±16) + p * (4332 ±16)` - // Minimum execution time: 17_890_000 picoseconds. - Weight::from_parts(18_124_000, 15689) - // Standard Error: 57_141 - .saturating_add(Weight::from_parts(6_619_182, 0).saturating_mul(m.into())) - // Standard Error: 57_141 - .saturating_add(Weight::from_parts(9_511_574, 0).saturating_mul(p.into())) + // Minimum execution time: 15_935_000 picoseconds. + Weight::from_parts(16_183_000, 15689) + // Standard Error: 59_277 + .saturating_add(Weight::from_parts(6_742_151, 0).saturating_mul(m.into())) + // Standard Error: 59_277 + .saturating_add(Weight::from_parts(9_730_432, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -332,52 +332,52 @@ impl WeightInfo for () { .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `1516 + m * (32 ±0)` - // Minimum execution time: 17_077_000 picoseconds. - Weight::from_parts(16_187_254, 1516) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_469, 0).saturating_mul(b.into())) - // Standard Error: 145 - .saturating_add(Weight::from_parts(15_216, 0).saturating_mul(m.into())) + // Minimum execution time: 13_499_000 picoseconds. + Weight::from_parts(12_420_191, 1516) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_562, 0).saturating_mul(b.into())) + // Standard Error: 118 + .saturating_add(Weight::from_parts(15_627, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `3496 + m * (32 ±0)` - // Minimum execution time: 20_006_000 picoseconds. - Weight::from_parts(19_239_989, 3496) - // Standard Error: 22 - .saturating_add(Weight::from_parts(1_434, 0).saturating_mul(b.into())) - // Standard Error: 236 - .saturating_add(Weight::from_parts(26_759, 0).saturating_mul(m.into())) + // Minimum execution time: 16_060_000 picoseconds. + Weight::from_parts(15_178_095, 3496) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_449, 0).saturating_mul(b.into())) + // Standard Error: 155 + .saturating_add(Weight::from_parts(25_480, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -385,69 +385,69 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `320 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3712 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 26_878_000 picoseconds. - Weight::from_parts(26_503_203, 3712) - // Standard Error: 83 - .saturating_add(Weight::from_parts(3_734, 0).saturating_mul(b.into())) - // Standard Error: 875 - .saturating_add(Weight::from_parts(27_017, 0).saturating_mul(m.into())) - // Standard Error: 864 - .saturating_add(Weight::from_parts(188_446, 0).saturating_mul(p.into())) + // Minimum execution time: 21_693_000 picoseconds. + Weight::from_parts(21_186_157, 3712) + // Standard Error: 85 + .saturating_add(Weight::from_parts(4_004, 0).saturating_mul(b.into())) + // Standard Error: 896 + .saturating_add(Weight::from_parts(25_964, 0).saturating_mul(m.into())) + // Standard Error: 884 + .saturating_add(Weight::from_parts(182_097, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `769 + m * (64 ±0)` // Estimated: `4233 + m * (64 ±0)` - // Minimum execution time: 27_297_000 picoseconds. - Weight::from_parts(28_974_951, 4233) - // Standard Error: 497 - .saturating_add(Weight::from_parts(40_720, 0).saturating_mul(m.into())) + // Minimum execution time: 24_089_000 picoseconds. + Weight::from_parts(24_815_026, 4233) + // Standard Error: 343 + .saturating_add(Weight::from_parts(38_518, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `358 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3803 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 29_650_000 picoseconds. - Weight::from_parts(30_613_895, 3803) - // Standard Error: 789 - .saturating_add(Weight::from_parts(28_988, 0).saturating_mul(m.into())) - // Standard Error: 769 - .saturating_add(Weight::from_parts(173_825, 0).saturating_mul(p.into())) + // Minimum execution time: 24_248_000 picoseconds. + Weight::from_parts(24_790_299, 3803) + // Standard Error: 666 + .saturating_add(Weight::from_parts(30_809, 0).saturating_mul(m.into())) + // Standard Error: 650 + .saturating_add(Weight::from_parts(168_483, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -455,55 +455,55 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `660 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3977 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 43_505_000 picoseconds. - Weight::from_parts(44_901_179, 3977) - // Standard Error: 157 - .saturating_add(Weight::from_parts(3_720, 0).saturating_mul(b.into())) - // Standard Error: 1_625 - .saturating_add(Weight::from_parts(221_903, 0).saturating_mul(p.into())) + // Minimum execution time: 35_708_000 picoseconds. + Weight::from_parts(37_060_083, 3977) + // Standard Error: 153 + .saturating_add(Weight::from_parts(3_495, 0).saturating_mul(b.into())) + // Standard Error: 1_580 + .saturating_add(Weight::from_parts(216_509, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `378 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3823 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 33_416_000 picoseconds. - Weight::from_parts(32_515_245, 3823) - // Standard Error: 664 - .saturating_add(Weight::from_parts(41_524, 0).saturating_mul(m.into())) - // Standard Error: 648 - .saturating_add(Weight::from_parts(176_054, 0).saturating_mul(p.into())) + // Minimum execution time: 27_397_000 picoseconds. + Weight::from_parts(27_276_394, 3823) + // Standard Error: 679 + .saturating_add(Weight::from_parts(36_830, 0).saturating_mul(m.into())) + // Standard Error: 662 + .saturating_add(Weight::from_parts(169_754, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -511,37 +511,37 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `680 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3997 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 46_679_000 picoseconds. - Weight::from_parts(48_104_724, 3997) - // Standard Error: 119 - .saturating_add(Weight::from_parts(3_755, 0).saturating_mul(b.into())) - // Standard Error: 1_265 - .saturating_add(Weight::from_parts(16_006, 0).saturating_mul(m.into())) - // Standard Error: 1_233 - .saturating_add(Weight::from_parts(222_793, 0).saturating_mul(p.into())) + // Minimum execution time: 37_689_000 picoseconds. + Weight::from_parts(38_970_438, 3997) + // Standard Error: 111 + .saturating_add(Weight::from_parts(3_624, 0).saturating_mul(b.into())) + // Standard Error: 1_179 + .saturating_add(Weight::from_parts(21_128, 0).saturating_mul(m.into())) + // Standard Error: 1_150 + .saturating_add(Weight::from_parts(213_332, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `187 + p * (32 ±0)` // Estimated: `1672 + p * (32 ±0)` - // Minimum execution time: 15_876_000 picoseconds. - Weight::from_parts(18_074_708, 1672) - // Standard Error: 811 - .saturating_add(Weight::from_parts(163_948, 0).saturating_mul(p.into())) + // Minimum execution time: 12_637_000 picoseconds. + Weight::from_parts(14_821_539, 1672) + // Standard Error: 818 + .saturating_add(Weight::from_parts(159_334, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_democracy.rs b/runtime/calamari/src/weights/pallet_democracy.rs index b6833288e..091f365ad 100644 --- a/runtime/calamari/src/weights/pallet_democracy.rs +++ b/runtime/calamari/src/weights/pallet_democracy.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -78,450 +78,456 @@ pub trait WeightInfo { /// Weights for pallet_democracy using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_democracy::WeightInfo for SubstrateWeight { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 47_417_000 picoseconds. - Weight::from_parts(49_123_000, 18187) + // Minimum execution time: 42_477_000 picoseconds. + Weight::from_parts(43_322_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 41_744_000 picoseconds. - Weight::from_parts(42_590_000, 6695) + // Minimum execution time: 37_804_000 picoseconds. + Weight::from_parts(39_073_000, 6695) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3437` // Estimated: `7260` - // Minimum execution time: 62_353_000 picoseconds. - Weight::from_parts(63_740_000, 7260) + // Minimum execution time: 57_581_000 picoseconds. + Weight::from_parts(59_029_000, 7260) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3459` // Estimated: `7260` - // Minimum execution time: 66_859_000 picoseconds. - Weight::from_parts(68_392_000, 7260) + // Minimum execution time: 60_617_000 picoseconds. + Weight::from_parts(62_079_000, 7260) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 28_443_000 picoseconds. - Weight::from_parts(29_268_000, 3666) + // Minimum execution time: 24_574_000 picoseconds. + Weight::from_parts(25_232_000, 3666) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `5844` // Estimated: `18187` - // Minimum execution time: 102_569_000 picoseconds. - Weight::from_parts(105_052_000, 18187) + // Minimum execution time: 92_182_000 picoseconds. + Weight::from_parts(93_682_000, 18187) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 14_035_000 picoseconds. - Weight::from_parts(14_444_000, 6703) + // Minimum execution time: 12_445_000 picoseconds. + Weight::from_parts(12_903_000, 6703) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_241_000 picoseconds. - Weight::from_parts(3_467_000, 0) + // Minimum execution time: 2_776_000 picoseconds. + Weight::from_parts(2_989_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_653_000 picoseconds. - Weight::from_parts(3_793_000, 0) + // Minimum execution time: 2_799_000 picoseconds. + Weight::from_parts(3_023_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 29_078_000 picoseconds. - Weight::from_parts(29_653_000, 3518) + // Minimum execution time: 23_529_000 picoseconds. + Weight::from_parts(23_977_000, 3518) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 32_621_000 picoseconds. - Weight::from_parts(33_181_000, 6703) + // Minimum execution time: 27_195_000 picoseconds. + Weight::from_parts(27_934_000, 6703) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `5755` // Estimated: `18187` - // Minimum execution time: 81_799_000 picoseconds. - Weight::from_parts(83_258_000, 18187) + // Minimum execution time: 74_367_000 picoseconds. + Weight::from_parts(76_185_000, 18187) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 21_262_000 picoseconds. - Weight::from_parts(21_800_000, 3518) + // Minimum execution time: 17_129_000 picoseconds. + Weight::from_parts(17_575_000, 3518) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 7_044_000 picoseconds. - Weight::from_parts(9_415_024, 1489) - // Standard Error: 5_509 - .saturating_add(Weight::from_parts(3_540_557, 0).saturating_mul(r.into())) + // Minimum execution time: 5_415_000 picoseconds. + Weight::from_parts(8_911_426, 1489) + // Standard Error: 5_129 + .saturating_add(Weight::from_parts(3_472_560, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_570_000 picoseconds. - Weight::from_parts(12_430_073, 18187) - // Standard Error: 5_384 - .saturating_add(Weight::from_parts(3_573_867, 0).saturating_mul(r.into())) + // Minimum execution time: 7_923_000 picoseconds. + Weight::from_parts(12_072_812, 18187) + // Standard Error: 5_210 + .saturating_add(Weight::from_parts(3_500_397, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `798 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 44_561_000 picoseconds. - Weight::from_parts(50_239_018, 19800) - // Standard Error: 6_146 - .saturating_add(Weight::from_parts(4_467_868, 0).saturating_mul(r.into())) + // Minimum execution time: 41_065_000 picoseconds. + Weight::from_parts(49_543_164, 19800) + // Standard Error: 6_061 + .saturating_add(Weight::from_parts(4_421_468, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 22_512_000 picoseconds. - Weight::from_parts(24_585_944, 13530) - // Standard Error: 6_004 - .saturating_add(Weight::from_parts(4_421_297, 0).saturating_mul(r.into())) + // Minimum execution time: 19_694_000 picoseconds. + Weight::from_parts(23_664_843, 13530) + // Standard Error: 5_604 + .saturating_add(Weight::from_parts(4_343_979, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_469_000 picoseconds. - Weight::from_parts(3_705_000, 0) + // Minimum execution time: 2_771_000 picoseconds. + Weight::from_parts(2_905_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 24_964_000 picoseconds. - Weight::from_parts(40_568_340, 7260) - // Standard Error: 2_645 - .saturating_add(Weight::from_parts(99_321, 0).saturating_mul(r.into())) + // Minimum execution time: 23_384_000 picoseconds. + Weight::from_parts(35_949_260, 7260) + // Standard Error: 2_619 + .saturating_add(Weight::from_parts(85_952, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 35_951_000 picoseconds. - Weight::from_parts(39_498_980, 7260) - // Standard Error: 1_281 - .saturating_add(Weight::from_parts(124_855, 0).saturating_mul(r.into())) + // Minimum execution time: 33_009_000 picoseconds. + Weight::from_parts(36_242_781, 7260) + // Standard Error: 1_344 + .saturating_add(Weight::from_parts(111_768, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 16_709_000 picoseconds. - Weight::from_parts(21_063_408, 7260) - // Standard Error: 1_192 - .saturating_add(Weight::from_parts(122_368, 0).saturating_mul(r.into())) + // Minimum execution time: 16_646_000 picoseconds. + Weight::from_parts(21_082_172, 7260) + // Standard Error: 1_397 + .saturating_add(Weight::from_parts(116_919, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 16_960_000 picoseconds. - Weight::from_parts(21_294_646, 7260) - // Standard Error: 1_266 - .saturating_add(Weight::from_parts(117_636, 0).saturating_mul(r.into())) + // Minimum execution time: 16_663_000 picoseconds. + Weight::from_parts(21_328_586, 7260) + // Standard Error: 1_475 + .saturating_add(Weight::from_parts(115_622, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 19_622_000 picoseconds. - Weight::from_parts(20_046_000, 3556) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 18_505_000 picoseconds. + Weight::from_parts(18_744_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 17_907_000 picoseconds. - Weight::from_parts(18_229_000, 3518) + // Minimum execution time: 15_196_000 picoseconds. + Weight::from_parts(15_563_000, 3518) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 44_871_000 picoseconds. - Weight::from_parts(46_325_000, 18187) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 44_470_000 picoseconds. + Weight::from_parts(45_507_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 41_853_000 picoseconds. - Weight::from_parts(43_656_000, 18187) + // Minimum execution time: 39_179_000 picoseconds. + Weight::from_parts(40_206_000, 18187) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 15_770_000 picoseconds. - Weight::from_parts(16_208_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 14_764_000 picoseconds. + Weight::from_parts(15_069_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 20_696_000 picoseconds. - Weight::from_parts(21_283_000, 3666) + // Minimum execution time: 18_082_000 picoseconds. + Weight::from_parts(18_576_000, 3666) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -529,451 +535,457 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 47_417_000 picoseconds. - Weight::from_parts(49_123_000, 18187) + // Minimum execution time: 42_477_000 picoseconds. + Weight::from_parts(43_322_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 41_744_000 picoseconds. - Weight::from_parts(42_590_000, 6695) + // Minimum execution time: 37_804_000 picoseconds. + Weight::from_parts(39_073_000, 6695) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3437` // Estimated: `7260` - // Minimum execution time: 62_353_000 picoseconds. - Weight::from_parts(63_740_000, 7260) + // Minimum execution time: 57_581_000 picoseconds. + Weight::from_parts(59_029_000, 7260) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3459` // Estimated: `7260` - // Minimum execution time: 66_859_000 picoseconds. - Weight::from_parts(68_392_000, 7260) + // Minimum execution time: 60_617_000 picoseconds. + Weight::from_parts(62_079_000, 7260) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 28_443_000 picoseconds. - Weight::from_parts(29_268_000, 3666) + // Minimum execution time: 24_574_000 picoseconds. + Weight::from_parts(25_232_000, 3666) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `5844` // Estimated: `18187` - // Minimum execution time: 102_569_000 picoseconds. - Weight::from_parts(105_052_000, 18187) + // Minimum execution time: 92_182_000 picoseconds. + Weight::from_parts(93_682_000, 18187) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 14_035_000 picoseconds. - Weight::from_parts(14_444_000, 6703) + // Minimum execution time: 12_445_000 picoseconds. + Weight::from_parts(12_903_000, 6703) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_241_000 picoseconds. - Weight::from_parts(3_467_000, 0) + // Minimum execution time: 2_776_000 picoseconds. + Weight::from_parts(2_989_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_653_000 picoseconds. - Weight::from_parts(3_793_000, 0) + // Minimum execution time: 2_799_000 picoseconds. + Weight::from_parts(3_023_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 29_078_000 picoseconds. - Weight::from_parts(29_653_000, 3518) + // Minimum execution time: 23_529_000 picoseconds. + Weight::from_parts(23_977_000, 3518) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 32_621_000 picoseconds. - Weight::from_parts(33_181_000, 6703) + // Minimum execution time: 27_195_000 picoseconds. + Weight::from_parts(27_934_000, 6703) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `5755` // Estimated: `18187` - // Minimum execution time: 81_799_000 picoseconds. - Weight::from_parts(83_258_000, 18187) + // Minimum execution time: 74_367_000 picoseconds. + Weight::from_parts(76_185_000, 18187) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 21_262_000 picoseconds. - Weight::from_parts(21_800_000, 3518) + // Minimum execution time: 17_129_000 picoseconds. + Weight::from_parts(17_575_000, 3518) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 7_044_000 picoseconds. - Weight::from_parts(9_415_024, 1489) - // Standard Error: 5_509 - .saturating_add(Weight::from_parts(3_540_557, 0).saturating_mul(r.into())) + // Minimum execution time: 5_415_000 picoseconds. + Weight::from_parts(8_911_426, 1489) + // Standard Error: 5_129 + .saturating_add(Weight::from_parts(3_472_560, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_570_000 picoseconds. - Weight::from_parts(12_430_073, 18187) - // Standard Error: 5_384 - .saturating_add(Weight::from_parts(3_573_867, 0).saturating_mul(r.into())) + // Minimum execution time: 7_923_000 picoseconds. + Weight::from_parts(12_072_812, 18187) + // Standard Error: 5_210 + .saturating_add(Weight::from_parts(3_500_397, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `798 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 44_561_000 picoseconds. - Weight::from_parts(50_239_018, 19800) - // Standard Error: 6_146 - .saturating_add(Weight::from_parts(4_467_868, 0).saturating_mul(r.into())) + // Minimum execution time: 41_065_000 picoseconds. + Weight::from_parts(49_543_164, 19800) + // Standard Error: 6_061 + .saturating_add(Weight::from_parts(4_421_468, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 22_512_000 picoseconds. - Weight::from_parts(24_585_944, 13530) - // Standard Error: 6_004 - .saturating_add(Weight::from_parts(4_421_297, 0).saturating_mul(r.into())) + // Minimum execution time: 19_694_000 picoseconds. + Weight::from_parts(23_664_843, 13530) + // Standard Error: 5_604 + .saturating_add(Weight::from_parts(4_343_979, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_469_000 picoseconds. - Weight::from_parts(3_705_000, 0) + // Minimum execution time: 2_771_000 picoseconds. + Weight::from_parts(2_905_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 24_964_000 picoseconds. - Weight::from_parts(40_568_340, 7260) - // Standard Error: 2_645 - .saturating_add(Weight::from_parts(99_321, 0).saturating_mul(r.into())) + // Minimum execution time: 23_384_000 picoseconds. + Weight::from_parts(35_949_260, 7260) + // Standard Error: 2_619 + .saturating_add(Weight::from_parts(85_952, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 35_951_000 picoseconds. - Weight::from_parts(39_498_980, 7260) - // Standard Error: 1_281 - .saturating_add(Weight::from_parts(124_855, 0).saturating_mul(r.into())) + // Minimum execution time: 33_009_000 picoseconds. + Weight::from_parts(36_242_781, 7260) + // Standard Error: 1_344 + .saturating_add(Weight::from_parts(111_768, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 16_709_000 picoseconds. - Weight::from_parts(21_063_408, 7260) - // Standard Error: 1_192 - .saturating_add(Weight::from_parts(122_368, 0).saturating_mul(r.into())) + // Minimum execution time: 16_646_000 picoseconds. + Weight::from_parts(21_082_172, 7260) + // Standard Error: 1_397 + .saturating_add(Weight::from_parts(116_919, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 16_960_000 picoseconds. - Weight::from_parts(21_294_646, 7260) - // Standard Error: 1_266 - .saturating_add(Weight::from_parts(117_636, 0).saturating_mul(r.into())) + // Minimum execution time: 16_663_000 picoseconds. + Weight::from_parts(21_328_586, 7260) + // Standard Error: 1_475 + .saturating_add(Weight::from_parts(115_622, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 19_622_000 picoseconds. - Weight::from_parts(20_046_000, 3556) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 18_505_000 picoseconds. + Weight::from_parts(18_744_000, 3556) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 17_907_000 picoseconds. - Weight::from_parts(18_229_000, 3518) + // Minimum execution time: 15_196_000 picoseconds. + Weight::from_parts(15_563_000, 3518) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 44_871_000 picoseconds. - Weight::from_parts(46_325_000, 18187) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 44_470_000 picoseconds. + Weight::from_parts(45_507_000, 18187) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 41_853_000 picoseconds. - Weight::from_parts(43_656_000, 18187) + // Minimum execution time: 39_179_000 picoseconds. + Weight::from_parts(40_206_000, 18187) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 15_770_000 picoseconds. - Weight::from_parts(16_208_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 14_764_000 picoseconds. + Weight::from_parts(15_069_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 20_696_000 picoseconds. - Weight::from_parts(21_283_000, 3666) + // Minimum execution time: 18_082_000 picoseconds. + Weight::from_parts(18_576_000, 3666) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_farming.rs b/runtime/calamari/src/weights/pallet_farming.rs index 6ce17d130..0655e9ba4 100644 --- a/runtime/calamari/src/weights/pallet_farming.rs +++ b/runtime/calamari/src/weights/pallet_farming.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_farming //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,113 +57,113 @@ pub trait WeightInfo { /// Weights for pallet_farming using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_farming::WeightInfo for SubstrateWeight { - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:1 w:0) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:0) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `2105` // Estimated: `5570` - // Minimum execution time: 12_403_000 picoseconds. - Weight::from_parts(12_771_000, 5570) + // Minimum execution time: 11_151_000 picoseconds. + Weight::from_parts(11_436_000, 5570) .saturating_add(T::DbWeight::get().reads(2_u64)) } - /// Storage: Farming PoolNextId (r:1 w:1) - /// Proof Skipped: Farming PoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolNextId (r:1 w:1) - /// Proof Skipped: Farming GaugePoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:0 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:0 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolNextId` (r:1 w:1) + /// Proof: `Farming::PoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolNextId` (r:1 w:1) + /// Proof: `Farming::GaugePoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:0 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:0 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farming_pool() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1491` - // Minimum execution time: 18_751_000 picoseconds. - Weight::from_parts(19_141_000, 1491) + // Minimum execution time: 13_901_000 picoseconds. + Weight::from_parts(14_362_000, 1491) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn charge() -> Weight { // Proof Size summary in bytes: // Measured: `1330` // Estimated: `6232` - // Minimum execution time: 68_957_000 picoseconds. - Weight::from_parts(70_145_000, 6232) + // Minimum execution time: 61_405_000 picoseconds. + Weight::from_parts(62_693_000, 6232) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deposit() -> Weight { // Proof Size summary in bytes: // Measured: `1504` // Estimated: `6232` - // Minimum execution time: 76_664_000 picoseconds. - Weight::from_parts(78_533_000, 6232) + // Minimum execution time: 68_494_000 picoseconds. + Weight::from_parts(69_730_000, 6232) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `506` // Estimated: `3971` - // Minimum execution time: 32_214_000 picoseconds. - Weight::from_parts(32_801_000, 3971) + // Minimum execution time: 28_536_000 picoseconds. + Weight::from_parts(29_094_000, 3971) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:0) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:0) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3975` - // Minimum execution time: 33_518_000 picoseconds. - Weight::from_parts(34_452_000, 3975) + // Minimum execution time: 29_139_000 picoseconds. + Weight::from_parts(29_700_000, 3975) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Farming GaugePoolInfos (r:1 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:1) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:0) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:1) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:0) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn gauge_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `893` // Estimated: `4358` - // Minimum execution time: 36_962_000 picoseconds. - Weight::from_parts(37_814_000, 4358) + // Minimum execution time: 33_600_000 picoseconds. + Weight::from_parts(34_315_000, 4358) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -171,114 +171,114 @@ impl pallet_farming::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:1 w:0) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:0) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `2105` // Estimated: `5570` - // Minimum execution time: 12_403_000 picoseconds. - Weight::from_parts(12_771_000, 5570) + // Minimum execution time: 11_151_000 picoseconds. + Weight::from_parts(11_436_000, 5570) .saturating_add(RocksDbWeight::get().reads(2_u64)) } - /// Storage: Farming PoolNextId (r:1 w:1) - /// Proof Skipped: Farming PoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolNextId (r:1 w:1) - /// Proof Skipped: Farming GaugePoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:0 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:0 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolNextId` (r:1 w:1) + /// Proof: `Farming::PoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolNextId` (r:1 w:1) + /// Proof: `Farming::GaugePoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:0 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:0 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farming_pool() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1491` - // Minimum execution time: 18_751_000 picoseconds. - Weight::from_parts(19_141_000, 1491) + // Minimum execution time: 13_901_000 picoseconds. + Weight::from_parts(14_362_000, 1491) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn charge() -> Weight { // Proof Size summary in bytes: // Measured: `1330` // Estimated: `6232` - // Minimum execution time: 68_957_000 picoseconds. - Weight::from_parts(70_145_000, 6232) + // Minimum execution time: 61_405_000 picoseconds. + Weight::from_parts(62_693_000, 6232) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deposit() -> Weight { // Proof Size summary in bytes: // Measured: `1504` // Estimated: `6232` - // Minimum execution time: 76_664_000 picoseconds. - Weight::from_parts(78_533_000, 6232) + // Minimum execution time: 68_494_000 picoseconds. + Weight::from_parts(69_730_000, 6232) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `506` // Estimated: `3971` - // Minimum execution time: 32_214_000 picoseconds. - Weight::from_parts(32_801_000, 3971) + // Minimum execution time: 28_536_000 picoseconds. + Weight::from_parts(29_094_000, 3971) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:0) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:0) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3975` - // Minimum execution time: 33_518_000 picoseconds. - Weight::from_parts(34_452_000, 3975) + // Minimum execution time: 29_139_000 picoseconds. + Weight::from_parts(29_700_000, 3975) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Farming GaugePoolInfos (r:1 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:1) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:0) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:1) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:0) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn gauge_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `893` // Estimated: `4358` - // Minimum execution time: 36_962_000 picoseconds. - Weight::from_parts(37_814_000, 4358) + // Minimum execution time: 33_600_000 picoseconds. + Weight::from_parts(34_315_000, 4358) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_lottery.rs b/runtime/calamari/src/weights/pallet_lottery.rs index a3a8761bb..4bee2ce6a 100644 --- a/runtime/calamari/src/weights/pallet_lottery.rs +++ b/runtime/calamari/src/weights/pallet_lottery.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_lottery //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -60,516 +60,516 @@ pub trait WeightInfo { /// Weights for pallet_lottery using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_lottery::WeightInfo for SubstrateWeight { - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:1) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:1) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:1) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:1) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn deposit(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `3459 + x * (1 ±0) + y * (72 ±0)` // Estimated: `8716 + x * (2 ±0) + y * (79 ±0)` - // Minimum execution time: 219_382_000 picoseconds. - Weight::from_parts(254_137_415, 8716) - // Standard Error: 1_320 - .saturating_add(Weight::from_parts(203_207, 0).saturating_mul(x.into())) - // Standard Error: 20_803 - .saturating_add(Weight::from_parts(26_611, 0).saturating_mul(y.into())) + // Minimum execution time: 197_635_000 picoseconds. + Weight::from_parts(221_869_681, 8716) + // Standard Error: 1_801 + .saturating_add(Weight::from_parts(169_554, 0).saturating_mul(x.into())) + // Standard Error: 28_381 + .saturating_add(Weight::from_parts(210_063, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) .saturating_add(Weight::from_parts(0, 2).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 79).saturating_mul(y.into())) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:1) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SurplusUnstakingBalance (r:1 w:1) - /// Proof Skipped: Lottery SurplusUnstakingBalance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:0) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:1) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:1) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SurplusUnstakingBalance` (r:1 w:1) + /// Proof: `Lottery::SurplusUnstakingBalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:0) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:1) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn request_withdraw(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2216 + x * (1 ±0)` // Estimated: `7719 + x * (1 ±0) + y * (5 ±0)` - // Minimum execution time: 106_439_000 picoseconds. - Weight::from_parts(109_754_175, 7719) - // Standard Error: 315 - .saturating_add(Weight::from_parts(94_367, 0).saturating_mul(x.into())) + // Minimum execution time: 92_963_000 picoseconds. + Weight::from_parts(100_727_932, 7719) + // Standard Error: 778 + .saturating_add(Weight::from_parts(93_297, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 5).saturating_mul(y.into())) } - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `y` is `[0, 63]`. fn claim_my_winnings(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + y * (5 ±0)` // Estimated: `6196 + y * (6 ±0)` - // Minimum execution time: 65_232_000 picoseconds. - Weight::from_parts(69_542_029, 6196) - // Standard Error: 2_374 - .saturating_add(Weight::from_parts(114_761, 0).saturating_mul(y.into())) + // Minimum execution time: 58_580_000 picoseconds. + Weight::from_parts(62_544_697, 6196) + // Standard Error: 1_964 + .saturating_add(Weight::from_parts(122_638, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(y.into())) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn start_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `324` // Estimated: `42428` - // Minimum execution time: 35_847_000 picoseconds. - Weight::from_parts(36_423_000, 42428) + // Minimum execution time: 29_813_000 picoseconds. + Weight::from_parts(30_583_000, 42428) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn stop_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `42428` - // Minimum execution time: 24_658_000 picoseconds. - Weight::from_parts(25_071_000, 42428) + // Minimum execution time: 20_287_000 picoseconds. + Weight::from_parts(20_848_000, 42428) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:0) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:516 w:0) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:0) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:516 w:0) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn draw_lottery(x: u32, _y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1665 + x * (30 ±0)` - // Estimated: `259887 + x * (1112 ±0)` - // Minimum execution time: 75_132_000 picoseconds. - Weight::from_parts(480_159_574, 259887) - // Standard Error: 42_267 - .saturating_add(Weight::from_parts(1_932_706, 0).saturating_mul(x.into())) + // Estimated: `259887 + x * (1112 ±25)` + // Minimum execution time: 62_846_000 picoseconds. + Weight::from_parts(465_363_946, 259887) + // Standard Error: 43_256 + .saturating_add(Weight::from_parts(2_010_029, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1112).saturating_mul(x.into())) } - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn process_matured_withdrawals() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `1723` - // Minimum execution time: 11_668_000 picoseconds. - Weight::from_parts(11_892_000, 1723) + // Minimum execution time: 9_469_000 picoseconds. + Weight::from_parts(9_628_000, 1723) .saturating_add(T::DbWeight::get().reads(4_u64)) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:0 w:1) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:0 w:1) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 7_165_000 picoseconds. - Weight::from_parts(7_349_000, 1701) + // Minimum execution time: 6_011_000 picoseconds. + Weight::from_parts(6_204_000, 1701) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Lottery MinWithdraw (r:0 w:1) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:0 w:1) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_185_000 picoseconds. - Weight::from_parts(3_340_000, 0) + // Minimum execution time: 2_500_000 picoseconds. + Weight::from_parts(2_684_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Lottery GasReserve (r:0 w:1) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::GasReserve` (r:0 w:1) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_gas_reserve() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_029_000 picoseconds. - Weight::from_parts(3_201_000, 0) + // Minimum execution time: 2_590_000 picoseconds. + Weight::from_parts(2_764_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:1) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:1) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:1) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:1) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn deposit(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `3459 + x * (1 ±0) + y * (72 ±0)` // Estimated: `8716 + x * (2 ±0) + y * (79 ±0)` - // Minimum execution time: 219_382_000 picoseconds. - Weight::from_parts(254_137_415, 8716) - // Standard Error: 1_320 - .saturating_add(Weight::from_parts(203_207, 0).saturating_mul(x.into())) - // Standard Error: 20_803 - .saturating_add(Weight::from_parts(26_611, 0).saturating_mul(y.into())) + // Minimum execution time: 197_635_000 picoseconds. + Weight::from_parts(221_869_681, 8716) + // Standard Error: 1_801 + .saturating_add(Weight::from_parts(169_554, 0).saturating_mul(x.into())) + // Standard Error: 28_381 + .saturating_add(Weight::from_parts(210_063, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(24_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) .saturating_add(Weight::from_parts(0, 2).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 79).saturating_mul(y.into())) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:1) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SurplusUnstakingBalance (r:1 w:1) - /// Proof Skipped: Lottery SurplusUnstakingBalance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:0) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:1) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:1) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SurplusUnstakingBalance` (r:1 w:1) + /// Proof: `Lottery::SurplusUnstakingBalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:0) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:1) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn request_withdraw(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2216 + x * (1 ±0)` // Estimated: `7719 + x * (1 ±0) + y * (5 ±0)` - // Minimum execution time: 106_439_000 picoseconds. - Weight::from_parts(109_754_175, 7719) - // Standard Error: 315 - .saturating_add(Weight::from_parts(94_367, 0).saturating_mul(x.into())) + // Minimum execution time: 92_963_000 picoseconds. + Weight::from_parts(100_727_932, 7719) + // Standard Error: 778 + .saturating_add(Weight::from_parts(93_297, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 5).saturating_mul(y.into())) } - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `y` is `[0, 63]`. fn claim_my_winnings(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + y * (5 ±0)` // Estimated: `6196 + y * (6 ±0)` - // Minimum execution time: 65_232_000 picoseconds. - Weight::from_parts(69_542_029, 6196) - // Standard Error: 2_374 - .saturating_add(Weight::from_parts(114_761, 0).saturating_mul(y.into())) + // Minimum execution time: 58_580_000 picoseconds. + Weight::from_parts(62_544_697, 6196) + // Standard Error: 1_964 + .saturating_add(Weight::from_parts(122_638, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(y.into())) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn start_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `324` // Estimated: `42428` - // Minimum execution time: 35_847_000 picoseconds. - Weight::from_parts(36_423_000, 42428) + // Minimum execution time: 29_813_000 picoseconds. + Weight::from_parts(30_583_000, 42428) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn stop_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `42428` - // Minimum execution time: 24_658_000 picoseconds. - Weight::from_parts(25_071_000, 42428) + // Minimum execution time: 20_287_000 picoseconds. + Weight::from_parts(20_848_000, 42428) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:0) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:516 w:0) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:0) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:516 w:0) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn draw_lottery(x: u32, _y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1665 + x * (30 ±0)` - // Estimated: `259887 + x * (1112 ±0)` - // Minimum execution time: 75_132_000 picoseconds. - Weight::from_parts(480_159_574, 259887) - // Standard Error: 42_267 - .saturating_add(Weight::from_parts(1_932_706, 0).saturating_mul(x.into())) + // Estimated: `259887 + x * (1112 ±25)` + // Minimum execution time: 62_846_000 picoseconds. + Weight::from_parts(465_363_946, 259887) + // Standard Error: 43_256 + .saturating_add(Weight::from_parts(2_010_029, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1112).saturating_mul(x.into())) } - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn process_matured_withdrawals() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `1723` - // Minimum execution time: 11_668_000 picoseconds. - Weight::from_parts(11_892_000, 1723) + // Minimum execution time: 9_469_000 picoseconds. + Weight::from_parts(9_628_000, 1723) .saturating_add(RocksDbWeight::get().reads(4_u64)) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:0 w:1) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:0 w:1) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 7_165_000 picoseconds. - Weight::from_parts(7_349_000, 1701) + // Minimum execution time: 6_011_000 picoseconds. + Weight::from_parts(6_204_000, 1701) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Lottery MinWithdraw (r:0 w:1) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:0 w:1) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_185_000 picoseconds. - Weight::from_parts(3_340_000, 0) + // Minimum execution time: 2_500_000 picoseconds. + Weight::from_parts(2_684_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Lottery GasReserve (r:0 w:1) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::GasReserve` (r:0 w:1) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_gas_reserve() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_029_000 picoseconds. - Weight::from_parts(3_201_000, 0) + // Minimum execution time: 2_590_000 picoseconds. + Weight::from_parts(2_764_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_manta_pay.rs b/runtime/calamari/src/weights/pallet_manta_pay.rs index 2a97afe05..c2b56fe0c 100644 --- a/runtime/calamari/src/weights/pallet_manta_pay.rs +++ b/runtime/calamari/src/weights/pallet_manta_pay.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_manta_pay //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -54,89 +54,89 @@ pub trait WeightInfo { /// Weights for pallet_manta_pay using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_manta_pay::WeightInfo for SubstrateWeight { - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoSet (r:1 w:1) - /// Proof: MantaPay UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetSize (r:1 w:0) - /// Proof: MantaPay NullifierSetSize (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaPay ShardTrees (r:1 w:1) - /// Proof: MantaPay ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoAccumulatorOutputs (r:0 w:1) - /// Proof: MantaPay UtxoAccumulatorOutputs (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay Shards (r:0 w:1) - /// Proof: MantaPay Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoSet` (r:1 w:1) + /// Proof: `MantaPay::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetSize` (r:1 w:0) + /// Proof: `MantaPay::NullifierSetSize` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::ShardTrees` (r:1 w:1) + /// Proof: `MantaPay::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoAccumulatorOutputs` (r:0 w:1) + /// Proof: `MantaPay::UtxoAccumulatorOutputs` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::Shards` (r:0 w:1) + /// Proof: `MantaPay::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn to_private() -> Weight { // Proof Size summary in bytes: // Measured: `4338` // Estimated: `6232` - // Minimum execution time: 39_976_088_000 picoseconds. - Weight::from_parts(40_013_767_000, 6232) + // Minimum execution time: 39_248_741_000 picoseconds. + Weight::from_parts(39_287_011_000, 6232) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoAccumulatorOutputs (r:2 w:1) - /// Proof: MantaPay UtxoAccumulatorOutputs (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierCommitmentSet (r:2 w:2) - /// Proof: MantaPay NullifierCommitmentSet (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoSet (r:1 w:1) - /// Proof: MantaPay UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetSize (r:1 w:1) - /// Proof: MantaPay NullifierSetSize (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaPay ShardTrees (r:1 w:1) - /// Proof: MantaPay ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2) - /// Proof: MantaPay NullifierSetInsertionOrder (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) - /// Storage: MantaPay Shards (r:0 w:1) - /// Proof: MantaPay Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoAccumulatorOutputs` (r:2 w:1) + /// Proof: `MantaPay::UtxoAccumulatorOutputs` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierCommitmentSet` (r:2 w:2) + /// Proof: `MantaPay::NullifierCommitmentSet` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoSet` (r:1 w:1) + /// Proof: `MantaPay::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetSize` (r:1 w:1) + /// Proof: `MantaPay::NullifierSetSize` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::ShardTrees` (r:1 w:1) + /// Proof: `MantaPay::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetInsertionOrder` (r:0 w:2) + /// Proof: `MantaPay::NullifierSetInsertionOrder` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::Shards` (r:0 w:1) + /// Proof: `MantaPay::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn to_public() -> Weight { // Proof Size summary in bytes: // Measured: `11190` // Estimated: `6232` - // Minimum execution time: 52_995_808_000 picoseconds. - Weight::from_parts(53_043_726_000, 6232) + // Minimum execution time: 52_077_157_000 picoseconds. + Weight::from_parts(52_156_286_000, 6232) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(12_u64)) } - /// Storage: MantaPay UtxoAccumulatorOutputs (r:2 w:2) - /// Proof: MantaPay UtxoAccumulatorOutputs (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierCommitmentSet (r:2 w:2) - /// Proof: MantaPay NullifierCommitmentSet (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoSet (r:2 w:2) - /// Proof: MantaPay UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetSize (r:1 w:1) - /// Proof: MantaPay NullifierSetSize (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaPay ShardTrees (r:2 w:2) - /// Proof: MantaPay ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2) - /// Proof: MantaPay NullifierSetInsertionOrder (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) - /// Storage: MantaPay Shards (r:0 w:2) - /// Proof: MantaPay Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaPay::UtxoAccumulatorOutputs` (r:2 w:2) + /// Proof: `MantaPay::UtxoAccumulatorOutputs` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierCommitmentSet` (r:2 w:2) + /// Proof: `MantaPay::NullifierCommitmentSet` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoSet` (r:2 w:2) + /// Proof: `MantaPay::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetSize` (r:1 w:1) + /// Proof: `MantaPay::NullifierSetSize` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::ShardTrees` (r:2 w:2) + /// Proof: `MantaPay::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetInsertionOrder` (r:0 w:2) + /// Proof: `MantaPay::NullifierSetInsertionOrder` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::Shards` (r:0 w:2) + /// Proof: `MantaPay::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn private_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `12105` // Estimated: `7248` - // Minimum execution time: 69_674_315_000 picoseconds. - Weight::from_parts(69_725_048_000, 7248) + // Minimum execution time: 70_175_431_000 picoseconds. + Weight::from_parts(70_345_163_000, 7248) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn public_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `969` // Estimated: `6232` - // Minimum execution time: 52_801_000 picoseconds. - Weight::from_parts(53_729_000, 6232) + // Minimum execution time: 47_336_000 picoseconds. + Weight::from_parts(48_199_000, 6232) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -144,90 +144,90 @@ impl pallet_manta_pay::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `4338` // Estimated: `6232` - // Minimum execution time: 39_976_088_000 picoseconds. - Weight::from_parts(40_013_767_000, 6232) + // Minimum execution time: 39_248_741_000 picoseconds. + Weight::from_parts(39_287_011_000, 6232) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoAccumulatorOutputs (r:2 w:1) - /// Proof: MantaPay UtxoAccumulatorOutputs (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierCommitmentSet (r:2 w:2) - /// Proof: MantaPay NullifierCommitmentSet (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoSet (r:1 w:1) - /// Proof: MantaPay UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetSize (r:1 w:1) - /// Proof: MantaPay NullifierSetSize (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaPay ShardTrees (r:1 w:1) - /// Proof: MantaPay ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2) - /// Proof: MantaPay NullifierSetInsertionOrder (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) - /// Storage: MantaPay Shards (r:0 w:1) - /// Proof: MantaPay Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoAccumulatorOutputs` (r:2 w:1) + /// Proof: `MantaPay::UtxoAccumulatorOutputs` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierCommitmentSet` (r:2 w:2) + /// Proof: `MantaPay::NullifierCommitmentSet` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoSet` (r:1 w:1) + /// Proof: `MantaPay::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetSize` (r:1 w:1) + /// Proof: `MantaPay::NullifierSetSize` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::ShardTrees` (r:1 w:1) + /// Proof: `MantaPay::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetInsertionOrder` (r:0 w:2) + /// Proof: `MantaPay::NullifierSetInsertionOrder` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::Shards` (r:0 w:1) + /// Proof: `MantaPay::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn to_public() -> Weight { // Proof Size summary in bytes: // Measured: `11190` // Estimated: `6232` - // Minimum execution time: 52_995_808_000 picoseconds. - Weight::from_parts(53_043_726_000, 6232) + // Minimum execution time: 52_077_157_000 picoseconds. + Weight::from_parts(52_156_286_000, 6232) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(12_u64)) } - /// Storage: MantaPay UtxoAccumulatorOutputs (r:2 w:2) - /// Proof: MantaPay UtxoAccumulatorOutputs (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierCommitmentSet (r:2 w:2) - /// Proof: MantaPay NullifierCommitmentSet (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: MantaPay UtxoSet (r:2 w:2) - /// Proof: MantaPay UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetSize (r:1 w:1) - /// Proof: MantaPay NullifierSetSize (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaPay ShardTrees (r:2 w:2) - /// Proof: MantaPay ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaPay NullifierSetInsertionOrder (r:0 w:2) - /// Proof: MantaPay NullifierSetInsertionOrder (max_values: None, max_size: Some(144), added: 2619, mode: MaxEncodedLen) - /// Storage: MantaPay Shards (r:0 w:2) - /// Proof: MantaPay Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaPay::UtxoAccumulatorOutputs` (r:2 w:2) + /// Proof: `MantaPay::UtxoAccumulatorOutputs` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierCommitmentSet` (r:2 w:2) + /// Proof: `MantaPay::NullifierCommitmentSet` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::UtxoSet` (r:2 w:2) + /// Proof: `MantaPay::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetSize` (r:1 w:1) + /// Proof: `MantaPay::NullifierSetSize` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::ShardTrees` (r:2 w:2) + /// Proof: `MantaPay::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::NullifierSetInsertionOrder` (r:0 w:2) + /// Proof: `MantaPay::NullifierSetInsertionOrder` (`max_values`: None, `max_size`: Some(144), added: 2619, mode: `MaxEncodedLen`) + /// Storage: `MantaPay::Shards` (r:0 w:2) + /// Proof: `MantaPay::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn private_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `12105` // Estimated: `7248` - // Minimum execution time: 69_674_315_000 picoseconds. - Weight::from_parts(69_725_048_000, 7248) + // Minimum execution time: 70_175_431_000 picoseconds. + Weight::from_parts(70_345_163_000, 7248) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn public_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `969` // Estimated: `6232` - // Minimum execution time: 52_801_000 picoseconds. - Weight::from_parts(53_729_000, 6232) + // Minimum execution time: 47_336_000 picoseconds. + Weight::from_parts(48_199_000, 6232) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_manta_sbt.rs b/runtime/calamari/src/weights/pallet_manta_sbt.rs index 76d073d27..d63e89f1c 100644 --- a/runtime/calamari/src/weights/pallet_manta_sbt.rs +++ b/runtime/calamari/src/weights/pallet_manta_sbt.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_manta_sbt //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -63,424 +63,424 @@ 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) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:1 w:0) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:1 w:0) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5845` // Estimated: `4119` - // Minimum execution time: 39_324_774_000 picoseconds. - Weight::from_parts(39_356_950_000, 4119) + // Minimum execution time: 39_418_160_000 picoseconds. + Weight::from_parts(39_465_265_000, 4119) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt FreeReserveAccount (r:1 w:0) - /// Proof: MantaSbt FreeReserveAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::FreeReserveAccount` (r:1 w:0) + /// Proof: `MantaSbt::FreeReserveAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn reserve_sbt() -> Weight { // Proof Size summary in bytes: // Measured: `348` // Estimated: `3593` - // Minimum execution time: 64_544_000 picoseconds. - Weight::from_parts(65_195_000, 3593) + // Minimum execution time: 54_474_000 picoseconds. + Weight::from_parts(55_502_000, 3593) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_allowlist_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_299_000 picoseconds. - Weight::from_parts(10_640_000, 0) + // Minimum execution time: 7_371_000 picoseconds. + Weight::from_parts(7_798_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt AllowlistAccount (r:1 w:0) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::AllowlistAccount` (r:1 w:0) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `564` // Estimated: `3804` - // Minimum execution time: 28_393_000 picoseconds. - Weight::from_parts(29_100_000, 3804) + // Minimum execution time: 24_386_000 picoseconds. + Weight::from_parts(25_024_000, 3804) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt NextMintId (r:1 w:1) - /// Proof: MantaSbt NextMintId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt MintIdRegistry (r:0 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextMintId` (r:1 w:1) + /// Proof: `MantaSbt::NextMintId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::MintIdRegistry` (r:0 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) fn new_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `862` // Estimated: `1489` - // Minimum execution time: 16_456_000 picoseconds. - Weight::from_parts(16_860_000, 1489) + // Minimum execution time: 13_340_000 picoseconds. + Weight::from_parts(13_774_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn update_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `3804` - // Minimum execution time: 17_414_000 picoseconds. - Weight::from_parts(17_973_000, 3804) + // Minimum execution time: 15_283_000 picoseconds. + Weight::from_parts(15_688_000, 3804) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System BlockHash (r:1 w:0) - /// Proof: System BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::BlockHash` (r:1 w:0) + /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5917` // Estimated: `4119` - // Minimum execution time: 39_406_551_000 picoseconds. - Weight::from_parts(39_431_198_000, 4119) + // Minimum execution time: 39_482_166_000 picoseconds. + Weight::from_parts(39_531_344_000, 4119) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_free_reserve_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_156_000 picoseconds. - Weight::from_parts(10_493_000, 0) + // Minimum execution time: 7_304_000 picoseconds. + Weight::from_parts(7_790_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt EvmAccountAllowlist (r:0 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:0 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn remove_allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_922_000 picoseconds. - Weight::from_parts(12_226_000, 0) + // Minimum execution time: 9_726_000 picoseconds. + Weight::from_parts(10_055_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt NextSbtId (r:0 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextSbtId` (r:0 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_next_sbt_id() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_925_000 picoseconds. - Weight::from_parts(10_329_000, 0) + // Minimum execution time: 7_225_000 picoseconds. + Weight::from_parts(7_637_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_320_356_000 picoseconds. - Weight::from_parts(39_360_746_000, 4119) + // Minimum execution time: 39_366_086_000 picoseconds. + Weight::from_parts(39_400_361_000, 4119) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_543_372_000 picoseconds. - Weight::from_parts(39_586_243_000, 4119) + // Minimum execution time: 39_630_223_000 picoseconds. + Weight::from_parts(39_669_753_000, 4119) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ForceAccount (r:0 w:1) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:0 w:1) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_force_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_154_000 picoseconds. - Weight::from_parts(10_487_000, 0) + // Minimum execution time: 7_429_000 picoseconds. + Weight::from_parts(7_834_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:1 w:0) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:1 w:0) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5845` // Estimated: `4119` - // Minimum execution time: 39_324_774_000 picoseconds. - Weight::from_parts(39_356_950_000, 4119) + // Minimum execution time: 39_418_160_000 picoseconds. + Weight::from_parts(39_465_265_000, 4119) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt FreeReserveAccount (r:1 w:0) - /// Proof: MantaSbt FreeReserveAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::FreeReserveAccount` (r:1 w:0) + /// Proof: `MantaSbt::FreeReserveAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn reserve_sbt() -> Weight { // Proof Size summary in bytes: // Measured: `348` // Estimated: `3593` - // Minimum execution time: 64_544_000 picoseconds. - Weight::from_parts(65_195_000, 3593) + // Minimum execution time: 54_474_000 picoseconds. + Weight::from_parts(55_502_000, 3593) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_allowlist_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_299_000 picoseconds. - Weight::from_parts(10_640_000, 0) + // Minimum execution time: 7_371_000 picoseconds. + Weight::from_parts(7_798_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt AllowlistAccount (r:1 w:0) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::AllowlistAccount` (r:1 w:0) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `564` // Estimated: `3804` - // Minimum execution time: 28_393_000 picoseconds. - Weight::from_parts(29_100_000, 3804) + // Minimum execution time: 24_386_000 picoseconds. + Weight::from_parts(25_024_000, 3804) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt NextMintId (r:1 w:1) - /// Proof: MantaSbt NextMintId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt MintIdRegistry (r:0 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextMintId` (r:1 w:1) + /// Proof: `MantaSbt::NextMintId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::MintIdRegistry` (r:0 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) fn new_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `862` // Estimated: `1489` - // Minimum execution time: 16_456_000 picoseconds. - Weight::from_parts(16_860_000, 1489) + // Minimum execution time: 13_340_000 picoseconds. + Weight::from_parts(13_774_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn update_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `3804` - // Minimum execution time: 17_414_000 picoseconds. - Weight::from_parts(17_973_000, 3804) + // Minimum execution time: 15_283_000 picoseconds. + Weight::from_parts(15_688_000, 3804) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System BlockHash (r:1 w:0) - /// Proof: System BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::BlockHash` (r:1 w:0) + /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5917` // Estimated: `4119` - // Minimum execution time: 39_406_551_000 picoseconds. - Weight::from_parts(39_431_198_000, 4119) + // Minimum execution time: 39_482_166_000 picoseconds. + Weight::from_parts(39_531_344_000, 4119) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_free_reserve_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_156_000 picoseconds. - Weight::from_parts(10_493_000, 0) + // Minimum execution time: 7_304_000 picoseconds. + Weight::from_parts(7_790_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt EvmAccountAllowlist (r:0 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:0 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn remove_allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_922_000 picoseconds. - Weight::from_parts(12_226_000, 0) + // Minimum execution time: 9_726_000 picoseconds. + Weight::from_parts(10_055_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt NextSbtId (r:0 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextSbtId` (r:0 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_next_sbt_id() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_925_000 picoseconds. - Weight::from_parts(10_329_000, 0) + // Minimum execution time: 7_225_000 picoseconds. + Weight::from_parts(7_637_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_320_356_000 picoseconds. - Weight::from_parts(39_360_746_000, 4119) + // Minimum execution time: 39_366_086_000 picoseconds. + Weight::from_parts(39_400_361_000, 4119) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_543_372_000 picoseconds. - Weight::from_parts(39_586_243_000, 4119) + // Minimum execution time: 39_630_223_000 picoseconds. + Weight::from_parts(39_669_753_000, 4119) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ForceAccount (r:0 w:1) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:0 w:1) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_force_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_154_000 picoseconds. - Weight::from_parts(10_487_000, 0) + // Minimum execution time: 7_429_000 picoseconds. + Weight::from_parts(7_834_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_membership.rs b/runtime/calamari/src/weights/pallet_membership.rs index 0f5ecf4ef..7144a096e 100644 --- a/runtime/calamari/src/weights/pallet_membership.rs +++ b/runtime/calamari/src/weights/pallet_membership.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,302 +57,302 @@ pub trait WeightInfo { /// Weights for pallet_membership using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_membership::WeightInfo for SubstrateWeight { - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 17_359_000 picoseconds. - Weight::from_parts(17_870_388, 4687) - // Standard Error: 170 - .saturating_add(Weight::from_parts(25_360, 0).saturating_mul(m.into())) + // Minimum execution time: 12_405_000 picoseconds. + Weight::from_parts(12_905_876, 4687) + // Standard Error: 148 + .saturating_add(Weight::from_parts(27_798, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_123_000 picoseconds. - Weight::from_parts(20_867_224, 4687) - // Standard Error: 219 - .saturating_add(Weight::from_parts(25_284, 0).saturating_mul(m.into())) + // Minimum execution time: 14_656_000 picoseconds. + Weight::from_parts(15_129_467, 4687) + // Standard Error: 171 + .saturating_add(Weight::from_parts(27_415, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_502_000 picoseconds. - Weight::from_parts(21_141_916, 4687) - // Standard Error: 231 - .saturating_add(Weight::from_parts(37_144, 0).saturating_mul(m.into())) + // Minimum execution time: 14_634_000 picoseconds. + Weight::from_parts(15_356_059, 4687) + // Standard Error: 241 + .saturating_add(Weight::from_parts(39_046, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_039_000 picoseconds. - Weight::from_parts(21_337_798, 4687) - // Standard Error: 410 - .saturating_add(Weight::from_parts(161_637, 0).saturating_mul(m.into())) + // Minimum execution time: 14_348_000 picoseconds. + Weight::from_parts(15_571_059, 4687) + // Standard Error: 383 + .saturating_add(Weight::from_parts(157_305, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_757_000 picoseconds. - Weight::from_parts(21_741_856, 4687) - // Standard Error: 272 - .saturating_add(Weight::from_parts(35_651, 0).saturating_mul(m.into())) + // Minimum execution time: 14_736_000 picoseconds. + Weight::from_parts(15_619_638, 4687) + // Standard Error: 281 + .saturating_add(Weight::from_parts(37_904, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `108 + m * (32 ±0)` // Estimated: `4687 + m * (32 ±0)` - // Minimum execution time: 8_680_000 picoseconds. - Weight::from_parts(9_144_309, 4687) - // Standard Error: 93 - .saturating_add(Weight::from_parts(11_844, 0).saturating_mul(m.into())) + // Minimum execution time: 6_929_000 picoseconds. + Weight::from_parts(7_413_455, 4687) + // Standard Error: 419 + .saturating_add(Weight::from_parts(10_113, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_538_000 picoseconds. - Weight::from_parts(3_790_593, 0) - // Standard Error: 49 - .saturating_add(Weight::from_parts(547, 0).saturating_mul(m.into())) + // Minimum execution time: 2_342_000 picoseconds. + Weight::from_parts(2_533_541, 0) + // Standard Error: 42 + .saturating_add(Weight::from_parts(582, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 17_359_000 picoseconds. - Weight::from_parts(17_870_388, 4687) - // Standard Error: 170 - .saturating_add(Weight::from_parts(25_360, 0).saturating_mul(m.into())) + // Minimum execution time: 12_405_000 picoseconds. + Weight::from_parts(12_905_876, 4687) + // Standard Error: 148 + .saturating_add(Weight::from_parts(27_798, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_123_000 picoseconds. - Weight::from_parts(20_867_224, 4687) - // Standard Error: 219 - .saturating_add(Weight::from_parts(25_284, 0).saturating_mul(m.into())) + // Minimum execution time: 14_656_000 picoseconds. + Weight::from_parts(15_129_467, 4687) + // Standard Error: 171 + .saturating_add(Weight::from_parts(27_415, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_502_000 picoseconds. - Weight::from_parts(21_141_916, 4687) - // Standard Error: 231 - .saturating_add(Weight::from_parts(37_144, 0).saturating_mul(m.into())) + // Minimum execution time: 14_634_000 picoseconds. + Weight::from_parts(15_356_059, 4687) + // Standard Error: 241 + .saturating_add(Weight::from_parts(39_046, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_039_000 picoseconds. - Weight::from_parts(21_337_798, 4687) - // Standard Error: 410 - .saturating_add(Weight::from_parts(161_637, 0).saturating_mul(m.into())) + // Minimum execution time: 14_348_000 picoseconds. + Weight::from_parts(15_571_059, 4687) + // Standard Error: 383 + .saturating_add(Weight::from_parts(157_305, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_757_000 picoseconds. - Weight::from_parts(21_741_856, 4687) - // Standard Error: 272 - .saturating_add(Weight::from_parts(35_651, 0).saturating_mul(m.into())) + // Minimum execution time: 14_736_000 picoseconds. + Weight::from_parts(15_619_638, 4687) + // Standard Error: 281 + .saturating_add(Weight::from_parts(37_904, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `108 + m * (32 ±0)` // Estimated: `4687 + m * (32 ±0)` - // Minimum execution time: 8_680_000 picoseconds. - Weight::from_parts(9_144_309, 4687) - // Standard Error: 93 - .saturating_add(Weight::from_parts(11_844, 0).saturating_mul(m.into())) + // Minimum execution time: 6_929_000 picoseconds. + Weight::from_parts(7_413_455, 4687) + // Standard Error: 419 + .saturating_add(Weight::from_parts(10_113, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_538_000 picoseconds. - Weight::from_parts(3_790_593, 0) - // Standard Error: 49 - .saturating_add(Weight::from_parts(547, 0).saturating_mul(m.into())) + // Minimum execution time: 2_342_000 picoseconds. + Weight::from_parts(2_533_541, 0) + // Standard Error: 42 + .saturating_add(Weight::from_parts(582, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().writes(2_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_multisig.rs b/runtime/calamari/src/weights/pallet_multisig.rs index d0bf9a36b..b5cd82685 100644 --- a/runtime/calamari/src/weights/pallet_multisig.rs +++ b/runtime/calamari/src/weights/pallet_multisig.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -62,103 +62,103 @@ impl pallet_multisig::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_979_000 picoseconds. - Weight::from_parts(16_467_181, 0) + // Minimum execution time: 14_666_000 picoseconds. + Weight::from_parts(15_344_720, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(681, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(663, 0).saturating_mul(z.into())) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `338 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 47_673_000 picoseconds. - Weight::from_parts(35_282_833, 6811) - // Standard Error: 417 - .saturating_add(Weight::from_parts(136_040, 0).saturating_mul(s.into())) + // Minimum execution time: 43_098_000 picoseconds. + Weight::from_parts(31_215_997, 6811) + // Standard Error: 475 + .saturating_add(Weight::from_parts(130_811, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_513, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_426, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 31_770_000 picoseconds. - Weight::from_parts(20_957_586, 6811) - // Standard Error: 367 - .saturating_add(Weight::from_parts(119_105, 0).saturating_mul(s.into())) + // Minimum execution time: 29_252_000 picoseconds. + Weight::from_parts(18_673_197, 6811) + // Standard Error: 308 + .saturating_add(Weight::from_parts(113_816, 0).saturating_mul(s.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_474, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_439, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `418 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 53_207_000 picoseconds. - Weight::from_parts(39_671_283, 6811) - // Standard Error: 656 - .saturating_add(Weight::from_parts(162_823, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_555, 0).saturating_mul(z.into())) + // Minimum execution time: 48_043_000 picoseconds. + Weight::from_parts(35_797_438, 6811) + // Standard Error: 584 + .saturating_add(Weight::from_parts(153_478, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_491, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `342 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 32_420_000 picoseconds. - Weight::from_parts(34_077_022, 6811) - // Standard Error: 496 - .saturating_add(Weight::from_parts(137_391, 0).saturating_mul(s.into())) + // Minimum execution time: 27_551_000 picoseconds. + Weight::from_parts(29_534_353, 6811) + // Standard Error: 544 + .saturating_add(Weight::from_parts(136_769, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 18_552_000 picoseconds. - Weight::from_parts(19_194_986, 6811) - // Standard Error: 378 - .saturating_add(Weight::from_parts(128_339, 0).saturating_mul(s.into())) + // Minimum execution time: 15_892_000 picoseconds. + Weight::from_parts(16_733_020, 6811) + // Standard Error: 399 + .saturating_add(Weight::from_parts(123_567, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `487 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 33_606_000 picoseconds. - Weight::from_parts(35_060_008, 6811) - // Standard Error: 562 - .saturating_add(Weight::from_parts(140_808, 0).saturating_mul(s.into())) + // Minimum execution time: 29_519_000 picoseconds. + Weight::from_parts(31_124_676, 6811) + // Standard Error: 440 + .saturating_add(Weight::from_parts(129_206, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -171,104 +171,104 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_979_000 picoseconds. - Weight::from_parts(16_467_181, 0) + // Minimum execution time: 14_666_000 picoseconds. + Weight::from_parts(15_344_720, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(681, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(663, 0).saturating_mul(z.into())) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `338 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 47_673_000 picoseconds. - Weight::from_parts(35_282_833, 6811) - // Standard Error: 417 - .saturating_add(Weight::from_parts(136_040, 0).saturating_mul(s.into())) + // Minimum execution time: 43_098_000 picoseconds. + Weight::from_parts(31_215_997, 6811) + // Standard Error: 475 + .saturating_add(Weight::from_parts(130_811, 0).saturating_mul(s.into())) // Standard Error: 4 - .saturating_add(Weight::from_parts(1_513, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_426, 0).saturating_mul(z.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 31_770_000 picoseconds. - Weight::from_parts(20_957_586, 6811) - // Standard Error: 367 - .saturating_add(Weight::from_parts(119_105, 0).saturating_mul(s.into())) + // Minimum execution time: 29_252_000 picoseconds. + Weight::from_parts(18_673_197, 6811) + // Standard Error: 308 + .saturating_add(Weight::from_parts(113_816, 0).saturating_mul(s.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_474, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(1_439, 0).saturating_mul(z.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `418 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 53_207_000 picoseconds. - Weight::from_parts(39_671_283, 6811) - // Standard Error: 656 - .saturating_add(Weight::from_parts(162_823, 0).saturating_mul(s.into())) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_555, 0).saturating_mul(z.into())) + // Minimum execution time: 48_043_000 picoseconds. + Weight::from_parts(35_797_438, 6811) + // Standard Error: 584 + .saturating_add(Weight::from_parts(153_478, 0).saturating_mul(s.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_491, 0).saturating_mul(z.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `342 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 32_420_000 picoseconds. - Weight::from_parts(34_077_022, 6811) - // Standard Error: 496 - .saturating_add(Weight::from_parts(137_391, 0).saturating_mul(s.into())) + // Minimum execution time: 27_551_000 picoseconds. + Weight::from_parts(29_534_353, 6811) + // Standard Error: 544 + .saturating_add(Weight::from_parts(136_769, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 18_552_000 picoseconds. - Weight::from_parts(19_194_986, 6811) - // Standard Error: 378 - .saturating_add(Weight::from_parts(128_339, 0).saturating_mul(s.into())) + // Minimum execution time: 15_892_000 picoseconds. + Weight::from_parts(16_733_020, 6811) + // Standard Error: 399 + .saturating_add(Weight::from_parts(123_567, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `487 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 33_606_000 picoseconds. - Weight::from_parts(35_060_008, 6811) - // Standard Error: 562 - .saturating_add(Weight::from_parts(140_808, 0).saturating_mul(s.into())) + // Minimum execution time: 29_519_000 picoseconds. + Weight::from_parts(31_124_676, 6811) + // Standard Error: 440 + .saturating_add(Weight::from_parts(129_206, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_name_service.rs b/runtime/calamari/src/weights/pallet_name_service.rs index d7c6577f5..7dc1b8fd0 100644 --- a/runtime/calamari/src/weights/pallet_name_service.rs +++ b/runtime/calamari/src/weights/pallet_name_service.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_name_service //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -55,68 +55,68 @@ pub trait WeightInfo { /// Weights for pallet_name_service using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_name_service::WeightInfo for SubstrateWeight { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3593` - // Minimum execution time: 57_778_000 picoseconds. - Weight::from_parts(58_874_000, 3593) + // Minimum execution time: 50_713_000 picoseconds. + Weight::from_parts(51_756_000, 3593) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:0 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:0 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn accept_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 20_227_000 picoseconds. - Weight::from_parts(20_858_000, 3610) + // Minimum execution time: 17_642_000 picoseconds. + Weight::from_parts(17_985_000, 3610) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:1) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:1) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_primary_name() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 19_340_000 picoseconds. - Weight::from_parts(19_731_000, 3576) + // Minimum execution time: 16_860_000 picoseconds. + Weight::from_parts(17_268_000, 3576) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_pending_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 18_040_000 picoseconds. - Weight::from_parts(18_615_000, 3610) + // Minimum execution time: 15_851_000 picoseconds. + Weight::from_parts(16_161_000, 3610) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:0) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:0) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_register() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 19_179_000 picoseconds. - Weight::from_parts(19_613_000, 3576) + // Minimum execution time: 16_666_000 picoseconds. + Weight::from_parts(17_103_000, 3576) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -124,69 +124,69 @@ impl pallet_name_service::WeightInfo for SubstrateWeigh // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3593` - // Minimum execution time: 57_778_000 picoseconds. - Weight::from_parts(58_874_000, 3593) + // Minimum execution time: 50_713_000 picoseconds. + Weight::from_parts(51_756_000, 3593) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:0 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:0 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn accept_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 20_227_000 picoseconds. - Weight::from_parts(20_858_000, 3610) + // Minimum execution time: 17_642_000 picoseconds. + Weight::from_parts(17_985_000, 3610) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:1) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:1) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_primary_name() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 19_340_000 picoseconds. - Weight::from_parts(19_731_000, 3576) + // Minimum execution time: 16_860_000 picoseconds. + Weight::from_parts(17_268_000, 3576) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_pending_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 18_040_000 picoseconds. - Weight::from_parts(18_615_000, 3610) + // Minimum execution time: 15_851_000 picoseconds. + Weight::from_parts(16_161_000, 3610) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:0) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:0) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_register() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 19_179_000 picoseconds. - Weight::from_parts(19_613_000, 3576) + // Minimum execution time: 16_666_000 picoseconds. + Weight::from_parts(17_103_000, 3576) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_parachain_staking.rs b/runtime/calamari/src/weights/pallet_parachain_staking.rs index bb55d2c15..d0345fde2 100644 --- a/runtime/calamari/src/weights/pallet_parachain_staking.rs +++ b/runtime/calamari/src/weights/pallet_parachain_staking.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -81,565 +81,567 @@ pub trait WeightInfo { /// Weights for pallet_parachain_staking using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_parachain_staking::WeightInfo for SubstrateWeight { - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_staking_expectations() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 12_618_000 picoseconds. - Weight::from_parts(12_977_000, 1573) + // Minimum execution time: 9_234_000 picoseconds. + Weight::from_parts(9_562_000, 1573) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_inflation() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 53_713_000 picoseconds. - Weight::from_parts(54_254_000, 1573) + // Minimum execution time: 46_629_000 picoseconds. + Weight::from_parts(47_248_000, 1573) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_account() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 11_271_000 picoseconds. - Weight::from_parts(11_702_000, 1505) + // Minimum execution time: 8_132_000 picoseconds. + Weight::from_parts(8_434_000, 1505) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_reserve_percent() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 10_980_000 picoseconds. - Weight::from_parts(11_341_000, 1505) + // Minimum execution time: 7_804_000 picoseconds. + Weight::from_parts(8_006_000, 1505) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:1) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:1) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_total_selected() -> Weight { // Proof Size summary in bytes: // Measured: `28` // Estimated: `1513` - // Minimum execution time: 12_230_000 picoseconds. - Weight::from_parts(12_540_000, 1513) + // Minimum execution time: 8_182_000 picoseconds. + Weight::from_parts(8_430_000, 1513) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CollatorCommission (r:1 w:1) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_collator_commission() -> Weight { // Proof Size summary in bytes: // Measured: `27` // Estimated: `1512` - // Minimum execution time: 10_891_000 picoseconds. - Weight::from_parts(11_155_000, 1512) + // Minimum execution time: 7_486_000 picoseconds. + Weight::from_parts(7_787_000, 1512) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: // Measured: `116` // Estimated: `1601` - // Minimum execution time: 57_084_000 picoseconds. - Weight::from_parts(57_897_000, 1601) + // Minimum execution time: 49_092_000 picoseconds. + Weight::from_parts(49_669_000, 1601) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:0) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:0) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn join_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1926 + x * (49 ±0)` // Estimated: `5168 + x * (50 ±0)` - // Minimum execution time: 60_731_000 picoseconds. - Weight::from_parts(58_364_321, 5168) - // Standard Error: 1_469 - .saturating_add(Weight::from_parts(151_038, 0).saturating_mul(x.into())) + // Minimum execution time: 50_297_000 picoseconds. + Weight::from_parts(48_560_132, 5168) + // Standard Error: 1_320 + .saturating_add(Weight::from_parts(138_897, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn schedule_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `927 + x * (48 ±0)` // Estimated: `4314 + x * (49 ±0)` - // Minimum execution time: 23_239_000 picoseconds. - Weight::from_parts(14_704_326, 4314) - // Standard Error: 1_242 - .saturating_add(Weight::from_parts(119_041, 0).saturating_mul(x.into())) + // Minimum execution time: 19_019_000 picoseconds. + Weight::from_parts(11_397_713, 4314) + // Standard Error: 1_128 + .saturating_add(Weight::from_parts(111_612, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:149 w:149) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:150 w:150) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:150 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:150 w:150) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:149 w:149) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:150 w:150) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:150 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:150 w:150) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[2, 150]`. fn execute_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `83 + x * (524 ±0)` - // Estimated: `4755 + x * (3774 ±0)` - // Minimum execution time: 125_958_000 picoseconds. - Weight::from_parts(130_941_000, 4755) - // Standard Error: 34_918 - .saturating_add(Weight::from_parts(33_790_221, 0).saturating_mul(x.into())) + // Estimated: `4755 + x * (3774 ±1)` + // Minimum execution time: 113_217_000 picoseconds. + Weight::from_parts(119_463_000, 4755) + // Standard Error: 38_968 + .saturating_add(Weight::from_parts(30_632_488, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn cancel_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `883 + x * (48 ±0)` // Estimated: `4269 + x * (49 ±0)` - // Minimum execution time: 21_742_000 picoseconds. - Weight::from_parts(13_463_410, 4269) - // Standard Error: 1_262 - .saturating_add(Weight::from_parts(127_551, 0).saturating_mul(x.into())) + // Minimum execution time: 17_994_000 picoseconds. + Weight::from_parts(4_954_212, 4269) + // Standard Error: 1_646 + .saturating_add(Weight::from_parts(136_865, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_offline() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 20_917_000 picoseconds. - Weight::from_parts(21_841_000, 3773) + // Minimum execution time: 17_838_000 picoseconds. + Weight::from_parts(18_163_000, 3773) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_online() -> Weight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3724` - // Minimum execution time: 20_942_000 picoseconds. - Weight::from_parts(21_283_000, 3724) + // Minimum execution time: 17_485_000 picoseconds. + Weight::from_parts(17_755_000, 3724) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn candidate_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `550` // Estimated: `4764` - // Minimum execution time: 50_082_000 picoseconds. - Weight::from_parts(51_270_000, 4764) + // Minimum execution time: 42_873_000 picoseconds. + Weight::from_parts(43_432_000, 4764) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `184` // Estimated: `3649` - // Minimum execution time: 17_521_000 picoseconds. - Weight::from_parts(18_136_000, 3649) + // Minimum execution time: 14_367_000 picoseconds. + Weight::from_parts(14_774_000, 3649) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `570` // Estimated: `4764` - // Minimum execution time: 75_045_000 picoseconds. - Weight::from_parts(79_788_000, 4764) + // Minimum execution time: 64_685_000 picoseconds. + Weight::from_parts(69_578_000, 4764) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3669` - // Minimum execution time: 15_707_000 picoseconds. - Weight::from_parts(16_110_000, 3669) + // Minimum execution time: 13_164_000 picoseconds. + Weight::from_parts(13_455_000, 3669) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 25]`. /// The range of component `y` is `[2, 100]`. fn delegate(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1191 + x * (129 ±0) + y * (58 ±0)` // Estimated: `4764 + x * (130 ±0) + y * (59 ±0)` - // Minimum execution time: 85_784_000 picoseconds. - Weight::from_parts(79_647_940, 4764) - // Standard Error: 5_318 - .saturating_add(Weight::from_parts(328_247, 0).saturating_mul(x.into())) - // Standard Error: 1_226 - .saturating_add(Weight::from_parts(134_537, 0).saturating_mul(y.into())) + // Minimum execution time: 75_409_000 picoseconds. + Weight::from_parts(71_169_883, 4764) + // Standard Error: 3_874 + .saturating_add(Weight::from_parts(271_251, 0).saturating_mul(x.into())) + // Standard Error: 893 + .saturating_add(Weight::from_parts(133_593, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 130).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 59).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_027_000 picoseconds. - Weight::from_parts(21_854_000, 3608) + // Minimum execution time: 17_542_000 picoseconds. + Weight::from_parts(18_279_000, 3608) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:24 w:24) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:24 w:24) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:24 w:24) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:24 w:24) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:24 w:24) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:24 w:24) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `x` is `[2, 25]`. fn execute_leave_delegators(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `97 + x * (473 ±0)` // Estimated: `4764 + x * (2597 ±5)` - // Minimum execution time: 106_051_000 picoseconds. - Weight::from_parts(65_324_001, 4764) - // Standard Error: 28_616 - .saturating_add(Weight::from_parts(24_190_022, 0).saturating_mul(x.into())) + // Minimum execution time: 91_968_000 picoseconds. + Weight::from_parts(54_538_226, 4764) + // Standard Error: 38_195 + .saturating_add(Weight::from_parts(21_397_374, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2597).saturating_mul(x.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 23_987_000 picoseconds. - Weight::from_parts(24_532_000, 3699) + // Minimum execution time: 20_666_000 picoseconds. + Weight::from_parts(21_395_000, 3699) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 20_887_000 picoseconds. - Weight::from_parts(21_544_000, 3608) + // Minimum execution time: 17_535_000 picoseconds. + Weight::from_parts(17_995_000, 3608) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn delegator_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `901` // Estimated: `4764` - // Minimum execution time: 72_893_000 picoseconds. - Weight::from_parts(74_655_000, 4764) + // Minimum execution time: 63_779_000 picoseconds. + Weight::from_parts(64_984_000, 4764) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_358_000 picoseconds. - Weight::from_parts(21_776_000, 3608) + // Minimum execution time: 17_503_000 picoseconds. + Weight::from_parts(18_196_000, 3608) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 108_757_000 picoseconds. - Weight::from_parts(114_688_000, 4764) + // Minimum execution time: 93_055_000 picoseconds. + Weight::from_parts(98_468_000, 4764) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 98_697_000 picoseconds. - Weight::from_parts(108_949_000, 4764) + // Minimum execution time: 84_160_000 picoseconds. + Weight::from_parts(90_474_000, 4764) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 20_570_000 picoseconds. - Weight::from_parts(21_203_000, 3699) + // Minimum execution time: 17_863_000 picoseconds. + Weight::from_parts(18_433_000, 3699) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 24_876_000 picoseconds. - Weight::from_parts(26_376_000, 3699) + // Minimum execution time: 21_317_000 picoseconds. + Weight::from_parts(22_444_000, 3699) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Staked (r:1 w:2) - /// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:0) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CollatorCommission (r:1 w:0) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:0) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:100 w:0) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:100 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:100 w:0) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:0) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:101) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelayedPayouts (r:0 w:1) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Staked` (r:1 w:2) + /// Proof: `ParachainStaking::Staked` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:0) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:0) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:100 w:0) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:100 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:100 w:0) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:0) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:101) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelayedPayouts` (r:0 w:1) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `122083 + x * (252 ±0)` // Estimated: `277604 + x * (3085 ±18) + y * (7 ±0)` - // Minimum execution time: 765_315_000 picoseconds. - Weight::from_parts(1_911_150_055, 277604) + // Minimum execution time: 718_769_000 picoseconds. + Weight::from_parts(1_466_547_270, 277604) + // Standard Error: 257_036 + .saturating_add(Weight::from_parts(2_086_272, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(119_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(113_u64)) .saturating_add(Weight::from_parts(0, 3085).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 7).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:1) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:101 w:101) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:1) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:101 w:101) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `y` is `[0, 100]`. fn pay_one_collator_reward(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `181 + y * (180 ±0)` // Estimated: `6153 + y * (2603 ±0)` - // Minimum execution time: 44_953_000 picoseconds. - Weight::from_parts(49_112_594, 6153) - // Standard Error: 5_446 - .saturating_add(Weight::from_parts(16_901_135, 0).saturating_mul(y.into())) + // Minimum execution time: 39_040_000 picoseconds. + Weight::from_parts(31_845_206, 6153) + // Standard Error: 21_603 + .saturating_add(Weight::from_parts(13_066_153, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -650,572 +652,574 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_301_000 picoseconds. - Weight::from_parts(1_399_000, 0) + // Minimum execution time: 866_000 picoseconds. + Weight::from_parts(913_000, 0) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_staking_expectations() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 12_618_000 picoseconds. - Weight::from_parts(12_977_000, 1573) + // Minimum execution time: 9_234_000 picoseconds. + Weight::from_parts(9_562_000, 1573) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_inflation() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 53_713_000 picoseconds. - Weight::from_parts(54_254_000, 1573) + // Minimum execution time: 46_629_000 picoseconds. + Weight::from_parts(47_248_000, 1573) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_account() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 11_271_000 picoseconds. - Weight::from_parts(11_702_000, 1505) + // Minimum execution time: 8_132_000 picoseconds. + Weight::from_parts(8_434_000, 1505) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_reserve_percent() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 10_980_000 picoseconds. - Weight::from_parts(11_341_000, 1505) + // Minimum execution time: 7_804_000 picoseconds. + Weight::from_parts(8_006_000, 1505) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:1) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:1) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_total_selected() -> Weight { // Proof Size summary in bytes: // Measured: `28` // Estimated: `1513` - // Minimum execution time: 12_230_000 picoseconds. - Weight::from_parts(12_540_000, 1513) + // Minimum execution time: 8_182_000 picoseconds. + Weight::from_parts(8_430_000, 1513) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CollatorCommission (r:1 w:1) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_collator_commission() -> Weight { // Proof Size summary in bytes: // Measured: `27` // Estimated: `1512` - // Minimum execution time: 10_891_000 picoseconds. - Weight::from_parts(11_155_000, 1512) + // Minimum execution time: 7_486_000 picoseconds. + Weight::from_parts(7_787_000, 1512) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: // Measured: `116` // Estimated: `1601` - // Minimum execution time: 57_084_000 picoseconds. - Weight::from_parts(57_897_000, 1601) + // Minimum execution time: 49_092_000 picoseconds. + Weight::from_parts(49_669_000, 1601) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:0) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:0) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn join_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1926 + x * (49 ±0)` // Estimated: `5168 + x * (50 ±0)` - // Minimum execution time: 60_731_000 picoseconds. - Weight::from_parts(58_364_321, 5168) - // Standard Error: 1_469 - .saturating_add(Weight::from_parts(151_038, 0).saturating_mul(x.into())) + // Minimum execution time: 50_297_000 picoseconds. + Weight::from_parts(48_560_132, 5168) + // Standard Error: 1_320 + .saturating_add(Weight::from_parts(138_897, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn schedule_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `927 + x * (48 ±0)` // Estimated: `4314 + x * (49 ±0)` - // Minimum execution time: 23_239_000 picoseconds. - Weight::from_parts(14_704_326, 4314) - // Standard Error: 1_242 - .saturating_add(Weight::from_parts(119_041, 0).saturating_mul(x.into())) + // Minimum execution time: 19_019_000 picoseconds. + Weight::from_parts(11_397_713, 4314) + // Standard Error: 1_128 + .saturating_add(Weight::from_parts(111_612, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:149 w:149) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:150 w:150) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:150 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:150 w:150) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:149 w:149) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:150 w:150) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:150 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:150 w:150) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[2, 150]`. fn execute_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `83 + x * (524 ±0)` - // Estimated: `4755 + x * (3774 ±0)` - // Minimum execution time: 125_958_000 picoseconds. - Weight::from_parts(130_941_000, 4755) - // Standard Error: 34_918 - .saturating_add(Weight::from_parts(33_790_221, 0).saturating_mul(x.into())) + // Estimated: `4755 + x * (3774 ±1)` + // Minimum execution time: 113_217_000 picoseconds. + Weight::from_parts(119_463_000, 4755) + // Standard Error: 38_968 + .saturating_add(Weight::from_parts(30_632_488, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn cancel_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `883 + x * (48 ±0)` // Estimated: `4269 + x * (49 ±0)` - // Minimum execution time: 21_742_000 picoseconds. - Weight::from_parts(13_463_410, 4269) - // Standard Error: 1_262 - .saturating_add(Weight::from_parts(127_551, 0).saturating_mul(x.into())) + // Minimum execution time: 17_994_000 picoseconds. + Weight::from_parts(4_954_212, 4269) + // Standard Error: 1_646 + .saturating_add(Weight::from_parts(136_865, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_offline() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 20_917_000 picoseconds. - Weight::from_parts(21_841_000, 3773) + // Minimum execution time: 17_838_000 picoseconds. + Weight::from_parts(18_163_000, 3773) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_online() -> Weight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3724` - // Minimum execution time: 20_942_000 picoseconds. - Weight::from_parts(21_283_000, 3724) + // Minimum execution time: 17_485_000 picoseconds. + Weight::from_parts(17_755_000, 3724) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn candidate_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `550` // Estimated: `4764` - // Minimum execution time: 50_082_000 picoseconds. - Weight::from_parts(51_270_000, 4764) + // Minimum execution time: 42_873_000 picoseconds. + Weight::from_parts(43_432_000, 4764) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `184` // Estimated: `3649` - // Minimum execution time: 17_521_000 picoseconds. - Weight::from_parts(18_136_000, 3649) + // Minimum execution time: 14_367_000 picoseconds. + Weight::from_parts(14_774_000, 3649) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `570` // Estimated: `4764` - // Minimum execution time: 75_045_000 picoseconds. - Weight::from_parts(79_788_000, 4764) + // Minimum execution time: 64_685_000 picoseconds. + Weight::from_parts(69_578_000, 4764) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3669` - // Minimum execution time: 15_707_000 picoseconds. - Weight::from_parts(16_110_000, 3669) + // Minimum execution time: 13_164_000 picoseconds. + Weight::from_parts(13_455_000, 3669) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 25]`. /// The range of component `y` is `[2, 100]`. fn delegate(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1191 + x * (129 ±0) + y * (58 ±0)` // Estimated: `4764 + x * (130 ±0) + y * (59 ±0)` - // Minimum execution time: 85_784_000 picoseconds. - Weight::from_parts(79_647_940, 4764) - // Standard Error: 5_318 - .saturating_add(Weight::from_parts(328_247, 0).saturating_mul(x.into())) - // Standard Error: 1_226 - .saturating_add(Weight::from_parts(134_537, 0).saturating_mul(y.into())) + // Minimum execution time: 75_409_000 picoseconds. + Weight::from_parts(71_169_883, 4764) + // Standard Error: 3_874 + .saturating_add(Weight::from_parts(271_251, 0).saturating_mul(x.into())) + // Standard Error: 893 + .saturating_add(Weight::from_parts(133_593, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 130).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 59).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_027_000 picoseconds. - Weight::from_parts(21_854_000, 3608) + // Minimum execution time: 17_542_000 picoseconds. + Weight::from_parts(18_279_000, 3608) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:24 w:24) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:24 w:24) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:24 w:24) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:24 w:24) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:24 w:24) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:24 w:24) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `x` is `[2, 25]`. fn execute_leave_delegators(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `97 + x * (473 ±0)` // Estimated: `4764 + x * (2597 ±5)` - // Minimum execution time: 106_051_000 picoseconds. - Weight::from_parts(65_324_001, 4764) - // Standard Error: 28_616 - .saturating_add(Weight::from_parts(24_190_022, 0).saturating_mul(x.into())) + // Minimum execution time: 91_968_000 picoseconds. + Weight::from_parts(54_538_226, 4764) + // Standard Error: 38_195 + .saturating_add(Weight::from_parts(21_397_374, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(x.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2597).saturating_mul(x.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 23_987_000 picoseconds. - Weight::from_parts(24_532_000, 3699) + // Minimum execution time: 20_666_000 picoseconds. + Weight::from_parts(21_395_000, 3699) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 20_887_000 picoseconds. - Weight::from_parts(21_544_000, 3608) + // Minimum execution time: 17_535_000 picoseconds. + Weight::from_parts(17_995_000, 3608) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn delegator_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `901` // Estimated: `4764` - // Minimum execution time: 72_893_000 picoseconds. - Weight::from_parts(74_655_000, 4764) + // Minimum execution time: 63_779_000 picoseconds. + Weight::from_parts(64_984_000, 4764) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_358_000 picoseconds. - Weight::from_parts(21_776_000, 3608) + // Minimum execution time: 17_503_000 picoseconds. + Weight::from_parts(18_196_000, 3608) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 108_757_000 picoseconds. - Weight::from_parts(114_688_000, 4764) + // Minimum execution time: 93_055_000 picoseconds. + Weight::from_parts(98_468_000, 4764) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 98_697_000 picoseconds. - Weight::from_parts(108_949_000, 4764) + // Minimum execution time: 84_160_000 picoseconds. + Weight::from_parts(90_474_000, 4764) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 20_570_000 picoseconds. - Weight::from_parts(21_203_000, 3699) + // Minimum execution time: 17_863_000 picoseconds. + Weight::from_parts(18_433_000, 3699) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 24_876_000 picoseconds. - Weight::from_parts(26_376_000, 3699) + // Minimum execution time: 21_317_000 picoseconds. + Weight::from_parts(22_444_000, 3699) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Staked (r:1 w:2) - /// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:0) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CollatorCommission (r:1 w:0) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:0) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:100 w:0) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:100 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:100 w:0) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:0) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:101) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelayedPayouts (r:0 w:1) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Staked` (r:1 w:2) + /// Proof: `ParachainStaking::Staked` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:0) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:0) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:100 w:0) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:100 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:100 w:0) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:0) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:101) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelayedPayouts` (r:0 w:1) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `122083 + x * (252 ±0)` // Estimated: `277604 + x * (3085 ±18) + y * (7 ±0)` - // Minimum execution time: 765_315_000 picoseconds. - Weight::from_parts(1_911_150_055, 277604) + // Minimum execution time: 718_769_000 picoseconds. + Weight::from_parts(1_466_547_270, 277604) + // Standard Error: 257_036 + .saturating_add(Weight::from_parts(2_086_272, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(119_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(RocksDbWeight::get().writes(113_u64)) .saturating_add(Weight::from_parts(0, 3085).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 7).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:1) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:101 w:101) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:1) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:101 w:101) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `y` is `[0, 100]`. fn pay_one_collator_reward(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `181 + y * (180 ±0)` // Estimated: `6153 + y * (2603 ±0)` - // Minimum execution time: 44_953_000 picoseconds. - Weight::from_parts(49_112_594, 6153) - // Standard Error: 5_446 - .saturating_add(Weight::from_parts(16_901_135, 0).saturating_mul(y.into())) + // Minimum execution time: 39_040_000 picoseconds. + Weight::from_parts(31_845_206, 6153) + // Standard Error: 21_603 + .saturating_add(Weight::from_parts(13_066_153, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1226,7 +1230,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_301_000 picoseconds. - Weight::from_parts(1_399_000, 0) + // Minimum execution time: 866_000 picoseconds. + Weight::from_parts(913_000, 0) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_preimage.rs b/runtime/calamari/src/weights/pallet_preimage.rs index 5908c8c36..3a1b5beba 100644 --- a/runtime/calamari/src/weights/pallet_preimage.rs +++ b/runtime/calamari/src/weights/pallet_preimage.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,342 +57,418 @@ pub trait WeightInfo { fn unrequest_preimage() -> Weight; fn unrequest_unnoted_preimage() -> Weight; fn unrequest_multi_referenced_preimage() -> Weight; - fn ensure_updated(s: u32, ) -> Weight; + fn ensure_updated(n: u32, ) -> Weight; } /// Weights for pallet_preimage using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_preimage::WeightInfo for SubstrateWeight { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `177` - // Estimated: `3556` - // Minimum execution time: 30_541_000 picoseconds. - Weight::from_parts(31_022_000, 3556) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_510, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `76` + // Estimated: `4414` + // Minimum execution time: 45_203_000 picoseconds. + Weight::from_parts(45_660_000, 4414) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_695, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 17_270_000 picoseconds. - Weight::from_parts(17_617_000, 3556) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_446, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 16_349_000 picoseconds. + Weight::from_parts(16_657_000, 3556) + // Standard Error: 6 + .saturating_add(Weight::from_parts(2_675, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 16_489_000 picoseconds. - Weight::from_parts(16_756_000, 3556) - // Standard Error: 5 - .saturating_add(Weight::from_parts(2_480, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 15_231_000 picoseconds. + Weight::from_parts(15_565_000, 3556) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_495, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `323` - // Estimated: `3556` - // Minimum execution time: 54_946_000 picoseconds. - Weight::from_parts(57_337_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `278` + // Estimated: `4414` + // Minimum execution time: 67_328_000 picoseconds. + Weight::from_parts(73_099_000, 4414) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 34_940_000 picoseconds. - Weight::from_parts(37_824_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 38_067_000 picoseconds. + Weight::from_parts(42_024_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 31_868_000 picoseconds. - Weight::from_parts(34_123_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 32_138_000 picoseconds. + Weight::from_parts(36_718_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 19_689_000 picoseconds. - Weight::from_parts(21_505_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 24_008_000 picoseconds. + Weight::from_parts(28_061_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 18_408_000 picoseconds. - Weight::from_parts(18_957_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 23_278_000 picoseconds. + Weight::from_parts(30_823_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_043_000 picoseconds. - Weight::from_parts(10_531_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 12_696_000 picoseconds. + Weight::from_parts(14_062_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 32_807_000 picoseconds. - Weight::from_parts(35_304_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 37_244_000 picoseconds. + Weight::from_parts(40_494_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 9_749_000 picoseconds. - Weight::from_parts(10_052_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 13_530_000 picoseconds. + Weight::from_parts(14_491_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 9_631_000 picoseconds. - Weight::from_parts(9_884_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 13_283_000 picoseconds. + Weight::from_parts(14_175_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn ensure_updated(_s: u32, ) -> Weight { + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `140` - // Estimated: `3556` - // Minimum execution time: 9_631_000 picoseconds. - Weight::from_parts(9_884_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (3424 ±0)` + // Minimum execution time: 51_115_000 picoseconds. + Weight::from_parts(51_955_000, 990) + // Standard Error: 70_352 + .saturating_add(Weight::from_parts(52_423_728, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 3424).saturating_mul(n.into())) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `177` - // Estimated: `3556` - // Minimum execution time: 30_541_000 picoseconds. - Weight::from_parts(31_022_000, 3556) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_510, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `76` + // Estimated: `4414` + // Minimum execution time: 45_203_000 picoseconds. + Weight::from_parts(45_660_000, 4414) + // Standard Error: 5 + .saturating_add(Weight::from_parts(2_695, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 17_270_000 picoseconds. - Weight::from_parts(17_617_000, 3556) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_446, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 16_349_000 picoseconds. + Weight::from_parts(16_657_000, 3556) + // Standard Error: 6 + .saturating_add(Weight::from_parts(2_675, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 16_489_000 picoseconds. - Weight::from_parts(16_756_000, 3556) - // Standard Error: 5 - .saturating_add(Weight::from_parts(2_480, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 15_231_000 picoseconds. + Weight::from_parts(15_565_000, 3556) + // Standard Error: 3 + .saturating_add(Weight::from_parts(2_495, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `323` - // Estimated: `3556` - // Minimum execution time: 54_946_000 picoseconds. - Weight::from_parts(57_337_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `278` + // Estimated: `4414` + // Minimum execution time: 67_328_000 picoseconds. + Weight::from_parts(73_099_000, 4414) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 34_940_000 picoseconds. - Weight::from_parts(37_824_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 38_067_000 picoseconds. + Weight::from_parts(42_024_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 31_868_000 picoseconds. - Weight::from_parts(34_123_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 32_138_000 picoseconds. + Weight::from_parts(36_718_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 19_689_000 picoseconds. - Weight::from_parts(21_505_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 24_008_000 picoseconds. + Weight::from_parts(28_061_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 18_408_000 picoseconds. - Weight::from_parts(18_957_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 23_278_000 picoseconds. + Weight::from_parts(30_823_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 10_043_000 picoseconds. - Weight::from_parts(10_531_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 12_696_000 picoseconds. + Weight::from_parts(14_062_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 32_807_000 picoseconds. - Weight::from_parts(35_304_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 37_244_000 picoseconds. + Weight::from_parts(40_494_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 9_749_000 picoseconds. - Weight::from_parts(10_052_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 13_530_000 picoseconds. + Weight::from_parts(14_491_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 9_631_000 picoseconds. - Weight::from_parts(9_884_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 13_283_000 picoseconds. + Weight::from_parts(14_175_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - fn ensure_updated(_s: u32) -> Weight { + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `140` - // Estimated: `3556` - // Minimum execution time: 9_631_000 picoseconds. - Weight::from_parts(9_884_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (3424 ±0)` + // Minimum execution time: 51_115_000 picoseconds. + Weight::from_parts(51_955_000, 990) + // Standard Error: 70_352 + .saturating_add(Weight::from_parts(52_423_728, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 3424).saturating_mul(n.into())) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_randomness.rs b/runtime/calamari/src/weights/pallet_randomness.rs index b1fa92070..b9b9badaf 100644 --- a/runtime/calamari/src/weights/pallet_randomness.rs +++ b/runtime/calamari/src/weights/pallet_randomness.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_randomness //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -51,22 +51,22 @@ pub trait WeightInfo { /// Weights for pallet_randomness using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_randomness::WeightInfo for SubstrateWeight { - /// Storage: Randomness RelayEpoch (r:1 w:1) - /// Proof Skipped: Randomness RelayEpoch (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem ValidationData (r:1 w:0) - /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem RelayStateProof (r:1 w:0) - /// Proof Skipped: ParachainSystem RelayStateProof (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Randomness RandomnessResults (r:0 w:1) - /// Proof Skipped: Randomness RandomnessResults (max_values: None, max_size: None, mode: Measured) - /// Storage: Randomness InherentIncluded (r:0 w:1) - /// Proof Skipped: Randomness InherentIncluded (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Randomness::RelayEpoch` (r:1 w:1) + /// Proof: `Randomness::RelayEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelayStateProof` (r:1 w:0) + /// Proof: `ParachainSystem::RelayStateProof` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::RandomnessResults` (r:0 w:1) + /// Proof: `Randomness::RandomnessResults` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::InherentIncluded` (r:0 w:1) + /// Proof: `Randomness::InherentIncluded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_babe_randomness_results() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 13_073_000 picoseconds. - Weight::from_parts(13_489_000, 1701) + // Minimum execution time: 10_394_000 picoseconds. + Weight::from_parts(10_736_000, 1701) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -74,23 +74,23 @@ impl pallet_randomness::WeightInfo for SubstrateWeight< // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Randomness RelayEpoch (r:1 w:1) - /// Proof Skipped: Randomness RelayEpoch (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem ValidationData (r:1 w:0) - /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem RelayStateProof (r:1 w:0) - /// Proof Skipped: ParachainSystem RelayStateProof (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Randomness RandomnessResults (r:0 w:1) - /// Proof Skipped: Randomness RandomnessResults (max_values: None, max_size: None, mode: Measured) - /// Storage: Randomness InherentIncluded (r:0 w:1) - /// Proof Skipped: Randomness InherentIncluded (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Randomness::RelayEpoch` (r:1 w:1) + /// Proof: `Randomness::RelayEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelayStateProof` (r:1 w:0) + /// Proof: `ParachainSystem::RelayStateProof` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::RandomnessResults` (r:0 w:1) + /// Proof: `Randomness::RandomnessResults` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::InherentIncluded` (r:0 w:1) + /// Proof: `Randomness::InherentIncluded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_babe_randomness_results() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 13_073_000 picoseconds. - Weight::from_parts(13_489_000, 1701) + // Minimum execution time: 10_394_000 picoseconds. + Weight::from_parts(10_736_000, 1701) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_scheduler.rs b/runtime/calamari/src/weights/pallet_scheduler.rs index b96af8a81..3e089142f 100644 --- a/runtime/calamari/src/weights/pallet_scheduler.rs +++ b/runtime/calamari/src/weights/pallet_scheduler.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -62,28 +62,28 @@ pub trait WeightInfo { /// Weights for pallet_scheduler using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_scheduler::WeightInfo for SubstrateWeight { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `30` // Estimated: `1489` - // Minimum execution time: 3_589_000 picoseconds. - Weight::from_parts(3_802_000, 1489) + // Minimum execution time: 2_775_000 picoseconds. + Weight::from_parts(2_925_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_254_000 picoseconds. - Weight::from_parts(5_489_550, 42428) - // Standard Error: 950 - .saturating_add(Weight::from_parts(835_687, 0).saturating_mul(s.into())) + // Minimum execution time: 3_169_000 picoseconds. + Weight::from_parts(5_374_816, 42428) + // Standard Error: 956 + .saturating_add(Weight::from_parts(836_701, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -91,116 +91,118 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 22_017_000 picoseconds. - Weight::from_parts(22_254_000, 3678) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_515, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 19_228_000 picoseconds. + Weight::from_parts(19_628_000, 3678) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_654, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_830_000 picoseconds. - Weight::from_parts(8_004_000, 0) + // Minimum execution time: 6_016_000 picoseconds. + Weight::from_parts(6_211_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_360_000 picoseconds. - Weight::from_parts(6_548_000, 0) + // Minimum execution time: 4_313_000 picoseconds. + Weight::from_parts(4_517_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_067_000 picoseconds. - Weight::from_parts(3_210_000, 0) + // Minimum execution time: 2_781_000 picoseconds. + Weight::from_parts(2_895_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_069_000 picoseconds. - Weight::from_parts(3_177_000, 0) + // Minimum execution time: 2_779_000 picoseconds. + Weight::from_parts(2_891_000, 0) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 13_350_000 picoseconds. - Weight::from_parts(15_873_240, 42428) - // Standard Error: 1_080 - .saturating_add(Weight::from_parts(894_188, 0).saturating_mul(s.into())) + // Minimum execution time: 10_966_000 picoseconds. + Weight::from_parts(13_038_839, 42428) + // Standard Error: 1_079 + .saturating_add(Weight::from_parts(883_384, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 18_403_000 picoseconds. - Weight::from_parts(16_709_116, 42428) - // Standard Error: 1_306 - .saturating_add(Weight::from_parts(1_556_601, 0).saturating_mul(s.into())) + // Minimum execution time: 16_240_000 picoseconds. + Weight::from_parts(14_549_129, 42428) + // Standard Error: 1_273 + .saturating_add(Weight::from_parts(1_557_778, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `254 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 16_880_000 picoseconds. - Weight::from_parts(20_188_922, 42428) - // Standard Error: 1_713 - .saturating_add(Weight::from_parts(932_963, 0).saturating_mul(s.into())) + // Minimum execution time: 14_275_000 picoseconds. + Weight::from_parts(17_640_450, 42428) + // Standard Error: 1_737 + .saturating_add(Weight::from_parts(924_914, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 19_978_000 picoseconds. - Weight::from_parts(19_268_966, 42428) - // Standard Error: 1_377 - .saturating_add(Weight::from_parts(1_584_303, 0).saturating_mul(s.into())) + // Minimum execution time: 17_734_000 picoseconds. + Weight::from_parts(16_883_015, 42428) + // Standard Error: 1_401 + .saturating_add(Weight::from_parts(1_576_632, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -208,28 +210,28 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `30` // Estimated: `1489` - // Minimum execution time: 3_589_000 picoseconds. - Weight::from_parts(3_802_000, 1489) + // Minimum execution time: 2_775_000 picoseconds. + Weight::from_parts(2_925_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_254_000 picoseconds. - Weight::from_parts(5_489_550, 42428) - // Standard Error: 950 - .saturating_add(Weight::from_parts(835_687, 0).saturating_mul(s.into())) + // Minimum execution time: 3_169_000 picoseconds. + Weight::from_parts(5_374_816, 42428) + // Standard Error: 956 + .saturating_add(Weight::from_parts(836_701, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -237,117 +239,119 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_317_000 picoseconds. - Weight::from_parts(6_506_000, 0) + // Minimum execution time: 4_336_000 picoseconds. + Weight::from_parts(4_508_000, 0) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 22_017_000 picoseconds. - Weight::from_parts(22_254_000, 3678) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_515, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 19_228_000 picoseconds. + Weight::from_parts(19_628_000, 3678) + // Standard Error: 7 + .saturating_add(Weight::from_parts(1_654, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_830_000 picoseconds. - Weight::from_parts(8_004_000, 0) + // Minimum execution time: 6_016_000 picoseconds. + Weight::from_parts(6_211_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_360_000 picoseconds. - Weight::from_parts(6_548_000, 0) + // Minimum execution time: 4_313_000 picoseconds. + Weight::from_parts(4_517_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_067_000 picoseconds. - Weight::from_parts(3_210_000, 0) + // Minimum execution time: 2_781_000 picoseconds. + Weight::from_parts(2_895_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_069_000 picoseconds. - Weight::from_parts(3_177_000, 0) + // Minimum execution time: 2_779_000 picoseconds. + Weight::from_parts(2_891_000, 0) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 13_350_000 picoseconds. - Weight::from_parts(15_873_240, 42428) - // Standard Error: 1_080 - .saturating_add(Weight::from_parts(894_188, 0).saturating_mul(s.into())) + // Minimum execution time: 10_966_000 picoseconds. + Weight::from_parts(13_038_839, 42428) + // Standard Error: 1_079 + .saturating_add(Weight::from_parts(883_384, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 18_403_000 picoseconds. - Weight::from_parts(16_709_116, 42428) - // Standard Error: 1_306 - .saturating_add(Weight::from_parts(1_556_601, 0).saturating_mul(s.into())) + // Minimum execution time: 16_240_000 picoseconds. + Weight::from_parts(14_549_129, 42428) + // Standard Error: 1_273 + .saturating_add(Weight::from_parts(1_557_778, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `254 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 16_880_000 picoseconds. - Weight::from_parts(20_188_922, 42428) - // Standard Error: 1_713 - .saturating_add(Weight::from_parts(932_963, 0).saturating_mul(s.into())) + // Minimum execution time: 14_275_000 picoseconds. + Weight::from_parts(17_640_450, 42428) + // Standard Error: 1_737 + .saturating_add(Weight::from_parts(924_914, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 19_978_000 picoseconds. - Weight::from_parts(19_268_966, 42428) - // Standard Error: 1_377 - .saturating_add(Weight::from_parts(1_584_303, 0).saturating_mul(s.into())) + // Minimum execution time: 17_734_000 picoseconds. + Weight::from_parts(16_883_015, 42428) + // Standard Error: 1_401 + .saturating_add(Weight::from_parts(1_576_632, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_session.rs b/runtime/calamari/src/weights/pallet_session.rs index 942f6088e..5663b8fe3 100644 --- a/runtime/calamari/src/weights/pallet_session.rs +++ b/runtime/calamari/src/weights/pallet_session.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -52,29 +52,29 @@ pub trait WeightInfo { /// Weights for pallet_session using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_session::WeightInfo for SubstrateWeight { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:3 w:3) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:3 w:3) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `8722` - // Minimum execution time: 23_453_000 picoseconds. - Weight::from_parts(24_067_000, 8722) + // Minimum execution time: 23_691_000 picoseconds. + Weight::from_parts(24_442_000, 8722) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:3) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:3) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 15_355_000 picoseconds. - Weight::from_parts(15_654_000, 3773) + // Minimum execution time: 15_071_000 picoseconds. + Weight::from_parts(15_560_000, 3773) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -82,30 +82,30 @@ impl pallet_session::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:3 w:3) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:3 w:3) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `8722` - // Minimum execution time: 23_453_000 picoseconds. - Weight::from_parts(24_067_000, 8722) + // Minimum execution time: 23_691_000 picoseconds. + Weight::from_parts(24_442_000, 8722) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:3) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:3) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 15_355_000 picoseconds. - Weight::from_parts(15_654_000, 3773) + // Minimum execution time: 15_071_000 picoseconds. + Weight::from_parts(15_560_000, 3773) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_timestamp.rs b/runtime/calamari/src/weights/pallet_timestamp.rs index 091bdf341..8635b8e0b 100644 --- a/runtime/calamari/src/weights/pallet_timestamp.rs +++ b/runtime/calamari/src/weights/pallet_timestamp.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -52,14 +52,14 @@ pub trait WeightInfo { /// Weights for pallet_timestamp using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_timestamp::WeightInfo for SubstrateWeight { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 7_234_000 picoseconds. - Weight::from_parts(7_488_000, 1493) + // Minimum execution time: 5_154_000 picoseconds. + Weight::from_parts(5_384_000, 1493) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -67,21 +67,21 @@ impl pallet_timestamp::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 7_234_000 picoseconds. - Weight::from_parts(7_488_000, 1493) + // Minimum execution time: 5_154_000 picoseconds. + Weight::from_parts(5_384_000, 1493) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -89,7 +89,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 4_331_000 picoseconds. - Weight::from_parts(4_459_000, 0) + // Minimum execution time: 3_765_000 picoseconds. + Weight::from_parts(3_871_000, 0) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_treasury.rs b/runtime/calamari/src/weights/pallet_treasury.rs index 38c7a3a27..a3311cd69 100644 --- a/runtime/calamari/src/weights/pallet_treasury.rs +++ b/runtime/calamari/src/weights/pallet_treasury.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -45,13 +45,13 @@ use core::marker::PhantomData; /// Weight functions needed for pallet_treasury. pub trait WeightInfo { - fn spend() -> Weight; + fn spend_local() -> Weight; fn propose_spend() -> Weight; fn reject_proposal() -> Weight; fn approve_proposal(p: u32, ) -> Weight; fn remove_approval() -> Weight; fn on_initialize_proposals(p: u32, ) -> Weight; - fn spend_local() -> Weight; + fn spend() -> Weight; fn payout() -> Weight; fn check_status() -> Weight; fn void_spend() -> Weight; @@ -60,132 +60,141 @@ pub trait WeightInfo { /// Weights for pallet_treasury using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_treasury::WeightInfo for SubstrateWeight { - fn spend() -> Weight { + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 262_000 picoseconds. - Weight::from_parts(285_000, 0) + // Measured: `80` + // Estimated: `1887` + // Minimum execution time: 13_283_000 picoseconds. + Weight::from_parts(14_040_000, 1887) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `181` // Estimated: `1489` - // Minimum execution time: 29_423_000 picoseconds. - Weight::from_parts(30_178_000, 1489) + // Minimum execution time: 24_873_000 picoseconds. + Weight::from_parts(25_642_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `339` // Estimated: `3593` - // Minimum execution time: 51_772_000 picoseconds. - Weight::from_parts(52_570_000, 3593) + // Minimum execution time: 42_253_000 picoseconds. + Weight::from_parts(43_119_000, 3593) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `507 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 10_359_000 picoseconds. - Weight::from_parts(13_713_786, 3573) - // Standard Error: 873 - .saturating_add(Weight::from_parts(78_519, 0).saturating_mul(p.into())) + // Minimum execution time: 9_444_000 picoseconds. + Weight::from_parts(12_090_425, 3573) + // Standard Error: 1_202 + .saturating_add(Weight::from_parts(129_302, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Minimum execution time: 7_239_000 picoseconds. + Weight::from_parts(7_476_000, 1887) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:100) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:200 w:200) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:99 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + p * (250 ±0)` - // Estimated: `1887 + p * (5206 ±0)` - // Minimum execution time: 28_847_000 picoseconds. - Weight::from_parts(36_772_281, 1887) - // Standard Error: 11_135 - .saturating_add(Weight::from_parts(41_144_478, 0).saturating_mul(p.into())) + // Measured: `151 + p * (119 ±0)` + // Estimated: `1887 + p * (2583 ±0)` + // Minimum execution time: 18_728_000 picoseconds. + Weight::from_parts(18_941_534, 1887) + // Standard Error: 4_675 + .saturating_add(Weight::from_parts(3_312_494, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2583).saturating_mul(p.into())) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - fn spend_local() -> Weight { + /// Storage: `Treasury::SpendCount` (r:1 w:1) + /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Spends` (r:0 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + fn spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Measured: `80` + // Estimated: `1489` + // Minimum execution time: 11_187_000 picoseconds. + Weight::from_parts(11_767_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `198` + // Estimated: `3593` + // Minimum execution time: 54_782_000 picoseconds. + Weight::from_parts(55_799_000, 3593) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn check_status() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 13_409_000 picoseconds. + Weight::from_parts(13_739_000, 3534) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn void_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 11_970_000 picoseconds. + Weight::from_parts(12_356_000, 3534) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -193,133 +202,142 @@ impl pallet_treasury::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - fn spend() -> Weight { + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 262_000 picoseconds. - Weight::from_parts(285_000, 0) + // Measured: `80` + // Estimated: `1887` + // Minimum execution time: 13_283_000 picoseconds. + Weight::from_parts(14_040_000, 1887) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `181` // Estimated: `1489` - // Minimum execution time: 29_423_000 picoseconds. - Weight::from_parts(30_178_000, 1489) + // Minimum execution time: 24_873_000 picoseconds. + Weight::from_parts(25_642_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `339` // Estimated: `3593` - // Minimum execution time: 51_772_000 picoseconds. - Weight::from_parts(52_570_000, 3593) + // Minimum execution time: 42_253_000 picoseconds. + Weight::from_parts(43_119_000, 3593) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `507 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 10_359_000 picoseconds. - Weight::from_parts(13_713_786, 3573) - // Standard Error: 873 - .saturating_add(Weight::from_parts(78_519, 0).saturating_mul(p.into())) + // Minimum execution time: 9_444_000 picoseconds. + Weight::from_parts(12_090_425, 3573) + // Standard Error: 1_202 + .saturating_add(Weight::from_parts(129_302, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Minimum execution time: 7_239_000 picoseconds. + Weight::from_parts(7_476_000, 1887) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:100) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:200 w:200) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:99 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + p * (250 ±0)` - // Estimated: `1887 + p * (5206 ±0)` - // Minimum execution time: 28_847_000 picoseconds. - Weight::from_parts(36_772_281, 1887) - // Standard Error: 11_135 - .saturating_add(Weight::from_parts(41_144_478, 0).saturating_mul(p.into())) + // Measured: `151 + p * (119 ±0)` + // Estimated: `1887 + p * (2583 ±0)` + // Minimum execution time: 18_728_000 picoseconds. + Weight::from_parts(18_941_534, 1887) + // Standard Error: 4_675 + .saturating_add(Weight::from_parts(3_312_494, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) - .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2583).saturating_mul(p.into())) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - fn spend_local() -> Weight { + /// Storage: `Treasury::SpendCount` (r:1 w:1) + /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Spends` (r:0 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + fn spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Measured: `80` + // Estimated: `1489` + // Minimum execution time: 11_187_000 picoseconds. + Weight::from_parts(11_767_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `198` + // Estimated: `3593` + // Minimum execution time: 54_782_000 picoseconds. + Weight::from_parts(55_799_000, 3593) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn check_status() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 13_409_000 picoseconds. + Weight::from_parts(13_739_000, 3534) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn void_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 7_926_000 picoseconds. - Weight::from_parts(8_195_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 11_970_000 picoseconds. + Weight::from_parts(12_356_000, 3534) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_tx_pause.rs b/runtime/calamari/src/weights/pallet_tx_pause.rs index 45de09b3d..7bbbe0cbc 100644 --- a/runtime/calamari/src/weights/pallet_tx_pause.rs +++ b/runtime/calamari/src/weights/pallet_tx_pause.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_tx_pause //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -52,25 +52,25 @@ pub trait WeightInfo { /// Weights for pallet_tx_pause using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_tx_pause::WeightInfo for SubstrateWeight { - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 13_947_000 picoseconds. - Weight::from_parts(14_471_000, 3541) + // Minimum execution time: 11_987_000 picoseconds. + Weight::from_parts(12_280_000, 3541) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `123` // Estimated: `3588` - // Minimum execution time: 14_417_000 picoseconds. - Weight::from_parts(14_859_000, 3588) + // Minimum execution time: 12_345_000 picoseconds. + Weight::from_parts(12_605_000, 3588) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -78,26 +78,26 @@ impl pallet_tx_pause::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 13_947_000 picoseconds. - Weight::from_parts(14_471_000, 3541) + // Minimum execution time: 11_987_000 picoseconds. + Weight::from_parts(12_280_000, 3541) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `123` // Estimated: `3588` - // Minimum execution time: 14_417_000 picoseconds. - Weight::from_parts(14_859_000, 3588) + // Minimum execution time: 12_345_000 picoseconds. + Weight::from_parts(12_605_000, 3588) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/calamari/src/weights/pallet_utility.rs b/runtime/calamari/src/weights/pallet_utility.rs index f28794aab..fb8a2089d 100644 --- a/runtime/calamari/src/weights/pallet_utility.rs +++ b/runtime/calamari/src/weights/pallet_utility.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -60,44 +60,44 @@ impl pallet_utility::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_594_000 picoseconds. - Weight::from_parts(10_945_026, 0) - // Standard Error: 2_358 - .saturating_add(Weight::from_parts(5_965_587, 0).saturating_mul(c.into())) + // Minimum execution time: 4_947_000 picoseconds. + Weight::from_parts(1_008_160, 0) + // Standard Error: 2_386 + .saturating_add(Weight::from_parts(4_110_650, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_913_000 picoseconds. - Weight::from_parts(6_141_000, 0) + // Minimum execution time: 5_169_000 picoseconds. + Weight::from_parts(5_360_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_653_000 picoseconds. - Weight::from_parts(11_090_493, 0) - // Standard Error: 2_808 - .saturating_add(Weight::from_parts(6_286_673, 0).saturating_mul(c.into())) + // Minimum execution time: 5_089_000 picoseconds. + Weight::from_parts(4_594_133, 0) + // Standard Error: 2_414 + .saturating_add(Weight::from_parts(4_396_079, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_974_000 picoseconds. - Weight::from_parts(10_221_000, 0) + // Minimum execution time: 7_494_000 picoseconds. + Weight::from_parts(7_669_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_600_000 picoseconds. - Weight::from_parts(19_435_164, 0) - // Standard Error: 2_620 - .saturating_add(Weight::from_parts(5_860_664, 0).saturating_mul(c.into())) + // Minimum execution time: 5_032_000 picoseconds. + Weight::from_parts(9_921_739, 0) + // Standard Error: 2_395 + .saturating_add(Weight::from_parts(3_996_386, 0).saturating_mul(c.into())) } } @@ -108,43 +108,43 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_594_000 picoseconds. - Weight::from_parts(10_945_026, 0) - // Standard Error: 2_358 - .saturating_add(Weight::from_parts(5_965_587, 0).saturating_mul(c.into())) + // Minimum execution time: 4_947_000 picoseconds. + Weight::from_parts(1_008_160, 0) + // Standard Error: 2_386 + .saturating_add(Weight::from_parts(4_110_650, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_913_000 picoseconds. - Weight::from_parts(6_141_000, 0) + // Minimum execution time: 5_169_000 picoseconds. + Weight::from_parts(5_360_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_653_000 picoseconds. - Weight::from_parts(11_090_493, 0) - // Standard Error: 2_808 - .saturating_add(Weight::from_parts(6_286_673, 0).saturating_mul(c.into())) + // Minimum execution time: 5_089_000 picoseconds. + Weight::from_parts(4_594_133, 0) + // Standard Error: 2_414 + .saturating_add(Weight::from_parts(4_396_079, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_974_000 picoseconds. - Weight::from_parts(10_221_000, 0) + // Minimum execution time: 7_494_000 picoseconds. + Weight::from_parts(7_669_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_600_000 picoseconds. - Weight::from_parts(19_435_164, 0) - // Standard Error: 2_620 - .saturating_add(Weight::from_parts(5_860_664, 0).saturating_mul(c.into())) + // Minimum execution time: 5_032_000 picoseconds. + Weight::from_parts(9_921_739, 0) + // Standard Error: 2_395 + .saturating_add(Weight::from_parts(3_996_386, 0).saturating_mul(c.into())) } -} \ No newline at end of file +} diff --git a/runtime/manta/src/lib.rs b/runtime/manta/src/lib.rs index d46c66bcf..6763ec5e2 100644 --- a/runtime/manta/src/lib.rs +++ b/runtime/manta/src/lib.rs @@ -146,10 +146,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("manta"), impl_name: create_runtime_str!("manta"), authoring_version: 1, - spec_version: 4620, + spec_version: 4700, impl_version: 1, apis: RUNTIME_API_VERSIONS, - transaction_version: 7, + transaction_version: 8, state_version: 1, }; diff --git a/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs index d98a941bd..d59e0a65c 100644 --- a/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/manta/src/weights/cumulus_pallet_xcmp_queue.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for cumulus_pallet_xcmp_queue //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,162 +57,198 @@ pub trait WeightInfo { /// Weights for cumulus_pallet_xcmp_queue using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for SubstrateWeight { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) + // Minimum execution time: 5_303_000 picoseconds. + Weight::from_parts(5_623_000, 1594) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `115` + // Estimated: `3517` + // Minimum execution time: 12_127_000 picoseconds. + Weight::from_parts(12_364_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) + // Minimum execution time: 3_403_000 picoseconds. + Weight::from_parts(3_550_000, 1594) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) + // Measured: `144` + // Estimated: `1629` + // Minimum execution time: 4_244_000 picoseconds. + Weight::from_parts(4_433_000, 1629) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 64_751_000 picoseconds. + Weight::from_parts(64_893_000, 0) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `65744` + // Estimated: `69209` + // Minimum execution time: 145_733_000 picoseconds. + Weight::from_parts(148_151_000, 69209) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 66_307_000 picoseconds. + Weight::from_parts(67_228_000, 69208) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) + // Minimum execution time: 5_303_000 picoseconds. + Weight::from_parts(5_623_000, 1594) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `115` + // Estimated: `3517` + // Minimum execution time: 12_127_000 picoseconds. + Weight::from_parts(12_364_000, 3517) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) + // Minimum execution time: 3_403_000 picoseconds. + Weight::from_parts(3_550_000, 1594) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) + // Measured: `144` + // Estimated: `1629` + // Minimum execution time: 4_244_000 picoseconds. + Weight::from_parts(4_433_000, 1629) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) fn take_first_concatenated_xcm() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 64_751_000 picoseconds. + Weight::from_parts(64_893_000, 0) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `65744` + // Estimated: `69209` + // Minimum execution time: 145_733_000 picoseconds. + Weight::from_parts(148_151_000, 69209) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: XcmpQueue QueueConfig (r:1 w:1) - /// Proof Skipped: XcmpQueue QueueConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `1594` - // Minimum execution time: 6_338_000 picoseconds. - Weight::from_parts(6_559_000, 1594) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `65743` + // Estimated: `69208` + // Minimum execution time: 66_307_000 picoseconds. + Weight::from_parts(67_228_000, 69208) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } } diff --git a/runtime/manta/src/weights/frame_system.rs b/runtime/manta/src/weights/frame_system.rs index 79059a18c..9dffeeb21 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-07-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/runner/runners/2.280.1/_work/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta // benchmark // pallet -// --chain=/home/runner/runners/2.280.1/_work/Manta/Manta/tests/data/fork.json +// --chain=/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json // --steps=50 // --repeat=40 // --pallet=frame_system @@ -38,11 +38,10 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; -use manta_primitives::constants::RocksDbWeight; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; /// Weight functions needed for frame_system. pub trait WeightInfo { @@ -62,79 +61,131 @@ 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: 6_992 nanoseconds. - Weight::from_parts(16_569_447, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_883_000 picoseconds. + Weight::from_parts(1_951_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(458, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(491, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3670016]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 13_480 nanoseconds. - Weight::from_parts(13_649_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_037, 0).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_729_000 picoseconds. + Weight::from_parts(161_497_169, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_583, 0).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 16_008 nanoseconds. - Weight::from_parts(26_061_000, 0) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 3_459_000 picoseconds. + Weight::from_parts(3_597_000, 1485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `156` - // Estimated: `1641` - // Minimum execution time: 122_419_636_000 picoseconds. - Weight::from_parts(127_638_762_000, 1641) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 115_086_672_000 picoseconds. + Weight::from_parts(119_005_980_000, 1649) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 7_523 nanoseconds. - Weight::from_parts(7_618_000, 0) - // Standard Error: 1_503 - .saturating_add(Weight::from_parts(723_581, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_073_000 picoseconds. + Weight::from_parts(2_142_000, 0) + // Standard Error: 1_762 + .saturating_add(Weight::from_parts(847_585, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_056 nanoseconds. - Weight::from_parts(4_144_000, 0) - // Standard Error: 546 - .saturating_add(Weight::from_parts(521_515, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_027_000 picoseconds. + Weight::from_parts(2_089_000, 0) + // Standard Error: 586 + .saturating_add(Weight::from_parts(579_983, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `94 + p * (69 ±0)` + // Estimated: `99 + p * (70 ±0)` + // Minimum execution time: 4_085_000 picoseconds. + Weight::from_parts(4_121_000, 99) + // Standard Error: 2_843 + .saturating_add(Weight::from_parts(1_282_726, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) fn authorize_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_223_000 picoseconds. + Weight::from_parts(12_141_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `1671` + // Minimum execution time: 115_708_418_000 picoseconds. + Weight::from_parts(118_257_927_000, 1671) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } } @@ -142,78 +193,130 @@ 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: 6_992 nanoseconds. - Weight::from_parts(16_569_447, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_883_000 picoseconds. + Weight::from_parts(1_951_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(458, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(491, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3670016]`. fn remark_with_event(b: u32, ) -> Weight { - // Minimum execution time: 13_480 nanoseconds. - Weight::from_parts(13_649_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_037, 0).saturating_mul(b.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_729_000 picoseconds. + Weight::from_parts(161_497_169, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_583, 0).saturating_mul(b.into())) } - // Storage: System Digest (r:1 w:1) - // Storage: unknown [0x3a686561707061676573] (r:0 w:1) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) fn set_heap_pages() -> Weight { - // Minimum execution time: 16_008 nanoseconds. - Weight::from_parts(26_061_000, 0) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(2)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 3_459_000 picoseconds. + Weight::from_parts(3_597_000, 1485) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: - // Measured: `156` - // Estimated: `1641` - // Minimum execution time: 122_419_636_000 picoseconds. - Weight::from_parts(127_638_762_000, 1641) + // Measured: `164` + // Estimated: `1649` + // Minimum execution time: 115_086_672_000 picoseconds. + Weight::from_parts(119_005_980_000, 1649) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - // Minimum execution time: 7_523 nanoseconds. - Weight::from_parts(7_618_000, 0) - // Standard Error: 1_503 - .saturating_add(Weight::from_parts(723_581, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_073_000 picoseconds. + Weight::from_parts(2_142_000, 0) + // Standard Error: 1_762 + .saturating_add(Weight::from_parts(847_585, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - // Minimum execution time: 4_056 nanoseconds. - Weight::from_parts(4_144_000, 0) - // Standard Error: 546 - .saturating_add(Weight::from_parts(521_515, 0).saturating_mul(i.into())) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_027_000 picoseconds. + Weight::from_parts(2_089_000, 0) + // Standard Error: 586 + .saturating_add(Weight::from_parts(579_983, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into()))) } - // Storage: Skipped Metadata (r:0 w:0) + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0).saturating_mul(p.into())) + // Proof Size summary in bytes: + // Measured: `94 + p * (69 ±0)` + // Estimated: `99 + p * (70 ±0)` + // Minimum execution time: 4_085_000 picoseconds. + Weight::from_parts(4_121_000, 99) + // Standard Error: 2_843 + .saturating_add(Weight::from_parts(1_282_726, 0).saturating_mul(p.into())) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) fn authorize_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_223_000 picoseconds. + Weight::from_parts(12_141_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[0, 1000]`. + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { - // Minimum execution time: 17_856 nanoseconds. - Weight::from_parts(18_373_000, 0) - // Standard Error: 1_613 - .saturating_add(Weight::from_parts(1_158_786, 0)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `1671` + // Minimum execution time: 115_708_418_000 picoseconds. + Weight::from_parts(118_257_927_000, 1671) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } } diff --git a/runtime/manta/src/weights/manta_collator_selection.rs b/runtime/manta/src/weights/manta_collator_selection.rs index bcb61d857..5ec685943 100644 --- a/runtime/manta/src/weights/manta_collator_selection.rs +++ b/runtime/manta/src/weights/manta_collator_selection.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for manta_collator_selection //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -61,177 +61,177 @@ pub trait WeightInfo { /// Weights for manta_collator_selection using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl manta_collator_selection::WeightInfo for SubstrateWeight { - /// Storage: CollatorSelection Invulnerables (r:0 w:1) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[1, 5]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_662_000 picoseconds. - Weight::from_parts(8_106_039, 0) - // Standard Error: 2_237 - .saturating_add(Weight::from_parts(33_156, 0).saturating_mul(b.into())) + // Minimum execution time: 5_135_000 picoseconds. + Weight::from_parts(5_478_597, 0) + // Standard Error: 1_928 + .saturating_add(Weight::from_parts(24_078, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_472_000 picoseconds. - Weight::from_parts(9_990_000, 0) + // Minimum execution time: 6_814_000 picoseconds. + Weight::from_parts(7_130_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection CandidacyBond (r:0 w:1) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_candidacy_bond() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_540_000 picoseconds. - Weight::from_parts(7_828_000, 0) + // Minimum execution time: 4_875_000 picoseconds. + Weight::from_parts(5_095_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionBaseline (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionBaseline` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_baseline() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_213_000 picoseconds. - Weight::from_parts(7_491_000, 0) + // Minimum execution time: 4_672_000 picoseconds. + Weight::from_parts(4_867_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionTolerance (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionTolerance` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_tolerance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_329_000 picoseconds. - Weight::from_parts(7_539_000, 0) + // Minimum execution time: 4_636_000 picoseconds. + Weight::from_parts(4_879_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + c * (60 ±0)` // Estimated: `3952 + c * (60 ±0)` - // Minimum execution time: 41_855_000 picoseconds. - Weight::from_parts(44_800_344, 3952) - // Standard Error: 3_752 - .saturating_add(Weight::from_parts(277_942, 0).saturating_mul(c.into())) + // Minimum execution time: 34_955_000 picoseconds. + Weight::from_parts(38_395_416, 3952) + // Standard Error: 4_101 + .saturating_add(Weight::from_parts(249_222, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `259 + c * (48 ±0)` // Estimated: `1738 + c * (49 ±0)` - // Minimum execution time: 29_548_000 picoseconds. - Weight::from_parts(32_463_838, 1738) - // Standard Error: 1_713 - .saturating_add(Weight::from_parts(144_978, 0).saturating_mul(c.into())) + // Minimum execution time: 24_157_000 picoseconds. + Weight::from_parts(27_161_900, 1738) + // Standard Error: 1_605 + .saturating_add(Weight::from_parts(138_180, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn remove_collator(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `283 + c * (48 ±0)` // Estimated: `1762 + c * (49 ±0)` - // Minimum execution time: 31_220_000 picoseconds. - Weight::from_parts(33_891_925, 1762) - // Standard Error: 1_729 - .saturating_add(Weight::from_parts(145_454, 0).saturating_mul(c.into())) + // Minimum execution time: 25_298_000 picoseconds. + Weight::from_parts(26_869_909, 1762) + // Standard Error: 2_554 + .saturating_add(Weight::from_parts(253_174, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + c * (60 ±0)` // Estimated: `3952 + c * (60 ±0)` - // Minimum execution time: 41_828_000 picoseconds. - Weight::from_parts(45_085_720, 3952) - // Standard Error: 3_983 - .saturating_add(Weight::from_parts(250_809, 0).saturating_mul(c.into())) + // Minimum execution time: 34_465_000 picoseconds. + Weight::from_parts(38_118_744, 3952) + // Standard Error: 5_315 + .saturating_add(Weight::from_parts(294_558, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:1 w:1) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `6196` - // Minimum execution time: 48_752_000 picoseconds. - Weight::from_parts(49_238_000, 6196) + // Minimum execution time: 41_792_000 picoseconds. + Weight::from_parts(42_288_000, 6196) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionBaseline (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionTolerance (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:51 w:2) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:49 w:49) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionBaseline` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionTolerance` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:51 w:2) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:49 w:49) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn new_session(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `62 + c * (230 ±0)` // Estimated: `3593 + c * (2705 ±0)` - // Minimum execution time: 34_509_000 picoseconds. - Weight::from_parts(23_774_429, 3593) - // Standard Error: 12_976 - .saturating_add(Weight::from_parts(26_749_722, 0).saturating_mul(c.into())) + // Minimum execution time: 30_150_000 picoseconds. + Weight::from_parts(22_873_721, 3593) + // Standard Error: 12_578 + .saturating_add(Weight::from_parts(22_078_539, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -242,177 +242,177 @@ impl manta_collator_selection::WeightInfo for Substrate // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: CollatorSelection Invulnerables (r:0 w:1) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[1, 5]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_662_000 picoseconds. - Weight::from_parts(8_106_039, 0) - // Standard Error: 2_237 - .saturating_add(Weight::from_parts(33_156, 0).saturating_mul(b.into())) + // Minimum execution time: 5_135_000 picoseconds. + Weight::from_parts(5_478_597, 0) + // Standard Error: 1_928 + .saturating_add(Weight::from_parts(24_078, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection DesiredCandidates (r:0 w:1) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_desired_candidates() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_472_000 picoseconds. - Weight::from_parts(9_990_000, 0) + // Minimum execution time: 6_814_000 picoseconds. + Weight::from_parts(7_130_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection CandidacyBond (r:0 w:1) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_candidacy_bond() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_540_000 picoseconds. - Weight::from_parts(7_828_000, 0) + // Minimum execution time: 4_875_000 picoseconds. + Weight::from_parts(5_095_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionBaseline (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionBaseline` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_baseline() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_213_000 picoseconds. - Weight::from_parts(7_491_000, 0) + // Minimum execution time: 4_672_000 picoseconds. + Weight::from_parts(4_867_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection EvictionTolerance (r:0 w:1) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::EvictionTolerance` (r:0 w:1) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_eviction_tolerance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_329_000 picoseconds. - Weight::from_parts(7_539_000, 0) + // Minimum execution time: 4_636_000 picoseconds. + Weight::from_parts(4_879_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + c * (60 ±0)` // Estimated: `3952 + c * (60 ±0)` - // Minimum execution time: 41_855_000 picoseconds. - Weight::from_parts(44_800_344, 3952) - // Standard Error: 3_752 - .saturating_add(Weight::from_parts(277_942, 0).saturating_mul(c.into())) + // Minimum execution time: 34_955_000 picoseconds. + Weight::from_parts(38_395_416, 3952) + // Standard Error: 4_101 + .saturating_add(Weight::from_parts(249_222, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `259 + c * (48 ±0)` // Estimated: `1738 + c * (49 ±0)` - // Minimum execution time: 29_548_000 picoseconds. - Weight::from_parts(32_463_838, 1738) - // Standard Error: 1_713 - .saturating_add(Weight::from_parts(144_978, 0).saturating_mul(c.into())) + // Minimum execution time: 24_157_000 picoseconds. + Weight::from_parts(27_161_900, 1738) + // Standard Error: 1_605 + .saturating_add(Weight::from_parts(138_180, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn remove_collator(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `283 + c * (48 ±0)` // Estimated: `1762 + c * (49 ±0)` - // Minimum execution time: 31_220_000 picoseconds. - Weight::from_parts(33_891_925, 1762) - // Standard Error: 1_729 - .saturating_add(Weight::from_parts(145_454, 0).saturating_mul(c.into())) + // Minimum execution time: 25_298_000 picoseconds. + Weight::from_parts(26_869_909, 1762) + // Standard Error: 2_554 + .saturating_add(Weight::from_parts(253_174, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(c.into())) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection DesiredCandidates (r:1 w:0) - /// Proof Skipped: CollatorSelection DesiredCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Session NextKeys (r:1 w:0) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection CandidacyBond (r:1 w:0) - /// Proof Skipped: CollatorSelection CandidacyBond (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn register_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + c * (60 ±0)` // Estimated: `3952 + c * (60 ±0)` - // Minimum execution time: 41_828_000 picoseconds. - Weight::from_parts(45_085_720, 3952) - // Standard Error: 3_983 - .saturating_add(Weight::from_parts(250_809, 0).saturating_mul(c.into())) + // Minimum execution time: 34_465_000 picoseconds. + Weight::from_parts(38_118_744, 3952) + // Standard Error: 5_315 + .saturating_add(Weight::from_parts(294_558, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 60).saturating_mul(c.into())) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:1 w:1) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:1 w:1) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: // Measured: `146` // Estimated: `6196` - // Minimum execution time: 48_752_000 picoseconds. - Weight::from_parts(49_238_000, 6196) + // Minimum execution time: 41_792_000 picoseconds. + Weight::from_parts(42_288_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: CollatorSelection Candidates (r:1 w:1) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionBaseline (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionBaseline (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection EvictionTolerance (r:1 w:0) - /// Proof Skipped: CollatorSelection EvictionTolerance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CollatorSelection BlocksPerCollatorThisSession (r:51 w:2) - /// Proof Skipped: CollatorSelection BlocksPerCollatorThisSession (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:49 w:49) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: CollatorSelection Invulnerables (r:1 w:0) - /// Proof Skipped: CollatorSelection Invulnerables (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System BlockWeight (r:1 w:1) - /// Proof: System BlockWeight (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen) - /// Storage: Session Validators (r:1 w:0) - /// Proof Skipped: Session Validators (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CollatorSelection::Candidates` (r:1 w:1) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionBaseline` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionBaseline` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::EvictionTolerance` (r:1 w:0) + /// Proof: `CollatorSelection::EvictionTolerance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::BlocksPerCollatorThisSession` (r:51 w:2) + /// Proof: `CollatorSelection::BlocksPerCollatorThisSession` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:49 w:49) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::BlockWeight` (r:1 w:1) + /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 50]`. fn new_session(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `62 + c * (230 ±0)` // Estimated: `3593 + c * (2705 ±0)` - // Minimum execution time: 34_509_000 picoseconds. - Weight::from_parts(23_774_429, 3593) - // Standard Error: 12_976 - .saturating_add(Weight::from_parts(26_749_722, 0).saturating_mul(c.into())) + // Minimum execution time: 30_150_000 picoseconds. + Weight::from_parts(22_873_721, 3593) + // Standard Error: 12_578 + .saturating_add(Weight::from_parts(22_078_539, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) diff --git a/runtime/manta/src/weights/pallet_asset_manager.rs b/runtime/manta/src/weights/pallet_asset_manager.rs index 5be505c24..ad9a06c55 100644 --- a/runtime/manta/src/weights/pallet_asset_manager.rs +++ b/runtime/manta/src/weights/pallet_asset_manager.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_asset_manager //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -59,148 +59,146 @@ pub trait WeightInfo { /// Weights for pallet_asset_manager using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_asset_manager::WeightInfo for SubstrateWeight { - /// Storage: AssetManager LocationAssetId (r:1 w:1) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdLocation (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:1) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdLocation` (r:0 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3715` - // Minimum execution time: 46_732_000 picoseconds. - Weight::from_parts(47_811_000, 3715) + // Minimum execution time: 39_578_000 picoseconds. + Weight::from_parts(40_509_000, 3715) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager UnitsPerSecond (r:0 w:1) - /// Proof Skipped: AssetManager UnitsPerSecond (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::UnitsPerSecond` (r:0 w:1) + /// Proof: `AssetManager::UnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_units_per_second() -> Weight { // Proof Size summary in bytes: // Measured: `1443` // Estimated: `4908` - // Minimum execution time: 57_760_000 picoseconds. - Weight::from_parts(63_729_000, 4908) + // Minimum execution time: 41_832_000 picoseconds. + Weight::from_parts(47_285_000, 4908) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LocationAssetId (r:1 w:2) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AllowedDestParaIds (r:2 w:2) - /// Proof Skipped: AssetManager AllowedDestParaIds (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:2) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AllowedDestParaIds` (r:2 w:2) + /// Proof: `AssetManager::AllowedDestParaIds` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_location() -> Weight { // Proof Size summary in bytes: // Measured: `4098` // Estimated: `10038` - // Minimum execution time: 82_779_000 picoseconds. - Weight::from_parts(92_148_000, 10038) + // Minimum execution time: 74_824_000 picoseconds. + Weight::from_parts(80_063_000, 10038) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4077` // Estimated: `7542` - // Minimum execution time: 75_799_000 picoseconds. - Weight::from_parts(84_474_000, 7542) + // Minimum execution time: 72_489_000 picoseconds. + Weight::from_parts(80_313_000, 7542) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint_asset() -> Weight { // Proof Size summary in bytes: // Measured: `3496` // Estimated: `6961` - // Minimum execution time: 88_907_000 picoseconds. - Weight::from_parts(96_551_000, 6961) + // Minimum execution time: 85_105_000 picoseconds. + Weight::from_parts(92_979_000, 6961) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: AssetManager MinXcmFee (r:0 w:1) - /// Proof Skipped: AssetManager MinXcmFee (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::MinXcmFee` (r:0 w:1) + /// Proof: `AssetManager::MinXcmFee` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_min_xcm_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 32_871_000 picoseconds. - Weight::from_parts(37_119_000, 0) + // Minimum execution time: 30_195_000 picoseconds. + Weight::from_parts(39_035_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: AssetManager FilteredOutgoingAssetLocations (r:0 w:1) - /// Proof Skipped: AssetManager FilteredOutgoingAssetLocations (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::FilteredOutgoingAssetLocations` (r:0 w:1) + /// Proof: `AssetManager::FilteredOutgoingAssetLocations` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_outgoing_filtered_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 32_130_000 picoseconds. - Weight::from_parts(35_302_000, 0) + // Minimum execution time: 38_981_000 picoseconds. + Weight::from_parts(41_743_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:2 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdPairToLp (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdPairToLp (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LpToAssetIdPair (r:0 w:1) - /// Proof Skipped: AssetManager LpToAssetIdPair (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdMetadata` (r:2 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdPairToLp` (r:1 w:1) + /// Proof: `AssetManager::AssetIdPairToLp` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::LpToAssetIdPair` (r:0 w:1) + /// Proof: `AssetManager::LpToAssetIdPair` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_lp_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `545` - // Estimated: `6485` - // Minimum execution time: 54_735_000 picoseconds. - Weight::from_parts(55_742_000, 6485) + // Measured: `599` + // Estimated: `6539` + // Minimum execution time: 46_874_000 picoseconds. + Weight::from_parts(47_824_000, 6539) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AssetManager NextPermissionlessAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextPermissionlessAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::NextPermissionlessAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextPermissionlessAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn permissionless_register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `221` // Estimated: `3687` - // Minimum execution time: 99_963_000 picoseconds. - Weight::from_parts(101_437_000, 3687) + // Minimum execution time: 85_885_000 picoseconds. + Weight::from_parts(87_272_000, 3687) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -208,148 +206,146 @@ impl pallet_asset_manager::WeightInfo for SubstrateWeig // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: AssetManager LocationAssetId (r:1 w:1) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdLocation (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:1) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdLocation` (r:0 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `250` // Estimated: `3715` - // Minimum execution time: 46_732_000 picoseconds. - Weight::from_parts(47_811_000, 3715) + // Minimum execution time: 39_578_000 picoseconds. + Weight::from_parts(40_509_000, 3715) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager UnitsPerSecond (r:0 w:1) - /// Proof Skipped: AssetManager UnitsPerSecond (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::UnitsPerSecond` (r:0 w:1) + /// Proof: `AssetManager::UnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_units_per_second() -> Weight { // Proof Size summary in bytes: // Measured: `1443` // Estimated: `4908` - // Minimum execution time: 57_760_000 picoseconds. - Weight::from_parts(63_729_000, 4908) + // Minimum execution time: 41_832_000 picoseconds. + Weight::from_parts(47_285_000, 4908) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LocationAssetId (r:1 w:2) - /// Proof Skipped: AssetManager LocationAssetId (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AllowedDestParaIds (r:2 w:2) - /// Proof Skipped: AssetManager AllowedDestParaIds (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:1) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::LocationAssetId` (r:1 w:2) + /// Proof: `AssetManager::LocationAssetId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AllowedDestParaIds` (r:2 w:2) + /// Proof: `AssetManager::AllowedDestParaIds` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_location() -> Weight { // Proof Size summary in bytes: // Measured: `4098` // Estimated: `10038` - // Minimum execution time: 82_779_000 picoseconds. - Weight::from_parts(92_148_000, 10038) + // Minimum execution time: 74_824_000 picoseconds. + Weight::from_parts(80_063_000, 10038) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_asset_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4077` // Estimated: `7542` - // Minimum execution time: 75_799_000 picoseconds. - Weight::from_parts(84_474_000, 7542) + // Minimum execution time: 72_489_000 picoseconds. + Weight::from_parts(80_313_000, 7542) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: AssetManager AssetIdLocation (r:1 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `AssetManager::AssetIdLocation` (r:1 w:0) + /// Proof: `AssetManager::AssetIdLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint_asset() -> Weight { // Proof Size summary in bytes: // Measured: `3496` // Estimated: `6961` - // Minimum execution time: 88_907_000 picoseconds. - Weight::from_parts(96_551_000, 6961) + // Minimum execution time: 85_105_000 picoseconds. + Weight::from_parts(92_979_000, 6961) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: AssetManager MinXcmFee (r:0 w:1) - /// Proof Skipped: AssetManager MinXcmFee (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::MinXcmFee` (r:0 w:1) + /// Proof: `AssetManager::MinXcmFee` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_min_xcm_fee() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 32_871_000 picoseconds. - Weight::from_parts(37_119_000, 0) + // Minimum execution time: 30_195_000 picoseconds. + Weight::from_parts(39_035_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: AssetManager FilteredOutgoingAssetLocations (r:0 w:1) - /// Proof Skipped: AssetManager FilteredOutgoingAssetLocations (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::FilteredOutgoingAssetLocations` (r:0 w:1) + /// Proof: `AssetManager::FilteredOutgoingAssetLocations` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_outgoing_filtered_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 32_130_000 picoseconds. - Weight::from_parts(35_302_000, 0) + // Minimum execution time: 38_981_000 picoseconds. + Weight::from_parts(41_743_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: AssetManager AssetIdLocation (r:2 w:0) - /// Proof Skipped: AssetManager AssetIdLocation (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager AssetIdPairToLp (r:1 w:1) - /// Proof Skipped: AssetManager AssetIdPairToLp (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager NextAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) - /// Storage: AssetManager LpToAssetIdPair (r:0 w:1) - /// Proof Skipped: AssetManager LpToAssetIdPair (max_values: None, max_size: None, mode: Measured) + /// Storage: `AssetManager::AssetIdMetadata` (r:2 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::AssetIdPairToLp` (r:1 w:1) + /// Proof: `AssetManager::AssetIdPairToLp` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AssetManager::NextAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::LpToAssetIdPair` (r:0 w:1) + /// Proof: `AssetManager::LpToAssetIdPair` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_lp_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `545` - // Estimated: `6485` - // Minimum execution time: 54_735_000 picoseconds. - Weight::from_parts(55_742_000, 6485) + // Measured: `599` + // Estimated: `6539` + // Minimum execution time: 46_874_000 picoseconds. + Weight::from_parts(47_824_000, 6539) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: AssetManager NextPermissionlessAssetId (r:1 w:1) - /// Proof Skipped: AssetManager NextPermissionlessAssetId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: AssetManager AssetIdMetadata (r:0 w:1) - /// Proof Skipped: AssetManager AssetIdMetadata (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::NextPermissionlessAssetId` (r:1 w:1) + /// Proof: `AssetManager::NextPermissionlessAssetId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `AssetManager::AssetIdMetadata` (r:0 w:1) + /// Proof: `AssetManager::AssetIdMetadata` (`max_values`: None, `max_size`: None, mode: `Measured`) fn permissionless_register_asset() -> Weight { // Proof Size summary in bytes: // Measured: `221` // Estimated: `3687` - // Minimum execution time: 99_963_000 picoseconds. - Weight::from_parts(101_437_000, 3687) + // Minimum execution time: 85_885_000 picoseconds. + Weight::from_parts(87_272_000, 3687) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } diff --git a/runtime/manta/src/weights/pallet_assets.rs b/runtime/manta/src/weights/pallet_assets.rs index abef078bf..700b7788d 100644 --- a/runtime/manta/src/weights/pallet_assets.rs +++ b/runtime/manta/src/weights/pallet_assets.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_assets //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -82,443 +82,443 @@ pub trait WeightInfo { /// Weights for pallet_assets using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_assets::WeightInfo for SubstrateWeight { - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3687` - // Minimum execution time: 13_524_000 picoseconds. - Weight::from_parts(13_794_000, 3687) + // Minimum execution time: 11_273_000 picoseconds. + Weight::from_parts(11_836_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3687` - // Minimum execution time: 13_110_000 picoseconds. - Weight::from_parts(13_531_000, 3687) + // Minimum execution time: 10_865_000 picoseconds. + Weight::from_parts(11_154_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_867_000 picoseconds. - Weight::from_parts(14_271_000, 3687) + // Minimum execution time: 11_447_000 picoseconds. + Weight::from_parts(11_861_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1000 w:1000) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1001 w:1000) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1000 w:1000) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + c * (208 ±0)` // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 18_414_000 picoseconds. - Weight::from_parts(18_619_000, 3687) - // Standard Error: 12_674 - .saturating_add(Weight::from_parts(13_872_215, 0).saturating_mul(c.into())) + // Minimum execution time: 16_054_000 picoseconds. + Weight::from_parts(16_295_000, 3687) + // Standard Error: 22_039 + .saturating_add(Weight::from_parts(13_565_603, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2621).saturating_mul(c.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + a * (86 ±0)` // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 18_806_000 picoseconds. - Weight::from_parts(19_123_000, 3687) - // Standard Error: 3_843 - .saturating_add(Weight::from_parts(5_618_431, 0).saturating_mul(a.into())) + // Minimum execution time: 16_343_000 picoseconds. + Weight::from_parts(16_822_000, 3687) + // Standard Error: 2_877 + .saturating_add(Weight::from_parts(5_499_934, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2635).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 15_360_000 picoseconds. - Weight::from_parts(15_709_000, 3687) + // Minimum execution time: 13_169_000 picoseconds. + Weight::from_parts(13_538_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 27_303_000 picoseconds. - Weight::from_parts(27_776_000, 3687) + // Minimum execution time: 23_239_000 picoseconds. + Weight::from_parts(23_788_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 33_182_000 picoseconds. - Weight::from_parts(33_613_000, 3687) + // Minimum execution time: 29_215_000 picoseconds. + Weight::from_parts(30_018_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `6232` - // Minimum execution time: 45_563_000 picoseconds. - Weight::from_parts(46_333_000, 6232) + // Minimum execution time: 41_172_000 picoseconds. + Weight::from_parts(41_967_000, 6232) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `6232` - // Minimum execution time: 39_696_000 picoseconds. - Weight::from_parts(40_370_000, 6232) + // Minimum execution time: 36_466_000 picoseconds. + Weight::from_parts(37_295_000, 6232) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `6232` - // Minimum execution time: 45_426_000 picoseconds. - Weight::from_parts(46_491_000, 6232) + // Minimum execution time: 41_566_000 picoseconds. + Weight::from_parts(42_256_000, 6232) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 18_087_000 picoseconds. - Weight::from_parts(18_524_000, 3687) + // Minimum execution time: 15_733_000 picoseconds. + Weight::from_parts(16_184_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 17_609_000 picoseconds. - Weight::from_parts(18_088_000, 3687) + // Minimum execution time: 15_415_000 picoseconds. + Weight::from_parts(15_928_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_621_000 picoseconds. - Weight::from_parts(14_045_000, 3687) + // Minimum execution time: 11_316_000 picoseconds. + Weight::from_parts(11_725_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_586_000 picoseconds. - Weight::from_parts(13_902_000, 3687) + // Minimum execution time: 11_325_000 picoseconds. + Weight::from_parts(11_649_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 15_925_000 picoseconds. - Weight::from_parts(16_320_000, 3687) + // Minimum execution time: 13_770_000 picoseconds. + Weight::from_parts(14_144_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 14_673_000 picoseconds. - Weight::from_parts(14_997_000, 3687) + // Minimum execution time: 12_255_000 picoseconds. + Weight::from_parts(12_581_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 16_039_000 picoseconds. - Weight::from_parts(16_703_472, 3687) - // Standard Error: 216 - .saturating_add(Weight::from_parts(528, 0).saturating_mul(n.into())) - // Standard Error: 216 - .saturating_add(Weight::from_parts(1_789, 0).saturating_mul(s.into())) + // Minimum execution time: 13_915_000 picoseconds. + Weight::from_parts(14_490_897, 3687) + // Standard Error: 215 + .saturating_add(Weight::from_parts(53, 0).saturating_mul(n.into())) + // Standard Error: 215 + .saturating_add(Weight::from_parts(1_637, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `468` // Estimated: `3687` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_333_000, 3687) + // Minimum execution time: 14_562_000 picoseconds. + Weight::from_parts(15_025_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `131` // Estimated: `3687` - // Minimum execution time: 14_818_000 picoseconds. - Weight::from_parts(15_404_741, 3687) - // Standard Error: 213 - .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) - // Standard Error: 213 - .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(s.into())) + // Minimum execution time: 12_650_000 picoseconds. + Weight::from_parts(13_271_586, 3687) + // Standard Error: 202 + .saturating_add(Weight::from_parts(510, 0).saturating_mul(n.into())) + // Standard Error: 202 + .saturating_add(Weight::from_parts(482, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `468` // Estimated: `3687` - // Minimum execution time: 16_600_000 picoseconds. - Weight::from_parts(16_971_000, 3687) + // Minimum execution time: 14_252_000 picoseconds. + Weight::from_parts(14_771_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 13_898_000 picoseconds. - Weight::from_parts(14_175_000, 3687) + // Minimum execution time: 11_799_000 picoseconds. + Weight::from_parts(12_133_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 20_188_000 picoseconds. - Weight::from_parts(20_705_000, 3687) + // Minimum execution time: 17_766_000 picoseconds. + Weight::from_parts(18_109_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6232` - // Minimum execution time: 53_819_000 picoseconds. - Weight::from_parts(54_573_000, 6232) + // Minimum execution time: 50_241_000 picoseconds. + Weight::from_parts(51_220_000, 6232) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `508` // Estimated: `3687` - // Minimum execution time: 22_209_000 picoseconds. - Weight::from_parts(22_620_000, 3687) + // Minimum execution time: 20_147_000 picoseconds. + Weight::from_parts(20_629_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `508` // Estimated: `3687` - // Minimum execution time: 22_613_000 picoseconds. - Weight::from_parts(23_100_000, 3687) + // Minimum execution time: 20_650_000 picoseconds. + Weight::from_parts(21_038_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 14_857_000 picoseconds. - Weight::from_parts(15_294_000, 3687) + // Minimum execution time: 12_728_000 picoseconds. + Weight::from_parts(13_001_000, 3687) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3687` - // Minimum execution time: 34_534_000 picoseconds. - Weight::from_parts(35_153_000, 3687) + // Minimum execution time: 30_876_000 picoseconds. + Weight::from_parts(31_415_000, 3687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 32_459_000 picoseconds. - Weight::from_parts(33_014_000, 3687) + // Minimum execution time: 28_553_000 picoseconds. + Weight::from_parts(29_131_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `481` // Estimated: `3687` - // Minimum execution time: 31_676_000 picoseconds. - Weight::from_parts(32_103_000, 3687) + // Minimum execution time: 29_906_000 picoseconds. + Weight::from_parts(30_463_000, 3687) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `463` // Estimated: `3687` - // Minimum execution time: 29_817_000 picoseconds. - Weight::from_parts(30_307_000, 3687) + // Minimum execution time: 28_116_000 picoseconds. + Weight::from_parts(28_762_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 17_638_000 picoseconds. - Weight::from_parts(17_941_000, 3687) + // Minimum execution time: 15_721_000 picoseconds. + Weight::from_parts(16_155_000, 3687) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -526,443 +526,443 @@ impl pallet_assets::WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3687` - // Minimum execution time: 13_524_000 picoseconds. - Weight::from_parts(13_794_000, 3687) + // Minimum execution time: 11_273_000 picoseconds. + Weight::from_parts(11_836_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3687` - // Minimum execution time: 13_110_000 picoseconds. - Weight::from_parts(13_531_000, 3687) + // Minimum execution time: 10_865_000 picoseconds. + Weight::from_parts(11_154_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_867_000 picoseconds. - Weight::from_parts(14_271_000, 3687) + // Minimum execution time: 11_447_000 picoseconds. + Weight::from_parts(11_861_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1001 w:1000) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1000 w:1000) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1001 w:1000) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1000 w:1000) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + c * (208 ±0)` // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 18_414_000 picoseconds. - Weight::from_parts(18_619_000, 3687) - // Standard Error: 12_674 - .saturating_add(Weight::from_parts(13_872_215, 0).saturating_mul(c.into())) + // Minimum execution time: 16_054_000 picoseconds. + Weight::from_parts(16_295_000, 3687) + // Standard Error: 22_039 + .saturating_add(Weight::from_parts(13_565_603, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2621).saturating_mul(c.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1001 w:1000) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `475 + a * (86 ±0)` // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 18_806_000 picoseconds. - Weight::from_parts(19_123_000, 3687) - // Standard Error: 3_843 - .saturating_add(Weight::from_parts(5_618_431, 0).saturating_mul(a.into())) + // Minimum execution time: 16_343_000 picoseconds. + Weight::from_parts(16_822_000, 3687) + // Standard Error: 2_877 + .saturating_add(Weight::from_parts(5_499_934, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(a.into()))) .saturating_add(Weight::from_parts(0, 2635).saturating_mul(a.into())) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 15_360_000 picoseconds. - Weight::from_parts(15_709_000, 3687) + // Minimum execution time: 13_169_000 picoseconds. + Weight::from_parts(13_538_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 27_303_000 picoseconds. - Weight::from_parts(27_776_000, 3687) + // Minimum execution time: 23_239_000 picoseconds. + Weight::from_parts(23_788_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 33_182_000 picoseconds. - Weight::from_parts(33_613_000, 3687) + // Minimum execution time: 29_215_000 picoseconds. + Weight::from_parts(30_018_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `6232` - // Minimum execution time: 45_563_000 picoseconds. - Weight::from_parts(46_333_000, 6232) + // Minimum execution time: 41_172_000 picoseconds. + Weight::from_parts(41_967_000, 6232) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `6232` - // Minimum execution time: 39_696_000 picoseconds. - Weight::from_parts(40_370_000, 6232) + // Minimum execution time: 36_466_000 picoseconds. + Weight::from_parts(37_295_000, 6232) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `6232` - // Minimum execution time: 45_426_000 picoseconds. - Weight::from_parts(46_491_000, 6232) + // Minimum execution time: 41_566_000 picoseconds. + Weight::from_parts(42_256_000, 6232) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 18_087_000 picoseconds. - Weight::from_parts(18_524_000, 3687) + // Minimum execution time: 15_733_000 picoseconds. + Weight::from_parts(16_184_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 17_609_000 picoseconds. - Weight::from_parts(18_088_000, 3687) + // Minimum execution time: 15_415_000 picoseconds. + Weight::from_parts(15_928_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_621_000 picoseconds. - Weight::from_parts(14_045_000, 3687) + // Minimum execution time: 11_316_000 picoseconds. + Weight::from_parts(11_725_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 13_586_000 picoseconds. - Weight::from_parts(13_902_000, 3687) + // Minimum execution time: 11_325_000 picoseconds. + Weight::from_parts(11_649_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:0) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 15_925_000 picoseconds. - Weight::from_parts(16_320_000, 3687) + // Minimum execution time: 13_770_000 picoseconds. + Weight::from_parts(14_144_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 14_673_000 picoseconds. - Weight::from_parts(14_997_000, 3687) + // Minimum execution time: 12_255_000 picoseconds. + Weight::from_parts(12_581_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 16_039_000 picoseconds. - Weight::from_parts(16_703_472, 3687) - // Standard Error: 216 - .saturating_add(Weight::from_parts(528, 0).saturating_mul(n.into())) - // Standard Error: 216 - .saturating_add(Weight::from_parts(1_789, 0).saturating_mul(s.into())) + // Minimum execution time: 13_915_000 picoseconds. + Weight::from_parts(14_490_897, 3687) + // Standard Error: 215 + .saturating_add(Weight::from_parts(53, 0).saturating_mul(n.into())) + // Standard Error: 215 + .saturating_add(Weight::from_parts(1_637, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `468` // Estimated: `3687` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_333_000, 3687) + // Minimum execution time: 14_562_000 picoseconds. + Weight::from_parts(15_025_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `131` // Estimated: `3687` - // Minimum execution time: 14_818_000 picoseconds. - Weight::from_parts(15_404_741, 3687) - // Standard Error: 213 - .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) - // Standard Error: 213 - .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(s.into())) + // Minimum execution time: 12_650_000 picoseconds. + Weight::from_parts(13_271_586, 3687) + // Standard Error: 202 + .saturating_add(Weight::from_parts(510, 0).saturating_mul(n.into())) + // Standard Error: 202 + .saturating_add(Weight::from_parts(482, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Metadata (r:1 w:1) - /// Proof: Assets Metadata (max_values: None, max_size: Some(152), added: 2627, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `468` // Estimated: `3687` - // Minimum execution time: 16_600_000 picoseconds. - Weight::from_parts(16_971_000, 3687) + // Minimum execution time: 14_252_000 picoseconds. + Weight::from_parts(14_771_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 13_898_000 picoseconds. - Weight::from_parts(14_175_000, 3687) + // Minimum execution time: 11_799_000 picoseconds. + Weight::from_parts(12_133_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `3687` - // Minimum execution time: 20_188_000 picoseconds. - Weight::from_parts(20_705_000, 3687) + // Minimum execution time: 17_766_000 picoseconds. + Weight::from_parts(18_109_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6232` - // Minimum execution time: 53_819_000 picoseconds. - Weight::from_parts(54_573_000, 6232) + // Minimum execution time: 50_241_000 picoseconds. + Weight::from_parts(51_220_000, 6232) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `508` // Estimated: `3687` - // Minimum execution time: 22_209_000 picoseconds. - Weight::from_parts(22_620_000, 3687) + // Minimum execution time: 20_147_000 picoseconds. + Weight::from_parts(20_629_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Approvals (r:1 w:1) - /// Proof: Assets Approvals (max_values: None, max_size: Some(160), added: 2635, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: // Measured: `508` // Estimated: `3687` - // Minimum execution time: 22_613_000 picoseconds. - Weight::from_parts(23_100_000, 3687) + // Minimum execution time: 20_650_000 picoseconds. + Weight::from_parts(21_038_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 14_857_000 picoseconds. - Weight::from_parts(15_294_000, 3687) + // Minimum execution time: 12_728_000 picoseconds. + Weight::from_parts(13_001_000, 3687) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: // Measured: `343` // Estimated: `3687` - // Minimum execution time: 34_534_000 picoseconds. - Weight::from_parts(35_153_000, 3687) + // Minimum execution time: 30_876_000 picoseconds. + Weight::from_parts(31_415_000, 3687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: // Measured: `292` // Estimated: `3687` - // Minimum execution time: 32_459_000 picoseconds. - Weight::from_parts(33_014_000, 3687) + // Minimum execution time: 28_553_000 picoseconds. + Weight::from_parts(29_131_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: // Measured: `481` // Estimated: `3687` - // Minimum execution time: 31_676_000 picoseconds. - Weight::from_parts(32_103_000, 3687) + // Minimum execution time: 29_906_000 picoseconds. + Weight::from_parts(30_463_000, 3687) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: // Measured: `463` // Estimated: `3687` - // Minimum execution time: 29_817_000 picoseconds. - Weight::from_parts(30_307_000, 3687) + // Minimum execution time: 28_116_000 picoseconds. + Weight::from_parts(28_762_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Assets Asset (r:1 w:0) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:1 w:1) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3687` - // Minimum execution time: 17_638_000 picoseconds. - Weight::from_parts(17_941_000, 3687) + // Minimum execution time: 15_721_000 picoseconds. + Weight::from_parts(16_155_000, 3687) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/manta/src/weights/pallet_balances.rs b/runtime/manta/src/weights/pallet_balances.rs index 57af6f531..2f381df00 100644 --- a/runtime/manta/src/weights/pallet_balances.rs +++ b/runtime/manta/src/weights/pallet_balances.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -58,94 +58,94 @@ pub trait WeightInfo { /// Weights for pallet_balances using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_balances::WeightInfo for SubstrateWeight { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 56_227_000 picoseconds. - Weight::from_parts(56_995_000, 3593) + // Minimum execution time: 46_863_000 picoseconds. + Weight::from_parts(47_820_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 41_856_000 picoseconds. - Weight::from_parts(42_528_000, 3593) + // Minimum execution time: 37_077_000 picoseconds. + Weight::from_parts(37_612_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 16_774_000 picoseconds. - Weight::from_parts(17_246_000, 3593) + // Minimum execution time: 14_768_000 picoseconds. + Weight::from_parts(15_063_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 24_841_000 picoseconds. - Weight::from_parts(25_246_000, 3593) + // Minimum execution time: 20_197_000 picoseconds. + Weight::from_parts(20_682_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `6196` - // Minimum execution time: 59_308_000 picoseconds. - Weight::from_parts(60_043_000, 6196) + // Minimum execution time: 49_859_000 picoseconds. + Weight::from_parts(50_581_000, 6196) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 52_092_000 picoseconds. - Weight::from_parts(52_915_000, 3593) + // Minimum execution time: 45_682_000 picoseconds. + Weight::from_parts(46_399_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 19_254_000 picoseconds. - Weight::from_parts(19_609_000, 3593) + // Minimum execution time: 17_582_000 picoseconds. + Weight::from_parts(17_954_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (135 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 19_292_000 picoseconds. - Weight::from_parts(19_680_000, 990) - // Standard Error: 9_897 - .saturating_add(Weight::from_parts(15_706_501, 0).saturating_mul(u.into())) + // Minimum execution time: 16_902_000 picoseconds. + Weight::from_parts(17_166_000, 990) + // Standard Error: 12_505 + .saturating_add(Weight::from_parts(13_746_018, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) @@ -154,94 +154,94 @@ impl pallet_balances::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 56_227_000 picoseconds. - Weight::from_parts(56_995_000, 3593) + // Minimum execution time: 46_863_000 picoseconds. + Weight::from_parts(47_820_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 41_856_000 picoseconds. - Weight::from_parts(42_528_000, 3593) + // Minimum execution time: 37_077_000 picoseconds. + Weight::from_parts(37_612_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 16_774_000 picoseconds. - Weight::from_parts(17_246_000, 3593) + // Minimum execution time: 14_768_000 picoseconds. + Weight::from_parts(15_063_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 24_841_000 picoseconds. - Weight::from_parts(25_246_000, 3593) + // Minimum execution time: 20_197_000 picoseconds. + Weight::from_parts(20_682_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `6196` - // Minimum execution time: 59_308_000 picoseconds. - Weight::from_parts(60_043_000, 6196) + // Minimum execution time: 49_859_000 picoseconds. + Weight::from_parts(50_581_000, 6196) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 52_092_000 picoseconds. - Weight::from_parts(52_915_000, 3593) + // Minimum execution time: 45_682_000 picoseconds. + Weight::from_parts(46_399_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_unreserve() -> Weight { // Proof Size summary in bytes: // Measured: `102` // Estimated: `3593` - // Minimum execution time: 19_254_000 picoseconds. - Weight::from_parts(19_609_000, 3593) + // Minimum execution time: 17_582_000 picoseconds. + Weight::from_parts(17_954_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:999 w:999) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (135 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 19_292_000 picoseconds. - Weight::from_parts(19_680_000, 990) - // Standard Error: 9_897 - .saturating_add(Weight::from_parts(15_706_501, 0).saturating_mul(u.into())) + // Minimum execution time: 16_902_000 picoseconds. + Weight::from_parts(17_166_000, 990) + // Standard Error: 12_505 + .saturating_add(Weight::from_parts(13_746_018, 0).saturating_mul(u.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) diff --git a/runtime/manta/src/weights/pallet_collective.rs b/runtime/manta/src/weights/pallet_collective.rs index fb1709b1b..ab47f88da 100644 --- a/runtime/manta/src/weights/pallet_collective.rs +++ b/runtime/manta/src/weights/pallet_collective.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_collective //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -60,14 +60,14 @@ pub trait WeightInfo { /// Weights for pallet_collective using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_collective::WeightInfo for SubstrateWeight { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -75,12 +75,12 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15689 + m * (1967 ±16) + p * (4332 ±16)` - // Minimum execution time: 17_867_000 picoseconds. - Weight::from_parts(18_015_000, 15689) - // Standard Error: 58_638 - .saturating_add(Weight::from_parts(6_495_724, 0).saturating_mul(m.into())) - // Standard Error: 58_638 - .saturating_add(Weight::from_parts(9_444_638, 0).saturating_mul(p.into())) + // Minimum execution time: 15_956_000 picoseconds. + Weight::from_parts(16_155_000, 15689) + // Standard Error: 61_788 + .saturating_add(Weight::from_parts(6_686_973, 0).saturating_mul(m.into())) + // Standard Error: 61_788 + .saturating_add(Weight::from_parts(9_566_482, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -88,52 +88,52 @@ impl pallet_collective::WeightInfo for SubstrateWeight< .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `1516 + m * (32 ±0)` - // Minimum execution time: 17_696_000 picoseconds. - Weight::from_parts(16_929_727, 1516) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_478, 0).saturating_mul(b.into())) - // Standard Error: 167 - .saturating_add(Weight::from_parts(13_712, 0).saturating_mul(m.into())) + // Minimum execution time: 14_214_000 picoseconds. + Weight::from_parts(13_443_410, 1516) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(b.into())) + // Standard Error: 123 + .saturating_add(Weight::from_parts(13_507, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `3496 + m * (32 ±0)` - // Minimum execution time: 20_818_000 picoseconds. - Weight::from_parts(19_646_254, 3496) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_669, 0).saturating_mul(b.into())) - // Standard Error: 200 - .saturating_add(Weight::from_parts(25_163, 0).saturating_mul(m.into())) + // Minimum execution time: 16_847_000 picoseconds. + Weight::from_parts(16_106_778, 3496) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_498, 0).saturating_mul(b.into())) + // Standard Error: 168 + .saturating_add(Weight::from_parts(24_300, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -141,69 +141,69 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `320 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3712 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 27_431_000 picoseconds. - Weight::from_parts(27_744_207, 3712) - // Standard Error: 90 - .saturating_add(Weight::from_parts(3_258, 0).saturating_mul(b.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(24_801, 0).saturating_mul(m.into())) - // Standard Error: 929 - .saturating_add(Weight::from_parts(189_431, 0).saturating_mul(p.into())) + // Minimum execution time: 22_619_000 picoseconds. + Weight::from_parts(18_801_353, 3712) + // Standard Error: 165 + .saturating_add(Weight::from_parts(3_943, 0).saturating_mul(b.into())) + // Standard Error: 1_729 + .saturating_add(Weight::from_parts(47_903, 0).saturating_mul(m.into())) + // Standard Error: 1_707 + .saturating_add(Weight::from_parts(197_170, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `769 + m * (64 ±0)` // Estimated: `4233 + m * (64 ±0)` - // Minimum execution time: 27_974_000 picoseconds. - Weight::from_parts(28_962_183, 4233) - // Standard Error: 621 - .saturating_add(Weight::from_parts(42_544, 0).saturating_mul(m.into())) + // Minimum execution time: 23_795_000 picoseconds. + Weight::from_parts(24_544_904, 4233) + // Standard Error: 437 + .saturating_add(Weight::from_parts(40_257, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `358 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3803 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 30_238_000 picoseconds. - Weight::from_parts(31_552_516, 3803) - // Standard Error: 810 - .saturating_add(Weight::from_parts(24_684, 0).saturating_mul(m.into())) - // Standard Error: 790 - .saturating_add(Weight::from_parts(173_060, 0).saturating_mul(p.into())) + // Minimum execution time: 24_659_000 picoseconds. + Weight::from_parts(24_863_603, 3803) + // Standard Error: 684 + .saturating_add(Weight::from_parts(30_360, 0).saturating_mul(m.into())) + // Standard Error: 667 + .saturating_add(Weight::from_parts(167_989, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -211,57 +211,57 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `660 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3977 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 43_765_000 picoseconds. - Weight::from_parts(43_487_120, 3977) - // Standard Error: 99 - .saturating_add(Weight::from_parts(2_527, 0).saturating_mul(b.into())) - // Standard Error: 1_056 - .saturating_add(Weight::from_parts(29_655, 0).saturating_mul(m.into())) - // Standard Error: 1_030 - .saturating_add(Weight::from_parts(207_750, 0).saturating_mul(p.into())) + // Minimum execution time: 36_339_000 picoseconds. + Weight::from_parts(36_076_215, 3977) + // Standard Error: 87 + .saturating_add(Weight::from_parts(2_874, 0).saturating_mul(b.into())) + // Standard Error: 927 + .saturating_add(Weight::from_parts(24_090, 0).saturating_mul(m.into())) + // Standard Error: 904 + .saturating_add(Weight::from_parts(188_973, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `378 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3823 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 33_207_000 picoseconds. - Weight::from_parts(33_682_983, 3823) - // Standard Error: 768 - .saturating_add(Weight::from_parts(34_493, 0).saturating_mul(m.into())) - // Standard Error: 749 - .saturating_add(Weight::from_parts(177_768, 0).saturating_mul(p.into())) + // Minimum execution time: 27_454_000 picoseconds. + Weight::from_parts(26_232_128, 3823) + // Standard Error: 765 + .saturating_add(Weight::from_parts(43_988, 0).saturating_mul(m.into())) + // Standard Error: 746 + .saturating_add(Weight::from_parts(181_001, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -269,35 +269,35 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // Proof Size summary in bytes: // Measured: `680 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3997 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 46_799_000 picoseconds. - Weight::from_parts(48_593_110, 3997) - // Standard Error: 157 - .saturating_add(Weight::from_parts(3_595, 0).saturating_mul(b.into())) - // Standard Error: 1_662 - .saturating_add(Weight::from_parts(2_320, 0).saturating_mul(m.into())) - // Standard Error: 1_620 - .saturating_add(Weight::from_parts(224_502, 0).saturating_mul(p.into())) + // Minimum execution time: 38_377_000 picoseconds. + Weight::from_parts(35_499_417, 3997) + // Standard Error: 183 + .saturating_add(Weight::from_parts(5_809, 0).saturating_mul(b.into())) + // Standard Error: 1_941 + .saturating_add(Weight::from_parts(9_360, 0).saturating_mul(m.into())) + // Standard Error: 1_892 + .saturating_add(Weight::from_parts(258_976, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `187 + p * (32 ±0)` // Estimated: `1672 + p * (32 ±0)` - // Minimum execution time: 16_554_000 picoseconds. - Weight::from_parts(18_923_901, 1672) - // Standard Error: 892 - .saturating_add(Weight::from_parts(164_400, 0).saturating_mul(p.into())) + // Minimum execution time: 13_358_000 picoseconds. + Weight::from_parts(15_039_829, 1672) + // Standard Error: 795 + .saturating_add(Weight::from_parts(177_340, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) @@ -306,14 +306,14 @@ impl pallet_collective::WeightInfo for SubstrateWeight< // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Council Members (r:1 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:100 w:100) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[0, 100]`. /// The range of component `n` is `[0, 100]`. /// The range of component `p` is `[0, 100]`. @@ -321,12 +321,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + m * (3232 ±0) + p * (3190 ±0)` // Estimated: `15689 + m * (1967 ±16) + p * (4332 ±16)` - // Minimum execution time: 17_867_000 picoseconds. - Weight::from_parts(18_015_000, 15689) - // Standard Error: 58_638 - .saturating_add(Weight::from_parts(6_495_724, 0).saturating_mul(m.into())) - // Standard Error: 58_638 - .saturating_add(Weight::from_parts(9_444_638, 0).saturating_mul(p.into())) + // Minimum execution time: 15_956_000 picoseconds. + Weight::from_parts(16_155_000, 15689) + // Standard Error: 61_788 + .saturating_add(Weight::from_parts(6_686_973, 0).saturating_mul(m.into())) + // Standard Error: 61_788 + .saturating_add(Weight::from_parts(9_566_482, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -334,52 +334,52 @@ impl WeightInfo for () { .saturating_add(Weight::from_parts(0, 1967).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 4332).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `1516 + m * (32 ±0)` - // Minimum execution time: 17_696_000 picoseconds. - Weight::from_parts(16_929_727, 1516) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_478, 0).saturating_mul(b.into())) - // Standard Error: 167 - .saturating_add(Weight::from_parts(13_712, 0).saturating_mul(m.into())) + // Minimum execution time: 14_214_000 picoseconds. + Weight::from_parts(13_443_410, 1516) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(b.into())) + // Standard Error: 123 + .saturating_add(Weight::from_parts(13_507, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:0) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `30 + m * (32 ±0)` // Estimated: `3496 + m * (32 ±0)` - // Minimum execution time: 20_818_000 picoseconds. - Weight::from_parts(19_646_254, 3496) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_669, 0).saturating_mul(b.into())) - // Standard Error: 200 - .saturating_add(Weight::from_parts(25_163, 0).saturating_mul(m.into())) + // Minimum execution time: 16_847_000 picoseconds. + Weight::from_parts(16_106_778, 3496) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_498, 0).saturating_mul(b.into())) + // Standard Error: 168 + .saturating_add(Weight::from_parts(24_300, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalCount (r:1 w:1) - /// Proof Skipped: Council ProposalCount (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. @@ -387,69 +387,69 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `320 + m * (32 ±0) + p * (36 ±0)` // Estimated: `3712 + m * (33 ±0) + p * (36 ±0)` - // Minimum execution time: 27_431_000 picoseconds. - Weight::from_parts(27_744_207, 3712) - // Standard Error: 90 - .saturating_add(Weight::from_parts(3_258, 0).saturating_mul(b.into())) - // Standard Error: 941 - .saturating_add(Weight::from_parts(24_801, 0).saturating_mul(m.into())) - // Standard Error: 929 - .saturating_add(Weight::from_parts(189_431, 0).saturating_mul(p.into())) + // Minimum execution time: 22_619_000 picoseconds. + Weight::from_parts(18_801_353, 3712) + // Standard Error: 165 + .saturating_add(Weight::from_parts(3_943, 0).saturating_mul(b.into())) + // Standard Error: 1_729 + .saturating_add(Weight::from_parts(47_903, 0).saturating_mul(m.into())) + // Standard Error: 1_707 + .saturating_add(Weight::from_parts(197_170, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `769 + m * (64 ±0)` // Estimated: `4233 + m * (64 ±0)` - // Minimum execution time: 27_974_000 picoseconds. - Weight::from_parts(28_962_183, 4233) - // Standard Error: 621 - .saturating_add(Weight::from_parts(42_544, 0).saturating_mul(m.into())) + // Minimum execution time: 23_795_000 picoseconds. + Weight::from_parts(24_544_904, 4233) + // Standard Error: 437 + .saturating_add(Weight::from_parts(40_257, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `358 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3803 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 30_238_000 picoseconds. - Weight::from_parts(31_552_516, 3803) - // Standard Error: 810 - .saturating_add(Weight::from_parts(24_684, 0).saturating_mul(m.into())) - // Standard Error: 790 - .saturating_add(Weight::from_parts(173_060, 0).saturating_mul(p.into())) + // Minimum execution time: 24_659_000 picoseconds. + Weight::from_parts(24_863_603, 3803) + // Standard Error: 684 + .saturating_add(Weight::from_parts(30_360, 0).saturating_mul(m.into())) + // Standard Error: 667 + .saturating_add(Weight::from_parts(167_989, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -457,57 +457,57 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `660 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3977 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 43_765_000 picoseconds. - Weight::from_parts(43_487_120, 3977) - // Standard Error: 99 - .saturating_add(Weight::from_parts(2_527, 0).saturating_mul(b.into())) - // Standard Error: 1_056 - .saturating_add(Weight::from_parts(29_655, 0).saturating_mul(m.into())) - // Standard Error: 1_030 - .saturating_add(Weight::from_parts(207_750, 0).saturating_mul(p.into())) + // Minimum execution time: 36_339_000 picoseconds. + Weight::from_parts(36_076_215, 3977) + // Standard Error: 87 + .saturating_add(Weight::from_parts(2_874, 0).saturating_mul(b.into())) + // Standard Error: 927 + .saturating_add(Weight::from_parts(24_090, 0).saturating_mul(m.into())) + // Standard Error: 904 + .saturating_add(Weight::from_parts(188_973, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `378 + m * (64 ±0) + p * (36 ±0)` // Estimated: `3823 + m * (65 ±0) + p * (36 ±0)` - // Minimum execution time: 33_207_000 picoseconds. - Weight::from_parts(33_682_983, 3823) - // Standard Error: 768 - .saturating_add(Weight::from_parts(34_493, 0).saturating_mul(m.into())) - // Standard Error: 749 - .saturating_add(Weight::from_parts(177_768, 0).saturating_mul(p.into())) + // Minimum execution time: 27_454_000 picoseconds. + Weight::from_parts(26_232_128, 3823) + // Standard Error: 765 + .saturating_add(Weight::from_parts(43_988, 0).saturating_mul(m.into())) + // Standard Error: 746 + .saturating_add(Weight::from_parts(181_001, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 65).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) } - /// Storage: Council Voting (r:1 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Members (r:1 w:0) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:1 w:0) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:1 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `b` is `[2, 1024]`. /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. @@ -515,35 +515,35 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `680 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` // Estimated: `3997 + b * (1 ±0) + m * (66 ±0) + p * (40 ±0)` - // Minimum execution time: 46_799_000 picoseconds. - Weight::from_parts(48_593_110, 3997) - // Standard Error: 157 - .saturating_add(Weight::from_parts(3_595, 0).saturating_mul(b.into())) - // Standard Error: 1_662 - .saturating_add(Weight::from_parts(2_320, 0).saturating_mul(m.into())) - // Standard Error: 1_620 - .saturating_add(Weight::from_parts(224_502, 0).saturating_mul(p.into())) + // Minimum execution time: 38_377_000 picoseconds. + Weight::from_parts(35_499_417, 3997) + // Standard Error: 183 + .saturating_add(Weight::from_parts(5_809, 0).saturating_mul(b.into())) + // Standard Error: 1_941 + .saturating_add(Weight::from_parts(9_360, 0).saturating_mul(m.into())) + // Standard Error: 1_892 + .saturating_add(Weight::from_parts(258_976, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 40).saturating_mul(p.into())) } - /// Storage: Council Proposals (r:1 w:1) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Voting (r:0 w:1) - /// Proof Skipped: Council Voting (max_values: None, max_size: None, mode: Measured) - /// Storage: Council ProposalOf (r:0 w:1) - /// Proof Skipped: Council ProposalOf (max_values: None, max_size: None, mode: Measured) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `187 + p * (32 ±0)` // Estimated: `1672 + p * (32 ±0)` - // Minimum execution time: 16_554_000 picoseconds. - Weight::from_parts(18_923_901, 1672) - // Standard Error: 892 - .saturating_add(Weight::from_parts(164_400, 0).saturating_mul(p.into())) + // Minimum execution time: 13_358_000 picoseconds. + Weight::from_parts(15_039_829, 1672) + // Standard Error: 795 + .saturating_add(Weight::from_parts(177_340, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) diff --git a/runtime/manta/src/weights/pallet_democracy.rs b/runtime/manta/src/weights/pallet_democracy.rs index 029baaed5..19fb00ac1 100644 --- a/runtime/manta/src/weights/pallet_democracy.rs +++ b/runtime/manta/src/weights/pallet_democracy.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_democracy //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -78,450 +78,456 @@ pub trait WeightInfo { /// Weights for pallet_democracy using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_democracy::WeightInfo for SubstrateWeight { - /// Storage: Democracy PublicPropCount (r:1 w:1) - /// Proof: Democracy PublicPropCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:0 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn propose() -> Weight { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 48_110_000 picoseconds. - Weight::from_parts(50_041_000, 18187) + // Minimum execution time: 43_472_000 picoseconds. + Weight::from_parts(46_142_000, 18187) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 41_877_000 picoseconds. - Weight::from_parts(43_024_000, 6695) + // Minimum execution time: 38_720_000 picoseconds. + Weight::from_parts(40_589_000, 6695) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3387` // Estimated: `7260` - // Minimum execution time: 59_977_000 picoseconds. - Weight::from_parts(63_165_000, 7260) + // Minimum execution time: 56_826_000 picoseconds. + Weight::from_parts(62_565_000, 7260) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3409` // Estimated: `7260` - // Minimum execution time: 65_196_000 picoseconds. - Weight::from_parts(66_981_000, 7260) + // Minimum execution time: 57_293_000 picoseconds. + Weight::from_parts(63_831_000, 7260) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 29_427_000 picoseconds. - Weight::from_parts(30_115_000, 3666) + // Minimum execution time: 25_617_000 picoseconds. + Weight::from_parts(26_285_000, 3666) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `5844` // Estimated: `18187` - // Minimum execution time: 101_467_000 picoseconds. - Weight::from_parts(104_982_000, 18187) + // Minimum execution time: 93_483_000 picoseconds. + Weight::from_parts(99_465_000, 18187) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 14_728_000 picoseconds. - Weight::from_parts(15_278_000, 6703) + // Minimum execution time: 13_666_000 picoseconds. + Weight::from_parts(14_092_000, 6703) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_170_000 picoseconds. - Weight::from_parts(3_305_000, 0) + // Minimum execution time: 2_946_000 picoseconds. + Weight::from_parts(3_099_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_438_000 picoseconds. - Weight::from_parts(3_607_000, 0) + // Minimum execution time: 2_896_000 picoseconds. + Weight::from_parts(3_064_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 30_094_000 picoseconds. - Weight::from_parts(30_776_000, 3518) + // Minimum execution time: 25_093_000 picoseconds. + Weight::from_parts(25_838_000, 3518) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 33_486_000 picoseconds. - Weight::from_parts(34_057_000, 6703) + // Minimum execution time: 29_020_000 picoseconds. + Weight::from_parts(29_508_000, 6703) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `5755` // Estimated: `18187` - // Minimum execution time: 80_483_000 picoseconds. - Weight::from_parts(83_562_000, 18187) + // Minimum execution time: 76_731_000 picoseconds. + Weight::from_parts(79_993_000, 18187) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 22_200_000 picoseconds. - Weight::from_parts(22_571_000, 3518) + // Minimum execution time: 18_311_000 picoseconds. + Weight::from_parts(18_627_000, 3518) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 7_823_000 picoseconds. - Weight::from_parts(11_992_239, 1489) - // Standard Error: 4_781 - .saturating_add(Weight::from_parts(3_507_558, 0).saturating_mul(r.into())) + // Minimum execution time: 6_333_000 picoseconds. + Weight::from_parts(9_413_680, 1489) + // Standard Error: 5_920 + .saturating_add(Weight::from_parts(3_569_826, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 11_329_000 picoseconds. - Weight::from_parts(15_501_003, 18187) - // Standard Error: 5_016 - .saturating_add(Weight::from_parts(3_508_716, 0).saturating_mul(r.into())) + // Minimum execution time: 8_828_000 picoseconds. + Weight::from_parts(12_469_141, 18187) + // Standard Error: 6_550 + .saturating_add(Weight::from_parts(3_581_768, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `749 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 44_249_000 picoseconds. - Weight::from_parts(53_110_577, 19800) - // Standard Error: 5_957 - .saturating_add(Weight::from_parts(4_402_338, 0).saturating_mul(r.into())) + // Minimum execution time: 41_112_000 picoseconds. + Weight::from_parts(47_885_809, 19800) + // Standard Error: 9_195 + .saturating_add(Weight::from_parts(4_563_372, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 23_547_000 picoseconds. - Weight::from_parts(27_606_964, 13530) - // Standard Error: 4_551 - .saturating_add(Weight::from_parts(4_433_904, 0).saturating_mul(r.into())) + // Minimum execution time: 20_779_000 picoseconds. + Weight::from_parts(25_336_929, 13530) + // Standard Error: 5_105 + .saturating_add(Weight::from_parts(4_270_907, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_491_000 picoseconds. - Weight::from_parts(3_653_000, 0) + // Minimum execution time: 2_722_000 picoseconds. + Weight::from_parts(2_914_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 26_037_000 picoseconds. - Weight::from_parts(41_983_433, 7260) - // Standard Error: 2_768 - .saturating_add(Weight::from_parts(103_609, 0).saturating_mul(r.into())) + // Minimum execution time: 24_411_000 picoseconds. + Weight::from_parts(36_540_505, 7260) + // Standard Error: 2_130 + .saturating_add(Weight::from_parts(77_108, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 36_182_000 picoseconds. - Weight::from_parts(40_496_364, 7260) - // Standard Error: 1_305 - .saturating_add(Weight::from_parts(128_725, 0).saturating_mul(r.into())) + // Minimum execution time: 33_551_000 picoseconds. + Weight::from_parts(36_646_149, 7260) + // Standard Error: 1_123 + .saturating_add(Weight::from_parts(105_780, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 17_932_000 picoseconds. - Weight::from_parts(22_163_735, 7260) - // Standard Error: 1_290 - .saturating_add(Weight::from_parts(126_302, 0).saturating_mul(r.into())) + // Minimum execution time: 17_865_000 picoseconds. + Weight::from_parts(22_468_037, 7260) + // Standard Error: 1_407 + .saturating_add(Weight::from_parts(105_757, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 17_773_000 picoseconds. - Weight::from_parts(22_584_631, 7260) - // Standard Error: 1_492 - .saturating_add(Weight::from_parts(127_048, 0).saturating_mul(r.into())) + // Minimum execution time: 17_962_000 picoseconds. + Weight::from_parts(22_326_151, 7260) + // Standard Error: 1_281 + .saturating_add(Weight::from_parts(109_814, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 20_473_000 picoseconds. - Weight::from_parts(20_855_000, 3556) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 19_356_000 picoseconds. + Weight::from_parts(19_857_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 19_078_000 picoseconds. - Weight::from_parts(19_373_000, 3518) + // Minimum execution time: 16_519_000 picoseconds. + Weight::from_parts(16_816_000, 3518) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 43_425_000 picoseconds. - Weight::from_parts(44_851_000, 18187) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 42_584_000 picoseconds. + Weight::from_parts(43_627_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 41_584_000 picoseconds. - Weight::from_parts(42_800_000, 18187) + // Minimum execution time: 37_706_000 picoseconds. + Weight::from_parts(38_792_000, 18187) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 16_045_000 picoseconds. - Weight::from_parts(16_537_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 15_463_000 picoseconds. + Weight::from_parts(15_817_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 21_194_000 picoseconds. - Weight::from_parts(21_748_000, 3666) + // Minimum execution time: 19_413_000 picoseconds. + Weight::from_parts(19_723_000, 3666) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -529,450 +535,456 @@ impl pallet_democracy::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `4768` // Estimated: `18187` - // Minimum execution time: 48_110_000 picoseconds. - Weight::from_parts(50_041_000, 18187) + // Minimum execution time: 43_472_000 picoseconds. + Weight::from_parts(46_142_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) fn second() -> Weight { // Proof Size summary in bytes: // Measured: `3523` // Estimated: `6695` - // Minimum execution time: 41_877_000 picoseconds. - Weight::from_parts(43_024_000, 6695) + // Minimum execution time: 38_720_000 picoseconds. + Weight::from_parts(40_589_000, 6695) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: // Measured: `3387` // Estimated: `7260` - // Minimum execution time: 59_977_000 picoseconds. - Weight::from_parts(63_165_000, 7260) + // Minimum execution time: 56_826_000 picoseconds. + Weight::from_parts(62_565_000, 7260) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: // Measured: `3409` // Estimated: `7260` - // Minimum execution time: 65_196_000 picoseconds. - Weight::from_parts(66_981_000, 7260) + // Minimum execution time: 57_293_000 picoseconds. + Weight::from_parts(63_831_000, 7260) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Cancellations (r:1 w:1) - /// Proof: Democracy Cancellations (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn emergency_cancel() -> Weight { // Proof Size summary in bytes: // Measured: `333` // Estimated: `3666` - // Minimum execution time: 29_427_000 picoseconds. - Weight::from_parts(30_115_000, 3666) + // Minimum execution time: 25_617_000 picoseconds. + Weight::from_parts(26_285_000, 3666) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:3 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:0 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn blacklist() -> Weight { // Proof Size summary in bytes: // Measured: `5844` // Estimated: `18187` - // Minimum execution time: 101_467_000 picoseconds. - Weight::from_parts(104_982_000, 18187) + // Minimum execution time: 93_483_000 picoseconds. + Weight::from_parts(99_465_000, 18187) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:0) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) fn external_propose() -> Weight { // Proof Size summary in bytes: // Measured: `3383` // Estimated: `6703` - // Minimum execution time: 14_728_000 picoseconds. - Weight::from_parts(15_278_000, 6703) + // Minimum execution time: 13_666_000 picoseconds. + Weight::from_parts(14_092_000, 6703) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_majority() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_170_000 picoseconds. - Weight::from_parts(3_305_000, 0) + // Minimum execution time: 2_946_000 picoseconds. + Weight::from_parts(3_099_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:0 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) fn external_propose_default() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_438_000 picoseconds. - Weight::from_parts(3_607_000, 0) + // Minimum execution time: 2_896_000 picoseconds. + Weight::from_parts(3_064_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:1) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:2) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn fast_track() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 30_094_000 picoseconds. - Weight::from_parts(30_776_000, 3518) + // Minimum execution time: 25_093_000 picoseconds. + Weight::from_parts(25_838_000, 3518) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Democracy NextExternal (r:1 w:1) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy Blacklist (r:1 w:1) - /// Proof: Democracy Blacklist (max_values: None, max_size: Some(3238), added: 5713, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn veto_external() -> Weight { // Proof Size summary in bytes: // Measured: `3486` // Estimated: `6703` - // Minimum execution time: 33_486_000 picoseconds. - Weight::from_parts(34_057_000, 6703) + // Minimum execution time: 29_020_000 picoseconds. + Weight::from_parts(29_508_000, 6703) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy PublicProps (r:1 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy DepositOf (r:1 w:1) - /// Proof: Democracy DepositOf (max_values: None, max_size: Some(3230), added: 5705, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn cancel_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `5755` // Estimated: `18187` - // Minimum execution time: 80_483_000 picoseconds. - Weight::from_parts(83_562_000, 18187) + // Minimum execution time: 76_731_000 picoseconds. + Weight::from_parts(79_993_000, 18187) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:0 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) fn cancel_referendum() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `3518` - // Minimum execution time: 22_200_000 picoseconds. - Weight::from_parts(22_571_000, 3518) + // Minimum execution time: 18_311_000 picoseconds. + Weight::from_parts(18_627_000, 3518) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 7_823_000 picoseconds. - Weight::from_parts(11_992_239, 1489) - // Standard Error: 4_781 - .saturating_add(Weight::from_parts(3_507_558, 0).saturating_mul(r.into())) + // Minimum execution time: 6_333_000 picoseconds. + Weight::from_parts(9_413_680, 1489) + // Standard Error: 5_920 + .saturating_add(Weight::from_parts(3_569_826, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy LowestUnbaked (r:1 w:1) - /// Proof: Democracy LowestUnbaked (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumCount (r:1 w:0) - /// Proof: Democracy ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Democracy LastTabledWasExternal (r:1 w:0) - /// Proof: Democracy LastTabledWasExternal (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 11_329_000 picoseconds. - Weight::from_parts(15_501_003, 18187) - // Standard Error: 5_016 - .saturating_add(Weight::from_parts(3_508_716, 0).saturating_mul(r.into())) + // Minimum execution time: 8_828_000 picoseconds. + Weight::from_parts(12_469_141, 18187) + // Standard Error: 6_550 + .saturating_add(Weight::from_parts(3_581_768, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:3 w:3) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `749 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 44_249_000 picoseconds. - Weight::from_parts(53_110_577, 19800) - // Standard Error: 5_957 - .saturating_add(Weight::from_parts(4_402_338, 0).saturating_mul(r.into())) + // Minimum execution time: 41_112_000 picoseconds. + Weight::from_parts(47_885_809, 19800) + // Standard Error: 9_195 + .saturating_add(Weight::from_parts(4_563_372, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy VotingOf (r:2 w:2) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Democracy ReferendumInfoOf (r:99 w:99) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `460 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 23_547_000 picoseconds. - Weight::from_parts(27_606_964, 13530) - // Standard Error: 4_551 - .saturating_add(Weight::from_parts(4_433_904, 0).saturating_mul(r.into())) + // Minimum execution time: 20_779_000 picoseconds. + Weight::from_parts(25_336_929, 13530) + // Standard Error: 5_105 + .saturating_add(Weight::from_parts(4_270_907, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: Democracy PublicProps (r:0 w:1) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) fn clear_public_proposals() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_491_000 picoseconds. - Weight::from_parts(3_653_000, 0) + // Minimum execution time: 2_722_000 picoseconds. + Weight::from_parts(2_914_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `492` // Estimated: `7260` - // Minimum execution time: 26_037_000 picoseconds. - Weight::from_parts(41_983_433, 7260) - // Standard Error: 2_768 - .saturating_add(Weight::from_parts(103_609, 0).saturating_mul(r.into())) + // Minimum execution time: 24_411_000 picoseconds. + Weight::from_parts(36_540_505, 7260) + // Standard Error: 2_130 + .saturating_add(Weight::from_parts(77_108, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `493 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 36_182_000 picoseconds. - Weight::from_parts(40_496_364, 7260) - // Standard Error: 1_305 - .saturating_add(Weight::from_parts(128_725, 0).saturating_mul(r.into())) + // Minimum execution time: 33_551_000 picoseconds. + Weight::from_parts(36_646_149, 7260) + // Standard Error: 1_123 + .saturating_add(Weight::from_parts(105_780, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 17_932_000 picoseconds. - Weight::from_parts(22_163_735, 7260) - // Standard Error: 1_290 - .saturating_add(Weight::from_parts(126_302, 0).saturating_mul(r.into())) + // Minimum execution time: 17_865_000 picoseconds. + Weight::from_parts(22_468_037, 7260) + // Standard Error: 1_407 + .saturating_add(Weight::from_parts(105_757, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy VotingOf (r:1 w:1) - /// Proof: Democracy VotingOf (max_values: None, max_size: Some(3795), added: 6270, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `695 + r * (26 ±0)` // Estimated: `7260` - // Minimum execution time: 17_773_000 picoseconds. - Weight::from_parts(22_584_631, 7260) - // Standard Error: 1_492 - .saturating_add(Weight::from_parts(127_048, 0).saturating_mul(r.into())) + // Minimum execution time: 17_962_000 picoseconds. + Weight::from_parts(22_326_151, 7260) + // Standard Error: 1_281 + .saturating_add(Weight::from_parts(109_814, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `357` // Estimated: `3556` - // Minimum execution time: 20_473_000 picoseconds. - Weight::from_parts(20_855_000, 3556) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 19_356_000 picoseconds. + Weight::from_parts(19_857_000, 3556) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy NextExternal (r:1 w:0) - /// Proof: Democracy NextExternal (max_values: Some(1), max_size: Some(132), added: 627, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `253` // Estimated: `3518` - // Minimum execution time: 19_078_000 picoseconds. - Weight::from_parts(19_373_000, 3518) + // Minimum execution time: 16_519_000 picoseconds. + Weight::from_parts(16_816_000, 3518) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4889` // Estimated: `18187` - // Minimum execution time: 43_425_000 picoseconds. - Weight::from_parts(44_851_000, 18187) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 42_584_000 picoseconds. + Weight::from_parts(43_627_000, 18187) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy PublicProps (r:1 w:0) - /// Proof: Democracy PublicProps (max_values: Some(1), max_size: Some(16702), added: 17197, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4789` // Estimated: `18187` - // Minimum execution time: 41_584_000 picoseconds. - Weight::from_parts(42_800_000, 18187) + // Minimum execution time: 37_706_000 picoseconds. + Weight::from_parts(38_792_000, 18187) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:0 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 16_045_000 picoseconds. - Weight::from_parts(16_537_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 15_463_000 picoseconds. + Weight::from_parts(15_817_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// Proof: Democracy ReferendumInfoOf (max_values: None, max_size: Some(201), added: 2676, mode: MaxEncodedLen) - /// Storage: Democracy MetadataOf (r:1 w:1) - /// Proof: Democracy MetadataOf (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn clear_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3666` - // Minimum execution time: 21_194_000 picoseconds. - Weight::from_parts(21_748_000, 3666) + // Minimum execution time: 19_413_000 picoseconds. + Weight::from_parts(19_723_000, 3666) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/manta/src/weights/pallet_farming.rs b/runtime/manta/src/weights/pallet_farming.rs index 2030dcca5..2811fb26a 100644 --- a/runtime/manta/src/weights/pallet_farming.rs +++ b/runtime/manta/src/weights/pallet_farming.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_farming //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,113 +57,113 @@ pub trait WeightInfo { /// Weights for pallet_farming using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_farming::WeightInfo for SubstrateWeight { - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:1 w:0) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:0) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `3471` - // Minimum execution time: 7_072_000 picoseconds. - Weight::from_parts(7_247_000, 3471) + // Minimum execution time: 6_538_000 picoseconds. + Weight::from_parts(6_767_000, 3471) .saturating_add(T::DbWeight::get().reads(2_u64)) } - /// Storage: Farming PoolNextId (r:1 w:1) - /// Proof Skipped: Farming PoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolNextId (r:1 w:1) - /// Proof Skipped: Farming GaugePoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:0 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:0 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolNextId` (r:1 w:1) + /// Proof: `Farming::PoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolNextId` (r:1 w:1) + /// Proof: `Farming::GaugePoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:0 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:0 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farming_pool() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1491` - // Minimum execution time: 18_928_000 picoseconds. - Weight::from_parts(19_450_000, 1491) + // Minimum execution time: 14_149_000 picoseconds. + Weight::from_parts(14_510_000, 1491) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn charge() -> Weight { // Proof Size summary in bytes: // Measured: `813` // Estimated: `6232` - // Minimum execution time: 60_288_000 picoseconds. - Weight::from_parts(61_449_000, 6232) + // Minimum execution time: 55_628_000 picoseconds. + Weight::from_parts(56_542_000, 6232) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deposit() -> Weight { // Proof Size summary in bytes: // Measured: `993` // Estimated: `6232` - // Minimum execution time: 69_775_000 picoseconds. - Weight::from_parts(70_461_000, 6232) + // Minimum execution time: 63_055_000 picoseconds. + Weight::from_parts(64_197_000, 6232) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `506` // Estimated: `3971` - // Minimum execution time: 31_149_000 picoseconds. - Weight::from_parts(31_852_000, 3971) + // Minimum execution time: 27_514_000 picoseconds. + Weight::from_parts(28_438_000, 3971) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:0) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:0) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3975` - // Minimum execution time: 32_484_000 picoseconds. - Weight::from_parts(33_045_000, 3975) + // Minimum execution time: 28_210_000 picoseconds. + Weight::from_parts(29_124_000, 3975) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Farming GaugePoolInfos (r:1 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:1) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:0) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:1) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:0) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn gauge_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `893` // Estimated: `4358` - // Minimum execution time: 35_465_000 picoseconds. - Weight::from_parts(36_089_000, 4358) + // Minimum execution time: 32_428_000 picoseconds. + Weight::from_parts(33_021_000, 4358) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -171,113 +171,113 @@ impl pallet_farming::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:1 w:0) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:0) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `3471` - // Minimum execution time: 7_072_000 picoseconds. - Weight::from_parts(7_247_000, 3471) + // Minimum execution time: 6_538_000 picoseconds. + Weight::from_parts(6_767_000, 3471) .saturating_add(RocksDbWeight::get().reads(2_u64)) } - /// Storage: Farming PoolNextId (r:1 w:1) - /// Proof Skipped: Farming PoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolNextId (r:1 w:1) - /// Proof Skipped: Farming GaugePoolNextId (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Farming GaugePoolInfos (r:0 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:0 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolNextId` (r:1 w:1) + /// Proof: `Farming::PoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolNextId` (r:1 w:1) + /// Proof: `Farming::GaugePoolNextId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugePoolInfos` (r:0 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:0 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_farming_pool() -> Weight { // Proof Size summary in bytes: // Measured: `6` // Estimated: `1491` - // Minimum execution time: 18_928_000 picoseconds. - Weight::from_parts(19_450_000, 1491) + // Minimum execution time: 14_149_000 picoseconds. + Weight::from_parts(14_510_000, 1491) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn charge() -> Weight { // Proof Size summary in bytes: // Measured: `813` // Estimated: `6232` - // Minimum execution time: 60_288_000 picoseconds. - Weight::from_parts(61_449_000, 6232) + // Minimum execution time: 55_628_000 picoseconds. + Weight::from_parts(56_542_000, 6232) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Assets Asset (r:1 w:1) - /// Proof: Assets Asset (max_values: None, max_size: Some(222), added: 2697, mode: MaxEncodedLen) - /// Storage: Assets Account (r:2 w:2) - /// Proof: Assets Account (max_values: None, max_size: Some(146), added: 2621, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deposit() -> Weight { // Proof Size summary in bytes: // Measured: `993` // Estimated: `6232` - // Minimum execution time: 69_775_000 picoseconds. - Weight::from_parts(70_461_000, 6232) + // Minimum execution time: 63_055_000 picoseconds. + Weight::from_parts(64_197_000, 6232) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `506` // Estimated: `3971` - // Minimum execution time: 31_149_000 picoseconds. - Weight::from_parts(31_852_000, 3971) + // Minimum execution time: 27_514_000 picoseconds. + Weight::from_parts(28_438_000, 3971) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Farming PoolInfos (r:1 w:1) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:1) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:0) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::PoolInfos` (r:1 w:1) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:1) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:0) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim() -> Weight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `3975` - // Minimum execution time: 32_484_000 picoseconds. - Weight::from_parts(33_045_000, 3975) + // Minimum execution time: 28_210_000 picoseconds. + Weight::from_parts(29_124_000, 3975) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Farming GaugePoolInfos (r:1 w:1) - /// Proof Skipped: Farming GaugePoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming GaugeInfos (r:1 w:1) - /// Proof Skipped: Farming GaugeInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming PoolInfos (r:1 w:0) - /// Proof Skipped: Farming PoolInfos (max_values: None, max_size: None, mode: Measured) - /// Storage: Farming SharesAndWithdrawnRewards (r:1 w:0) - /// Proof Skipped: Farming SharesAndWithdrawnRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: `Farming::GaugePoolInfos` (r:1 w:1) + /// Proof: `Farming::GaugePoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::GaugeInfos` (r:1 w:1) + /// Proof: `Farming::GaugeInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::PoolInfos` (r:1 w:0) + /// Proof: `Farming::PoolInfos` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Farming::SharesAndWithdrawnRewards` (r:1 w:0) + /// Proof: `Farming::SharesAndWithdrawnRewards` (`max_values`: None, `max_size`: None, mode: `Measured`) fn gauge_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `893` // Estimated: `4358` - // Minimum execution time: 35_465_000 picoseconds. - Weight::from_parts(36_089_000, 4358) + // Minimum execution time: 32_428_000 picoseconds. + Weight::from_parts(33_021_000, 4358) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/runtime/manta/src/weights/pallet_lottery.rs b/runtime/manta/src/weights/pallet_lottery.rs index fdb4ca0cc..74bb33933 100644 --- a/runtime/manta/src/weights/pallet_lottery.rs +++ b/runtime/manta/src/weights/pallet_lottery.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_lottery //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -60,528 +60,528 @@ pub trait WeightInfo { /// Weights for pallet_lottery using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_lottery::WeightInfo for SubstrateWeight { - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:1) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:1) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:1) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:1) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn deposit(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `3459 + x * (1 ±0) + y * (72 ±0)` // Estimated: `8716 + x * (2 ±0) + y * (79 ±0)` - // Minimum execution time: 216_409_000 picoseconds. - Weight::from_parts(221_063_287, 8716) - // Standard Error: 2_022 - .saturating_add(Weight::from_parts(209_427, 0).saturating_mul(x.into())) - // Standard Error: 31_869 - .saturating_add(Weight::from_parts(688_754, 0).saturating_mul(y.into())) + // Minimum execution time: 197_909_000 picoseconds. + Weight::from_parts(216_682_941, 8716) + // Standard Error: 795 + .saturating_add(Weight::from_parts(179_121, 0).saturating_mul(x.into())) + // Standard Error: 12_541 + .saturating_add(Weight::from_parts(189_822, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(24_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) .saturating_add(Weight::from_parts(0, 2).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 79).saturating_mul(y.into())) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:1) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SurplusUnstakingBalance (r:1 w:1) - /// Proof Skipped: Lottery SurplusUnstakingBalance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:0) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:1) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:1) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SurplusUnstakingBalance` (r:1 w:1) + /// Proof: `Lottery::SurplusUnstakingBalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:0) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:1) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn request_withdraw(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2216 + x * (1 ±0)` // Estimated: `7719 + x * (1 ±0) + y * (5 ±0)` - // Minimum execution time: 104_021_000 picoseconds. - Weight::from_parts(116_267_301, 7719) - // Standard Error: 1_111 - .saturating_add(Weight::from_parts(120_184, 0).saturating_mul(x.into())) - // Standard Error: 17_510 - .saturating_add(Weight::from_parts(38_341, 0).saturating_mul(y.into())) + // Minimum execution time: 92_128_000 picoseconds. + Weight::from_parts(93_115_553, 7719) + // Standard Error: 257 + .saturating_add(Weight::from_parts(95_664, 0).saturating_mul(x.into())) + // Standard Error: 4_065 + .saturating_add(Weight::from_parts(75_182, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 5).saturating_mul(y.into())) } - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `y` is `[0, 63]`. fn claim_my_winnings(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + y * (5 ±0)` // Estimated: `6196 + y * (6 ±0)` - // Minimum execution time: 65_011_000 picoseconds. - Weight::from_parts(73_826_370, 6196) - // Standard Error: 3_951 - .saturating_add(Weight::from_parts(130_012, 0).saturating_mul(y.into())) + // Minimum execution time: 56_886_000 picoseconds. + Weight::from_parts(61_669_896, 6196) + // Standard Error: 2_222 + .saturating_add(Weight::from_parts(121_755, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(y.into())) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn start_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `324` // Estimated: `42428` - // Minimum execution time: 36_859_000 picoseconds. - Weight::from_parts(37_845_000, 42428) + // Minimum execution time: 30_615_000 picoseconds. + Weight::from_parts(31_477_000, 42428) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn stop_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `42428` - // Minimum execution time: 25_470_000 picoseconds. - Weight::from_parts(26_054_000, 42428) + // Minimum execution time: 21_758_000 picoseconds. + Weight::from_parts(22_179_000, 42428) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:0) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:148 w:0) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:0) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:148 w:0) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn draw_lottery(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1495 + x * (35 ±0)` // Estimated: `6867 + x * (295 ±0) + y * (6837 ±7)` - // Minimum execution time: 72_007_000 picoseconds. - Weight::from_parts(73_149_000, 6867) - // Standard Error: 29_295 - .saturating_add(Weight::from_parts(609_204, 0).saturating_mul(x.into())) - // Standard Error: 466_079 - .saturating_add(Weight::from_parts(11_350_448, 0).saturating_mul(y.into())) + // Minimum execution time: 61_496_000 picoseconds. + Weight::from_parts(62_233_000, 6867) + // Standard Error: 28_095 + .saturating_add(Weight::from_parts(552_574, 0).saturating_mul(x.into())) + // Standard Error: 446_987 + .saturating_add(Weight::from_parts(10_863_274, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(y.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 295).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 6837).saturating_mul(y.into())) } - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn process_matured_withdrawals() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `1723` - // Minimum execution time: 12_631_000 picoseconds. - Weight::from_parts(12_854_000, 1723) + // Minimum execution time: 10_409_000 picoseconds. + Weight::from_parts(10_706_000, 1723) .saturating_add(T::DbWeight::get().reads(4_u64)) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:0 w:1) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:0 w:1) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 7_740_000 picoseconds. - Weight::from_parts(7_986_000, 1701) + // Minimum execution time: 6_928_000 picoseconds. + Weight::from_parts(7_162_000, 1701) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Lottery MinWithdraw (r:0 w:1) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:0 w:1) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_145_000 picoseconds. - Weight::from_parts(3_280_000, 0) + // Minimum execution time: 2_621_000 picoseconds. + Weight::from_parts(2_727_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Lottery GasReserve (r:0 w:1) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::GasReserve` (r:0 w:1) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_gas_reserve() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_028_000 picoseconds. - Weight::from_parts(3_186_000, 0) + // Minimum execution time: 2_478_000 picoseconds. + Weight::from_parts(2_668_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:1) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:1) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:1) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:1) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn deposit(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `3459 + x * (1 ±0) + y * (72 ±0)` // Estimated: `8716 + x * (2 ±0) + y * (79 ±0)` - // Minimum execution time: 216_409_000 picoseconds. - Weight::from_parts(221_063_287, 8716) - // Standard Error: 2_022 - .saturating_add(Weight::from_parts(209_427, 0).saturating_mul(x.into())) - // Standard Error: 31_869 - .saturating_add(Weight::from_parts(688_754, 0).saturating_mul(y.into())) + // Minimum execution time: 197_909_000 picoseconds. + Weight::from_parts(216_682_941, 8716) + // Standard Error: 795 + .saturating_add(Weight::from_parts(179_121, 0).saturating_mul(x.into())) + // Standard Error: 12_541 + .saturating_add(Weight::from_parts(189_822, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(24_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) .saturating_add(Weight::from_parts(0, 2).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 79).saturating_mul(y.into())) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Lookup (r:1 w:0) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Lottery FarmingParameters (r:1 w:0) - /// Proof Skipped: Lottery FarmingParameters (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:1 w:1) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:1) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUsers (r:1 w:1) - /// Proof Skipped: Lottery TotalUsers (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:1) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SurplusUnstakingBalance (r:1 w:1) - /// Proof Skipped: Lottery SurplusUnstakingBalance (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery StakedCollators (r:2 w:0) - /// Proof Skipped: Lottery StakedCollators (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:1) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking SelectedCandidates (r:1 w:0) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) - /// Proof: TransactionPayment NextFeeMultiplier (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Lottery::FarmingParameters` (r:1 w:0) + /// Proof: `Lottery::FarmingParameters` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:1 w:1) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:1) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUsers` (r:1 w:1) + /// Proof: `Lottery::TotalUsers` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:1) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SurplusUnstakingBalance` (r:1 w:1) + /// Proof: `Lottery::SurplusUnstakingBalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::StakedCollators` (r:2 w:0) + /// Proof: `Lottery::StakedCollators` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:1) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:1 w:0) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn request_withdraw(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `2216 + x * (1 ±0)` // Estimated: `7719 + x * (1 ±0) + y * (5 ±0)` - // Minimum execution time: 104_021_000 picoseconds. - Weight::from_parts(116_267_301, 7719) - // Standard Error: 1_111 - .saturating_add(Weight::from_parts(120_184, 0).saturating_mul(x.into())) - // Standard Error: 17_510 - .saturating_add(Weight::from_parts(38_341, 0).saturating_mul(y.into())) + // Minimum execution time: 92_128_000 picoseconds. + Weight::from_parts(93_115_553, 7719) + // Standard Error: 257 + .saturating_add(Weight::from_parts(95_664, 0).saturating_mul(x.into())) + // Standard Error: 4_065 + .saturating_add(Weight::from_parts(75_182, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 5).saturating_mul(y.into())) } - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:2 w:2) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `y` is `[0, 63]`. fn claim_my_winnings(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `694 + y * (5 ±0)` // Estimated: `6196 + y * (6 ±0)` - // Minimum execution time: 65_011_000 picoseconds. - Weight::from_parts(73_826_370, 6196) - // Standard Error: 3_951 - .saturating_add(Weight::from_parts(130_012, 0).saturating_mul(y.into())) + // Minimum execution time: 56_886_000 picoseconds. + Weight::from_parts(61_669_896, 6196) + // Standard Error: 2_222 + .saturating_add(Weight::from_parts(121_755, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(y.into())) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:0) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:0) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn start_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `324` // Estimated: `42428` - // Minimum execution time: 36_859_000 picoseconds. - Weight::from_parts(37_845_000, 42428) + // Minimum execution time: 30_615_000 picoseconds. + Weight::from_parts(31_477_000, 42428) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn stop_lottery() -> Weight { // Proof Size summary in bytes: // Measured: `162` // Estimated: `42428` - // Minimum execution time: 25_470_000 picoseconds. - Weight::from_parts(26_054_000, 42428) + // Minimum execution time: 21_758_000 picoseconds. + Weight::from_parts(22_179_000, 42428) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: System Account (r:1 w:0) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery TotalUnclaimedWinnings (r:1 w:1) - /// Proof Skipped: Lottery TotalUnclaimedWinnings (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery GasReserve (r:1 w:0) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery TotalPot (r:1 w:0) - /// Proof Skipped: Lottery TotalPot (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery SumOfDeposits (r:1 w:0) - /// Proof Skipped: Lottery SumOfDeposits (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery ActiveBalancePerUser (r:148 w:0) - /// Proof Skipped: Lottery ActiveBalancePerUser (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnclaimedWinningsByAccount (r:1 w:1) - /// Proof Skipped: Lottery UnclaimedWinningsByAccount (max_values: None, max_size: None, mode: Measured) - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalUnclaimedWinnings` (r:1 w:1) + /// Proof: `Lottery::TotalUnclaimedWinnings` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::GasReserve` (r:1 w:0) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::TotalPot` (r:1 w:0) + /// Proof: `Lottery::TotalPot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::SumOfDeposits` (r:1 w:0) + /// Proof: `Lottery::SumOfDeposits` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::ActiveBalancePerUser` (r:148 w:0) + /// Proof: `Lottery::ActiveBalancePerUser` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnclaimedWinningsByAccount` (r:1 w:1) + /// Proof: `Lottery::UnclaimedWinningsByAccount` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[0, 1000]`. /// The range of component `y` is `[0, 63]`. fn draw_lottery(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1495 + x * (35 ±0)` // Estimated: `6867 + x * (295 ±0) + y * (6837 ±7)` - // Minimum execution time: 72_007_000 picoseconds. - Weight::from_parts(73_149_000, 6867) - // Standard Error: 29_295 - .saturating_add(Weight::from_parts(609_204, 0).saturating_mul(x.into())) - // Standard Error: 466_079 - .saturating_add(Weight::from_parts(11_350_448, 0).saturating_mul(y.into())) + // Minimum execution time: 61_496_000 picoseconds. + Weight::from_parts(62_233_000, 6867) + // Standard Error: 28_095 + .saturating_add(Weight::from_parts(552_574, 0).saturating_mul(x.into())) + // Standard Error: 446_987 + .saturating_add(Weight::from_parts(10_863_274, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(y.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 295).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 6837).saturating_mul(y.into())) } - /// Storage: Lottery UnstakingCollators (r:1 w:0) - /// Proof Skipped: Lottery UnstakingCollators (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery WithdrawalRequestQueue (r:1 w:0) - /// Proof Skipped: Lottery WithdrawalRequestQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery UnlockedUnstakingFunds (r:1 w:0) - /// Proof Skipped: Lottery UnlockedUnstakingFunds (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:1 w:0) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::UnstakingCollators` (r:1 w:0) + /// Proof: `Lottery::UnstakingCollators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::WithdrawalRequestQueue` (r:1 w:0) + /// Proof: `Lottery::WithdrawalRequestQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::UnlockedUnstakingFunds` (r:1 w:0) + /// Proof: `Lottery::UnlockedUnstakingFunds` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:1 w:0) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn process_matured_withdrawals() -> Weight { // Proof Size summary in bytes: // Measured: `238` // Estimated: `1723` - // Minimum execution time: 12_631_000 picoseconds. - Weight::from_parts(12_854_000, 1723) + // Minimum execution time: 10_409_000 picoseconds. + Weight::from_parts(10_706_000, 1723) .saturating_add(RocksDbWeight::get().reads(4_u64)) } - /// Storage: Lottery MinWithdraw (r:1 w:0) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Lottery MinDeposit (r:0 w:1) - /// Proof Skipped: Lottery MinDeposit (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:1 w:0) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Lottery::MinDeposit` (r:0 w:1) + /// Proof: `Lottery::MinDeposit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_deposit() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 7_740_000 picoseconds. - Weight::from_parts(7_986_000, 1701) + // Minimum execution time: 6_928_000 picoseconds. + Weight::from_parts(7_162_000, 1701) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Lottery MinWithdraw (r:0 w:1) - /// Proof Skipped: Lottery MinWithdraw (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::MinWithdraw` (r:0 w:1) + /// Proof: `Lottery::MinWithdraw` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_min_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_145_000 picoseconds. - Weight::from_parts(3_280_000, 0) + // Minimum execution time: 2_621_000 picoseconds. + Weight::from_parts(2_727_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Lottery GasReserve (r:0 w:1) - /// Proof Skipped: Lottery GasReserve (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Lottery::GasReserve` (r:0 w:1) + /// Proof: `Lottery::GasReserve` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_gas_reserve() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_028_000 picoseconds. - Weight::from_parts(3_186_000, 0) + // Minimum execution time: 2_478_000 picoseconds. + Weight::from_parts(2_668_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/runtime/manta/src/weights/pallet_manta_sbt.rs b/runtime/manta/src/weights/pallet_manta_sbt.rs index aaa0091c0..141c5d341 100644 --- a/runtime/manta/src/weights/pallet_manta_sbt.rs +++ b/runtime/manta/src/weights/pallet_manta_sbt.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_manta_sbt //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -63,424 +63,424 @@ 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) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:1 w:0) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:1 w:0) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5845` // Estimated: `4119` - // Minimum execution time: 39_416_727_000 picoseconds. - Weight::from_parts(39_466_891_000, 4119) + // Minimum execution time: 39_747_216_000 picoseconds. + Weight::from_parts(39_785_166_000, 4119) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt FreeReserveAccount (r:1 w:0) - /// Proof: MantaSbt FreeReserveAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::FreeReserveAccount` (r:1 w:0) + /// Proof: `MantaSbt::FreeReserveAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn reserve_sbt() -> Weight { // Proof Size summary in bytes: // Measured: `348` // Estimated: `3593` - // Minimum execution time: 64_926_000 picoseconds. - Weight::from_parts(66_058_000, 3593) + // Minimum execution time: 55_532_000 picoseconds. + Weight::from_parts(56_487_000, 3593) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_allowlist_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_943_000 picoseconds. - Weight::from_parts(10_338_000, 0) + // Minimum execution time: 7_238_000 picoseconds. + Weight::from_parts(7_581_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt AllowlistAccount (r:1 w:0) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::AllowlistAccount` (r:1 w:0) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `564` // Estimated: `3804` - // Minimum execution time: 29_460_000 picoseconds. - Weight::from_parts(30_087_000, 3804) + // Minimum execution time: 25_154_000 picoseconds. + Weight::from_parts(25_778_000, 3804) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt NextMintId (r:1 w:1) - /// Proof: MantaSbt NextMintId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt MintIdRegistry (r:0 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextMintId` (r:1 w:1) + /// Proof: `MantaSbt::NextMintId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::MintIdRegistry` (r:0 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) fn new_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `862` // Estimated: `1489` - // Minimum execution time: 17_206_000 picoseconds. - Weight::from_parts(17_605_000, 1489) + // Minimum execution time: 14_044_000 picoseconds. + Weight::from_parts(14_444_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn update_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `3804` - // Minimum execution time: 18_057_000 picoseconds. - Weight::from_parts(18_654_000, 3804) + // Minimum execution time: 15_675_000 picoseconds. + Weight::from_parts(16_228_000, 3804) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System BlockHash (r:1 w:0) - /// Proof: System BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::BlockHash` (r:1 w:0) + /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5917` // Estimated: `4119` - // Minimum execution time: 39_478_357_000 picoseconds. - Weight::from_parts(39_529_888_000, 4119) + // Minimum execution time: 40_115_718_000 picoseconds. + Weight::from_parts(40_162_456_000, 4119) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_free_reserve_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_047_000 picoseconds. - Weight::from_parts(10_378_000, 0) + // Minimum execution time: 7_143_000 picoseconds. + Weight::from_parts(7_480_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt EvmAccountAllowlist (r:0 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:0 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn remove_allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_762_000 picoseconds. - Weight::from_parts(12_153_000, 0) + // Minimum execution time: 9_637_000 picoseconds. + Weight::from_parts(9_971_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt NextSbtId (r:0 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextSbtId` (r:0 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_next_sbt_id() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_900_000 picoseconds. - Weight::from_parts(10_204_000, 0) + // Minimum execution time: 6_971_000 picoseconds. + Weight::from_parts(7_266_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_414_300_000 picoseconds. - Weight::from_parts(39_463_624_000, 4119) + // Minimum execution time: 39_812_518_000 picoseconds. + Weight::from_parts(39_867_335_000, 4119) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_404_233_000 picoseconds. - Weight::from_parts(39_457_731_000, 4119) + // Minimum execution time: 39_797_005_000 picoseconds. + Weight::from_parts(39_829_024_000, 4119) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ForceAccount (r:0 w:1) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:0 w:1) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_force_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_046_000 picoseconds. - Weight::from_parts(10_416_000, 0) + // Minimum execution time: 7_341_000 picoseconds. + Weight::from_parts(7_717_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:1 w:0) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:1 w:0) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5845` // Estimated: `4119` - // Minimum execution time: 39_416_727_000 picoseconds. - Weight::from_parts(39_466_891_000, 4119) + // Minimum execution time: 39_747_216_000 picoseconds. + Weight::from_parts(39_785_166_000, 4119) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ReservedIds (r:1 w:1) - /// Proof: MantaSbt ReservedIds (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen) - /// Storage: MantaSbt FreeReserveAccount (r:1 w:0) - /// Proof: MantaSbt FreeReserveAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ReservedIds` (r:1 w:1) + /// Proof: `MantaSbt::ReservedIds` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::FreeReserveAccount` (r:1 w:0) + /// Proof: `MantaSbt::FreeReserveAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn reserve_sbt() -> Weight { // Proof Size summary in bytes: // Measured: `348` // Estimated: `3593` - // Minimum execution time: 64_926_000 picoseconds. - Weight::from_parts(66_058_000, 3593) + // Minimum execution time: 55_532_000 picoseconds. + Weight::from_parts(56_487_000, 3593) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_allowlist_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_943_000 picoseconds. - Weight::from_parts(10_338_000, 0) + // Minimum execution time: 7_238_000 picoseconds. + Weight::from_parts(7_581_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: MantaSbt AllowlistAccount (r:1 w:0) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::AllowlistAccount` (r:1 w:0) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `564` // Estimated: `3804` - // Minimum execution time: 29_460_000 picoseconds. - Weight::from_parts(30_087_000, 3804) + // Minimum execution time: 25_154_000 picoseconds. + Weight::from_parts(25_778_000, 3804) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt NextMintId (r:1 w:1) - /// Proof: MantaSbt NextMintId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - /// Storage: MantaSbt MintIdRegistry (r:0 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextMintId` (r:1 w:1) + /// Proof: `MantaSbt::NextMintId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::MintIdRegistry` (r:0 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) fn new_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `862` // Estimated: `1489` - // Minimum execution time: 17_206_000 picoseconds. - Weight::from_parts(17_605_000, 1489) + // Minimum execution time: 14_044_000 picoseconds. + Weight::from_parts(14_444_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:1) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: MantaSbt PublicMintList (r:0 w:1) - /// Proof: MantaSbt PublicMintList (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:1) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::PublicMintList` (r:0 w:1) + /// Proof: `MantaSbt::PublicMintList` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn update_mint_info() -> Weight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `3804` - // Minimum execution time: 18_057_000 picoseconds. - Weight::from_parts(18_654_000, 3804) + // Minimum execution time: 15_675_000 picoseconds. + Weight::from_parts(16_228_000, 3804) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: MantaSbt MintIdRegistry (r:1 w:0) - /// Proof: MantaSbt MintIdRegistry (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) - /// Storage: Timestamp Now (r:1 w:0) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) - /// Storage: System BlockHash (r:1 w:0) - /// Proof: System BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::MintIdRegistry` (r:1 w:0) + /// Proof: `MantaSbt::MintIdRegistry` (`max_values`: None, `max_size`: Some(339), added: 2814, mode: `MaxEncodedLen`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `System::BlockHash` (r:1 w:0) + /// Proof: `System::BlockHash` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5917` // Estimated: `4119` - // Minimum execution time: 39_478_357_000 picoseconds. - Weight::from_parts(39_529_888_000, 4119) + // Minimum execution time: 40_115_718_000 picoseconds. + Weight::from_parts(40_162_456_000, 4119) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt AllowlistAccount (r:0 w:1) - /// Proof: MantaSbt AllowlistAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::AllowlistAccount` (r:0 w:1) + /// Proof: `MantaSbt::AllowlistAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_free_reserve_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_047_000 picoseconds. - Weight::from_parts(10_378_000, 0) + // Minimum execution time: 7_143_000 picoseconds. + Weight::from_parts(7_480_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt EvmAccountAllowlist (r:0 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:0 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn remove_allowlist_evm_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_762_000 picoseconds. - Weight::from_parts(12_153_000, 0) + // Minimum execution time: 9_637_000 picoseconds. + Weight::from_parts(9_971_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt NextSbtId (r:0 w:1) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `MantaSbt::NextSbtId` (r:0 w:1) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn set_next_sbt_id() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_900_000 picoseconds. - Weight::from_parts(10_204_000, 0) + // Minimum execution time: 6_971_000 picoseconds. + Weight::from_parts(7_266_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_to_private() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_414_300_000 picoseconds. - Weight::from_parts(39_463_624_000, 4119) + // Minimum execution time: 39_812_518_000 picoseconds. + Weight::from_parts(39_867_335_000, 4119) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } - /// Storage: MantaSbt ForceAccount (r:1 w:0) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: MantaSbt NextSbtId (r:1 w:0) - /// Proof: MantaSbt NextSbtId (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: MantaSbt SbtMetadataV2 (r:1 w:1) - /// Proof: MantaSbt SbtMetadataV2 (max_values: None, max_size: Some(373), added: 2848, mode: MaxEncodedLen) - /// Storage: MantaSbt EvmAccountAllowlist (r:1 w:1) - /// Proof: MantaSbt EvmAccountAllowlist (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) - /// Storage: MantaSbt UtxoSet (r:1 w:1) - /// Proof: MantaSbt UtxoSet (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen) - /// Storage: MantaSbt ShardTrees (r:1 w:1) - /// Proof: MantaSbt ShardTrees (max_values: None, max_size: Some(654), added: 3129, mode: MaxEncodedLen) - /// Storage: MantaSbt Shards (r:0 w:1) - /// Proof: MantaSbt Shards (max_values: None, max_size: Some(395), added: 2870, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:1 w:0) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::NextSbtId` (r:1 w:0) + /// Proof: `MantaSbt::NextSbtId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::SbtMetadataV2` (r:1 w:1) + /// Proof: `MantaSbt::SbtMetadataV2` (`max_values`: None, `max_size`: Some(373), added: 2848, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::EvmAccountAllowlist` (r:1 w:1) + /// Proof: `MantaSbt::EvmAccountAllowlist` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::UtxoSet` (r:1 w:1) + /// Proof: `MantaSbt::UtxoSet` (`max_values`: None, `max_size`: Some(89), added: 2564, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::ShardTrees` (r:1 w:1) + /// Proof: `MantaSbt::ShardTrees` (`max_values`: None, `max_size`: Some(654), added: 3129, mode: `MaxEncodedLen`) + /// Storage: `MantaSbt::Shards` (r:0 w:1) + /// Proof: `MantaSbt::Shards` (`max_values`: None, `max_size`: Some(395), added: 2870, mode: `MaxEncodedLen`) fn force_mint_sbt_eth() -> Weight { // Proof Size summary in bytes: // Measured: `5568` // Estimated: `4119` - // Minimum execution time: 39_404_233_000 picoseconds. - Weight::from_parts(39_457_731_000, 4119) + // Minimum execution time: 39_797_005_000 picoseconds. + Weight::from_parts(39_829_024_000, 4119) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: MantaSbt ForceAccount (r:0 w:1) - /// Proof: MantaSbt ForceAccount (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `MantaSbt::ForceAccount` (r:0 w:1) + /// Proof: `MantaSbt::ForceAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn change_force_account() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_046_000 picoseconds. - Weight::from_parts(10_416_000, 0) + // Minimum execution time: 7_341_000 picoseconds. + Weight::from_parts(7_717_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/runtime/manta/src/weights/pallet_membership.rs b/runtime/manta/src/weights/pallet_membership.rs index 603bca131..62846b317 100644 --- a/runtime/manta/src/weights/pallet_membership.rs +++ b/runtime/manta/src/weights/pallet_membership.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_membership //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,302 +57,302 @@ pub trait WeightInfo { /// Weights for pallet_membership using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_membership::WeightInfo for SubstrateWeight { - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 18_266_000 picoseconds. - Weight::from_parts(18_984_593, 4687) - // Standard Error: 211 - .saturating_add(Weight::from_parts(24_336, 0).saturating_mul(m.into())) + // Minimum execution time: 13_602_000 picoseconds. + Weight::from_parts(14_064_110, 4687) + // Standard Error: 156 + .saturating_add(Weight::from_parts(25_712, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 21_294_000 picoseconds. - Weight::from_parts(21_838_358, 4687) - // Standard Error: 197 - .saturating_add(Weight::from_parts(21_500, 0).saturating_mul(m.into())) + // Minimum execution time: 15_744_000 picoseconds. + Weight::from_parts(16_225_614, 4687) + // Standard Error: 172 + .saturating_add(Weight::from_parts(26_341, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 21_094_000 picoseconds. - Weight::from_parts(22_001_493, 4687) - // Standard Error: 230 - .saturating_add(Weight::from_parts(35_772, 0).saturating_mul(m.into())) + // Minimum execution time: 15_916_000 picoseconds. + Weight::from_parts(16_539_111, 4687) + // Standard Error: 229 + .saturating_add(Weight::from_parts(37_332, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_748_000 picoseconds. - Weight::from_parts(22_132_159, 4687) - // Standard Error: 386 - .saturating_add(Weight::from_parts(161_751, 0).saturating_mul(m.into())) + // Minimum execution time: 15_001_000 picoseconds. + Weight::from_parts(16_540_603, 4687) + // Standard Error: 390 + .saturating_add(Weight::from_parts(158_640, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 21_757_000 picoseconds. - Weight::from_parts(22_679_258, 4687) - // Standard Error: 318 - .saturating_add(Weight::from_parts(35_648, 0).saturating_mul(m.into())) + // Minimum execution time: 15_794_000 picoseconds. + Weight::from_parts(16_706_479, 4687) + // Standard Error: 277 + .saturating_add(Weight::from_parts(37_981, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `108 + m * (32 ±0)` // Estimated: `4687 + m * (32 ±0)` - // Minimum execution time: 9_560_000 picoseconds. - Weight::from_parts(9_974_827, 4687) - // Standard Error: 134 - .saturating_add(Weight::from_parts(10_545, 0).saturating_mul(m.into())) + // Minimum execution time: 7_858_000 picoseconds. + Weight::from_parts(8_261_508, 4687) + // Standard Error: 113 + .saturating_add(Weight::from_parts(10_956, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_480_000 picoseconds. - Weight::from_parts(3_677_854, 0) - // Standard Error: 49 - .saturating_add(Weight::from_parts(624, 0).saturating_mul(m.into())) + // Minimum execution time: 2_323_000 picoseconds. + Weight::from_parts(2_507_011, 0) + // Standard Error: 41 + .saturating_add(Weight::from_parts(415, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().writes(2_u64)) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 18_266_000 picoseconds. - Weight::from_parts(18_984_593, 4687) - // Standard Error: 211 - .saturating_add(Weight::from_parts(24_336, 0).saturating_mul(m.into())) + // Minimum execution time: 13_602_000 picoseconds. + Weight::from_parts(14_064_110, 4687) + // Standard Error: 156 + .saturating_add(Weight::from_parts(25_712, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 21_294_000 picoseconds. - Weight::from_parts(21_838_358, 4687) - // Standard Error: 197 - .saturating_add(Weight::from_parts(21_500, 0).saturating_mul(m.into())) + // Minimum execution time: 15_744_000 picoseconds. + Weight::from_parts(16_225_614, 4687) + // Standard Error: 172 + .saturating_add(Weight::from_parts(26_341, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 21_094_000 picoseconds. - Weight::from_parts(22_001_493, 4687) - // Standard Error: 230 - .saturating_add(Weight::from_parts(35_772, 0).saturating_mul(m.into())) + // Minimum execution time: 15_916_000 picoseconds. + Weight::from_parts(16_539_111, 4687) + // Standard Error: 229 + .saturating_add(Weight::from_parts(37_332, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:0) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:0) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 20_748_000 picoseconds. - Weight::from_parts(22_132_159, 4687) - // Standard Error: 386 - .saturating_add(Weight::from_parts(161_751, 0).saturating_mul(m.into())) + // Minimum execution time: 15_001_000 picoseconds. + Weight::from_parts(16_540_603, 4687) + // Standard Error: 390 + .saturating_add(Weight::from_parts(158_640, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:1) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: Council Proposals (r:1 w:0) - /// Proof Skipped: Council Proposals (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: CouncilMembership Prime (r:1 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Members (r:0 w:1) - /// Proof Skipped: Council Members (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:1) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `CouncilMembership::Prime` (r:1 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Members` (r:0 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243 + m * (64 ±0)` // Estimated: `4687 + m * (64 ±0)` - // Minimum execution time: 21_757_000 picoseconds. - Weight::from_parts(22_679_258, 4687) - // Standard Error: 318 - .saturating_add(Weight::from_parts(35_648, 0).saturating_mul(m.into())) + // Minimum execution time: 15_794_000 picoseconds. + Weight::from_parts(16_706_479, 4687) + // Standard Error: 277 + .saturating_add(Weight::from_parts(37_981, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } - /// Storage: CouncilMembership Members (r:1 w:0) - /// Proof: CouncilMembership Members (max_values: Some(1), max_size: Some(3202), added: 3697, mode: MaxEncodedLen) - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Members` (r:1 w:0) + /// Proof: `CouncilMembership::Members` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `108 + m * (32 ±0)` // Estimated: `4687 + m * (32 ±0)` - // Minimum execution time: 9_560_000 picoseconds. - Weight::from_parts(9_974_827, 4687) - // Standard Error: 134 - .saturating_add(Weight::from_parts(10_545, 0).saturating_mul(m.into())) + // Minimum execution time: 7_858_000 picoseconds. + Weight::from_parts(8_261_508, 4687) + // Standard Error: 113 + .saturating_add(Weight::from_parts(10_956, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } - /// Storage: CouncilMembership Prime (r:0 w:1) - /// Proof: CouncilMembership Prime (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) - /// Storage: Council Prime (r:0 w:1) - /// Proof Skipped: Council Prime (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `CouncilMembership::Prime` (r:0 w:1) + /// Proof: `CouncilMembership::Prime` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_480_000 picoseconds. - Weight::from_parts(3_677_854, 0) - // Standard Error: 49 - .saturating_add(Weight::from_parts(624, 0).saturating_mul(m.into())) + // Minimum execution time: 2_323_000 picoseconds. + Weight::from_parts(2_507_011, 0) + // Standard Error: 41 + .saturating_add(Weight::from_parts(415, 0).saturating_mul(m.into())) .saturating_add(RocksDbWeight::get().writes(2_u64)) } } diff --git a/runtime/manta/src/weights/pallet_multisig.rs b/runtime/manta/src/weights/pallet_multisig.rs index 0f7c55946..949a63703 100644 --- a/runtime/manta/src/weights/pallet_multisig.rs +++ b/runtime/manta/src/weights/pallet_multisig.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_multisig //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -62,103 +62,103 @@ impl pallet_multisig::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_266_000 picoseconds. - Weight::from_parts(15_663_644, 0) + // Minimum execution time: 14_405_000 picoseconds. + Weight::from_parts(15_051_019, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(691, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(640, 0).saturating_mul(z.into())) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `338 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 46_400_000 picoseconds. - Weight::from_parts(36_550_280, 6811) - // Standard Error: 501 - .saturating_add(Weight::from_parts(118_375, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_472, 0).saturating_mul(z.into())) + // Minimum execution time: 41_595_000 picoseconds. + Weight::from_parts(31_985_137, 6811) + // Standard Error: 362 + .saturating_add(Weight::from_parts(111_516, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_440, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 31_065_000 picoseconds. - Weight::from_parts(20_869_197, 6811) - // Standard Error: 440 - .saturating_add(Weight::from_parts(109_877, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_494, 0).saturating_mul(z.into())) + // Minimum execution time: 28_523_000 picoseconds. + Weight::from_parts(19_295_708, 6811) + // Standard Error: 293 + .saturating_add(Weight::from_parts(102_389, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_442, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `418 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 53_439_000 picoseconds. - Weight::from_parts(40_781_356, 6811) - // Standard Error: 792 - .saturating_add(Weight::from_parts(151_013, 0).saturating_mul(s.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_500, 0).saturating_mul(z.into())) + // Minimum execution time: 48_716_000 picoseconds. + Weight::from_parts(36_468_014, 6811) + // Standard Error: 440 + .saturating_add(Weight::from_parts(135_927, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_475, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `342 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 33_023_000 picoseconds. - Weight::from_parts(34_286_049, 6811) - // Standard Error: 583 - .saturating_add(Weight::from_parts(123_300, 0).saturating_mul(s.into())) + // Minimum execution time: 29_279_000 picoseconds. + Weight::from_parts(30_634_842, 6811) + // Standard Error: 490 + .saturating_add(Weight::from_parts(107_171, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 18_913_000 picoseconds. - Weight::from_parts(19_436_790, 6811) - // Standard Error: 485 - .saturating_add(Weight::from_parts(110_803, 0).saturating_mul(s.into())) + // Minimum execution time: 17_208_000 picoseconds. + Weight::from_parts(17_646_421, 6811) + // Standard Error: 398 + .saturating_add(Weight::from_parts(99_959, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `487 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 34_350_000 picoseconds. - Weight::from_parts(35_624_066, 6811) - // Standard Error: 541 - .saturating_add(Weight::from_parts(122_797, 0).saturating_mul(s.into())) + // Minimum execution time: 31_256_000 picoseconds. + Weight::from_parts(32_215_521, 6811) + // Standard Error: 401 + .saturating_add(Weight::from_parts(108_656, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -171,103 +171,103 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_266_000 picoseconds. - Weight::from_parts(15_663_644, 0) + // Minimum execution time: 14_405_000 picoseconds. + Weight::from_parts(15_051_019, 0) // Standard Error: 2 - .saturating_add(Weight::from_parts(691, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(640, 0).saturating_mul(z.into())) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `338 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 46_400_000 picoseconds. - Weight::from_parts(36_550_280, 6811) - // Standard Error: 501 - .saturating_add(Weight::from_parts(118_375, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_472, 0).saturating_mul(z.into())) + // Minimum execution time: 41_595_000 picoseconds. + Weight::from_parts(31_985_137, 6811) + // Standard Error: 362 + .saturating_add(Weight::from_parts(111_516, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_440, 0).saturating_mul(z.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 31_065_000 picoseconds. - Weight::from_parts(20_869_197, 6811) - // Standard Error: 440 - .saturating_add(Weight::from_parts(109_877, 0).saturating_mul(s.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_494, 0).saturating_mul(z.into())) + // Minimum execution time: 28_523_000 picoseconds. + Weight::from_parts(19_295_708, 6811) + // Standard Error: 293 + .saturating_add(Weight::from_parts(102_389, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_442, 0).saturating_mul(z.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// 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 { // Proof Size summary in bytes: // Measured: `418 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 53_439_000 picoseconds. - Weight::from_parts(40_781_356, 6811) - // Standard Error: 792 - .saturating_add(Weight::from_parts(151_013, 0).saturating_mul(s.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_500, 0).saturating_mul(z.into())) + // Minimum execution time: 48_716_000 picoseconds. + Weight::from_parts(36_468_014, 6811) + // Standard Error: 440 + .saturating_add(Weight::from_parts(135_927, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_475, 0).saturating_mul(z.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `342 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 33_023_000 picoseconds. - Weight::from_parts(34_286_049, 6811) - // Standard Error: 583 - .saturating_add(Weight::from_parts(123_300, 0).saturating_mul(s.into())) + // Minimum execution time: 29_279_000 picoseconds. + Weight::from_parts(30_634_842, 6811) + // Standard Error: 490 + .saturating_add(Weight::from_parts(107_171, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `6811` - // Minimum execution time: 18_913_000 picoseconds. - Weight::from_parts(19_436_790, 6811) - // Standard Error: 485 - .saturating_add(Weight::from_parts(110_803, 0).saturating_mul(s.into())) + // Minimum execution time: 17_208_000 picoseconds. + Weight::from_parts(17_646_421, 6811) + // Standard Error: 398 + .saturating_add(Weight::from_parts(99_959, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Multisig Multisigs (r:1 w:1) - /// Proof: Multisig Multisigs (max_values: None, max_size: Some(3346), added: 5821, mode: MaxEncodedLen) + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `487 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 34_350_000 picoseconds. - Weight::from_parts(35_624_066, 6811) - // Standard Error: 541 - .saturating_add(Weight::from_parts(122_797, 0).saturating_mul(s.into())) + // Minimum execution time: 31_256_000 picoseconds. + Weight::from_parts(32_215_521, 6811) + // Standard Error: 401 + .saturating_add(Weight::from_parts(108_656, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/manta/src/weights/pallet_name_service.rs b/runtime/manta/src/weights/pallet_name_service.rs index 2e4eec0c8..75a789db9 100644 --- a/runtime/manta/src/weights/pallet_name_service.rs +++ b/runtime/manta/src/weights/pallet_name_service.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_name_service //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -55,68 +55,68 @@ pub trait WeightInfo { /// Weights for pallet_name_service using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_name_service::WeightInfo for SubstrateWeight { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3593` - // Minimum execution time: 58_575_000 picoseconds. - Weight::from_parts(59_414_000, 3593) + // Minimum execution time: 50_822_000 picoseconds. + Weight::from_parts(52_049_000, 3593) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:0 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:0 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn accept_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 20_132_000 picoseconds. - Weight::from_parts(20_461_000, 3610) + // Minimum execution time: 17_450_000 picoseconds. + Weight::from_parts(17_988_000, 3610) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:1) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:1) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_primary_name() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 18_926_000 picoseconds. - Weight::from_parts(19_385_000, 3576) + // Minimum execution time: 16_558_000 picoseconds. + Weight::from_parts(17_064_000, 3576) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_pending_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 17_732_000 picoseconds. - Weight::from_parts(18_199_000, 3610) + // Minimum execution time: 15_535_000 picoseconds. + Weight::from_parts(16_175_000, 3610) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:0) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:0) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_register() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 18_783_000 picoseconds. - Weight::from_parts(19_144_000, 3576) + // Minimum execution time: 16_471_000 picoseconds. + Weight::from_parts(16_838_000, 3576) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -124,68 +124,68 @@ impl pallet_name_service::WeightInfo for SubstrateWeigh // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register() -> Weight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3593` - // Minimum execution time: 58_575_000 picoseconds. - Weight::from_parts(59_414_000, 3593) + // Minimum execution time: 50_822_000 picoseconds. + Weight::from_parts(52_049_000, 3593) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService UsernameRecords (r:0 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::UsernameRecords` (r:0 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn accept_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 20_132_000 picoseconds. - Weight::from_parts(20_461_000, 3610) + // Minimum execution time: 17_450_000 picoseconds. + Weight::from_parts(17_988_000, 3610) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:0) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:1) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:0) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:1) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_primary_name() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 18_926_000 picoseconds. - Weight::from_parts(19_385_000, 3576) + // Minimum execution time: 16_558_000 picoseconds. + Weight::from_parts(17_064_000, 3576) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: NameService PendingRegister (r:1 w:1) - /// Proof Skipped: NameService PendingRegister (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::PendingRegister` (r:1 w:1) + /// Proof: `NameService::PendingRegister` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_pending_register() -> Weight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 17_732_000 picoseconds. - Weight::from_parts(18_199_000, 3610) + // Minimum execution time: 15_535_000 picoseconds. + Weight::from_parts(16_175_000, 3610) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: NameService UsernameRecords (r:1 w:1) - /// Proof Skipped: NameService UsernameRecords (max_values: None, max_size: None, mode: Measured) - /// Storage: NameService PrimaryRecords (r:1 w:0) - /// Proof Skipped: NameService PrimaryRecords (max_values: None, max_size: None, mode: Measured) + /// Storage: `NameService::UsernameRecords` (r:1 w:1) + /// Proof: `NameService::UsernameRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `NameService::PrimaryRecords` (r:1 w:0) + /// Proof: `NameService::PrimaryRecords` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_register() -> Weight { // Proof Size summary in bytes: // Measured: `111` // Estimated: `3576` - // Minimum execution time: 18_783_000 picoseconds. - Weight::from_parts(19_144_000, 3576) + // Minimum execution time: 16_471_000 picoseconds. + Weight::from_parts(16_838_000, 3576) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/manta/src/weights/pallet_parachain_staking.rs b/runtime/manta/src/weights/pallet_parachain_staking.rs index ded3fa05f..97722429d 100644 --- a/runtime/manta/src/weights/pallet_parachain_staking.rs +++ b/runtime/manta/src/weights/pallet_parachain_staking.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_parachain_staking //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -81,565 +81,567 @@ pub trait WeightInfo { /// Weights for pallet_parachain_staking using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_parachain_staking::WeightInfo for SubstrateWeight { - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_staking_expectations() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 12_873_000 picoseconds. - Weight::from_parts(13_224_000, 1573) + // Minimum execution time: 9_729_000 picoseconds. + Weight::from_parts(10_110_000, 1573) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_inflation() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 53_532_000 picoseconds. - Weight::from_parts(54_479_000, 1573) + // Minimum execution time: 46_641_000 picoseconds. + Weight::from_parts(47_345_000, 1573) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_account() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 11_820_000 picoseconds. - Weight::from_parts(12_258_000, 1505) + // Minimum execution time: 8_665_000 picoseconds. + Weight::from_parts(9_029_000, 1505) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_reserve_percent() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 11_412_000 picoseconds. - Weight::from_parts(11_874_000, 1505) + // Minimum execution time: 8_447_000 picoseconds. + Weight::from_parts(8_944_000, 1505) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:1) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:1) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_total_selected() -> Weight { // Proof Size summary in bytes: // Measured: `28` // Estimated: `1513` - // Minimum execution time: 11_663_000 picoseconds. - Weight::from_parts(12_123_000, 1513) + // Minimum execution time: 7_999_000 picoseconds. + Weight::from_parts(8_236_000, 1513) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CollatorCommission (r:1 w:1) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_collator_commission() -> Weight { // Proof Size summary in bytes: // Measured: `27` // Estimated: `1512` - // Minimum execution time: 10_433_000 picoseconds. - Weight::from_parts(10_743_000, 1512) + // Minimum execution time: 7_164_000 picoseconds. + Weight::from_parts(7_569_000, 1512) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: // Measured: `116` // Estimated: `1601` - // Minimum execution time: 57_375_000 picoseconds. - Weight::from_parts(57_846_000, 1601) + // Minimum execution time: 49_371_000 picoseconds. + Weight::from_parts(49_845_000, 1601) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:0) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:0) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn join_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1926 + x * (49 ±0)` // Estimated: `5168 + x * (50 ±0)` - // Minimum execution time: 60_572_000 picoseconds. - Weight::from_parts(58_987_478, 5168) - // Standard Error: 1_695 - .saturating_add(Weight::from_parts(180_090, 0).saturating_mul(x.into())) + // Minimum execution time: 49_865_000 picoseconds. + Weight::from_parts(46_438_246, 5168) + // Standard Error: 1_284 + .saturating_add(Weight::from_parts(136_276, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn schedule_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `927 + x * (48 ±0)` // Estimated: `4314 + x * (49 ±0)` - // Minimum execution time: 23_156_000 picoseconds. - Weight::from_parts(16_306_494, 4314) - // Standard Error: 1_419 - .saturating_add(Weight::from_parts(151_377, 0).saturating_mul(x.into())) + // Minimum execution time: 18_914_000 picoseconds. + Weight::from_parts(9_640_197, 4314) + // Standard Error: 1_146 + .saturating_add(Weight::from_parts(114_404, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:149 w:149) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:150 w:150) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:150 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:150 w:150) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:149 w:149) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:150 w:150) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:150 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:150 w:150) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[2, 150]`. fn execute_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `82 + x * (524 ±0)` // Estimated: `4755 + x * (3774 ±0)` - // Minimum execution time: 122_020_000 picoseconds. - Weight::from_parts(128_121_000, 4755) - // Standard Error: 32_582 - .saturating_add(Weight::from_parts(33_478_921, 0).saturating_mul(x.into())) + // Minimum execution time: 104_253_000 picoseconds. + Weight::from_parts(110_749_000, 4755) + // Standard Error: 88_901 + .saturating_add(Weight::from_parts(31_457_393, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn cancel_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `883 + x * (48 ±0)` // Estimated: `4269 + x * (49 ±0)` - // Minimum execution time: 21_713_000 picoseconds. - Weight::from_parts(9_886_612, 4269) - // Standard Error: 1_810 - .saturating_add(Weight::from_parts(176_014, 0).saturating_mul(x.into())) + // Minimum execution time: 18_580_000 picoseconds. + Weight::from_parts(47_187_138, 4269) + // Standard Error: 1_476 + .saturating_add(Weight::from_parts(99_423, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_offline() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 21_509_000 picoseconds. - Weight::from_parts(21_952_000, 3773) + // Minimum execution time: 17_838_000 picoseconds. + Weight::from_parts(18_295_000, 3773) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_online() -> Weight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3724` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(21_648_000, 3724) + // Minimum execution time: 17_323_000 picoseconds. + Weight::from_parts(18_067_000, 3724) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn candidate_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `550` // Estimated: `4764` - // Minimum execution time: 50_026_000 picoseconds. - Weight::from_parts(50_979_000, 4764) + // Minimum execution time: 42_405_000 picoseconds. + Weight::from_parts(43_139_000, 4764) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `184` // Estimated: `3649` - // Minimum execution time: 17_860_000 picoseconds. - Weight::from_parts(18_244_000, 3649) + // Minimum execution time: 14_928_000 picoseconds. + Weight::from_parts(15_460_000, 3649) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `570` // Estimated: `4764` - // Minimum execution time: 75_997_000 picoseconds. - Weight::from_parts(80_334_000, 4764) + // Minimum execution time: 59_181_000 picoseconds. + Weight::from_parts(64_374_000, 4764) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3669` - // Minimum execution time: 16_238_000 picoseconds. - Weight::from_parts(16_732_000, 3669) + // Minimum execution time: 13_547_000 picoseconds. + Weight::from_parts(13_957_000, 3669) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 25]`. /// The range of component `y` is `[2, 100]`. fn delegate(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1206 + x * (127 ±0) + y * (58 ±0)` // Estimated: `4764 + x * (129 ±0) + y * (59 ±0)` - // Minimum execution time: 82_329_000 picoseconds. - Weight::from_parts(78_089_701, 4764) - // Standard Error: 11_971 - .saturating_add(Weight::from_parts(249_196, 0).saturating_mul(x.into())) - // Standard Error: 2_760 - .saturating_add(Weight::from_parts(155_536, 0).saturating_mul(y.into())) + // Minimum execution time: 73_665_000 picoseconds. + Weight::from_parts(67_372_636, 4764) + // Standard Error: 3_323 + .saturating_add(Weight::from_parts(290_785, 0).saturating_mul(x.into())) + // Standard Error: 766 + .saturating_add(Weight::from_parts(127_706, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 129).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 59).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_600_000 picoseconds. - Weight::from_parts(21_992_000, 3608) + // Minimum execution time: 18_368_000 picoseconds. + Weight::from_parts(18_947_000, 3608) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:24 w:24) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:24 w:24) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:24 w:24) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:24 w:24) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:24 w:24) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:24 w:24) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `x` is `[2, 25]`. fn execute_leave_delegators(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `97 + x * (473 ±0)` - // Estimated: `4764 + x * (2597 ±5)` - // Minimum execution time: 104_738_000 picoseconds. - Weight::from_parts(61_252_122, 4764) - // Standard Error: 29_451 - .saturating_add(Weight::from_parts(24_605_417, 0).saturating_mul(x.into())) + // Estimated: `4764 + x * (2597 ±0)` + // Minimum execution time: 86_874_000 picoseconds. + Weight::from_parts(54_696_922, 4764) + // Standard Error: 23_048 + .saturating_add(Weight::from_parts(19_699_199, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2597).saturating_mul(x.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 23_940_000 picoseconds. - Weight::from_parts(24_752_000, 3699) + // Minimum execution time: 21_269_000 picoseconds. + Weight::from_parts(21_809_000, 3699) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_748_000 picoseconds. - Weight::from_parts(22_357_000, 3608) + // Minimum execution time: 17_758_000 picoseconds. + Weight::from_parts(18_299_000, 3608) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn delegator_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `901` // Estimated: `4764` - // Minimum execution time: 71_772_000 picoseconds. - Weight::from_parts(72_732_000, 4764) + // Minimum execution time: 61_557_000 picoseconds. + Weight::from_parts(63_130_000, 4764) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_600_000 picoseconds. - Weight::from_parts(22_200_000, 3608) + // Minimum execution time: 18_054_000 picoseconds. + Weight::from_parts(18_631_000, 3608) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 105_444_000 picoseconds. - Weight::from_parts(111_676_000, 4764) + // Minimum execution time: 85_566_000 picoseconds. + Weight::from_parts(89_205_000, 4764) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 95_746_000 picoseconds. - Weight::from_parts(102_284_000, 4764) + // Minimum execution time: 75_975_000 picoseconds. + Weight::from_parts(82_934_000, 4764) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 21_125_000 picoseconds. - Weight::from_parts(21_761_000, 3699) + // Minimum execution time: 18_108_000 picoseconds. + Weight::from_parts(18_877_000, 3699) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 26_718_000 picoseconds. - Weight::from_parts(29_655_000, 3699) + // Minimum execution time: 20_559_000 picoseconds. + Weight::from_parts(21_412_000, 3699) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Staked (r:1 w:2) - /// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:0) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CollatorCommission (r:1 w:0) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:0) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:100 w:0) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:100 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:100 w:0) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:0) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:101) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelayedPayouts (r:0 w:1) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Staked` (r:1 w:2) + /// Proof: `ParachainStaking::Staked` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:0) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:0) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:100 w:0) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:100 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:100 w:0) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:0) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:101) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelayedPayouts` (r:0 w:1) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `122083 + x * (252 ±0)` // Estimated: `277604 + x * (3085 ±18) + y * (7 ±0)` - // Minimum execution time: 795_761_000 picoseconds. - Weight::from_parts(1_878_247_506, 277604) + // Minimum execution time: 666_008_000 picoseconds. + Weight::from_parts(1_415_919_374, 277604) + // Standard Error: 256_047 + .saturating_add(Weight::from_parts(1_608_812, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(119_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(T::DbWeight::get().writes(113_u64)) .saturating_add(Weight::from_parts(0, 3085).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 7).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:1) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:101 w:101) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:1) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:101 w:101) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `y` is `[0, 100]`. fn pay_one_collator_reward(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + y * (179 ±0)` // Estimated: `6168 + y * (2603 ±0)` - // Minimum execution time: 43_801_000 picoseconds. - Weight::from_parts(48_242_418, 6168) - // Standard Error: 5_529 - .saturating_add(Weight::from_parts(17_062_072, 0).saturating_mul(y.into())) + // Minimum execution time: 37_841_000 picoseconds. + Weight::from_parts(39_755_615, 6168) + // Standard Error: 7_977 + .saturating_add(Weight::from_parts(12_632_002, 0).saturating_mul(y.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(y.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -650,572 +652,574 @@ impl pallet_parachain_staking::WeightInfo for Substrate // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_305_000 picoseconds. - Weight::from_parts(1_404_000, 0) + // Minimum execution time: 891_000 picoseconds. + Weight::from_parts(951_000, 0) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_staking_expectations() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 12_873_000 picoseconds. - Weight::from_parts(13_224_000, 1573) + // Minimum execution time: 9_729_000 picoseconds. + Weight::from_parts(10_110_000, 1573) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_inflation() -> Weight { // Proof Size summary in bytes: // Measured: `88` // Estimated: `1573` - // Minimum execution time: 53_532_000 picoseconds. - Weight::from_parts(54_479_000, 1573) + // Minimum execution time: 46_641_000 picoseconds. + Weight::from_parts(47_345_000, 1573) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_account() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 11_820_000 picoseconds. - Weight::from_parts(12_258_000, 1505) + // Minimum execution time: 8_665_000 picoseconds. + Weight::from_parts(9_029_000, 1505) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:1) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_parachain_bond_reserve_percent() -> Weight { // Proof Size summary in bytes: // Measured: `20` // Estimated: `1505` - // Minimum execution time: 11_412_000 picoseconds. - Weight::from_parts(11_874_000, 1505) + // Minimum execution time: 8_447_000 picoseconds. + Weight::from_parts(8_944_000, 1505) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:1) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:1) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_total_selected() -> Weight { // Proof Size summary in bytes: // Measured: `28` // Estimated: `1513` - // Minimum execution time: 11_663_000 picoseconds. - Weight::from_parts(12_123_000, 1513) + // Minimum execution time: 7_999_000 picoseconds. + Weight::from_parts(8_236_000, 1513) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CollatorCommission (r:1 w:1) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:1) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_collator_commission() -> Weight { // Proof Size summary in bytes: // Measured: `27` // Estimated: `1512` - // Minimum execution time: 10_433_000 picoseconds. - Weight::from_parts(10_743_000, 1512) + // Minimum execution time: 7_164_000 picoseconds. + Weight::from_parts(7_569_000, 1512) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:1) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:1) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_blocks_per_round() -> Weight { // Proof Size summary in bytes: // Measured: `116` // Estimated: `1601` - // Minimum execution time: 57_375_000 picoseconds. - Weight::from_parts(57_846_000, 1601) + // Minimum execution time: 49_371_000 picoseconds. + Weight::from_parts(49_845_000, 1601) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: CollatorSelection Candidates (r:1 w:0) - /// Proof Skipped: CollatorSelection Candidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:0 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:0) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Candidates` (r:1 w:0) + /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:0 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn join_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1926 + x * (49 ±0)` // Estimated: `5168 + x * (50 ±0)` - // Minimum execution time: 60_572_000 picoseconds. - Weight::from_parts(58_987_478, 5168) - // Standard Error: 1_695 - .saturating_add(Weight::from_parts(180_090, 0).saturating_mul(x.into())) + // Minimum execution time: 49_865_000 picoseconds. + Weight::from_parts(46_438_246, 5168) + // Standard Error: 1_284 + .saturating_add(Weight::from_parts(136_276, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 50).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn schedule_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `927 + x * (48 ±0)` // Estimated: `4314 + x * (49 ±0)` - // Minimum execution time: 23_156_000 picoseconds. - Weight::from_parts(16_306_494, 4314) - // Standard Error: 1_419 - .saturating_add(Weight::from_parts(151_377, 0).saturating_mul(x.into())) + // Minimum execution time: 18_914_000 picoseconds. + Weight::from_parts(9_640_197, 4314) + // Standard Error: 1_146 + .saturating_add(Weight::from_parts(114_404, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:149 w:149) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:150 w:150) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:150 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:150 w:150) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking BottomDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking BottomDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:149 w:149) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:150 w:150) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:150 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:150 w:150) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::BottomDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::BottomDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[2, 150]`. fn execute_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `82 + x * (524 ±0)` // Estimated: `4755 + x * (3774 ±0)` - // Minimum execution time: 122_020_000 picoseconds. - Weight::from_parts(128_121_000, 4755) - // Standard Error: 32_582 - .saturating_add(Weight::from_parts(33_478_921, 0).saturating_mul(x.into())) + // Minimum execution time: 104_253_000 picoseconds. + Weight::from_parts(110_749_000, 4755) + // Standard Error: 88_901 + .saturating_add(Weight::from_parts(31_457_393, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(x.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 1000]`. fn cancel_leave_candidates(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `883 + x * (48 ±0)` // Estimated: `4269 + x * (49 ±0)` - // Minimum execution time: 21_713_000 picoseconds. - Weight::from_parts(9_886_612, 4269) - // Standard Error: 1_810 - .saturating_add(Weight::from_parts(176_014, 0).saturating_mul(x.into())) + // Minimum execution time: 18_580_000 picoseconds. + Weight::from_parts(47_187_138, 4269) + // Standard Error: 1_476 + .saturating_add(Weight::from_parts(99_423, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(x.into())) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_offline() -> Weight { // Proof Size summary in bytes: // Measured: `308` // Estimated: `3773` - // Minimum execution time: 21_509_000 picoseconds. - Weight::from_parts(21_952_000, 3773) + // Minimum execution time: 17_838_000 picoseconds. + Weight::from_parts(18_295_000, 3773) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn go_online() -> Weight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3724` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(21_648_000, 3724) + // Minimum execution time: 17_323_000 picoseconds. + Weight::from_parts(18_067_000, 3724) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn candidate_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `550` // Estimated: `4764` - // Minimum execution time: 50_026_000 picoseconds. - Weight::from_parts(50_979_000, 4764) + // Minimum execution time: 42_405_000 picoseconds. + Weight::from_parts(43_139_000, 4764) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `184` // Estimated: `3649` - // Minimum execution time: 17_860_000 picoseconds. - Weight::from_parts(18_244_000, 3649) + // Minimum execution time: 14_928_000 picoseconds. + Weight::from_parts(15_460_000, 3649) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `570` // Estimated: `4764` - // Minimum execution time: 75_997_000 picoseconds. - Weight::from_parts(80_334_000, 4764) + // Minimum execution time: 59_181_000 picoseconds. + Weight::from_parts(64_374_000, 4764) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_candidate_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `204` // Estimated: `3669` - // Minimum execution time: 16_238_000 picoseconds. - Weight::from_parts(16_732_000, 3669) + // Minimum execution time: 13_547_000 picoseconds. + Weight::from_parts(13_957_000, 3669) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// The range of component `x` is `[3, 25]`. /// The range of component `y` is `[2, 100]`. fn delegate(x: u32, y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `1206 + x * (127 ±0) + y * (58 ±0)` // Estimated: `4764 + x * (129 ±0) + y * (59 ±0)` - // Minimum execution time: 82_329_000 picoseconds. - Weight::from_parts(78_089_701, 4764) - // Standard Error: 11_971 - .saturating_add(Weight::from_parts(249_196, 0).saturating_mul(x.into())) - // Standard Error: 2_760 - .saturating_add(Weight::from_parts(155_536, 0).saturating_mul(y.into())) + // Minimum execution time: 73_665_000 picoseconds. + Weight::from_parts(67_372_636, 4764) + // Standard Error: 3_323 + .saturating_add(Weight::from_parts(290_785, 0).saturating_mul(x.into())) + // Standard Error: 766 + .saturating_add(Weight::from_parts(127_706, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(Weight::from_parts(0, 129).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 59).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_600_000 picoseconds. - Weight::from_parts(21_992_000, 3608) + // Minimum execution time: 18_368_000 picoseconds. + Weight::from_parts(18_947_000, 3608) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:24 w:24) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:24 w:24) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:24 w:24) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:24 w:24) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:24 w:24) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:24 w:24) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `x` is `[2, 25]`. fn execute_leave_delegators(x: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `97 + x * (473 ±0)` - // Estimated: `4764 + x * (2597 ±5)` - // Minimum execution time: 104_738_000 picoseconds. - Weight::from_parts(61_252_122, 4764) - // Standard Error: 29_451 - .saturating_add(Weight::from_parts(24_605_417, 0).saturating_mul(x.into())) + // Estimated: `4764 + x * (2597 ±0)` + // Minimum execution time: 86_874_000 picoseconds. + Weight::from_parts(54_696_922, 4764) + // Standard Error: 23_048 + .saturating_add(Weight::from_parts(19_699_199, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(x.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(x.into()))) .saturating_add(Weight::from_parts(0, 2597).saturating_mul(x.into())) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_leave_delegators() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 23_940_000 picoseconds. - Weight::from_parts(24_752_000, 3699) + // Minimum execution time: 21_269_000 picoseconds. + Weight::from_parts(21_809_000, 3699) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_748_000 picoseconds. - Weight::from_parts(22_357_000, 3608) + // Minimum execution time: 17_758_000 picoseconds. + Weight::from_parts(18_299_000, 3608) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn delegator_bond_more() -> Weight { // Proof Size summary in bytes: // Measured: `901` // Estimated: `4764` - // Minimum execution time: 71_772_000 picoseconds. - Weight::from_parts(72_732_000, 4764) + // Minimum execution time: 61_557_000 picoseconds. + Weight::from_parts(63_130_000, 4764) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn schedule_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `143` // Estimated: `3608` - // Minimum execution time: 21_600_000 picoseconds. - Weight::from_parts(22_200_000, 3608) + // Minimum execution time: 18_054_000 picoseconds. + Weight::from_parts(18_631_000, 3608) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 105_444_000 picoseconds. - Weight::from_parts(111_676_000, 4764) + // Minimum execution time: 85_566_000 picoseconds. + Weight::from_parts(89_205_000, 4764) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Balances Freezes (r:1 w:0) - /// Proof: Balances Freezes (max_values: None, max_size: Some(49), added: 2524, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking TopDelegations (r:1 w:1) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:1) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:1) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:1 w:1) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::TopDelegations` (r:1 w:1) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:1) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:1) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn execute_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `992` // Estimated: `4764` - // Minimum execution time: 95_746_000 picoseconds. - Weight::from_parts(102_284_000, 4764) + // Minimum execution time: 75_975_000 picoseconds. + Weight::from_parts(82_934_000, 4764) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_revoke_delegation() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 21_125_000 picoseconds. - Weight::from_parts(21_761_000, 3699) + // Minimum execution time: 18_108_000 picoseconds. + Weight::from_parts(18_877_000, 3699) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking DelegatorState (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegatorState (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:1 w:1) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::DelegatorState` (r:1 w:1) + /// Proof: `ParachainStaking::DelegatorState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:1 w:1) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn cancel_delegator_bond_less() -> Weight { // Proof Size summary in bytes: // Measured: `234` // Estimated: `3699` - // Minimum execution time: 26_718_000 picoseconds. - Weight::from_parts(29_655_000, 3699) + // Minimum execution time: 20_559_000 picoseconds. + Weight::from_parts(21_412_000, 3699) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Staked (r:1 w:2) - /// Proof Skipped: ParachainStaking Staked (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking InflationConfig (r:1 w:0) - /// Proof Skipped: ParachainStaking InflationConfig (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking ParachainBondInfo (r:1 w:0) - /// Proof Skipped: ParachainStaking ParachainBondInfo (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CollatorCommission (r:1 w:0) - /// Proof Skipped: ParachainStaking CollatorCommission (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidatePool (r:1 w:0) - /// Proof Skipped: ParachainStaking CandidatePool (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking TotalSelected (r:1 w:0) - /// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking CandidateInfo (r:100 w:0) - /// Proof Skipped: ParachainStaking CandidateInfo (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking DelegationScheduledRequests (r:100 w:0) - /// Proof Skipped: ParachainStaking DelegationScheduledRequests (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking TopDelegations (r:100 w:0) - /// Proof Skipped: ParachainStaking TopDelegations (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Total (r:1 w:0) - /// Proof Skipped: ParachainStaking Total (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:101) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// Storage: ParachainStaking SelectedCandidates (r:0 w:1) - /// Proof Skipped: ParachainStaking SelectedCandidates (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainStaking DelayedPayouts (r:0 w:1) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Staked` (r:1 w:2) + /// Proof: `ParachainStaking::Staked` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::InflationConfig` (r:1 w:0) + /// Proof: `ParachainStaking::InflationConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::ParachainBondInfo` (r:1 w:0) + /// Proof: `ParachainStaking::ParachainBondInfo` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CollatorCommission` (r:1 w:0) + /// Proof: `ParachainStaking::CollatorCommission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidatePool` (r:1 w:0) + /// Proof: `ParachainStaking::CandidatePool` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TotalSelected` (r:1 w:0) + /// Proof: `ParachainStaking::TotalSelected` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::CandidateInfo` (r:100 w:0) + /// Proof: `ParachainStaking::CandidateInfo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelegationScheduledRequests` (r:100 w:0) + /// Proof: `ParachainStaking::DelegationScheduledRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::TopDelegations` (r:100 w:0) + /// Proof: `ParachainStaking::TopDelegations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Total` (r:1 w:0) + /// Proof: `ParachainStaking::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:101) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainStaking::SelectedCandidates` (r:0 w:1) + /// Proof: `ParachainStaking::SelectedCandidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::DelayedPayouts` (r:0 w:1) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) /// 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 { // Proof Size summary in bytes: // Measured: `122083 + x * (252 ±0)` // Estimated: `277604 + x * (3085 ±18) + y * (7 ±0)` - // Minimum execution time: 795_761_000 picoseconds. - Weight::from_parts(1_878_247_506, 277604) + // Minimum execution time: 666_008_000 picoseconds. + Weight::from_parts(1_415_919_374, 277604) + // Standard Error: 256_047 + .saturating_add(Weight::from_parts(1_608_812, 0).saturating_mul(x.into())) .saturating_add(RocksDbWeight::get().reads(119_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(x.into()))) .saturating_add(RocksDbWeight::get().writes(113_u64)) .saturating_add(Weight::from_parts(0, 3085).saturating_mul(x.into())) .saturating_add(Weight::from_parts(0, 7).saturating_mul(y.into())) } - /// Storage: ParachainStaking DelayedPayouts (r:1 w:0) - /// Proof Skipped: ParachainStaking DelayedPayouts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking Points (r:1 w:0) - /// Proof Skipped: ParachainStaking Points (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AwardedPts (r:2 w:1) - /// Proof Skipped: ParachainStaking AwardedPts (max_values: None, max_size: None, mode: Measured) - /// Storage: ParachainStaking AtStake (r:1 w:1) - /// Proof Skipped: ParachainStaking AtStake (max_values: None, max_size: None, mode: Measured) - /// Storage: System Account (r:101 w:101) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `ParachainStaking::DelayedPayouts` (r:1 w:0) + /// Proof: `ParachainStaking::DelayedPayouts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::Points` (r:1 w:0) + /// Proof: `ParachainStaking::Points` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AwardedPts` (r:2 w:1) + /// Proof: `ParachainStaking::AwardedPts` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainStaking::AtStake` (r:1 w:1) + /// Proof: `ParachainStaking::AtStake` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:101 w:101) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `y` is `[0, 100]`. fn pay_one_collator_reward(y: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `211 + y * (179 ±0)` // Estimated: `6168 + y * (2603 ±0)` - // Minimum execution time: 43_801_000 picoseconds. - Weight::from_parts(48_242_418, 6168) - // Standard Error: 5_529 - .saturating_add(Weight::from_parts(17_062_072, 0).saturating_mul(y.into())) + // Minimum execution time: 37_841_000 picoseconds. + Weight::from_parts(39_755_615, 6168) + // Standard Error: 7_977 + .saturating_add(Weight::from_parts(12_632_002, 0).saturating_mul(y.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(y.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1226,7 +1230,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_305_000 picoseconds. - Weight::from_parts(1_404_000, 0) + // Minimum execution time: 891_000 picoseconds. + Weight::from_parts(951_000, 0) } } diff --git a/runtime/manta/src/weights/pallet_preimage.rs b/runtime/manta/src/weights/pallet_preimage.rs index b5050e749..2fd60b406 100644 --- a/runtime/manta/src/weights/pallet_preimage.rs +++ b/runtime/manta/src/weights/pallet_preimage.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_preimage //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -57,352 +57,418 @@ pub trait WeightInfo { fn unrequest_preimage() -> Weight; fn unrequest_unnoted_preimage() -> Weight; fn unrequest_multi_referenced_preimage() -> Weight; - fn ensure_updated(s: u32, ) -> Weight; + fn ensure_updated(n: u32, ) -> Weight; } /// Weights for pallet_preimage using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_preimage::WeightInfo for SubstrateWeight { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127` - // Estimated: `3556` - // Minimum execution time: 31_161_000 picoseconds. - Weight::from_parts(31_395_000, 3556) - // Standard Error: 4 - .saturating_add(Weight::from_parts(2_658, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `76` + // Estimated: `4414` + // Minimum execution time: 45_010_000 picoseconds. + Weight::from_parts(15_698_804, 4414) + // Standard Error: 8 + .saturating_add(Weight::from_parts(2_284, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 18_130_000 picoseconds. - Weight::from_parts(18_298_000, 3556) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_467, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 15_895_000 picoseconds. + Weight::from_parts(16_226_000, 3556) + // Standard Error: 1 + .saturating_add(Weight::from_parts(2_343, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 17_136_000 picoseconds. - Weight::from_parts(17_519_000, 3556) - // Standard Error: 6 - .saturating_add(Weight::from_parts(2_496, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 15_695_000 picoseconds. + Weight::from_parts(16_021_000, 3556) + // Standard Error: 2 + .saturating_add(Weight::from_parts(2_319, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3556` - // Minimum execution time: 60_895_000 picoseconds. - Weight::from_parts(64_826_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `278` + // Estimated: `4414` + // Minimum execution time: 63_256_000 picoseconds. + Weight::from_parts(66_046_000, 4414) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 45_391_000 picoseconds. - Weight::from_parts(48_700_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 35_582_000 picoseconds. + Weight::from_parts(38_092_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 39_475_000 picoseconds. - Weight::from_parts(42_564_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 27_217_000 picoseconds. + Weight::from_parts(29_116_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 28_041_000 picoseconds. - Weight::from_parts(30_148_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 23_276_000 picoseconds. + Weight::from_parts(24_537_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 25_966_000 picoseconds. - Weight::from_parts(28_140_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 18_255_000 picoseconds. + Weight::from_parts(18_851_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 14_018_000 picoseconds. - Weight::from_parts(15_207_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 11_620_000 picoseconds. + Weight::from_parts(12_027_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 42_404_000 picoseconds. - Weight::from_parts(44_870_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 31_166_000 picoseconds. + Weight::from_parts(33_012_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_914_000 picoseconds. - Weight::from_parts(14_252_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 11_560_000 picoseconds. + Weight::from_parts(11_920_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 14_094_000 picoseconds. - Weight::from_parts(15_026_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 11_443_000 picoseconds. + Weight::from_parts(11_717_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) - /// The range of component `s` is `[0, 4194304]`. - fn ensure_updated(s: u32, ) -> Weight { + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `140` - // Estimated: `3556` - // Minimum execution time: 17_136_000 picoseconds. - Weight::from_parts(17_519_000, 3556) - // Standard Error: 6 - .saturating_add(Weight::from_parts(2_496, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (3424 ±0)` + // Minimum execution time: 49_674_000 picoseconds. + Weight::from_parts(50_400_000, 990) + // Standard Error: 25_469 + .saturating_add(Weight::from_parts(48_837_555, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 3424).saturating_mul(n.into())) } } // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127` - // Estimated: `3556` - // Minimum execution time: 31_161_000 picoseconds. - Weight::from_parts(31_395_000, 3556) - // Standard Error: 4 - .saturating_add(Weight::from_parts(2_658, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `76` + // Estimated: `4414` + // Minimum execution time: 45_010_000 picoseconds. + Weight::from_parts(15_698_804, 4414) + // Standard Error: 8 + .saturating_add(Weight::from_parts(2_284, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 18_130_000 picoseconds. - Weight::from_parts(18_298_000, 3556) - // Standard Error: 8 - .saturating_add(Weight::from_parts(2_467, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 15_895_000 picoseconds. + Weight::from_parts(16_226_000, 3556) + // Standard Error: 1 + .saturating_add(Weight::from_parts(2_343, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 17_136_000 picoseconds. - Weight::from_parts(17_519_000, 3556) - // Standard Error: 6 - .saturating_add(Weight::from_parts(2_496, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 15_695_000 picoseconds. + Weight::from_parts(16_021_000, 3556) + // Standard Error: 2 + .saturating_add(Weight::from_parts(2_319, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `273` - // Estimated: `3556` - // Minimum execution time: 60_895_000 picoseconds. - Weight::from_parts(64_826_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `278` + // Estimated: `4414` + // Minimum execution time: 63_256_000 picoseconds. + Weight::from_parts(66_046_000, 4414) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 45_391_000 picoseconds. - Weight::from_parts(48_700_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 35_582_000 picoseconds. + Weight::from_parts(38_092_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `222` // Estimated: `3556` - // Minimum execution time: 39_475_000 picoseconds. - Weight::from_parts(42_564_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 27_217_000 picoseconds. + Weight::from_parts(29_116_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 28_041_000 picoseconds. - Weight::from_parts(30_148_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 23_276_000 picoseconds. + Weight::from_parts(24_537_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3556` - // Minimum execution time: 25_966_000 picoseconds. - Weight::from_parts(28_140_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 18_255_000 picoseconds. + Weight::from_parts(18_851_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 14_018_000 picoseconds. - Weight::from_parts(15_207_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 11_620_000 picoseconds. + Weight::from_parts(12_027_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `3556` - // Minimum execution time: 42_404_000 picoseconds. - Weight::from_parts(44_870_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 31_166_000 picoseconds. + Weight::from_parts(33_012_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 12_914_000 picoseconds. - Weight::from_parts(14_252_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 11_560_000 picoseconds. + Weight::from_parts(11_920_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3556` - // Minimum execution time: 14_094_000 picoseconds. - Weight::from_parts(15_026_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 11_443_000 picoseconds. + Weight::from_parts(11_717_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Preimage PreimageFor (r:0 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) - /// The range of component `s` is `[0, 4194304]`. - fn ensure_updated(s: u32, ) -> Weight { + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(949), added: 3424, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `140` - // Estimated: `3556` - // Minimum execution time: 17_136_000 picoseconds. - Weight::from_parts(17_519_000, 3556) - // Standard Error: 6 - .saturating_add(Weight::from_parts(2_496, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (3424 ±0)` + // Minimum execution time: 49_674_000 picoseconds. + Weight::from_parts(50_400_000, 990) + // Standard Error: 25_469 + .saturating_add(Weight::from_parts(48_837_555, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 3424).saturating_mul(n.into())) } } diff --git a/runtime/manta/src/weights/pallet_randomness.rs b/runtime/manta/src/weights/pallet_randomness.rs index 2c14a85b0..b20fd2115 100644 --- a/runtime/manta/src/weights/pallet_randomness.rs +++ b/runtime/manta/src/weights/pallet_randomness.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_randomness //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -51,22 +51,22 @@ pub trait WeightInfo { /// Weights for pallet_randomness using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_randomness::WeightInfo for SubstrateWeight { - /// Storage: Randomness RelayEpoch (r:1 w:1) - /// Proof Skipped: Randomness RelayEpoch (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem ValidationData (r:1 w:0) - /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem RelayStateProof (r:1 w:0) - /// Proof Skipped: ParachainSystem RelayStateProof (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Randomness RandomnessResults (r:0 w:1) - /// Proof Skipped: Randomness RandomnessResults (max_values: None, max_size: None, mode: Measured) - /// Storage: Randomness InherentIncluded (r:0 w:1) - /// Proof Skipped: Randomness InherentIncluded (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Randomness::RelayEpoch` (r:1 w:1) + /// Proof: `Randomness::RelayEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelayStateProof` (r:1 w:0) + /// Proof: `ParachainSystem::RelayStateProof` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::RandomnessResults` (r:0 w:1) + /// Proof: `Randomness::RandomnessResults` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::InherentIncluded` (r:0 w:1) + /// Proof: `Randomness::InherentIncluded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_babe_randomness_results() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 13_859_000 picoseconds. - Weight::from_parts(14_366_000, 1701) + // Minimum execution time: 11_366_000 picoseconds. + Weight::from_parts(11_626_000, 1701) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -74,22 +74,22 @@ impl pallet_randomness::WeightInfo for SubstrateWeight< // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Randomness RelayEpoch (r:1 w:1) - /// Proof Skipped: Randomness RelayEpoch (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem ValidationData (r:1 w:0) - /// Proof Skipped: ParachainSystem ValidationData (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem RelayStateProof (r:1 w:0) - /// Proof Skipped: ParachainSystem RelayStateProof (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: Randomness RandomnessResults (r:0 w:1) - /// Proof Skipped: Randomness RandomnessResults (max_values: None, max_size: None, mode: Measured) - /// Storage: Randomness InherentIncluded (r:0 w:1) - /// Proof Skipped: Randomness InherentIncluded (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `Randomness::RelayEpoch` (r:1 w:1) + /// Proof: `Randomness::RelayEpoch` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::RelayStateProof` (r:1 w:0) + /// Proof: `ParachainSystem::RelayStateProof` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::RandomnessResults` (r:0 w:1) + /// Proof: `Randomness::RandomnessResults` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Randomness::InherentIncluded` (r:0 w:1) + /// Proof: `Randomness::InherentIncluded` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_babe_randomness_results() -> Weight { // Proof Size summary in bytes: // Measured: `216` // Estimated: `1701` - // Minimum execution time: 13_859_000 picoseconds. - Weight::from_parts(14_366_000, 1701) + // Minimum execution time: 11_366_000 picoseconds. + Weight::from_parts(11_626_000, 1701) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/runtime/manta/src/weights/pallet_scheduler.rs b/runtime/manta/src/weights/pallet_scheduler.rs index 18b9a5102..dcb6cbc63 100644 --- a/runtime/manta/src/weights/pallet_scheduler.rs +++ b/runtime/manta/src/weights/pallet_scheduler.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_scheduler //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -62,28 +62,28 @@ pub trait WeightInfo { /// Weights for pallet_scheduler using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_scheduler::WeightInfo for SubstrateWeight { - /// Storage: Scheduler IncompleteSince (r:1 w:1) - /// Proof: Scheduler IncompleteSince (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: // Measured: `30` // Estimated: `1489` - // Minimum execution time: 3_515_000 picoseconds. - Weight::from_parts(3_639_000, 1489) + // Minimum execution time: 2_733_000 picoseconds. + Weight::from_parts(2_844_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_033_000 picoseconds. - Weight::from_parts(6_066_640, 42428) - // Standard Error: 1_152 - .saturating_add(Weight::from_parts(836_321, 0).saturating_mul(s.into())) + // Minimum execution time: 3_120_000 picoseconds. + Weight::from_parts(6_262_238, 42428) + // Standard Error: 1_215 + .saturating_add(Weight::from_parts(829_296, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -91,116 +91,118 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 21_985_000 picoseconds. - Weight::from_parts(22_407_000, 3678) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_834, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Minimum execution time: 19_464_000 picoseconds. + Weight::from_parts(19_797_000, 3678) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_502, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_552_000 picoseconds. - Weight::from_parts(7_814_000, 0) + // Minimum execution time: 5_592_000 picoseconds. + Weight::from_parts(5_769_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_054_000 picoseconds. - Weight::from_parts(6_188_000, 0) + // Minimum execution time: 4_160_000 picoseconds. + Weight::from_parts(4_361_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_046_000 picoseconds. - Weight::from_parts(3_167_000, 0) + // Minimum execution time: 2_677_000 picoseconds. + Weight::from_parts(2_783_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_950_000 picoseconds. - Weight::from_parts(3_058_000, 0) + // Minimum execution time: 2_624_000 picoseconds. + Weight::from_parts(2_741_000, 0) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 13_286_000 picoseconds. - Weight::from_parts(16_578_003, 42428) - // Standard Error: 1_322 - .saturating_add(Weight::from_parts(886_487, 0).saturating_mul(s.into())) + // Minimum execution time: 10_689_000 picoseconds. + Weight::from_parts(13_951_121, 42428) + // Standard Error: 1_166 + .saturating_add(Weight::from_parts(874_447, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 18_761_000 picoseconds. - Weight::from_parts(17_183_094, 42428) - // Standard Error: 1_336 - .saturating_add(Weight::from_parts(1_550_975, 0).saturating_mul(s.into())) + // Minimum execution time: 16_726_000 picoseconds. + Weight::from_parts(15_319_925, 42428) + // Standard Error: 1_220 + .saturating_add(Weight::from_parts(1_531_778, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `254 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 16_497_000 picoseconds. - Weight::from_parts(20_978_567, 42428) - // Standard Error: 2_083 - .saturating_add(Weight::from_parts(941_462, 0).saturating_mul(s.into())) + // Minimum execution time: 13_835_000 picoseconds. + Weight::from_parts(18_042_266, 42428) + // Standard Error: 1_915 + .saturating_add(Weight::from_parts(915_719, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 20_683_000 picoseconds. - Weight::from_parts(19_891_118, 42428) - // Standard Error: 1_725 - .saturating_add(Weight::from_parts(1_585_558, 0).saturating_mul(s.into())) + // Minimum execution time: 18_172_000 picoseconds. + Weight::from_parts(17_404_941, 42428) + // Standard Error: 1_475 + .saturating_add(Weight::from_parts(1_568_185, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -208,28 +210,28 @@ impl pallet_scheduler::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `30` // Estimated: `1489` - // Minimum execution time: 3_515_000 picoseconds. - Weight::from_parts(3_639_000, 1489) + // Minimum execution time: 2_733_000 picoseconds. + Weight::from_parts(2_844_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_033_000 picoseconds. - Weight::from_parts(6_066_640, 42428) - // Standard Error: 1_152 - .saturating_add(Weight::from_parts(836_321, 0).saturating_mul(s.into())) + // Minimum execution time: 3_120_000 picoseconds. + Weight::from_parts(6_262_238, 42428) + // Standard Error: 1_215 + .saturating_add(Weight::from_parts(829_296, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -237,116 +239,118 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_133_000 picoseconds. - Weight::from_parts(6_288_000, 0) + // Minimum execution time: 4_108_000 picoseconds. + Weight::from_parts(4_315_000, 0) } - /// Storage: Preimage PreimageFor (r:1 w:1) - /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: Measured) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `213 + s * (1 ±0)` // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 21_985_000 picoseconds. - Weight::from_parts(22_407_000, 3678) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_834, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 19_464_000 picoseconds. + Weight::from_parts(19_797_000, 3678) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_502, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn service_task_named() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_552_000 picoseconds. - Weight::from_parts(7_814_000, 0) + // Minimum execution time: 5_592_000 picoseconds. + Weight::from_parts(5_769_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_054_000 picoseconds. - Weight::from_parts(6_188_000, 0) + // Minimum execution time: 4_160_000 picoseconds. + Weight::from_parts(4_361_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_046_000 picoseconds. - Weight::from_parts(3_167_000, 0) + // Minimum execution time: 2_677_000 picoseconds. + Weight::from_parts(2_783_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_950_000 picoseconds. - Weight::from_parts(3_058_000, 0) + // Minimum execution time: 2_624_000 picoseconds. + Weight::from_parts(2_741_000, 0) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 13_286_000 picoseconds. - Weight::from_parts(16_578_003, 42428) - // Standard Error: 1_322 - .saturating_add(Weight::from_parts(886_487, 0).saturating_mul(s.into())) + // Minimum execution time: 10_689_000 picoseconds. + Weight::from_parts(13_951_121, 42428) + // Standard Error: 1_166 + .saturating_add(Weight::from_parts(874_447, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:0 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `77 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 18_761_000 picoseconds. - Weight::from_parts(17_183_094, 42428) - // Standard Error: 1_336 - .saturating_add(Weight::from_parts(1_550_975, 0).saturating_mul(s.into())) + // Minimum execution time: 16_726_000 picoseconds. + Weight::from_parts(15_319_925, 42428) + // Standard Error: 1_220 + .saturating_add(Weight::from_parts(1_531_778, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `254 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 16_497_000 picoseconds. - Weight::from_parts(20_978_567, 42428) - // Standard Error: 2_083 - .saturating_add(Weight::from_parts(941_462, 0).saturating_mul(s.into())) + // Minimum execution time: 13_835_000 picoseconds. + Weight::from_parts(18_042_266, 42428) + // Standard Error: 1_915 + .saturating_add(Weight::from_parts(915_719, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 20_683_000 picoseconds. - Weight::from_parts(19_891_118, 42428) - // Standard Error: 1_725 - .saturating_add(Weight::from_parts(1_585_558, 0).saturating_mul(s.into())) + // Minimum execution time: 18_172_000 picoseconds. + Weight::from_parts(17_404_941, 42428) + // Standard Error: 1_475 + .saturating_add(Weight::from_parts(1_568_185, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/runtime/manta/src/weights/pallet_session.rs b/runtime/manta/src/weights/pallet_session.rs index 7b1d584d5..0df4a4eaa 100644 --- a/runtime/manta/src/weights/pallet_session.rs +++ b/runtime/manta/src/weights/pallet_session.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_session //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -52,29 +52,29 @@ pub trait WeightInfo { /// Weights for pallet_session using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_session::WeightInfo for SubstrateWeight { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:2 w:2) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:2 w:2) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `258` // Estimated: `6198` - // Minimum execution time: 19_223_000 picoseconds. - Weight::from_parts(19_656_000, 6198) + // Minimum execution time: 19_110_000 picoseconds. + Weight::from_parts(19_518_000, 6198) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:2) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:2) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `276` // Estimated: `3741` - // Minimum execution time: 13_488_000 picoseconds. - Weight::from_parts(13_845_000, 3741) + // Minimum execution time: 13_070_000 picoseconds. + Weight::from_parts(13_431_000, 3741) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -82,29 +82,29 @@ impl pallet_session::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:2 w:2) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:2 w:2) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: // Measured: `258` // Estimated: `6198` - // Minimum execution time: 19_223_000 picoseconds. - Weight::from_parts(19_656_000, 6198) + // Minimum execution time: 19_110_000 picoseconds. + Weight::from_parts(19_518_000, 6198) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Session NextKeys (r:1 w:1) - /// Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured) - /// Storage: Session KeyOwner (r:0 w:2) - /// Proof Skipped: Session KeyOwner (max_values: None, max_size: None, mode: Measured) + /// Storage: `Session::NextKeys` (r:1 w:1) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Session::KeyOwner` (r:0 w:2) + /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: // Measured: `276` // Estimated: `3741` - // Minimum execution time: 13_488_000 picoseconds. - Weight::from_parts(13_845_000, 3741) + // Minimum execution time: 13_070_000 picoseconds. + Weight::from_parts(13_431_000, 3741) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/runtime/manta/src/weights/pallet_sudo.rs b/runtime/manta/src/weights/pallet_sudo.rs index 27c5e9aab..e7db6ef05 100644 --- a/runtime/manta/src/weights/pallet_sudo.rs +++ b/runtime/manta/src/weights/pallet_sudo.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_sudo //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -54,45 +54,45 @@ pub trait WeightInfo { /// Weights for pallet_sudo using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_sudo::WeightInfo for SubstrateWeight { - /// Storage: Sudo Key (r:1 w:1) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn set_key() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 13_882_000 picoseconds. - Weight::from_parts(14_149_000, 1517) + // Minimum execution time: 10_448_000 picoseconds. + Weight::from_parts(10_724_000, 1517) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Sudo Key (r:1 w:0) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn sudo() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 14_494_000 picoseconds. - Weight::from_parts(15_031_000, 1517) + // Minimum execution time: 11_379_000 picoseconds. + Weight::from_parts(11_765_000, 1517) .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// Storage: Sudo Key (r:1 w:0) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn sudo_as() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 14_801_000 picoseconds. - Weight::from_parts(15_376_000, 1517) + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(11_949_000, 1517) .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// Storage: Sudo Key (r:1 w:1) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn remove_key() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 13_882_000 picoseconds. - Weight::from_parts(14_149_000, 1517) + // Minimum execution time: 9_393_000 picoseconds. + Weight::from_parts(9_700_000, 1517) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -100,45 +100,45 @@ impl pallet_sudo::WeightInfo for SubstrateWeight { // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: Sudo Key (r:1 w:1) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn set_key() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 13_882_000 picoseconds. - Weight::from_parts(14_149_000, 1517) + // Minimum execution time: 10_448_000 picoseconds. + Weight::from_parts(10_724_000, 1517) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Sudo Key (r:1 w:0) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn sudo() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 14_494_000 picoseconds. - Weight::from_parts(15_031_000, 1517) + // Minimum execution time: 11_379_000 picoseconds. + Weight::from_parts(11_765_000, 1517) .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// Storage: Sudo Key (r:1 w:0) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn sudo_as() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 14_801_000 picoseconds. - Weight::from_parts(15_376_000, 1517) + // Minimum execution time: 11_432_000 picoseconds. + Weight::from_parts(11_949_000, 1517) .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// Storage: Sudo Key (r:1 w:1) - /// Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) fn remove_key() -> Weight { // Proof Size summary in bytes: // Measured: `98` // Estimated: `1517` - // Minimum execution time: 13_882_000 picoseconds. - Weight::from_parts(14_149_000, 1517) + // Minimum execution time: 9_393_000 picoseconds. + Weight::from_parts(9_700_000, 1517) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/manta/src/weights/pallet_timestamp.rs b/runtime/manta/src/weights/pallet_timestamp.rs index e444bf4a7..2e250143a 100644 --- a/runtime/manta/src/weights/pallet_timestamp.rs +++ b/runtime/manta/src/weights/pallet_timestamp.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_timestamp //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -52,14 +52,14 @@ pub trait WeightInfo { /// Weights for pallet_timestamp using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_timestamp::WeightInfo for SubstrateWeight { - /// Storage: Timestamp Now (r:1 w:1) - /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn set() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 7_764_000 picoseconds. - Weight::from_parts(8_081_000, 1493) + // Minimum execution time: 5_970_000 picoseconds. + Weight::from_parts(6_184_000, 1493) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -67,21 +67,21 @@ impl pallet_timestamp::WeightInfo for SubstrateWeight Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1493` - // Minimum execution time: 7_764_000 picoseconds. - Weight::from_parts(8_081_000, 1493) + // Minimum execution time: 5_970_000 picoseconds. + Weight::from_parts(6_184_000, 1493) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -89,7 +89,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `128` // Estimated: `0` - // Minimum execution time: 4_936_000 picoseconds. - Weight::from_parts(5_100_000, 0) + // Minimum execution time: 4_547_000 picoseconds. + Weight::from_parts(4_724_000, 0) } } diff --git a/runtime/manta/src/weights/pallet_treasury.rs b/runtime/manta/src/weights/pallet_treasury.rs index 6aadf016a..40154958c 100644 --- a/runtime/manta/src/weights/pallet_treasury.rs +++ b/runtime/manta/src/weights/pallet_treasury.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_treasury //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -45,13 +45,13 @@ use core::marker::PhantomData; /// Weight functions needed for pallet_treasury. pub trait WeightInfo { - fn spend() -> Weight; + fn spend_local() -> Weight; fn propose_spend() -> Weight; fn reject_proposal() -> Weight; fn approve_proposal(p: u32, ) -> Weight; fn remove_approval() -> Weight; fn on_initialize_proposals(p: u32, ) -> Weight; - fn spend_local() -> Weight; + fn spend() -> Weight; fn payout() -> Weight; fn check_status() -> Weight; fn void_spend() -> Weight; @@ -60,132 +60,141 @@ pub trait WeightInfo { /// Weights for pallet_treasury using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_treasury::WeightInfo for SubstrateWeight { - fn spend() -> Weight { + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 261_000 picoseconds. - Weight::from_parts(283_000, 0) + // Measured: `80` + // Estimated: `1887` + // Minimum execution time: 13_749_000 picoseconds. + Weight::from_parts(14_347_000, 1887) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `131` // Estimated: `1489` - // Minimum execution time: 29_807_000 picoseconds. - Weight::from_parts(30_410_000, 1489) + // Minimum execution time: 25_008_000 picoseconds. + Weight::from_parts(25_677_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3593` - // Minimum execution time: 52_551_000 picoseconds. - Weight::from_parts(53_269_000, 3593) + // Minimum execution time: 41_953_000 picoseconds. + Weight::from_parts(42_611_000, 3593) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `507 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 11_177_000 picoseconds. - Weight::from_parts(13_739_061, 3573) - // Standard Error: 830 - .saturating_add(Weight::from_parts(76_242, 0).saturating_mul(p.into())) + // Minimum execution time: 10_221_000 picoseconds. + Weight::from_parts(13_068_928, 3573) + // Standard Error: 754 + .saturating_add(Weight::from_parts(65_155, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Minimum execution time: 7_988_000 picoseconds. + Weight::from_parts(8_221_000, 1887) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:100) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:200 w:200) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:99 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + p * (250 ±0)` - // Estimated: `1887 + p * (5206 ±0)` - // Minimum execution time: 29_185_000 picoseconds. - Weight::from_parts(31_453_179, 1887) - // Standard Error: 10_980 - .saturating_add(Weight::from_parts(41_472_024, 0).saturating_mul(p.into())) + // Measured: `151 + p * (119 ±0)` + // Estimated: `1887 + p * (2583 ±0)` + // Minimum execution time: 18_386_000 picoseconds. + Weight::from_parts(17_564_657, 1887) + // Standard Error: 4_836 + .saturating_add(Weight::from_parts(3_198_008, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2583).saturating_mul(p.into())) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - fn spend_local() -> Weight { + /// Storage: `Treasury::SpendCount` (r:1 w:1) + /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Spends` (r:0 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + fn spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Measured: `80` + // Estimated: `1489` + // Minimum execution time: 12_026_000 picoseconds. + Weight::from_parts(12_348_000, 1489) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `198` + // Estimated: `3593` + // Minimum execution time: 53_242_000 picoseconds. + Weight::from_parts(54_206_000, 3593) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn check_status() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 13_882_000 picoseconds. + Weight::from_parts(14_269_000, 3534) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn void_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 12_756_000 picoseconds. + Weight::from_parts(12_973_000, 3534) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -193,132 +202,141 @@ impl pallet_treasury::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - fn spend() -> Weight { + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 261_000 picoseconds. - Weight::from_parts(283_000, 0) + // Measured: `80` + // Estimated: `1887` + // Minimum execution time: 13_749_000 picoseconds. + Weight::from_parts(14_347_000, 1887) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: Treasury ProposalCount (r:1 w:1) - /// Proof: Treasury ProposalCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:0 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn propose_spend() -> Weight { // Proof Size summary in bytes: // Measured: `131` // Estimated: `1489` - // Minimum execution time: 29_807_000 picoseconds. - Weight::from_parts(30_410_000, 1489) + // Minimum execution time: 25_008_000 picoseconds. + Weight::from_parts(25_677_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:1) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:1 w:1) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn reject_proposal() -> Weight { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3593` - // Minimum execution time: 52_551_000 picoseconds. - Weight::from_parts(53_269_000, 3593) + // Minimum execution time: 41_953_000 picoseconds. + Weight::from_parts(42_611_000, 3593) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Proposals (r:1 w:0) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `507 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 11_177_000 picoseconds. - Weight::from_parts(13_739_061, 3573) - // Standard Error: 830 - .saturating_add(Weight::from_parts(76_242, 0).saturating_mul(p.into())) + // Minimum execution time: 10_221_000 picoseconds. + Weight::from_parts(13_068_928, 3573) + // Standard Error: 754 + .saturating_add(Weight::from_parts(65_155, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) fn remove_approval() -> Weight { // Proof Size summary in bytes: // Measured: `165` // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Minimum execution time: 7_988_000 picoseconds. + Weight::from_parts(8_221_000, 1887) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Treasury Deactivated (r:1 w:1) - /// Proof: Treasury Deactivated (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:1) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - /// Storage: Treasury Proposals (r:100 w:100) - /// Proof: Treasury Proposals (max_values: None, max_size: Some(108), added: 2583, mode: MaxEncodedLen) - /// Storage: System Account (r:200 w:200) - /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - /// The range of component `p` is `[0, 100]`. + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:1) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:99 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + p * (250 ±0)` - // Estimated: `1887 + p * (5206 ±0)` - // Minimum execution time: 29_185_000 picoseconds. - Weight::from_parts(31_453_179, 1887) - // Standard Error: 10_980 - .saturating_add(Weight::from_parts(41_472_024, 0).saturating_mul(p.into())) + // Measured: `151 + p * (119 ±0)` + // Estimated: `1887 + p * (2583 ±0)` + // Minimum execution time: 18_386_000 picoseconds. + Weight::from_parts(17_564_657, 1887) + // Standard Error: 4_836 + .saturating_add(Weight::from_parts(3_198_008, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(p.into()))) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) - .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 2583).saturating_mul(p.into())) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) - fn spend_local() -> Weight { + /// Storage: `Treasury::SpendCount` (r:1 w:1) + /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Spends` (r:0 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + fn spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Measured: `80` + // Estimated: `1489` + // Minimum execution time: 12_026_000 picoseconds. + Weight::from_parts(12_348_000, 1489) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `198` + // Estimated: `3593` + // Minimum execution time: 53_242_000 picoseconds. + Weight::from_parts(54_206_000, 3593) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn check_status() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 13_882_000 picoseconds. + Weight::from_parts(14_269_000, 3534) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: Treasury Approvals (r:1 w:1) - /// Proof: Treasury Approvals (max_values: Some(1), max_size: Some(402), added: 897, mode: MaxEncodedLen) + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn void_spend() -> Weight { // Proof Size summary in bytes: - // Measured: `165` - // Estimated: `1887` - // Minimum execution time: 8_923_000 picoseconds. - Weight::from_parts(9_183_000, 1887) + // Measured: `198` + // Estimated: `3534` + // Minimum execution time: 12_756_000 picoseconds. + Weight::from_parts(12_973_000, 3534) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/manta/src/weights/pallet_tx_pause.rs b/runtime/manta/src/weights/pallet_tx_pause.rs index 529ad1120..85806edb2 100644 --- a/runtime/manta/src/weights/pallet_tx_pause.rs +++ b/runtime/manta/src/weights/pallet_tx_pause.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_tx_pause //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -52,25 +52,25 @@ pub trait WeightInfo { /// Weights for pallet_tx_pause using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_tx_pause::WeightInfo for SubstrateWeight { - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 14_724_000 picoseconds. - Weight::from_parts(15_310_000, 3541) + // Minimum execution time: 12_746_000 picoseconds. + Weight::from_parts(13_337_000, 3541) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `123` // Estimated: `3588` - // Minimum execution time: 15_177_000 picoseconds. - Weight::from_parts(15_662_000, 3588) + // Minimum execution time: 13_313_000 picoseconds. + Weight::from_parts(13_679_000, 3588) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -78,25 +78,25 @@ impl pallet_tx_pause::WeightInfo for SubstrateWeight // For backwards compatibility and tests impl WeightInfo for () { - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 14_724_000 picoseconds. - Weight::from_parts(15_310_000, 3541) + // Minimum execution time: 12_746_000 picoseconds. + Weight::from_parts(13_337_000, 3541) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: TransactionPause PausedTransactions (r:1 w:1) - /// Proof Skipped: TransactionPause PausedTransactions (max_values: None, max_size: None, mode: Measured) + /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) + /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: // Measured: `123` // Estimated: `3588` - // Minimum execution time: 15_177_000 picoseconds. - Weight::from_parts(15_662_000, 3588) + // Minimum execution time: 13_313_000 picoseconds. + Weight::from_parts(13_679_000, 3588) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/runtime/manta/src/weights/pallet_utility.rs b/runtime/manta/src/weights/pallet_utility.rs index 2d5266532..0efd4cdaa 100644 --- a/runtime/manta/src/weights/pallet_utility.rs +++ b/runtime/manta/src/weights/pallet_utility.rs @@ -17,8 +17,8 @@ //! Autogenerated weights for pallet_utility //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-21, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: 40, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: Some("/home/aye/actions-runner/_worker/Manta/Manta/tests/data/fork.json"), DB CACHE: 1024 // Executed Command: // ./target/production/manta @@ -60,44 +60,44 @@ impl pallet_utility::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_439_000 picoseconds. - Weight::from_parts(8_816_752, 0) - // Standard Error: 2_457 - .saturating_add(Weight::from_parts(6_029_390, 0).saturating_mul(c.into())) + // Minimum execution time: 4_989_000 picoseconds. + Weight::from_parts(11_302_637, 0) + // Standard Error: 2_378 + .saturating_add(Weight::from_parts(4_088_453, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_004_000 picoseconds. - Weight::from_parts(6_182_000, 0) + // Minimum execution time: 5_224_000 picoseconds. + Weight::from_parts(5_435_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_502_000 picoseconds. - Weight::from_parts(13_305_291, 0) - // Standard Error: 2_597 - .saturating_add(Weight::from_parts(6_318_738, 0).saturating_mul(c.into())) + // Minimum execution time: 5_165_000 picoseconds. + Weight::from_parts(13_627_602, 0) + // Standard Error: 2_396 + .saturating_add(Weight::from_parts(4_365_682, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_933_000 picoseconds. - Weight::from_parts(10_246_000, 0) + // Minimum execution time: 7_443_000 picoseconds. + Weight::from_parts(7_730_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_343_000 picoseconds. - Weight::from_parts(8_562_631, 0) - // Standard Error: 2_279 - .saturating_add(Weight::from_parts(5_909_644, 0).saturating_mul(c.into())) + // Minimum execution time: 5_143_000 picoseconds. + Weight::from_parts(11_165_811, 0) + // Standard Error: 2_353 + .saturating_add(Weight::from_parts(3_974_739, 0).saturating_mul(c.into())) } } @@ -108,43 +108,43 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_439_000 picoseconds. - Weight::from_parts(8_816_752, 0) - // Standard Error: 2_457 - .saturating_add(Weight::from_parts(6_029_390, 0).saturating_mul(c.into())) + // Minimum execution time: 4_989_000 picoseconds. + Weight::from_parts(11_302_637, 0) + // Standard Error: 2_378 + .saturating_add(Weight::from_parts(4_088_453, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_004_000 picoseconds. - Weight::from_parts(6_182_000, 0) + // Minimum execution time: 5_224_000 picoseconds. + Weight::from_parts(5_435_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_502_000 picoseconds. - Weight::from_parts(13_305_291, 0) - // Standard Error: 2_597 - .saturating_add(Weight::from_parts(6_318_738, 0).saturating_mul(c.into())) + // Minimum execution time: 5_165_000 picoseconds. + Weight::from_parts(13_627_602, 0) + // Standard Error: 2_396 + .saturating_add(Weight::from_parts(4_365_682, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_933_000 picoseconds. - Weight::from_parts(10_246_000, 0) + // Minimum execution time: 7_443_000 picoseconds. + Weight::from_parts(7_730_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_343_000 picoseconds. - Weight::from_parts(8_562_631, 0) - // Standard Error: 2_279 - .saturating_add(Weight::from_parts(5_909_644, 0).saturating_mul(c.into())) + // Minimum execution time: 5_143_000 picoseconds. + Weight::from_parts(11_165_811, 0) + // Standard Error: 2_353 + .saturating_add(Weight::from_parts(3_974_739, 0).saturating_mul(c.into())) } }