diff --git a/pallets/governance/Cargo.toml b/pallets/governance/Cargo.toml
index a580a54..609b9d5 100644
--- a/pallets/governance/Cargo.toml
+++ b/pallets/governance/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ghost-governance"
-version = "0.3.3"
+version = "0.3.4"
description = "Full-chain and cross-chain governance pallet with early adopter share claims"
license.workspace = true
authors.workspace = true
diff --git a/pallets/governance/src/weights.rs b/pallets/governance/src/weights.rs
index cb71e13..dd5c263 100644
--- a/pallets/governance/src/weights.rs
+++ b/pallets/governance/src/weights.rs
@@ -7,16 +7,16 @@
// Ghost Network is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see .
-//! Autogenerated weights for `ghost_claims`
+//! Autogenerated weights for `ghost_governance`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
-//! DATE: 2024-08-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2026-09-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@@ -28,12 +28,12 @@
// --chain=casper-dev
// --steps=50
// --repeat=20
-// --pallet=ghost_claims
+// --pallet=ghost_governance
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
-// --output=./runtime/casper/src/weights/ghost_claims.rs
+// --output=./runtime/casper/src/weights/ghost_governance.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -52,26 +52,25 @@ pub trait WeightInfo {
}
impl WeightInfo for () {
- /// Storage: `System::Account` (r:2 w:2)
- /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
- /// Storage: `GhostClaims::Total` (r:1 w:1)
- /// Proof: `GhostClaims::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
- /// Storage: `CultCollective::Members` (r:2 w:2)
- /// Proof: `CultCollective::Members` (`max_values`: None, `max_size`: Some(42), added: 2517, mode: `MaxEncodedLen`)
- /// Storage: `CultCollective::MemberCount` (r:6 w:6)
- /// Proof: `CultCollective::MemberCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`)
- /// Storage: `CultCollective::IdToIndex` (r:6 w:12)
- /// Proof: `CultCollective::IdToIndex` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
- /// Storage: `CultCollective::IndexToId` (r:0 w:6)
- /// Proof: `CultCollective::IndexToId` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
- fn claim(_p: u32) -> Weight {
+ /// Storage: `GhostGovernance::MemberShares` (r:1 w:1)
+ /// Proof: `GhostGovernance::MemberShares` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `GhostGovernance::ClaimedHashes` (r:1 w:1)
+ /// Proof: `GhostGovernance::ClaimedHashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `GhostGovernance::NetworkShares` (r:1 w:1)
+ /// Proof: `GhostGovernance::NetworkShares` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `GhostGovernance::GlobalShares` (r:1 w:1)
+ /// Proof: `GhostGovernance::GlobalShares` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// The range of component `p` is `[1, 20]`.
+ fn claim(p: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `896`
- // Estimated: `16164`
- // Minimum execution time: 754_086_000 picoseconds.
- Weight::from_parts(756_147_000, 0)
- .saturating_add(Weight::from_parts(0, 16164))
- .saturating_add(RocksDbWeight::get().reads(17))
- .saturating_add(RocksDbWeight::get().writes(29))
+ // Measured: `283`
+ // Estimated: `3748`
+ // Minimum execution time: 216_452_000 picoseconds.
+ Weight::from_parts(217_152_474, 0)
+ .saturating_add(Weight::from_parts(0, 3748))
+ // Standard Error: 17_182
+ .saturating_add(Weight::from_parts(1_614_265, 0).saturating_mul(p.into()))
+ .saturating_add(RocksDbWeight::get().reads(4))
+ .saturating_add(RocksDbWeight::get().writes(4))
}
}
diff --git a/pallets/networks/Cargo.toml b/pallets/networks/Cargo.toml
index 1cc236a..fb1f5e4 100644
--- a/pallets/networks/Cargo.toml
+++ b/pallets/networks/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ghost-networks"
-version = "0.2.8"
+version = "0.2.9"
description = "Registry and lifecycle management for external network metadata and cryptographic profiles."
license.workspace = true
authors.workspace = true
diff --git a/pallets/networks/src/weights.rs b/pallets/networks/src/weights.rs
index ecdbc7b..f7de616 100644
--- a/pallets/networks/src/weights.rs
+++ b/pallets/networks/src/weights.rs
@@ -16,7 +16,7 @@
//! Autogenerated weights for `ghost_networks`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
-//! DATE: 2026-02-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2026-09-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@@ -30,6 +30,7 @@
// --repeat=20
// --pallet=ghost_networks
// --extrinsic=*
+// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/casper/src/weights/ghost_networks.rs
@@ -57,60 +58,63 @@ pub trait WeightInfo {
fn update_network_type() -> Weight;
fn update_network_curve() -> Weight;
fn update_network_gatekeeper() -> Weight;
- fn update_network_topic_name() -> Weight;
fn update_incoming_network_share() -> Weight;
fn update_outgoing_network_share() -> Weight;
- fn update_avg_block_speed() -> Weight;
fn remove_network() -> Weight;
}
impl WeightInfo for () {
- /// Storage: `GhostNetworks::Networks` (r:1 w:1)
+ /// Storage: `GhostNetworks::Networks` (r:1 w:1)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::NetworkIndexes` (r:1 w:1)
/// Proof: `GhostNetworks::NetworkIndexes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
- /// The range of component `i` is `[1, 20]`.
- /// The range of component `j` is `[1, 150]`.
- /// The range of component `k` is `[1, 20]`.
- fn register_network(_i: u32, j: u32, k: u32, ) -> Weight {
+ /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:1)
+ /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `GhostNetworks::NetworkCurvesVec` (r:1 w:1)
+ /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// The range of component `i` is `[1, 65]`.
+ /// The range of component `j` is `[1, 128]`.
+ /// The range of component `k` is `[1, 10]`.
+ fn register_network(i: u32, j: u32, k: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `109`
- // Estimated: `3574`
- // Minimum execution time: 48_419_000 picoseconds.
- Weight::from_parts(35_655_823, 0)
- .saturating_add(Weight::from_parts(0, 3574))
- // Standard Error: 1_212
- .saturating_add(Weight::from_parts(96_762, 0).saturating_mul(j.into()))
- // Standard Error: 9_235
- .saturating_add(Weight::from_parts(1_460_410, 0).saturating_mul(k.into()))
- .saturating_add(RocksDbWeight::get().reads(2))
- .saturating_add(RocksDbWeight::get().writes(2))
+ // Measured: `6`
+ // Estimated: `3471`
+ // Minimum execution time: 60_167_000 picoseconds.
+ Weight::from_parts(56_015_384, 0)
+ .saturating_add(Weight::from_parts(0, 3471))
+ // Standard Error: 1_219
+ .saturating_add(Weight::from_parts(6_146, 0).saturating_mul(i.into()))
+ // Standard Error: 617
+ .saturating_add(Weight::from_parts(37_564, 0).saturating_mul(j.into()))
+ // Standard Error: 8_216
+ .saturating_add(Weight::from_parts(864_641, 0).saturating_mul(k.into()))
+ .saturating_add(RocksDbWeight::get().reads(4))
+ .saturating_add(RocksDbWeight::get().writes(4))
}
/// Storage: `GhostNetworks::Networks` (r:1 w:1)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
- /// The range of component `n` is `[1, 20]`.
fn update_network_selector() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 48_422_000 picoseconds.
- Weight::from_parts(49_987_541, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 43_957_000 picoseconds.
+ Weight::from_parts(44_541_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `GhostNetworks::Networks` (r:1 w:1)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
- /// The range of component `n` is `[1, 150]`.
+ /// The range of component `n` is `[1, 128]`.
fn update_network_endpoint(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 48_651_000 picoseconds.
- Weight::from_parts(50_776_912, 0)
- .saturating_add(Weight::from_parts(0, 3804))
- // Standard Error: 1_062
- .saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into()))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 44_092_000 picoseconds.
+ Weight::from_parts(45_181_439, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
+ // Standard Error: 402
+ .saturating_add(Weight::from_parts(16_387, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -118,11 +122,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_finality_delay() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 48_080_000 picoseconds.
- Weight::from_parts(51_781_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 45_603_000 picoseconds.
+ Weight::from_parts(46_116_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -130,11 +134,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_rate_limit_delay() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 47_950_000 picoseconds.
- Weight::from_parts(48_925_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 45_607_000 picoseconds.
+ Weight::from_parts(46_615_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -142,11 +146,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_block_deviation() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 48_324_000 picoseconds.
- Weight::from_parts(50_801_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 43_510_000 picoseconds.
+ Weight::from_parts(43_840_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -154,38 +158,39 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_type() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 46_962_000 picoseconds.
- Weight::from_parts(47_729_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 43_737_000 picoseconds.
+ Weight::from_parts(44_347_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
- fn update_network_curve() -> Weight {
- Default::default()
- }
+ /// Storage: `GhostNetworks::Networks` (r:1 w:1)
+ /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `GhostNetworks::NetworkCurves` (r:2 w:2)
+ /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `GhostNetworks::NetworkCurvesVec` (r:1 w:1)
+ /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ fn update_network_curve() -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `179`
+ // Estimated: `6119`
+ // Minimum execution time: 85_784_000 picoseconds.
+ Weight::from_parts(86_768_000, 0)
+ .saturating_add(Weight::from_parts(0, 6119))
+ .saturating_add(RocksDbWeight::get().reads(4))
+ .saturating_add(RocksDbWeight::get().writes(4))
+ }
/// Storage: `GhostNetworks::Networks` (r:1 w:1)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_gatekeeper() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 48_728_000 picoseconds.
- Weight::from_parts(53_054_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
- .saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(1))
- }
- /// Storage: `GhostNetworks::Networks` (r:1 w:1)
- /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
- fn update_network_topic_name() -> Weight {
- // Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 48_632_000 picoseconds.
- Weight::from_parts(49_954_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 44_801_000 picoseconds.
+ Weight::from_parts(45_240_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -193,11 +198,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_incoming_network_share() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 47_660_000 picoseconds.
- Weight::from_parts(53_763_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 45_404_000 picoseconds.
+ Weight::from_parts(46_161_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
@@ -205,38 +210,30 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_outgoing_network_share() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 48_164_000 picoseconds.
- Weight::from_parts(48_953_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
+ // Measured: `166`
+ // Estimated: `3631`
+ // Minimum execution time: 45_476_000 picoseconds.
+ Weight::from_parts(46_312_000, 0)
+ .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `GhostNetworks::Networks` (r:1 w:1)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
- fn update_avg_block_speed() -> Weight {
- // Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 47_789_000 picoseconds.
- Weight::from_parts(52_131_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
- .saturating_add(RocksDbWeight::get().reads(1))
- .saturating_add(RocksDbWeight::get().writes(1))
- }
+ /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:1)
+ /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::NetworkIndexes` (r:1 w:1)
/// Proof: `GhostNetworks::NetworkIndexes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
- /// Storage: `GhostNetworks::Networks` (r:1 w:1)
- /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `GhostNetworks::NetworkCurvesVec` (r:1 w:1)
+ /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn remove_network() -> Weight {
// Proof Size summary in bytes:
- // Measured: `339`
- // Estimated: `3804`
- // Minimum execution time: 49_720_000 picoseconds.
- Weight::from_parts(50_526_000, 0)
- .saturating_add(Weight::from_parts(0, 3804))
- .saturating_add(RocksDbWeight::get().reads(2))
- .saturating_add(RocksDbWeight::get().writes(2))
+ // Measured: `179`
+ // Estimated: `3644`
+ // Minimum execution time: 78_480_000 picoseconds.
+ Weight::from_parts(79_105_000, 0)
+ .saturating_add(Weight::from_parts(0, 3644))
+ .saturating_add(RocksDbWeight::get().reads(4))
+ .saturating_add(RocksDbWeight::get().writes(4))
}
}
diff --git a/pallets/pools/Cargo.toml b/pallets/pools/Cargo.toml
index 73b3a3b..b789291 100644
--- a/pallets/pools/Cargo.toml
+++ b/pallets/pools/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ghost-nomination-pools"
-version = "25.0.0"
+version = "25.0.1"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
diff --git a/pallets/pools/src/weights.rs b/pallets/pools/src/weights.rs
index 57ea8dc..93fb7eb 100644
--- a/pallets/pools/src/weights.rs
+++ b/pallets/pools/src/weights.rs
@@ -1,52 +1,49 @@
-// This file is part of Substrate.
+// This file is part of Ghost Network.
-// Copyright (C) Parity Technologies (UK) Ltd.
-// SPDX-License-Identifier: Apache-2.0
+// Ghost Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// Ghost Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
-//! Autogenerated weights for `pallet_nomination_pools`
+// You should have received a copy of the GNU General Public License
+// along with Ghost Network. If not, see .
+
+//! Autogenerated weights for `ghost_nomination_pools`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
-//! DATE: 2024-04-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2026-09-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
+//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
// Executed Command:
-// ./target/production/substrate-node
+// ./target/release/ghost
// benchmark
// pallet
-// --chain=dev
+// --chain=casper-dev
// --steps=50
// --repeat=20
-// --pallet=pallet_nomination_pools
-// --no-storage-info
-// --no-median-slopes
-// --no-min-squares
+// --pallet=ghost_nomination_pools
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./substrate/frame/nomination-pools/src/weights.rs
-// --header=./substrate/HEADER-APACHE2
-// --template=./substrate/.maintain/frame-weight-template.hbs
+// --header=./file_header.txt
+// --output=./runtime/casper/src/weights/ghost_nomination_pools.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
-use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
+use frame_support::{
+ traits::Get,
+ weights::{Weight, constants::RocksDbWeight},
+};
use core::marker::PhantomData;
/// Weight functions needed for `pallet_nomination_pools`.
@@ -78,16 +75,16 @@ pub trait WeightInfo {
/// Weights for `pallet_nomination_pools` using the Substrate node and recommended hardware.
pub struct SubstrateWeight(PhantomData);
impl WeightInfo for SubstrateWeight {
- /// Storage: `NominationPools::MinJoinBond` (r:1 w:0)
+ /// Storage: `NominationPools::MinJoinBond` (r:1 w:0)
/// Proof: `NominationPools::MinJoinBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@@ -100,10 +97,12 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `NominationPools::MaxPoolMembers` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForPoolMembers` (r:1 w:1)
/// Proof: `NominationPools::CounterForPoolMembers` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
@@ -112,15 +111,16 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn join() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3425`
+ // Measured: `3131`
// Estimated: `8877`
- // Minimum execution time: 201_783_000 picoseconds.
- Weight::from_parts(206_014_000, 8877)
- .saturating_add(T::DbWeight::get().reads(20_u64))
- .saturating_add(T::DbWeight::get().writes(13_u64))
+ // Minimum execution time: 675_995_000 picoseconds.
+ Weight::from_parts(699_299_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(T::DbWeight::get().reads(21))
+ .saturating_add(T::DbWeight::get().writes(13))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -132,11 +132,13 @@ impl WeightInfo for SubstrateWeight {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
@@ -145,17 +147,18 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3435`
+ // Measured: `3091`
// Estimated: `8877`
- // Minimum execution time: 204_124_000 picoseconds.
- Weight::from_parts(207_910_000, 8877)
- .saturating_add(T::DbWeight::get().reads(17_u64))
- .saturating_add(T::DbWeight::get().writes(13_u64))
+ // Minimum execution time: 673_497_000 picoseconds.
+ Weight::from_parts(686_322_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(T::DbWeight::get().reads(18))
+ .saturating_add(T::DbWeight::get().writes(13))
}
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:0)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -167,11 +170,13 @@ impl WeightInfo for SubstrateWeight {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
@@ -180,17 +185,18 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_other() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3500`
+ // Measured: `3156`
// Estimated: `8877`
- // Minimum execution time: 240_342_000 picoseconds.
- Weight::from_parts(245_735_000, 8877)
- .saturating_add(T::DbWeight::get().reads(18_u64))
- .saturating_add(T::DbWeight::get().writes(14_u64))
+ // Minimum execution time: 809_985_000 picoseconds.
+ Weight::from_parts(823_279_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(T::DbWeight::get().reads(19))
+ .saturating_add(T::DbWeight::get().writes(14))
}
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:0)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -201,15 +207,16 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_payout() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1172`
- // Estimated: `3719`
- // Minimum execution time: 81_054_000 picoseconds.
- Weight::from_parts(83_324_000, 3719)
- .saturating_add(T::DbWeight::get().reads(6_u64))
- .saturating_add(T::DbWeight::get().writes(4_u64))
+ // Measured: `1029`
+ // Estimated: `4182`
+ // Minimum execution time: 263_303_000 picoseconds.
+ Weight::from_parts(265_404_000, 0)
+ .saturating_add(Weight::from_parts(0, 4182))
+ .saturating_add(T::DbWeight::get().reads(6))
+ .saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -217,7 +224,7 @@ impl WeightInfo for SubstrateWeight {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
/// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:2 w:1)
@@ -228,39 +235,44 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
- /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(24382), added: 26857, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(225), added: 2700, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForSubPoolsStorage` (r:1 w:1)
/// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn unbond() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3622`
- // Estimated: `27847`
- // Minimum execution time: 188_835_000 picoseconds.
- Weight::from_parts(192_565_000, 27847)
- .saturating_add(T::DbWeight::get().reads(20_u64))
- .saturating_add(T::DbWeight::get().writes(13_u64))
+ // Measured: `3324`
+ // Estimated: `8877`
+ // Minimum execution time: 605_438_000 picoseconds.
+ Weight::from_parts(618_067_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(T::DbWeight::get().reads(21))
+ .saturating_add(T::DbWeight::get().writes(13))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::TotalValueLocked` (r:1 w:1)
@@ -268,31 +280,34 @@ impl WeightInfo for SubstrateWeight {
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1848`
+ // Measured: `1630`
// Estimated: `4764`
- // Minimum execution time: 73_556_000 picoseconds.
- Weight::from_parts(76_075_881, 4764)
- // Standard Error: 1_419
- .saturating_add(Weight::from_parts(54_476, 0).saturating_mul(s.into()))
- .saturating_add(T::DbWeight::get().reads(8_u64))
- .saturating_add(T::DbWeight::get().writes(3_u64))
+ // Minimum execution time: 254_464_000 picoseconds.
+ Weight::from_parts(258_835_843, 0)
+ .saturating_add(Weight::from_parts(0, 4764))
+ // Standard Error: 8_591
+ .saturating_add(Weight::from_parts(105_003, 0).saturating_mul(s.into()))
+ .saturating_add(T::DbWeight::get().reads(9))
+ .saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
- /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(24382), added: 26857, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(225), added: 2700, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
@@ -306,33 +321,36 @@ impl WeightInfo for SubstrateWeight {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `2238`
- // Estimated: `27847`
- // Minimum execution time: 144_177_000 picoseconds.
- Weight::from_parts(148_686_524, 27847)
- // Standard Error: 2_475
- .saturating_add(Weight::from_parts(77_460, 0).saturating_mul(s.into()))
- .saturating_add(T::DbWeight::get().reads(12_u64))
- .saturating_add(T::DbWeight::get().writes(9_u64))
+ // Measured: `2020`
+ // Estimated: `4764`
+ // Minimum execution time: 493_281_000 picoseconds.
+ Weight::from_parts(506_171_764, 0)
+ .saturating_add(Weight::from_parts(0, 4764))
+ // Standard Error: 12_285
+ .saturating_add(Weight::from_parts(142_307, 0).saturating_mul(s.into()))
+ .saturating_add(T::DbWeight::get().reads(13))
+ .saturating_add(T::DbWeight::get().writes(9))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
- /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(24382), added: 26857, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(225), added: 2700, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::SlashingSpans` (r:1 w:0)
/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:1)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:2 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:2 w:1)
- /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:2 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0)
@@ -354,7 +372,7 @@ impl WeightInfo for SubstrateWeight {
/// Storage: `NominationPools::CounterForSubPoolsStorage` (r:1 w:1)
/// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::Metadata` (r:1 w:1)
- /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(270), added: 2745, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForBondedPools` (r:1 w:1)
/// Proof: `NominationPools::CounterForBondedPools` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::Payee` (r:0 w:1)
@@ -364,14 +382,15 @@ impl WeightInfo for SubstrateWeight {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `2525`
- // Estimated: `27847`
- // Minimum execution time: 255_957_000 picoseconds.
- Weight::from_parts(264_206_788, 27847)
- // Standard Error: 4_229
- .saturating_add(Weight::from_parts(3_064, 0).saturating_mul(s.into()))
- .saturating_add(T::DbWeight::get().reads(24_u64))
- .saturating_add(T::DbWeight::get().writes(20_u64))
+ // Measured: `2161`
+ // Estimated: `8538`
+ // Minimum execution time: 865_348_000 picoseconds.
+ Weight::from_parts(883_136_957, 0)
+ .saturating_add(Weight::from_parts(0, 8538))
+ // Standard Error: 6_363
+ .saturating_add(Weight::from_parts(5_929, 0).saturating_mul(s.into()))
+ .saturating_add(T::DbWeight::get().reads(25))
+ .saturating_add(T::DbWeight::get().writes(21))
}
/// Storage: `NominationPools::LastPoolId` (r:1 w:1)
/// Proof: `NominationPools::LastPoolId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -386,7 +405,7 @@ impl WeightInfo for SubstrateWeight {
/// Storage: `NominationPools::CounterForBondedPools` (r:1 w:1)
/// Proof: `NominationPools::CounterForBondedPools` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::MaxPoolMembersPerPool` (r:1 w:0)
/// Proof: `NominationPools::MaxPoolMembersPerPool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::MaxPoolMembers` (r:1 w:0)
@@ -398,11 +417,13 @@ impl WeightInfo for SubstrateWeight {
/// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:2 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:2 w:1)
- /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::TotalValueLocked` (r:1 w:1)
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -419,21 +440,22 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
fn create() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1284`
+ // Measured: `1014`
// Estimated: `8538`
- // Minimum execution time: 193_527_000 picoseconds.
- Weight::from_parts(197_140_000, 8538)
- .saturating_add(T::DbWeight::get().reads(24_u64))
- .saturating_add(T::DbWeight::get().writes(17_u64))
+ // Minimum execution time: 688_074_000 picoseconds.
+ Weight::from_parts(701_165_000, 0)
+ .saturating_add(Weight::from_parts(0, 8538))
+ .saturating_add(T::DbWeight::get().reads(25))
+ .saturating_add(T::DbWeight::get().writes(17))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:0)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::MinCreateBond` (r:1 w:0)
@@ -459,15 +481,16 @@ impl WeightInfo for SubstrateWeight {
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1976`
- // Estimated: `4556 + n * (2520 ±0)`
- // Minimum execution time: 86_054_000 picoseconds.
- Weight::from_parts(88_743_932, 4556)
- // Standard Error: 12_699
- .saturating_add(Weight::from_parts(1_829_097, 0).saturating_mul(n.into()))
- .saturating_add(T::DbWeight::get().reads(15_u64))
+ // Measured: `1721`
+ // Estimated: `4275 + n * (2520 ±0)`
+ // Minimum execution time: 291_788_000 picoseconds.
+ Weight::from_parts(293_013_286, 0)
+ .saturating_add(Weight::from_parts(0, 4275))
+ // Standard Error: 44_444
+ .saturating_add(Weight::from_parts(5_296_236, 0).saturating_mul(n.into()))
+ .saturating_add(T::DbWeight::get().reads(15))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
- .saturating_add(T::DbWeight::get().writes(5_u64))
+ .saturating_add(T::DbWeight::get().writes(5))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into()))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
@@ -475,33 +498,33 @@ impl WeightInfo for SubstrateWeight {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
fn set_state() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1434`
- // Estimated: `4556`
- // Minimum execution time: 34_544_000 picoseconds.
- Weight::from_parts(35_910_000, 4556)
- .saturating_add(T::DbWeight::get().reads(3_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Measured: `1216`
+ // Estimated: `4275`
+ // Minimum execution time: 109_871_000 picoseconds.
+ Weight::from_parts(110_997_000, 0)
+ .saturating_add(Weight::from_parts(0, 4275))
+ .saturating_add(T::DbWeight::get().reads(3))
+ .saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::Metadata` (r:1 w:1)
- /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(270), added: 2745, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForMetadata` (r:1 w:1)
/// Proof: `NominationPools::CounterForMetadata` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
- /// The range of component `n` is `[1, 256]`.
- fn set_metadata(n: u32, ) -> Weight {
+ /// The range of component `n` is `[1, 128]`.
+ fn set_metadata(_n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
- // Estimated: `3735`
- // Minimum execution time: 14_111_000 picoseconds.
- Weight::from_parts(15_204_218, 3735)
- // Standard Error: 226
- .saturating_add(Weight::from_parts(1_291, 0).saturating_mul(n.into()))
- .saturating_add(T::DbWeight::get().reads(3_u64))
- .saturating_add(T::DbWeight::get().writes(2_u64))
+ // Measured: `498`
+ // Estimated: `3719`
+ // Minimum execution time: 50_309_000 picoseconds.
+ Weight::from_parts(52_003_011, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(T::DbWeight::get().reads(3))
+ .saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `NominationPools::MinJoinBond` (r:0 w:1)
/// Proof: `NominationPools::MinJoinBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
@@ -519,29 +542,31 @@ impl WeightInfo for SubstrateWeight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_524_000 picoseconds.
- Weight::from_parts(4_882_000, 0)
- .saturating_add(T::DbWeight::get().writes(6_u64))
+ // Minimum execution time: 14_703_000 picoseconds.
+ Weight::from_parts(15_172_000, 0)
+ .saturating_add(Weight::from_parts(0, 0))
+ .saturating_add(T::DbWeight::get().writes(6))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn update_roles() -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
+ // Measured: `498`
// Estimated: `3719`
- // Minimum execution time: 17_975_000 picoseconds.
- Weight::from_parts(18_549_000, 3719)
- .saturating_add(T::DbWeight::get().reads(1_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Minimum execution time: 60_439_000 picoseconds.
+ Weight::from_parts(61_394_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:0)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0)
@@ -558,12 +583,13 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn chill() -> Weight {
// Proof Size summary in bytes:
- // Measured: `2143`
- // Estimated: `4556`
- // Minimum execution time: 81_574_000 picoseconds.
- Weight::from_parts(83_519_000, 4556)
- .saturating_add(T::DbWeight::get().reads(11_u64))
- .saturating_add(T::DbWeight::get().writes(5_u64))
+ // Measured: `1888`
+ // Estimated: `4275`
+ // Minimum execution time: 268_872_000 picoseconds.
+ Weight::from_parts(272_408_000, 0)
+ .saturating_add(Weight::from_parts(0, 4275))
+ .saturating_add(T::DbWeight::get().reads(11))
+ .saturating_add(T::DbWeight::get().writes(5))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
@@ -575,12 +601,13 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn set_commission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `804`
+ // Measured: `732`
// Estimated: `3719`
- // Minimum execution time: 35_015_000 picoseconds.
- Weight::from_parts(36_159_000, 3719)
- .saturating_add(T::DbWeight::get().reads(4_u64))
- .saturating_add(T::DbWeight::get().writes(2_u64))
+ // Minimum execution time: 115_184_000 picoseconds.
+ Weight::from_parts(116_142_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(T::DbWeight::get().reads(4))
+ .saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
@@ -588,47 +615,51 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_commission_max() -> Weight {
// Proof Size summary in bytes:
- // Measured: `572`
+ // Measured: `538`
// Estimated: `3719`
- // Minimum execution time: 17_775_000 picoseconds.
- Weight::from_parts(18_358_000, 3719)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Minimum execution time: 61_638_000 picoseconds.
+ Weight::from_parts(62_617_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_change_rate() -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
+ // Measured: `498`
// Estimated: `3719`
- // Minimum execution time: 16_997_000 picoseconds.
- Weight::from_parts(18_041_000, 3719)
- .saturating_add(T::DbWeight::get().reads(1_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Minimum execution time: 60_942_000 picoseconds.
+ Weight::from_parts(61_574_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_claim_permission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
+ // Measured: `498`
// Estimated: `3719`
- // Minimum execution time: 17_000_000 picoseconds.
- Weight::from_parts(17_807_000, 3719)
- .saturating_add(T::DbWeight::get().reads(1_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Minimum execution time: 60_071_000 picoseconds.
+ Weight::from_parts(60_348_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(T::DbWeight::get().reads(1))
+ .saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:0)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:1)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
fn set_claim_permission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `542`
- // Estimated: `3702`
- // Minimum execution time: 14_803_000 picoseconds.
- Weight::from_parts(15_401_000, 3702)
- .saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().writes(1_u64))
+ // Measured: `508`
+ // Estimated: `4182`
+ // Minimum execution time: 50_748_000 picoseconds.
+ Weight::from_parts(51_204_000, 0)
+ .saturating_add(Weight::from_parts(0, 4182))
+ .saturating_add(T::DbWeight::get().reads(2))
+ .saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
@@ -640,44 +671,46 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_commission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1002`
+ // Measured: `859`
// Estimated: `3719`
- // Minimum execution time: 69_759_000 picoseconds.
- Weight::from_parts(71_985_000, 3719)
- .saturating_add(T::DbWeight::get().reads(4_u64))
- .saturating_add(T::DbWeight::get().writes(2_u64))
+ // Minimum execution time: 227_492_000 picoseconds.
+ Weight::from_parts(229_857_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(T::DbWeight::get().reads(4))
+ .saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:1)
- /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// 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:0)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
fn adjust_pool_deposit() -> Weight {
// Proof Size summary in bytes:
- // Measured: `901`
+ // Measured: `758`
// Estimated: `4764`
- // Minimum execution time: 73_829_000 picoseconds.
- Weight::from_parts(75_966_000, 4764)
- .saturating_add(T::DbWeight::get().reads(4_u64))
- .saturating_add(T::DbWeight::get().writes(2_u64))
+ // Minimum execution time: 254_010_000 picoseconds.
+ Weight::from_parts(256_588_000, 0)
+ .saturating_add(Weight::from_parts(0, 4764))
+ .saturating_add(T::DbWeight::get().reads(4))
+ .saturating_add(T::DbWeight::get().writes(2))
}
}
// For backwards compatibility and tests.
impl WeightInfo for () {
- /// Storage: `NominationPools::MinJoinBond` (r:1 w:0)
+ /// Storage: `NominationPools::MinJoinBond` (r:1 w:0)
/// Proof: `NominationPools::MinJoinBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@@ -690,10 +723,12 @@ impl WeightInfo for () {
/// Proof: `NominationPools::MaxPoolMembers` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForPoolMembers` (r:1 w:1)
/// Proof: `NominationPools::CounterForPoolMembers` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
@@ -702,15 +737,16 @@ impl WeightInfo for () {
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn join() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3425`
+ // Measured: `3131`
// Estimated: `8877`
- // Minimum execution time: 201_783_000 picoseconds.
- Weight::from_parts(206_014_000, 8877)
- .saturating_add(RocksDbWeight::get().reads(20_u64))
- .saturating_add(RocksDbWeight::get().writes(13_u64))
+ // Minimum execution time: 675_995_000 picoseconds.
+ Weight::from_parts(699_299_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(RocksDbWeight::get().reads(21))
+ .saturating_add(RocksDbWeight::get().writes(13))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -722,11 +758,13 @@ impl WeightInfo for () {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
@@ -735,17 +773,18 @@ impl WeightInfo for () {
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3435`
+ // Measured: `3091`
// Estimated: `8877`
- // Minimum execution time: 204_124_000 picoseconds.
- Weight::from_parts(207_910_000, 8877)
- .saturating_add(RocksDbWeight::get().reads(17_u64))
- .saturating_add(RocksDbWeight::get().writes(13_u64))
+ // Minimum execution time: 673_497_000 picoseconds.
+ Weight::from_parts(686_322_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(RocksDbWeight::get().reads(18))
+ .saturating_add(RocksDbWeight::get().writes(13))
}
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:0)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -757,11 +796,13 @@ impl WeightInfo for () {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
@@ -770,17 +811,18 @@ impl WeightInfo for () {
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_other() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3500`
+ // Measured: `3156`
// Estimated: `8877`
- // Minimum execution time: 240_342_000 picoseconds.
- Weight::from_parts(245_735_000, 8877)
- .saturating_add(RocksDbWeight::get().reads(18_u64))
- .saturating_add(RocksDbWeight::get().writes(14_u64))
+ // Minimum execution time: 809_985_000 picoseconds.
+ Weight::from_parts(823_279_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(RocksDbWeight::get().reads(19))
+ .saturating_add(RocksDbWeight::get().writes(14))
}
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:0)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -791,15 +833,16 @@ impl WeightInfo for () {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_payout() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1172`
- // Estimated: `3719`
- // Minimum execution time: 81_054_000 picoseconds.
- Weight::from_parts(83_324_000, 3719)
- .saturating_add(RocksDbWeight::get().reads(6_u64))
- .saturating_add(RocksDbWeight::get().writes(4_u64))
+ // Measured: `1029`
+ // Estimated: `4182`
+ // Minimum execution time: 263_303_000 picoseconds.
+ Weight::from_parts(265_404_000, 0)
+ .saturating_add(Weight::from_parts(0, 4182))
+ .saturating_add(RocksDbWeight::get().reads(6))
+ .saturating_add(RocksDbWeight::get().writes(4))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -807,7 +850,7 @@ impl WeightInfo for () {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
/// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:2 w:1)
@@ -818,39 +861,44 @@ impl WeightInfo for () {
/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
- /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(24382), added: 26857, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(225), added: 2700, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForSubPoolsStorage` (r:1 w:1)
/// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn unbond() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3622`
- // Estimated: `27847`
- // Minimum execution time: 188_835_000 picoseconds.
- Weight::from_parts(192_565_000, 27847)
- .saturating_add(RocksDbWeight::get().reads(20_u64))
- .saturating_add(RocksDbWeight::get().writes(13_u64))
+ // Measured: `3324`
+ // Estimated: `8877`
+ // Minimum execution time: 605_438_000 picoseconds.
+ Weight::from_parts(618_067_000, 0)
+ .saturating_add(Weight::from_parts(0, 8877))
+ .saturating_add(RocksDbWeight::get().reads(21))
+ .saturating_add(RocksDbWeight::get().writes(13))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::TotalValueLocked` (r:1 w:1)
@@ -858,31 +906,34 @@ impl WeightInfo for () {
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1848`
+ // Measured: `1630`
// Estimated: `4764`
- // Minimum execution time: 73_556_000 picoseconds.
- Weight::from_parts(76_075_881, 4764)
- // Standard Error: 1_419
- .saturating_add(Weight::from_parts(54_476, 0).saturating_mul(s.into()))
- .saturating_add(RocksDbWeight::get().reads(8_u64))
- .saturating_add(RocksDbWeight::get().writes(3_u64))
+ // Minimum execution time: 254_464_000 picoseconds.
+ Weight::from_parts(258_835_843, 0)
+ .saturating_add(Weight::from_parts(0, 4764))
+ // Standard Error: 8_591
+ .saturating_add(Weight::from_parts(105_003, 0).saturating_mul(s.into()))
+ .saturating_add(RocksDbWeight::get().reads(9))
+ .saturating_add(RocksDbWeight::get().writes(3))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
- /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(24382), added: 26857, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(225), added: 2700, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, 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(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
@@ -896,33 +947,36 @@ impl WeightInfo for () {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `2238`
- // Estimated: `27847`
- // Minimum execution time: 144_177_000 picoseconds.
- Weight::from_parts(148_686_524, 27847)
- // Standard Error: 2_475
- .saturating_add(Weight::from_parts(77_460, 0).saturating_mul(s.into()))
- .saturating_add(RocksDbWeight::get().reads(12_u64))
- .saturating_add(RocksDbWeight::get().writes(9_u64))
+ // Measured: `2020`
+ // Estimated: `4764`
+ // Minimum execution time: 493_281_000 picoseconds.
+ Weight::from_parts(506_171_764, 0)
+ .saturating_add(Weight::from_parts(0, 4764))
+ // Standard Error: 12_285
+ .saturating_add(Weight::from_parts(142_307, 0).saturating_mul(s.into()))
+ .saturating_add(RocksDbWeight::get().reads(13))
+ .saturating_add(RocksDbWeight::get().writes(9))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
- /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(24382), added: 26857, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(225), added: 2700, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::SlashingSpans` (r:1 w:0)
/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:1)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:2 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:2 w:1)
- /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:2 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0)
@@ -944,7 +998,7 @@ impl WeightInfo for () {
/// Storage: `NominationPools::CounterForSubPoolsStorage` (r:1 w:1)
/// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::Metadata` (r:1 w:1)
- /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(270), added: 2745, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForBondedPools` (r:1 w:1)
/// Proof: `NominationPools::CounterForBondedPools` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::Payee` (r:0 w:1)
@@ -954,14 +1008,15 @@ impl WeightInfo for () {
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `2525`
- // Estimated: `27847`
- // Minimum execution time: 255_957_000 picoseconds.
- Weight::from_parts(264_206_788, 27847)
- // Standard Error: 4_229
- .saturating_add(Weight::from_parts(3_064, 0).saturating_mul(s.into()))
- .saturating_add(RocksDbWeight::get().reads(24_u64))
- .saturating_add(RocksDbWeight::get().writes(20_u64))
+ // Measured: `2161`
+ // Estimated: `8538`
+ // Minimum execution time: 865_348_000 picoseconds.
+ Weight::from_parts(883_136_957, 0)
+ .saturating_add(Weight::from_parts(0, 8538))
+ // Standard Error: 6_363
+ .saturating_add(Weight::from_parts(5_929, 0).saturating_mul(s.into()))
+ .saturating_add(RocksDbWeight::get().reads(25))
+ .saturating_add(RocksDbWeight::get().writes(21))
}
/// Storage: `NominationPools::LastPoolId` (r:1 w:1)
/// Proof: `NominationPools::LastPoolId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -976,7 +1031,7 @@ impl WeightInfo for () {
/// Storage: `NominationPools::CounterForBondedPools` (r:1 w:1)
/// Proof: `NominationPools::CounterForBondedPools` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::MaxPoolMembersPerPool` (r:1 w:0)
/// Proof: `NominationPools::MaxPoolMembersPerPool` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::MaxPoolMembers` (r:1 w:0)
@@ -988,11 +1043,13 @@ impl WeightInfo for () {
/// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
+ /// Storage: `Staking::VirtualStakers` (r:1 w:0)
+ /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:2 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:2 w:1)
- /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::TotalValueLocked` (r:1 w:1)
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
@@ -1009,21 +1066,22 @@ impl WeightInfo for () {
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
fn create() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1284`
+ // Measured: `1014`
// Estimated: `8538`
- // Minimum execution time: 193_527_000 picoseconds.
- Weight::from_parts(197_140_000, 8538)
- .saturating_add(RocksDbWeight::get().reads(24_u64))
- .saturating_add(RocksDbWeight::get().writes(17_u64))
+ // Minimum execution time: 688_074_000 picoseconds.
+ Weight::from_parts(701_165_000, 0)
+ .saturating_add(Weight::from_parts(0, 8538))
+ .saturating_add(RocksDbWeight::get().reads(25))
+ .saturating_add(RocksDbWeight::get().writes(17))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:0)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::MinCreateBond` (r:1 w:0)
@@ -1049,15 +1107,16 @@ impl WeightInfo for () {
/// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1976`
- // Estimated: `4556 + n * (2520 ±0)`
- // Minimum execution time: 86_054_000 picoseconds.
- Weight::from_parts(88_743_932, 4556)
- // Standard Error: 12_699
- .saturating_add(Weight::from_parts(1_829_097, 0).saturating_mul(n.into()))
- .saturating_add(RocksDbWeight::get().reads(15_u64))
+ // Measured: `1721`
+ // Estimated: `4275 + n * (2520 ±0)`
+ // Minimum execution time: 291_788_000 picoseconds.
+ Weight::from_parts(293_013_286, 0)
+ .saturating_add(Weight::from_parts(0, 4275))
+ // Standard Error: 44_444
+ .saturating_add(Weight::from_parts(5_296_236, 0).saturating_mul(n.into()))
+ .saturating_add(RocksDbWeight::get().reads(15))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
- .saturating_add(RocksDbWeight::get().writes(5_u64))
+ .saturating_add(RocksDbWeight::get().writes(5))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into()))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
@@ -1065,33 +1124,33 @@ impl WeightInfo for () {
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
fn set_state() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1434`
- // Estimated: `4556`
- // Minimum execution time: 34_544_000 picoseconds.
- Weight::from_parts(35_910_000, 4556)
- .saturating_add(RocksDbWeight::get().reads(3_u64))
- .saturating_add(RocksDbWeight::get().writes(1_u64))
+ // Measured: `1216`
+ // Estimated: `4275`
+ // Minimum execution time: 109_871_000 picoseconds.
+ Weight::from_parts(110_997_000, 0)
+ .saturating_add(Weight::from_parts(0, 4275))
+ .saturating_add(RocksDbWeight::get().reads(3))
+ .saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::Metadata` (r:1 w:1)
- /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(270), added: 2745, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForMetadata` (r:1 w:1)
/// Proof: `NominationPools::CounterForMetadata` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
- /// The range of component `n` is `[1, 256]`.
- fn set_metadata(n: u32, ) -> Weight {
+ /// The range of component `n` is `[1, 128]`.
+ fn set_metadata(_n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
- // Estimated: `3735`
- // Minimum execution time: 14_111_000 picoseconds.
- Weight::from_parts(15_204_218, 3735)
- // Standard Error: 226
- .saturating_add(Weight::from_parts(1_291, 0).saturating_mul(n.into()))
- .saturating_add(RocksDbWeight::get().reads(3_u64))
- .saturating_add(RocksDbWeight::get().writes(2_u64))
+ // Measured: `498`
+ // Estimated: `3719`
+ // Minimum execution time: 50_309_000 picoseconds.
+ Weight::from_parts(52_003_011, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(RocksDbWeight::get().reads(3))
+ .saturating_add(RocksDbWeight::get().writes(2))
}
/// Storage: `NominationPools::MinJoinBond` (r:0 w:1)
/// Proof: `NominationPools::MinJoinBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
@@ -1109,29 +1168,31 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_524_000 picoseconds.
- Weight::from_parts(4_882_000, 0)
- .saturating_add(RocksDbWeight::get().writes(6_u64))
+ // Minimum execution time: 14_703_000 picoseconds.
+ Weight::from_parts(15_172_000, 0)
+ .saturating_add(Weight::from_parts(0, 0))
+ .saturating_add(RocksDbWeight::get().writes(6))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn update_roles() -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
+ // Measured: `498`
// Estimated: `3719`
- // Minimum execution time: 17_975_000 picoseconds.
- Weight::from_parts(18_549_000, 3719)
- .saturating_add(RocksDbWeight::get().reads(1_u64))
- .saturating_add(RocksDbWeight::get().writes(1_u64))
+ // Minimum execution time: 60_439_000 picoseconds.
+ Weight::from_parts(61_394_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(RocksDbWeight::get().reads(1))
+ .saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:0)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
+ /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0)
@@ -1148,12 +1209,13 @@ impl WeightInfo for () {
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn chill() -> Weight {
// Proof Size summary in bytes:
- // Measured: `2143`
- // Estimated: `4556`
- // Minimum execution time: 81_574_000 picoseconds.
- Weight::from_parts(83_519_000, 4556)
- .saturating_add(RocksDbWeight::get().reads(11_u64))
- .saturating_add(RocksDbWeight::get().writes(5_u64))
+ // Measured: `1888`
+ // Estimated: `4275`
+ // Minimum execution time: 268_872_000 picoseconds.
+ Weight::from_parts(272_408_000, 0)
+ .saturating_add(Weight::from_parts(0, 4275))
+ .saturating_add(RocksDbWeight::get().reads(11))
+ .saturating_add(RocksDbWeight::get().writes(5))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
@@ -1165,12 +1227,13 @@ impl WeightInfo for () {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn set_commission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `804`
+ // Measured: `732`
// Estimated: `3719`
- // Minimum execution time: 35_015_000 picoseconds.
- Weight::from_parts(36_159_000, 3719)
- .saturating_add(RocksDbWeight::get().reads(4_u64))
- .saturating_add(RocksDbWeight::get().writes(2_u64))
+ // Minimum execution time: 115_184_000 picoseconds.
+ Weight::from_parts(116_142_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(RocksDbWeight::get().reads(4))
+ .saturating_add(RocksDbWeight::get().writes(2))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
@@ -1178,47 +1241,51 @@ impl WeightInfo for () {
/// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_commission_max() -> Weight {
// Proof Size summary in bytes:
- // Measured: `572`
+ // Measured: `538`
// Estimated: `3719`
- // Minimum execution time: 17_775_000 picoseconds.
- Weight::from_parts(18_358_000, 3719)
- .saturating_add(RocksDbWeight::get().reads(2_u64))
- .saturating_add(RocksDbWeight::get().writes(1_u64))
+ // Minimum execution time: 61_638_000 picoseconds.
+ Weight::from_parts(62_617_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(RocksDbWeight::get().reads(2))
+ .saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_change_rate() -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
+ // Measured: `498`
// Estimated: `3719`
- // Minimum execution time: 16_997_000 picoseconds.
- Weight::from_parts(18_041_000, 3719)
- .saturating_add(RocksDbWeight::get().reads(1_u64))
- .saturating_add(RocksDbWeight::get().writes(1_u64))
+ // Minimum execution time: 60_942_000 picoseconds.
+ Weight::from_parts(61_574_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(RocksDbWeight::get().reads(1))
+ .saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_claim_permission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `532`
+ // Measured: `498`
// Estimated: `3719`
- // Minimum execution time: 17_000_000 picoseconds.
- Weight::from_parts(17_807_000, 3719)
- .saturating_add(RocksDbWeight::get().reads(1_u64))
- .saturating_add(RocksDbWeight::get().writes(1_u64))
+ // Minimum execution time: 60_071_000 picoseconds.
+ Weight::from_parts(60_348_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(RocksDbWeight::get().reads(1))
+ .saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:0)
- /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(237), added: 2712, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:1)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
fn set_claim_permission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `542`
- // Estimated: `3702`
- // Minimum execution time: 14_803_000 picoseconds.
- Weight::from_parts(15_401_000, 3702)
- .saturating_add(RocksDbWeight::get().reads(2_u64))
- .saturating_add(RocksDbWeight::get().writes(1_u64))
+ // Measured: `508`
+ // Estimated: `4182`
+ // Minimum execution time: 50_748_000 picoseconds.
+ Weight::from_parts(51_204_000, 0)
+ .saturating_add(Weight::from_parts(0, 4182))
+ .saturating_add(RocksDbWeight::get().reads(2))
+ .saturating_add(RocksDbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
@@ -1230,28 +1297,30 @@ impl WeightInfo for () {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_commission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1002`
+ // Measured: `859`
// Estimated: `3719`
- // Minimum execution time: 69_759_000 picoseconds.
- Weight::from_parts(71_985_000, 3719)
- .saturating_add(RocksDbWeight::get().reads(4_u64))
- .saturating_add(RocksDbWeight::get().writes(2_u64))
+ // Minimum execution time: 227_492_000 picoseconds.
+ Weight::from_parts(229_857_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
+ .saturating_add(RocksDbWeight::get().reads(4))
+ .saturating_add(RocksDbWeight::get().writes(2))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:1)
- /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// 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:0)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
fn adjust_pool_deposit() -> Weight {
// Proof Size summary in bytes:
- // Measured: `901`
+ // Measured: `758`
// Estimated: `4764`
- // Minimum execution time: 73_829_000 picoseconds.
- Weight::from_parts(75_966_000, 4764)
- .saturating_add(RocksDbWeight::get().reads(4_u64))
- .saturating_add(RocksDbWeight::get().writes(2_u64))
+ // Minimum execution time: 254_010_000 picoseconds.
+ Weight::from_parts(256_588_000, 0)
+ .saturating_add(Weight::from_parts(0, 4764))
+ .saturating_add(RocksDbWeight::get().reads(4))
+ .saturating_add(RocksDbWeight::get().writes(2))
}
}
diff --git a/pallets/sudo/Cargo.toml b/pallets/sudo/Cargo.toml
index 255adc9..00a9e2a 100644
--- a/pallets/sudo/Cargo.toml
+++ b/pallets/sudo/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ghost-sudo"
-version = "0.0.2"
+version = "0.0.3"
description = "Port of the sudo pallet because of dependencies issue"
license.workspace = true
authors.workspace = true
diff --git a/pallets/sudo/src/weights.rs b/pallets/sudo/src/weights.rs
index d0682b4..3146693 100644
--- a/pallets/sudo/src/weights.rs
+++ b/pallets/sudo/src/weights.rs
@@ -16,7 +16,7 @@
//! Autogenerated weights for `ghost_sudo`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
-//! DATE: 2025-07-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2026-09-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@@ -28,7 +28,7 @@
// --chain=casper-dev
// --steps=50
// --repeat=20
-// --pallet=ghost-sudo
+// --pallet=ghost_sudo
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
@@ -41,7 +41,7 @@
#![allow(missing_docs)]
use frame_support::{
- traits::Get,
+ traits::Get,
weights::{Weight, constants::RocksDbWeight},
};
use core::marker::PhantomData;
@@ -57,14 +57,14 @@ pub trait WeightInfo {
/// Weight functions for `ghost_sudo`.
pub struct SubstrateWeight(PhantomData);
impl WeightInfo for SubstrateWeight {
- /// Storage: `GhostSudo::Key` (r:1 w:1)
+ /// Storage: `GhostSudo::Key` (r:1 w:1)
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn set_key() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 40_014_000 picoseconds.
- Weight::from_parts(40_856_000, 0)
+ // Minimum execution time: 38_841_000 picoseconds.
+ Weight::from_parts(39_982_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -73,10 +73,10 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn sudo() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 44_086_000 picoseconds.
- Weight::from_parts(45_920_000, 0)
+ // Minimum execution time: 42_412_000 picoseconds.
+ Weight::from_parts(43_446_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1))
}
@@ -84,10 +84,10 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn sudo_as() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 44_106_000 picoseconds.
- Weight::from_parts(44_650_000, 0)
+ // Minimum execution time: 43_006_000 picoseconds.
+ Weight::from_parts(43_886_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1))
}
@@ -95,10 +95,10 @@ impl WeightInfo for SubstrateWeight {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn remove_key() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 36_416_000 picoseconds.
- Weight::from_parts(37_373_000, 0)
+ // Minimum execution time: 35_731_000 picoseconds.
+ Weight::from_parts(36_443_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -107,14 +107,14 @@ impl WeightInfo for SubstrateWeight {
// For backwards compatibility and tests.
impl WeightInfo for () {
- /// Storage: `GhostSudo::Key` (r:1 w:1)
+ /// Storage: `GhostSudo::Key` (r:1 w:1)
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn set_key() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 40_014_000 picoseconds.
- Weight::from_parts(40_856_000, 0)
+ // Minimum execution time: 38_841_000 picoseconds.
+ Weight::from_parts(39_982_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))
@@ -123,10 +123,10 @@ impl WeightInfo for () {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn sudo() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 44_086_000 picoseconds.
- Weight::from_parts(45_920_000, 0)
+ // Minimum execution time: 42_412_000 picoseconds.
+ Weight::from_parts(43_446_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(RocksDbWeight::get().reads(1))
}
@@ -134,10 +134,10 @@ impl WeightInfo for () {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn sudo_as() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 44_106_000 picoseconds.
- Weight::from_parts(44_650_000, 0)
+ // Minimum execution time: 43_006_000 picoseconds.
+ Weight::from_parts(43_886_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(RocksDbWeight::get().reads(1))
}
@@ -145,10 +145,10 @@ impl WeightInfo for () {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn remove_key() -> Weight {
// Proof Size summary in bytes:
- // Measured: `165`
+ // Measured: `98`
// Estimated: `1517`
- // Minimum execution time: 36_416_000 picoseconds.
- Weight::from_parts(37_373_000, 0)
+ // Minimum execution time: 35_731_000 picoseconds.
+ Weight::from_parts(36_443_000, 0)
.saturating_add(Weight::from_parts(0, 1517))
.saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1))