weights benchmarked based on reference machine

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-09-05 12:39:37 +03:00
parent 613b09ac6a
commit 90dfc76581
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
33 changed files with 1819 additions and 1160 deletions

32
Cargo.lock generated
View File

@ -1195,7 +1195,7 @@ dependencies = [
[[package]] [[package]]
name = "casper-runtime" name = "casper-runtime"
version = "4.0.0" version = "4.0.3"
dependencies = [ dependencies = [
"casper-runtime-constants", "casper-runtime-constants",
"frame-benchmarking", "frame-benchmarking",
@ -1281,7 +1281,7 @@ dependencies = [
[[package]] [[package]]
name = "casper-runtime-constants" name = "casper-runtime-constants"
version = "0.4.0" version = "0.4.3"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"ghost-core-primitives", "ghost-core-primitives",
@ -3628,7 +3628,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-cli" name = "ghost-cli"
version = "0.9.0" version = "0.9.1"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"clap 4.5.4", "clap 4.5.4",
@ -3684,7 +3684,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-exodus" name = "ghost-exodus"
version = "0.0.0" version = "0.0.2"
dependencies = [ dependencies = [
"chacha20poly1305", "chacha20poly1305",
"frame-benchmarking", "frame-benchmarking",
@ -3733,7 +3733,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-governance" name = "ghost-governance"
version = "0.3.0" version = "0.3.2"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@ -3741,7 +3741,7 @@ dependencies = [
"ghost-helpers", "ghost-helpers",
"ghost-networks", "ghost-networks",
"ghost-traits", "ghost-traits",
"hex", "hex-literal",
"libsecp256k1", "libsecp256k1",
"pallet-balances", "pallet-balances",
"parity-scale-codec", "parity-scale-codec",
@ -3757,7 +3757,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-helpers" name = "ghost-helpers"
version = "0.0.5" version = "0.0.6"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"ghost-traits", "ghost-traits",
@ -3775,7 +3775,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-machine-primitives" name = "ghost-machine-primitives"
version = "0.9.0" version = "0.9.1"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
"sc-sysinfo", "sc-sysinfo",
@ -3784,7 +3784,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-metrics" name = "ghost-metrics"
version = "0.9.0" version = "0.9.1"
dependencies = [ dependencies = [
"assert_cmd", "assert_cmd",
"bs58 0.5.1", "bs58 0.5.1",
@ -3839,7 +3839,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-networks" name = "ghost-networks"
version = "0.2.7" version = "0.2.8"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@ -3862,7 +3862,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-node" name = "ghost-node"
version = "0.9.0" version = "0.9.1"
dependencies = [ dependencies = [
"assert_cmd", "assert_cmd",
"color-eyre", "color-eyre",
@ -3945,7 +3945,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-rpc" name = "ghost-rpc"
version = "0.9.0" version = "0.9.1"
dependencies = [ dependencies = [
"ghost-core-primitives", "ghost-core-primitives",
"jsonrpsee", "jsonrpsee",
@ -3974,7 +3974,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-service" name = "ghost-service"
version = "0.9.0" version = "0.9.1"
dependencies = [ dependencies = [
"assert_matches", "assert_matches",
"async-trait", "async-trait",
@ -4085,7 +4085,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-traits" name = "ghost-traits"
version = "0.4.2" version = "0.4.3"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frost-core", "frost-core",
@ -4109,7 +4109,7 @@ dependencies = [
[[package]] [[package]]
name = "ghost-weaver" name = "ghost-weaver"
version = "0.0.0" version = "0.0.2"
dependencies = [ dependencies = [
"frame-benchmarking", "frame-benchmarking",
"frame-support", "frame-support",
@ -8553,7 +8553,7 @@ dependencies = [
[[package]] [[package]]
name = "runtime-common" name = "runtime-common"
version = "0.4.5" version = "0.4.8"
dependencies = [ dependencies = [
"frame-support", "frame-support",
"frame-system", "frame-system",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime" name = "casper-runtime"
version = "4.0.2" version = "4.0.3"
build = "build.rs" build = "build.rs"
description = "Runtime of the Casper Network" description = "Runtime of the Casper Network"
edition.workspace = true edition.workspace = true

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime-constants" name = "casper-runtime-constants"
version = "0.4.2" version = "0.4.3"
authors.workspace = true authors.workspace = true
edition.workspace = true edition.workspace = true
homepage.workspace = true homepage.workspace = true

View File

@ -14,10 +14,10 @@
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>. // along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2026-08-31 (Y/M/D) //! DATE: 2026-09-02 (Y/M/D)
//! HOSTNAME: `LAPTOP-IOUQRLAP`, CPU: `AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! //!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Casper Local Testnet`
//! WARMUPS: `10`, REPEAT: `100` //! WARMUPS: `10`, REPEAT: `100`
//! WEIGHT-PATH: `./runtime/casper/constants/src/weights/` //! WEIGHT-PATH: `./runtime/casper/constants/src/weights/`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` //! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
@ -26,7 +26,7 @@
// ./target/release/ghost // ./target/release/ghost
// benchmark // benchmark
// overhead // overhead
// --chain=casper-dev // --chain=casper-local
// --wasm-execution=compiled // --wasm-execution=compiled
// --weight-path=./runtime/casper/constants/src/weights/ // --weight-path=./runtime/casper/constants/src/weights/
// --header=./file_header.txt // --header=./file_header.txt
@ -41,17 +41,17 @@ parameter_types! {
/// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// Calculated by multiplying the *Average* with `1.0` and adding `0`.
/// ///
/// Stats nanoseconds: /// Stats nanoseconds:
/// Min, Max: 553_400, 1_996_400 /// Min, Max: 1_042_579, 1_101_962
/// Average: 771_526 /// Average: 1_054_295
/// Median: 680_500 /// Median: 1_051_534
/// Std-Dev: 248209.17 /// Std-Dev: 9476.68
/// ///
/// Percentiles nanoseconds: /// Percentiles nanoseconds:
/// 99th: 1_652_700 /// 99th: 1_091_162
/// 95th: 1_212_900 /// 95th: 1_069_117
/// 75th: 849_300 /// 75th: 1_057_964
pub const BlockExecutionWeight: Weight = pub const BlockExecutionWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(771_526), 0); Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(1_054_295), 0);
} }
#[cfg(test)] #[cfg(test)]

View File

@ -7,17 +7,17 @@
// Ghost Network is distributed in the hope that it will be useful, // Ghost Network is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // 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. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>. // along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-30 (Y/M/D) //! DATE: 2026-09-02 (Y/M/D)
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! //!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Casper Local Testnet`
//! WARMUPS: `10`, REPEAT: `100` //! WARMUPS: `10`, REPEAT: `100`
//! WEIGHT-PATH: `./runtime/casper/constants/src/weights/` //! WEIGHT-PATH: `./runtime/casper/constants/src/weights/`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` //! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`
@ -26,7 +26,7 @@
// ./target/release/ghost // ./target/release/ghost
// benchmark // benchmark
// overhead // overhead
// --chain=casper-dev // --chain=casper-local
// --wasm-execution=compiled // --wasm-execution=compiled
// --weight-path=./runtime/casper/constants/src/weights/ // --weight-path=./runtime/casper/constants/src/weights/
// --header=./file_header.txt // --header=./file_header.txt
@ -37,43 +37,43 @@ use sp_core::parameter_types;
use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight};
parameter_types! { parameter_types! {
/// Time to execute a NO-OP extrinsic, for example `System::remark`. /// Time to execute a NO-OP extrinsic, for example `System::remark`.
/// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// Calculated by multiplying the *Average* with `1.0` and adding `0`.
/// ///
/// Stats nanoseconds: /// Stats nanoseconds:
/// Min, Max: 402_868, 1_292_427 /// Min, Max: 378_590, 384_849
/// Average: 565_926 /// Average: 380_658
/// Median: 414_626 /// Median: 380_461
/// Std-Dev: 283192.19 /// Std-Dev: 1202.24
/// ///
/// Percentiles nanoseconds: /// Percentiles nanoseconds:
/// 99th: 1_251_123 /// 99th: 383_191
/// 95th: 1_196_903 /// 95th: 382_552
/// 75th: 491_329 /// 75th: 381_384
pub const ExtrinsicBaseWeight: Weight = pub const ExtrinsicBaseWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(565_926), 0); Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(380_658), 0);
} }
#[cfg(test)] #[cfg(test)]
mod test_weights { mod test_weights {
use sp_weights::constants; use sp_weights::constants;
/// Checks that the weight exists and is sane. /// Checks that the weight exists and is sane.
// NOTE: If this test fails but you are sure that the generated values are fine, // NOTE: If this test fails but you are sure that the generated values are fine,
// you can delete it. // you can delete it.
#[test] #[test]
fn sane() { fn sane() {
let w = super::ExtrinsicBaseWeight::get(); let w = super::ExtrinsicBaseWeight::get();
// At least 10 µs. // At least 10 µs.
assert!( assert!(
w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS,
"Weight should be at least 10 µs." "Weight should be at least 10 µs."
); );
// At most 1 ms. // At most 1 ms.
assert!( assert!(
w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS,
"Weight should be at most 1 ms." "Weight should be at most 1 ms."
); );
} }
} }

View File

@ -7,14 +7,14 @@
// Ghost Network is distributed in the hope that it will be useful, // Ghost Network is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // 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. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>. // along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-30 (Y/M/D) //! DATE: 2026-09-02 (Y/M/D)
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! //!
//! DATABASE: `ParityDb`, RUNTIME: `Development` //! DATABASE: `ParityDb`, RUNTIME: `Development`
@ -37,47 +37,74 @@
/// Storage DB weights for the `Development` runtime and `ParityDb`. /// Storage DB weights for the `Development` runtime and `ParityDb`.
pub mod constants { pub mod constants {
use frame_support::weights::constants; use frame_support::weights::constants;
use sp_core::parameter_types; use sp_core::parameter_types;
use sp_weights::RuntimeDbWeight; use sp_weights::RuntimeDbWeight;
parameter_types! { parameter_types! {
/// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights /// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights
/// are available for brave runtime engineers who may want to try this out as default. /// are available for brave runtime engineers who may want to try this out as default.
pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight {
read: 40_820 * constants::WEIGHT_REF_TIME_PER_NANOS, /// Time to read one storage item.
write: 293_659 * constants::WEIGHT_REF_TIME_PER_NANOS, /// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
}; ///
} /// Stats nanoseconds:
/// Min, Max: 3_485, 2_000_385
/// Average: 26_775
/// Median: 4_870
/// Std-Dev: 205784.16
///
/// Percentiles nanoseconds:
/// 99th: 2_000_385
/// 95th: 6_002
/// 75th: 5_246
read: 29_453 * constants::WEIGHT_REF_TIME_PER_NANOS,
#[cfg(test)] /// Time to write one storage item.
mod test_db_weights { /// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
use super::constants::ParityDbWeight as W; ///
use sp_weights::constants; /// Stats nanoseconds:
/// Min, Max: 16_322, 25_965_124
/// Average: 308_302
/// Median: 29_481
/// Std-Dev: 2674917.65
///
/// Percentiles nanoseconds:
/// 99th: 25_965_124
/// 95th: 42_210
/// 75th: 33_525
write: 339_133 * constants::WEIGHT_REF_TIME_PER_NANOS,
};
}
/// Checks that all weights exist and have sane values. #[cfg(test)]
// NOTE: If this test fails but you are sure that the generated values are fine, mod test_db_weights {
// you can delete it. use super::constants::ParityDbWeight as W;
#[test] use sp_weights::constants;
fn bound() {
// At least 1 µs. /// Checks that all weights exist and have sane values.
assert!( // NOTE: If this test fails but you are sure that the generated values are fine,
W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, // you can delete it.
"Read weight should be at least 1 µs." #[test]
); fn bound() {
assert!( // At least 1 µs.
W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, assert!(
"Write weight should be at least 1 µs." W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS,
); "Read weight should be at least 1 µs."
// At most 1 ms. );
assert!( assert!(
W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS,
"Read weight should be at most 1 ms." "Write weight should be at least 1 µs."
); );
assert!( // At most 1 ms.
W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, assert!(
"Write weight should be at most 1 ms." W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS,
); "Read weight should be at most 1 ms."
} );
} assert!(
W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS,
"Write weight should be at most 1 ms."
);
}
}
} }

View File

@ -7,14 +7,14 @@
// Ghost Network is distributed in the hope that it will be useful, // Ghost Network is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // 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. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>. // along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-07-30 (Y/M/D) //! DATE: 2026-09-02 (Y/M/D)
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! //!
//! DATABASE: `RocksDb`, RUNTIME: `Development` //! DATABASE: `RocksDb`, RUNTIME: `Development`
@ -36,47 +36,74 @@
/// Storage DB weights for the `Development` runtime and `RocksDb`. /// Storage DB weights for the `Development` runtime and `RocksDb`.
pub mod constants { pub mod constants {
use frame_support::weights::constants; use frame_support::weights::constants;
use sp_core::parameter_types; use sp_core::parameter_types;
use sp_weights::RuntimeDbWeight; use sp_weights::RuntimeDbWeight;
parameter_types! { parameter_types! {
/// By default, Substrate uses `RocksDB`, so this will be the weight used throughout /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout
/// the runtime. /// the runtime.
pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight {
read: 31_627 * constants::WEIGHT_REF_TIME_PER_NANOS, /// Time to read one storage item.
write: 412_279 * constants::WEIGHT_REF_TIME_PER_NANOS, /// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
}; ///
} /// Stats nanoseconds:
/// Min, Max: 6_726, 2_902_682
/// Average: 41_735
/// Median: 10_059
/// Std-Dev: 298297.77
///
/// Percentiles nanoseconds:
/// 99th: 2_902_682
/// 95th: 14_199
/// 75th: 11_422
read: 45_909 * constants::WEIGHT_REF_TIME_PER_NANOS,
#[cfg(test)] /// Time to write one storage item.
mod test_db_weights { /// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
use super::constants::RocksDbWeight as W; ///
use sp_weights::constants; /// Stats nanoseconds:
/// Min, Max: 31_214, 45_912_915
/// Average: 545_878
/// Median: 51_543
/// Std-Dev: 4729852.98
///
/// Percentiles nanoseconds:
/// 99th: 45_912_915
/// 95th: 68_658
/// 75th: 58_683
write: 600_466 * constants::WEIGHT_REF_TIME_PER_NANOS,
};
}
/// Checks that all weights exist and have sane values. #[cfg(test)]
// NOTE: If this test fails but you are sure that the generated values are fine, mod test_db_weights {
// you can delete it. use super::constants::RocksDbWeight as W;
#[test] use sp_weights::constants;
fn bound() {
// At least 1 µs. /// Checks that all weights exist and have sane values.
assert!( // NOTE: If this test fails but you are sure that the generated values are fine,
W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, // you can delete it.
"Read weight should be at least 1 µs." #[test]
); fn bound() {
assert!( // At least 1 µs.
W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, assert!(
"Write weight should be at least 1 µs." W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS,
); "Read weight should be at least 1 µs."
// At most 1 ms. );
assert!( assert!(
W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS,
"Read weight should be at most 1 ms." "Write weight should be at least 1 µs."
); );
assert!( // At most 1 ms.
W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, assert!(
"Write weight should be at most 1 ms." W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS,
); "Read weight should be at most 1 ms."
} );
} assert!(
W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS,
"Write weight should be at most 1 ms."
);
}
}
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_election_provider_support` //! Autogenerated weights for `frame_election_provider_support`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -53,13 +53,13 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 30_317_999_000 picoseconds. // Minimum execution time: 24_300_012_000 picoseconds.
Weight::from_parts(30_380_201_000, 0) Weight::from_parts(24_459_675_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 774_739 // Standard Error: 607_948
.saturating_add(Weight::from_parts(31_260_177, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(25_746_754, 0).saturating_mul(v.into()))
// Standard Error: 79_206_569 // Standard Error: 62_154_459
.saturating_add(Weight::from_parts(8_117_014_928, 0).saturating_mul(d.into())) .saturating_add(Weight::from_parts(6_325_071_042, 0).saturating_mul(d.into()))
} }
/// The range of component `v` is `[1000, 2000]`. /// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`. /// The range of component `t` is `[500, 1000]`.
@ -68,12 +68,12 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 18_925_013_000 picoseconds. // Minimum execution time: 16_861_661_000 picoseconds.
Weight::from_parts(19_106_763_000, 0) Weight::from_parts(17_011_532_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 587_998 // Standard Error: 513_215
.saturating_add(Weight::from_parts(23_371_104, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(20_857_421, 0).saturating_mul(v.into()))
// Standard Error: 60_114_827 // Standard Error: 52_469_314
.saturating_add(Weight::from_parts(6_301_306_614, 0).saturating_mul(d.into())) .saturating_add(Weight::from_parts(5_304_801_368, 0).saturating_mul(d.into()))
} }
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_system` //! Autogenerated weights for `frame_system`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-27, 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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -51,22 +51,22 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 8_939_000 picoseconds. // Minimum execution time: 9_113_000 picoseconds.
Weight::from_parts(9_016_000, 0) Weight::from_parts(9_249_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0 // Standard Error: 0
.saturating_add(Weight::from_parts(1_078, 0).saturating_mul(b.into())) .saturating_add(Weight::from_parts(1_033, 0).saturating_mul(b.into()))
} }
/// The range of component `b` is `[0, 3932160]`. /// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight { fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 23_333_000 picoseconds. // Minimum execution time: 22_773_000 picoseconds.
Weight::from_parts(290_549_964, 0) Weight::from_parts(335_514_071, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 10 // Standard Error: 11
.saturating_add(Weight::from_parts(4_566, 0).saturating_mul(b.into())) .saturating_add(Weight::from_parts(4_426, 0).saturating_mul(b.into()))
} }
/// Storage: `System::Digest` (r:1 w:1) /// Storage: `System::Digest` (r:1 w:1)
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@ -76,8 +76,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `1485` // Estimated: `1485`
// Minimum execution time: 15_355_000 picoseconds. // Minimum execution time: 14_971_000 picoseconds.
Weight::from_parts(15_790_000, 0) Weight::from_parts(15_370_000, 0)
.saturating_add(Weight::from_parts(0, 1485)) .saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -90,8 +90,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `1485` // Estimated: `1485`
// Minimum execution time: 255_524_601_000 picoseconds. // Minimum execution time: 260_590_393_000 picoseconds.
Weight::from_parts(258_199_712_000, 0) Weight::from_parts(263_387_377_000, 0)
.saturating_add(Weight::from_parts(0, 1485)) .saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -103,11 +103,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 9_215_000 picoseconds. // Minimum execution time: 9_070_000 picoseconds.
Weight::from_parts(9_318_000, 0) Weight::from_parts(9_223_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 5_031 // Standard Error: 4_296
.saturating_add(Weight::from_parts(2_103_210, 0).saturating_mul(i.into())) .saturating_add(Weight::from_parts(1_963_767, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
} }
/// Storage: `Skipped::Metadata` (r:0 w:0) /// Storage: `Skipped::Metadata` (r:0 w:0)
@ -117,11 +117,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 9_322_000 picoseconds. // Minimum execution time: 9_318_000 picoseconds.
Weight::from_parts(9_388_000, 0) Weight::from_parts(9_444_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2_220 // Standard Error: 2_037
.saturating_add(Weight::from_parts(1_532_586, 0).saturating_mul(i.into())) .saturating_add(Weight::from_parts(1_461_101, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
} }
/// Storage: `Skipped::Metadata` (r:0 w:0) /// Storage: `Skipped::Metadata` (r:0 w:0)
@ -129,13 +129,13 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[0, 1000]`. /// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight { fn kill_prefix(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `94 + p * (69 ±0)` // Measured: `75 + p * (69 ±0)`
// Estimated: `106 + p * (70 ±0)` // Estimated: `76 + p * (70 ±0)`
// Minimum execution time: 17_579_000 picoseconds. // Minimum execution time: 17_348_000 picoseconds.
Weight::from_parts(17_948_000, 0) Weight::from_parts(17_504_000, 0)
.saturating_add(Weight::from_parts(0, 106)) .saturating_add(Weight::from_parts(0, 76))
// Standard Error: 3_830 // Standard Error: 3_801
.saturating_add(Weight::from_parts(3_108_241, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(3_077_016, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
@ -146,8 +146,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 39_762_000 picoseconds. // Minimum execution time: 37_960_000 picoseconds.
Weight::from_parts(40_602_000, 0) Weight::from_parts(38_858_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -161,8 +161,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `22` // Measured: `22`
// Estimated: `1518` // Estimated: `1518`
// Minimum execution time: 272_767_859_000 picoseconds. // Minimum execution time: 273_489_000_000 picoseconds.
Weight::from_parts(274_769_560_000, 0) Weight::from_parts(275_972_623_000, 0)
.saturating_add(Weight::from_parts(0, 1518)) .saturating_add(Weight::from_parts(0, 1518))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))

View File

@ -0,0 +1,315 @@
// This file is part of Ghost Network.
// 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.
// 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.
// You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `ghost_exodus`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! 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
// Executed Command:
// ./target/release/ghost
// benchmark
// pallet
// --chain=casper-dev
// --steps=50
// --repeat=20
// --pallet=ghost_exodus
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/casper/src/weights/ghost_exodus.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `ghost_exodus`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> ghost_exodus::WeightInfo for WeightInfo<T> {
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:1)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::Round0Packages` (r:0 w:1)
/// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn register_round0_package() -> Weight {
// Proof Size summary in bytes:
// Measured: `351`
// Estimated: `3816`
// Minimum execution time: 242_659_000 picoseconds.
Weight::from_parts(245_035_000, 0)
.saturating_add(Weight::from_parts(0, 3816))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::Round0Packages` (r:1 w:0)
/// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::Round1Packages` (r:1 w:1)
/// Proof: `GhostExodus::Round1Packages` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `c` is `[4, 300]`.
fn register_round1_package(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `391 + c * (32 ±0)`
// Estimated: `3856 + c * (32 ±0)`
// Minimum execution time: 1_386_041_000 picoseconds.
Weight::from_parts(1_278_057_546, 0)
.saturating_add(Weight::from_parts(0, 3856))
// Standard Error: 21_926
.saturating_add(Weight::from_parts(32_899_480, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into()))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::Round2Packages` (r:1 w:1)
/// Proof: `GhostExodus::Round2Packages` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `c` is `[1, 37]`.
fn register_encrypted_round2_packages(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `317 + c * (257 ±0)`
// Estimated: `3783 + c * (257 ±0)`
// Minimum execution time: 258_583_000 picoseconds.
Weight::from_parts(261_056_370, 0)
.saturating_add(Weight::from_parts(0, 3783))
// Standard Error: 24_642
.saturating_add(Weight::from_parts(6_610_853, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into()))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::Complaints` (r:1 w:1)
/// Proof: `GhostExodus::Complaints` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `c` is `[1, 37]`.
fn register_round3_complaints(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `317 + c * (257 ±0)`
// Estimated: `3783 + c * (257 ±0)`
// Minimum execution time: 243_338_000 picoseconds.
Weight::from_parts(247_264_694, 0)
.saturating_add(Weight::from_parts(0, 3783))
// Standard Error: 13_513
.saturating_add(Weight::from_parts(429_554, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into()))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::Justifications` (r:1 w:1)
/// Proof: `GhostExodus::Justifications` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `c` is `[1, 37]`.
fn register_round4_justifications(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `317 + c * (257 ±0)`
// Estimated: `3783 + c * (257 ±0)`
// Minimum execution time: 254_121_000 picoseconds.
Weight::from_parts(255_457_326, 0)
.saturating_add(Weight::from_parts(0, 3783))
// Standard Error: 19_314
.saturating_add(Weight::from_parts(4_177_481, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into()))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::Verifications` (r:1 w:1)
/// Proof: `GhostExodus::Verifications` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::VerifyingKeyConsensus` (r:1 w:1)
/// Proof: `GhostExodus::VerifyingKeyConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn register_round5_verifying_package() -> Weight {
// Proof Size summary in bytes:
// Measured: `448`
// Estimated: `3913`
// Minimum execution time: 269_749_000 picoseconds.
Weight::from_parts(272_870_000, 0)
.saturating_add(Weight::from_parts(0, 3913))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::VerifyingKeyConsensus` (r:1 w:0)
/// Proof: `GhostExodus::VerifyingKeyConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::VerifyingShares` (r:1 w:1)
/// Proof: `GhostExodus::VerifyingShares` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::VerifyingSharesParticipants` (r:1 w:1)
/// Proof: `GhostExodus::VerifyingSharesParticipants` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `c` is `[1, 9]`.
fn register_round6_public_share_package(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + c * (770 ±0)`
// Estimated: `1551 + c * (1019 ±27)`
// Minimum execution time: 287_511_000 picoseconds.
Weight::from_parts(289_294_964, 0)
.saturating_add(Weight::from_parts(0, 1551))
// Standard Error: 87_193
.saturating_add(Weight::from_parts(3_008_267, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(Weight::from_parts(0, 1019).saturating_mul(c.into()))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::ActiveDkgAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusRequests` (r:1 w:1)
/// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::RoastSessions` (r:1 w:1)
/// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1)
/// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::NonceCommitments` (r:0 w:1)
/// Proof: `GhostExodus::NonceCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn register_nonce_commitment() -> Weight {
// Proof Size summary in bytes:
// Measured: `481`
// Estimated: `3946`
// Minimum execution time: 300_309_000 picoseconds.
Weight::from_parts(308_158_000, 0)
.saturating_add(Weight::from_parts(0, 3946))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(5))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::ActiveDkgAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::RoastSessions` (r:1 w:0)
/// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusRequests` (r:1 w:0)
/// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::GroupCommitters` (r:1 w:1)
/// Proof: `GhostExodus::GroupCommitters` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1)
/// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::GroupCommitmentsConsensus` (r:1 w:1)
/// Proof: `GhostExodus::GroupCommitmentsConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn register_group_commitment() -> Weight {
// Proof Size summary in bytes:
// Measured: `968`
// Estimated: `4433`
// Minimum execution time: 339_169_000 picoseconds.
Weight::from_parts(342_236_000, 0)
.saturating_add(Weight::from_parts(0, 4433))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0)
/// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0)
/// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::ActiveDkgAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0)
/// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::RoastSessions` (r:1 w:1)
/// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusActivity` (r:1 w:1)
/// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::GroupCommitmentsConsensus` (r:1 w:1)
/// Proof: `GhostExodus::GroupCommitmentsConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusRequests` (r:1 w:1)
/// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ExodusSignedRotations` (r:1 w:1)
/// Proof: `GhostExodus::ExodusSignedRotations` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1)
/// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::NonceCommitments` (r:1 w:0)
/// Proof: `GhostExodus::NonceCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::VerifyingShares` (r:1 w:0)
/// Proof: `GhostExodus::VerifyingShares` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::ActiveVerifyingKey` (r:1 w:0)
/// Proof: `GhostExodus::ActiveVerifyingKey` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::SignatureScalars` (r:1 w:1)
/// Proof: `GhostExodus::SignatureScalars` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostExodus::GroupCommitters` (r:0 w:1)
/// Proof: `GhostExodus::GroupCommitters` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn register_signature_share() -> Weight {
// Proof Size summary in bytes:
// Measured: `11152`
// Estimated: `14617`
// Minimum execution time: 3_861_608_000 picoseconds.
Weight::from_parts(3_871_495_000, 0)
.saturating_add(Weight::from_parts(0, 14617))
.saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(8))
}
}

View File

@ -13,10 +13,10 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>. // along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `ghost_claims` //! Autogenerated weights for `ghost_governance`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -28,12 +28,12 @@
// --chain=casper-dev // --chain=casper-dev
// --steps=50 // --steps=50
// --repeat=20 // --repeat=20
// --pallet=ghost_claims // --pallet=ghost_governance
// --extrinsic=* // --extrinsic=*
// --wasm-execution=compiled // --wasm-execution=compiled
// --heap-pages=4096 // --heap-pages=4096
// --header=./file_header.txt // --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)] #![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)] #![allow(unused_parens)]
@ -43,29 +43,28 @@
use frame_support::{traits::Get, weights::Weight}; use frame_support::{traits::Get, weights::Weight};
use core::marker::PhantomData; use core::marker::PhantomData;
/// Weight functions for `ghost_claims`. /// Weight functions for `ghost_governance`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> ghost_claims::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> ghost_governance::WeightInfo for WeightInfo<T> {
/// Storage: `System::Account` (r:2 w:2) /// Storage: `GhostGovernance::MemberShares` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `GhostGovernance::MemberShares` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostClaims::Total` (r:1 w:1) /// Storage: `GhostGovernance::ClaimedHashes` (r:1 w:1)
/// Proof: `GhostClaims::Total` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `GhostGovernance::ClaimedHashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `CultCollective::Members` (r:2 w:2) /// Storage: `GhostGovernance::NetworkShares` (r:1 w:1)
/// Proof: `CultCollective::Members` (`max_values`: None, `max_size`: Some(42), added: 2517, mode: `MaxEncodedLen`) /// Proof: `GhostGovernance::NetworkShares` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `CultCollective::MemberCount` (r:6 w:6) /// Storage: `GhostGovernance::GlobalShares` (r:1 w:1)
/// Proof: `CultCollective::MemberCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) /// Proof: `GhostGovernance::GlobalShares` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `CultCollective::IdToIndex` (r:6 w:12) /// The range of component `p` is `[1, 20]`.
/// Proof: `CultCollective::IdToIndex` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`) fn claim(p: u32, ) -> Weight {
/// Storage: `CultCollective::IndexToId` (r:0 w:6)
/// Proof: `CultCollective::IndexToId` (`max_values`: None, `max_size`: Some(54), added: 2529, mode: `MaxEncodedLen`)
fn claim() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `896` // Measured: `283`
// Estimated: `16164` // Estimated: `3748`
// Minimum execution time: 745_301_000 picoseconds. // Minimum execution time: 216_452_000 picoseconds.
Weight::from_parts(758_040_000, 0) Weight::from_parts(217_152_474, 0)
.saturating_add(Weight::from_parts(0, 16164)) .saturating_add(Weight::from_parts(0, 3748))
.saturating_add(T::DbWeight::get().reads(17)) // Standard Error: 17_182
.saturating_add(T::DbWeight::get().writes(29)) .saturating_add(Weight::from_parts(1_614_265, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
} }
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `ghost_networks` //! Autogenerated weights for `ghost_networks`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! 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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -30,6 +30,7 @@
// --repeat=20 // --repeat=20
// --pallet=ghost_networks // --pallet=ghost_networks
// --extrinsic=* // --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096 // --heap-pages=4096
// --header=./file_header.txt // --header=./file_header.txt
// --output=./runtime/casper/src/weights/ghost_networks.rs // --output=./runtime/casper/src/weights/ghost_networks.rs
@ -49,48 +50,53 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::NetworkIndexes` (r:1 w:1) /// Storage: `GhostNetworks::NetworkIndexes` (r:1 w:1)
/// Proof: `GhostNetworks::NetworkIndexes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::NetworkIndexes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[1, 20]`. /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:1)
/// The range of component `j` is `[1, 150]`. /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `k` is `[1, 20]`. /// Storage: `GhostNetworks::NetworkCurvesVec` (r:1 w:1)
fn register_network(_i: u32, j: u32, k: u32, ) -> Weight { /// 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: // Proof Size summary in bytes:
// Measured: `109` // Measured: `6`
// Estimated: `3574` // Estimated: `3471`
// Minimum execution time: 48_419_000 picoseconds. // Minimum execution time: 60_167_000 picoseconds.
Weight::from_parts(35_655_823, 0) Weight::from_parts(56_015_384, 0)
.saturating_add(Weight::from_parts(0, 3574)) .saturating_add(Weight::from_parts(0, 3471))
// Standard Error: 1_212 // Standard Error: 1_219
.saturating_add(Weight::from_parts(96_762, 0).saturating_mul(j.into())) .saturating_add(Weight::from_parts(6_146, 0).saturating_mul(i.into()))
// Standard Error: 9_235 // Standard Error: 617
.saturating_add(Weight::from_parts(1_460_410, 0).saturating_mul(k.into())) .saturating_add(Weight::from_parts(37_564, 0).saturating_mul(j.into()))
.saturating_add(T::DbWeight::get().reads(2)) // Standard Error: 8_216
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(864_641, 0).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
} }
/// 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`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[1, 20]`. fn update_network_selector() -> Weight {
fn update_network_name(_n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 48_422_000 picoseconds. // Minimum execution time: 43_957_000 picoseconds.
Weight::from_parts(49_987_541, 0) Weight::from_parts(44_541_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// 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`) /// 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 { fn update_network_endpoint(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 48_651_000 picoseconds. // Minimum execution time: 44_092_000 picoseconds.
Weight::from_parts(50_776_912, 0) Weight::from_parts(45_181_439, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
// Standard Error: 1_062 // Standard Error: 402
.saturating_add(Weight::from_parts(838, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(16_387, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -98,11 +104,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_finality_delay() -> Weight { fn update_network_finality_delay() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 48_080_000 picoseconds. // Minimum execution time: 45_603_000 picoseconds.
Weight::from_parts(51_781_000, 0) Weight::from_parts(46_116_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -110,23 +116,23 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_rate_limit_delay() -> Weight { fn update_network_rate_limit_delay() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 47_950_000 picoseconds. // Minimum execution time: 45_607_000 picoseconds.
Weight::from_parts(48_925_000, 0) Weight::from_parts(46_615_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// 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`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_block_distance() -> Weight { fn update_network_block_deviation() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 48_324_000 picoseconds. // Minimum execution time: 43_510_000 picoseconds.
Weight::from_parts(50_801_000, 0) Weight::from_parts(43_840_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -134,86 +140,82 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_type() -> Weight { fn update_network_type() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 46_962_000 picoseconds. // Minimum execution time: 43_737_000 picoseconds.
Weight::from_parts(47_729_000, 0) Weight::from_parts(44_347_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// 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`) /// 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(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::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 { fn update_network_gatekeeper() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 48_728_000 picoseconds. // Minimum execution time: 44_801_000 picoseconds.
Weight::from_parts(53_054_000, 0) Weight::from_parts(45_240_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// 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`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_topic_name() -> Weight { fn update_incoming_network_share() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 48_632_000 picoseconds. // Minimum execution time: 45_404_000 picoseconds.
Weight::from_parts(49_954_000, 0) Weight::from_parts(46_161_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// 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`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_incoming_network_fee() -> Weight { fn update_outgoing_network_share() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `166`
// Estimated: `3804` // Estimated: `3631`
// Minimum execution time: 47_660_000 picoseconds. // Minimum execution time: 45_476_000 picoseconds.
Weight::from_parts(53_763_000, 0) Weight::from_parts(46_312_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3631))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// 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`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_outgoing_network_fee() -> Weight { /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:1)
// Proof Size summary in bytes: /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`)
// 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))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::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(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `GhostNetworks::NetworkIndexes` (r:1 w:1) /// Storage: `GhostNetworks::NetworkIndexes` (r:1 w:1)
/// Proof: `GhostNetworks::NetworkIndexes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::NetworkIndexes` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::Networks` (r:1 w:1) /// Storage: `GhostNetworks::NetworkCurvesVec` (r:1 w:1)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn remove_network() -> Weight { fn remove_network() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `339` // Measured: `179`
// Estimated: `3804` // Estimated: `3644`
// Minimum execution time: 49_720_000 picoseconds. // Minimum execution time: 78_480_000 picoseconds.
Weight::from_parts(50_526_000, 0) Weight::from_parts(79_105_000, 0)
.saturating_add(Weight::from_parts(0, 3804)) .saturating_add(Weight::from_parts(0, 3644))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(4))
} }
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `ghost_nomination_pools` //! Autogenerated weights for `ghost_nomination_pools`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -55,7 +55,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) /// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0) /// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@ -73,7 +73,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
@ -82,10 +82,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn join() -> Weight { fn join() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `3318` // Measured: `3131`
// Estimated: `8877` // Estimated: `8877`
// Minimum execution time: 1_410_541_000 picoseconds. // Minimum execution time: 675_995_000 picoseconds.
Weight::from_parts(1_451_888_000, 0) Weight::from_parts(699_299_000, 0)
.saturating_add(Weight::from_parts(0, 8877)) .saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(13)) .saturating_add(T::DbWeight::get().writes(13))
@ -103,13 +103,13 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
@ -118,10 +118,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_transfer() -> Weight { fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `3328` // Measured: `3091`
// Estimated: `8877` // Estimated: `8877`
// Minimum execution time: 1_262_490_000 picoseconds. // Minimum execution time: 673_497_000 picoseconds.
Weight::from_parts(1_290_270_000, 0) Weight::from_parts(686_322_000, 0)
.saturating_add(Weight::from_parts(0, 8877)) .saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(18)) .saturating_add(T::DbWeight::get().reads(18))
.saturating_add(T::DbWeight::get().writes(13)) .saturating_add(T::DbWeight::get().writes(13))
@ -141,14 +141,14 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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:2 w:2) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
@ -156,13 +156,13 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_other() -> Weight { fn bond_extra_other() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `3275` // Measured: `3156`
// Estimated: `8799` // Estimated: `8877`
// Minimum execution time: 900_598_000 picoseconds. // Minimum execution time: 809_985_000 picoseconds.
Weight::from_parts(1_652_993_000, 0) Weight::from_parts(823_279_000, 0)
.saturating_add(Weight::from_parts(0, 8799)) .saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(18)) .saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().writes(13)) .saturating_add(T::DbWeight::get().writes(14))
} }
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:0) /// Storage: `NominationPools::ClaimPermissions` (r:1 w:0)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
@ -178,10 +178,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_payout() -> Weight { fn claim_payout() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1210` // Measured: `1029`
// Estimated: `4182` // Estimated: `4182`
// Minimum execution time: 560_223_000 picoseconds. // Minimum execution time: 263_303_000 picoseconds.
Weight::from_parts(591_523_000, 0) Weight::from_parts(265_404_000, 0)
.saturating_add(Weight::from_parts(0, 4182)) .saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes(4))
@ -195,7 +195,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
/// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:2 w:1) /// Storage: `System::Account` (r:2 w:1)
@ -211,7 +211,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
@ -222,10 +222,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn unbond() -> Weight { fn unbond() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `3508` // Measured: `3324`
// Estimated: `8877` // Estimated: `8877`
// Minimum execution time: 1_129_619_000 picoseconds. // Minimum execution time: 605_438_000 picoseconds.
Weight::from_parts(1_213_170_000, 0) Weight::from_parts(618_067_000, 0)
.saturating_add(Weight::from_parts(0, 8877)) .saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(21)) .saturating_add(T::DbWeight::get().reads(21))
.saturating_add(T::DbWeight::get().writes(13)) .saturating_add(T::DbWeight::get().writes(13))
@ -235,7 +235,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
@ -243,19 +243,21 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::TotalValueLocked` (r:1 w:1) /// Storage: `NominationPools::TotalValueLocked` (r:1 w:1)
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`. /// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(_s: u32, ) -> Weight { fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1739` // Measured: `1630`
// Estimated: `4764` // Estimated: `4764`
// Minimum execution time: 294_248_000 picoseconds. // Minimum execution time: 254_464_000 picoseconds.
Weight::from_parts(549_242_698, 0) Weight::from_parts(258_835_843, 0)
.saturating_add(Weight::from_parts(0, 4764)) .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().reads(9))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
@ -270,13 +272,13 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0) /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
@ -288,13 +290,15 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `NominationPools::ClaimPermissions` (r:0 w:1) /// Storage: `NominationPools::ClaimPermissions` (r:0 w:1)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`. /// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(_s: u32, ) -> Weight { fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `2129` // Measured: `2020`
// Estimated: `4764` // Estimated: `4764`
// Minimum execution time: 511_071_000 picoseconds. // Minimum execution time: 493_281_000 picoseconds.
Weight::from_parts(736_094_042, 0) Weight::from_parts(506_171_764, 0)
.saturating_add(Weight::from_parts(0, 4764)) .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().reads(13))
.saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes(9))
} }
@ -309,7 +313,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::SlashingSpans` (r:1 w:0)
/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Staking::VirtualStakers` (r:1 w:1) /// Storage: `Staking::VirtualStakers` (r:1 w:1)
@ -317,7 +321,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Balances::Locks` (r:2 w:1) /// Storage: `Balances::Locks` (r:2 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:2 w:1) /// 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) /// Storage: `System::Account` (r:2 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0) /// Storage: `Staking::Validators` (r:1 w:0)
@ -339,7 +343,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `NominationPools::CounterForSubPoolsStorage` (r:1 w:1) /// Storage: `NominationPools::CounterForSubPoolsStorage` (r:1 w:1)
/// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::Metadata` (r:1 w:1) /// 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) /// Storage: `NominationPools::CounterForBondedPools` (r:1 w:1)
/// Proof: `NominationPools::CounterForBondedPools` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `NominationPools::CounterForBondedPools` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::Payee` (r:0 w:1) /// Storage: `Staking::Payee` (r:0 w:1)
@ -347,13 +351,15 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `NominationPools::ClaimPermissions` (r:0 w:1) /// Storage: `NominationPools::ClaimPermissions` (r:0 w:1)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`. /// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(_s: u32, ) -> Weight { fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `2454` // Measured: `2161`
// Estimated: `8538` // Estimated: `8538`
// Minimum execution time: 902_792_000 picoseconds. // Minimum execution time: 865_348_000 picoseconds.
Weight::from_parts(1_030_417_932, 0) Weight::from_parts(883_136_957, 0)
.saturating_add(Weight::from_parts(0, 8538)) .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().reads(25))
.saturating_add(T::DbWeight::get().writes(21)) .saturating_add(T::DbWeight::get().writes(21))
} }
@ -382,13 +388,13 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:2 w:1) /// Storage: `Balances::Locks` (r:2 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:2 w:1) /// 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) /// Storage: `NominationPools::TotalValueLocked` (r:1 w:1)
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1) /// Storage: `NominationPools::RewardPools` (r:1 w:1)
@ -405,10 +411,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
fn create() -> Weight { fn create() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1180` // Measured: `1014`
// Estimated: `8538` // Estimated: `8538`
// Minimum execution time: 714_731_000 picoseconds. // Minimum execution time: 688_074_000 picoseconds.
Weight::from_parts(745_522_000, 0) Weight::from_parts(701_165_000, 0)
.saturating_add(Weight::from_parts(0, 8538)) .saturating_add(Weight::from_parts(0, 8538))
.saturating_add(T::DbWeight::get().reads(25)) .saturating_add(T::DbWeight::get().reads(25))
.saturating_add(T::DbWeight::get().writes(17)) .saturating_add(T::DbWeight::get().writes(17))
@ -420,7 +426,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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) /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::MinCreateBond` (r:1 w:0) /// Storage: `NominationPools::MinCreateBond` (r:1 w:0)
@ -446,13 +452,13 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// The range of component `n` is `[1, 16]`. /// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight { fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1870` // Measured: `1721`
// Estimated: `4556 + n * (2520 ±0)` // Estimated: `4275 + n * (2520 ±0)`
// Minimum execution time: 304_726_000 picoseconds. // Minimum execution time: 291_788_000 picoseconds.
Weight::from_parts(321_156_507, 0) Weight::from_parts(293_013_286, 0)
.saturating_add(Weight::from_parts(0, 4556)) .saturating_add(Weight::from_parts(0, 4275))
// Standard Error: 73_202 // Standard Error: 44_444
.saturating_add(Weight::from_parts(5_156_012, 0).saturating_mul(n.into())) .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(15))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes(5))
@ -463,33 +469,31 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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 { fn set_state() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1326` // Measured: `1216`
// Estimated: `4556` // Estimated: `4275`
// Minimum execution time: 114_437_000 picoseconds. // Minimum execution time: 109_871_000 picoseconds.
Weight::from_parts(117_596_000, 0) Weight::from_parts(110_997_000, 0)
.saturating_add(Weight::from_parts(0, 4556)) .saturating_add(Weight::from_parts(0, 4275))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `NominationPools::BondedPools` (r:1 w:0) /// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::Metadata` (r:1 w:1) /// 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) /// Storage: `NominationPools::CounterForMetadata` (r:1 w:1)
/// Proof: `NominationPools::CounterForMetadata` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `NominationPools::CounterForMetadata` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// The range of component `n` is `[1, 256]`. /// The range of component `n` is `[1, 128]`.
fn set_metadata(n: u32, ) -> Weight { fn set_metadata(_n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `532` // Measured: `498`
// Estimated: `3735` // Estimated: `3719`
// Minimum execution time: 51_592_000 picoseconds. // Minimum execution time: 50_309_000 picoseconds.
Weight::from_parts(54_571_300, 0) Weight::from_parts(52_003_011, 0)
.saturating_add(Weight::from_parts(0, 3735)) .saturating_add(Weight::from_parts(0, 3719))
// Standard Error: 1_879
.saturating_add(Weight::from_parts(12_064, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -509,8 +513,8 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 15_414_000 picoseconds. // Minimum execution time: 14_703_000 picoseconds.
Weight::from_parts(15_775_000, 0) Weight::from_parts(15_172_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes(6))
} }
@ -518,10 +522,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn update_roles() -> Weight { fn update_roles() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `532` // Measured: `498`
// Estimated: `3719` // Estimated: `3719`
// Minimum execution time: 61_671_000 picoseconds. // Minimum execution time: 60_439_000 picoseconds.
Weight::from_parts(62_422_000, 0) Weight::from_parts(61_394_000, 0)
.saturating_add(Weight::from_parts(0, 3719)) .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -533,7 +537,7 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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) /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0) /// Storage: `Staking::Validators` (r:1 w:0)
@ -550,11 +554,11 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn chill() -> Weight { fn chill() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `2037` // Measured: `1888`
// Estimated: `4556` // Estimated: `4275`
// Minimum execution time: 276_195_000 picoseconds. // Minimum execution time: 268_872_000 picoseconds.
Weight::from_parts(309_526_000, 0) Weight::from_parts(272_408_000, 0)
.saturating_add(Weight::from_parts(0, 4556)) .saturating_add(Weight::from_parts(0, 4275))
.saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes(5))
} }
@ -568,10 +572,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn set_commission() -> Weight { fn set_commission() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `804` // Measured: `732`
// Estimated: `3719` // Estimated: `3719`
// Minimum execution time: 120_457_000 picoseconds. // Minimum execution time: 115_184_000 picoseconds.
Weight::from_parts(129_197_000, 0) Weight::from_parts(116_142_000, 0)
.saturating_add(Weight::from_parts(0, 3719)) .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -582,10 +586,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_commission_max() -> Weight { fn set_commission_max() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `572` // Measured: `538`
// Estimated: `3719` // Estimated: `3719`
// Minimum execution time: 65_883_000 picoseconds. // Minimum execution time: 61_638_000 picoseconds.
Weight::from_parts(67_354_000, 0) Weight::from_parts(62_617_000, 0)
.saturating_add(Weight::from_parts(0, 3719)) .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -594,10 +598,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_change_rate() -> Weight { fn set_commission_change_rate() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `532` // Measured: `498`
// Estimated: `3719` // Estimated: `3719`
// Minimum execution time: 65_959_000 picoseconds. // Minimum execution time: 60_942_000 picoseconds.
Weight::from_parts(67_449_000, 0) Weight::from_parts(61_574_000, 0)
.saturating_add(Weight::from_parts(0, 3719)) .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -606,10 +610,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_claim_permission() -> Weight { fn set_commission_claim_permission() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `532` // Measured: `498`
// Estimated: `3719` // Estimated: `3719`
// Minimum execution time: 64_679_000 picoseconds. // Minimum execution time: 60_071_000 picoseconds.
Weight::from_parts(66_591_000, 0) Weight::from_parts(60_348_000, 0)
.saturating_add(Weight::from_parts(0, 3719)) .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -620,10 +624,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
fn set_claim_permission() -> Weight { fn set_claim_permission() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `542` // Measured: `508`
// Estimated: `4182` // Estimated: `4182`
// Minimum execution time: 54_153_000 picoseconds. // Minimum execution time: 50_748_000 picoseconds.
Weight::from_parts(55_640_000, 0) Weight::from_parts(51_204_000, 0)
.saturating_add(Weight::from_parts(0, 4182)) .saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -638,10 +642,10 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_commission() -> Weight { fn claim_commission() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1040` // Measured: `859`
// Estimated: `3719` // Estimated: `3719`
// Minimum execution time: 248_027_000 picoseconds. // Minimum execution time: 227_492_000 picoseconds.
Weight::from_parts(252_312_000, 0) Weight::from_parts(229_857_000, 0)
.saturating_add(Weight::from_parts(0, 3719)) .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -649,17 +653,17 @@ impl<T: frame_system::Config> ghost_nomination_pools::WeightInfo for WeightInfo<
/// Storage: `NominationPools::BondedPools` (r:1 w:0) /// Storage: `NominationPools::BondedPools` (r:1 w:0)
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:1) /// 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) /// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:0) /// Storage: `Balances::Locks` (r:1 w:0)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
fn adjust_pool_deposit() -> Weight { fn adjust_pool_deposit() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `939` // Measured: `758`
// Estimated: `4764` // Estimated: `4764`
// Minimum execution time: 275_027_000 picoseconds. // Minimum execution time: 254_010_000 picoseconds.
Weight::from_parts(493_643_000, 0) Weight::from_parts(256_588_000, 0)
.saturating_add(Weight::from_parts(0, 4764)) .saturating_add(Weight::from_parts(0, 4764))
.saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))

View File

@ -1,4 +1,3 @@
// This file is part of Ghost Network. // This file is part of Ghost Network.
// Ghost Network is free software: you can redistribute it and/or modify // Ghost Network is free software: you can redistribute it and/or modify
@ -17,7 +16,7 @@
//! Autogenerated weights for `ghost_sudo` //! Autogenerated weights for `ghost_sudo`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -51,10 +50,10 @@ impl<T: frame_system::Config> ghost_sudo::WeightInfo for WeightInfo<T> {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn set_key() -> Weight { fn set_key() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `165` // Measured: `98`
// Estimated: `1517` // Estimated: `1517`
// Minimum execution time: 39_580_000 picoseconds. // Minimum execution time: 38_841_000 picoseconds.
Weight::from_parts(40_417_000, 0) Weight::from_parts(39_982_000, 0)
.saturating_add(Weight::from_parts(0, 1517)) .saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -63,10 +62,10 @@ impl<T: frame_system::Config> ghost_sudo::WeightInfo for WeightInfo<T> {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn sudo() -> Weight { fn sudo() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `165` // Measured: `98`
// Estimated: `1517` // Estimated: `1517`
// Minimum execution time: 43_268_000 picoseconds. // Minimum execution time: 42_412_000 picoseconds.
Weight::from_parts(44_283_000, 0) Weight::from_parts(43_446_000, 0)
.saturating_add(Weight::from_parts(0, 1517)) .saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
} }
@ -74,10 +73,10 @@ impl<T: frame_system::Config> ghost_sudo::WeightInfo for WeightInfo<T> {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn sudo_as() -> Weight { fn sudo_as() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `165` // Measured: `98`
// Estimated: `1517` // Estimated: `1517`
// Minimum execution time: 43_238_000 picoseconds. // Minimum execution time: 43_006_000 picoseconds.
Weight::from_parts(44_176_000, 0) Weight::from_parts(43_886_000, 0)
.saturating_add(Weight::from_parts(0, 1517)) .saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
} }
@ -85,10 +84,10 @@ impl<T: frame_system::Config> ghost_sudo::WeightInfo for WeightInfo<T> {
/// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) /// Proof: `GhostSudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
fn remove_key() -> Weight { fn remove_key() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `165` // Measured: `98`
// Estimated: `1517` // Estimated: `1517`
// Minimum execution time: 35_626_000 picoseconds. // Minimum execution time: 35_731_000 picoseconds.
Weight::from_parts(36_888_000, 0) Weight::from_parts(36_443_000, 0)
.saturating_add(Weight::from_parts(0, 1517)) .saturating_add(Weight::from_parts(0, 1517))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))

View File

@ -0,0 +1,144 @@
// This file is part of Ghost Network.
// 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.
// 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.
// You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `ghost_weaver`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! 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
// Executed Command:
// ./target/release/ghost
// benchmark
// pallet
// --chain=casper-dev
// --steps=50
// --repeat=20
// --pallet=ghost_weaver
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/casper/src/weights/ghost_weaver.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `ghost_weaver`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> ghost_weaver::WeightInfo for WeightInfo<T> {
/// Storage: `GhostWeaver::DisabledAuthorities` (r:1 w:0)
/// Proof: `GhostWeaver::DisabledAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::Authorities` (r:1 w:0)
/// Proof: `GhostWeaver::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::Networks` (r:1 w:0)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::TapestryDrafts` (r:1 w:0)
/// Proof: `GhostWeaver::TapestryDrafts` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::NetworkAttestations` (r:1 w:1)
/// Proof: `GhostWeaver::NetworkAttestations` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `a` is `[1, 300]`.
fn extend_warp(a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `223 + a * (32 ±0)`
// Estimated: `3687 + a * (32 ±0)`
// Minimum execution time: 215_336_000 picoseconds.
Weight::from_parts(218_119_120, 0)
.saturating_add(Weight::from_parts(0, 3687))
// Standard Error: 1_412
.saturating_add(Weight::from_parts(47_848, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into()))
}
/// Storage: `GhostWeaver::DisabledAuthorities` (r:1 w:0)
/// Proof: `GhostWeaver::DisabledAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::Authorities` (r:1 w:0)
/// Proof: `GhostWeaver::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::Networks` (r:1 w:0)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::TapestryDrafts` (r:1 w:0)
/// Proof: `GhostWeaver::TapestryDrafts` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::TapestryStrands` (r:1 w:1)
/// Proof: `GhostWeaver::TapestryStrands` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::WeavingStates` (r:1 w:1)
/// Proof: `GhostWeaver::WeavingStates` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `a` is `[1, 300]`.
fn weave_weft(a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `518 + a * (32 ±0)`
// Estimated: `3982 + a * (32 ±0)`
// Minimum execution time: 244_811_000 picoseconds.
Weight::from_parts(250_046_200, 0)
.saturating_add(Weight::from_parts(0, 3982))
// Standard Error: 1_958
.saturating_add(Weight::from_parts(26_347, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into()))
}
/// Storage: `GhostNetworks::Networks` (r:1 w:0)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::LoomStates` (r:1 w:0)
/// Proof: `GhostWeaver::LoomStates` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::PulledThreads` (r:1 w:1)
/// Proof: `GhostWeaver::PulledThreads` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::GatekeeperAmounts` (r:1 w:1)
/// Proof: `GhostNetworks::GatekeeperAmounts` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::NetworkImbalance` (r:1 w:1)
/// Proof: `GhostNetworks::NetworkImbalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `a` is `[1, 300]`.
fn pull_utxo_thread(_a: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `358`
// Estimated: `3823`
// Minimum execution time: 650_006_000 picoseconds.
Weight::from_parts(663_001_690, 0)
.saturating_add(Weight::from_parts(0, 3823))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `GhostNetworks::Networks` (r:1 w:0)
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::LoomStates` (r:1 w:0)
/// Proof: `GhostWeaver::LoomStates` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostWeaver::PulledThreads` (r:1 w:1)
/// Proof: `GhostWeaver::PulledThreads` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::GatekeeperAmounts` (r:1 w:1)
/// Proof: `GhostNetworks::GatekeeperAmounts` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `GhostNetworks::NetworkImbalance` (r:1 w:1)
/// Proof: `GhostNetworks::NetworkImbalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn pull_evm_thread() -> Weight {
// Proof Size summary in bytes:
// Measured: `358`
// Estimated: `3823`
// Minimum execution time: 138_199_000 picoseconds.
Weight::from_parts(162_645_000, 0)
.saturating_add(Weight::from_parts(0, 3823))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
}

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_babe` //! Autogenerated weights for `pallet_babe`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2026-02-27, 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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -40,14 +40,11 @@
#![allow(unused_imports)] #![allow(unused_imports)]
#![allow(missing_docs)] #![allow(missing_docs)]
use core::marker::PhantomData;
use frame_support::{ use frame_support::{
traits::Get, traits::Get,
weights::{ weights::{Weight, constants::RocksDbWeight as DbWeight}
constants::{RocksDbWeight as DbWeight, WEIGHT_REF_TIME_PER_MICROS, WEIGHT_REF_TIME_PER_NANOS},
Weight,
},
}; };
use core::marker::PhantomData;
/// Weight functions for `pallet_babe`. /// Weight functions for `pallet_babe`.
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
@ -55,37 +52,29 @@ impl<T: frame_system::Config> pallet_babe::WeightInfo for WeightInfo<T> {
fn plan_config_change() -> Weight { fn plan_config_change() -> Weight {
DbWeight::get().writes(1) DbWeight::get().writes(1)
} }
fn report_equivocation(_validators_count: u32, max_nominators_per_validator: u32) -> Weight {
// Proof Size summary in bytes:
// Measured: `1426 + n * (382 ±0)`
// Estimated: `6196 + n * (3774 ±0)`
// Minimum execution time: 480_892_000 picoseconds.
let report_offence = Weight::from_parts(492_568_476, 0)
.saturating_add(Weight::from_parts(0, 6196))
// Standard Error: 135_669
.saturating_add(Weight::from_parts(223_949_669, 0).saturating_mul(max_nominators_per_validator.into()))
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().reads((10_u64).saturating_mul(max_nominators_per_validator.into())))
.saturating_add(T::DbWeight::get().writes(10))
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(max_nominators_per_validator.into())))
.saturating_add(Weight::from_parts(0, 3774).saturating_mul(max_nominators_per_validator.into()));
fn report_equivocation(validator_count: u32, max_nominators_per_validator: u32) -> Weight { /// The range of component `x` is `[0, 1]`.
// we take the validator set count from the membership proof to
// calculate the weight but we set a floor of 100 validators.
let validator_count = validator_count.max(100) as u64;
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 305_618_000 picoseconds. // Minimum execution time: 292_113_000 picoseconds.
let equivocation_check_weight = Weight::from_parts(308_237_602, 0) let report_equivocation = Weight::from_parts(294_360_418, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0));
// Standard Error: 899_088
.saturating_add(Weight::from_parts(7_097, 0).saturating_mul(validator_count.into()));
// checking membership proof report_equivocation.saturating_add(report_offence)
Weight::from_parts(88u64 * WEIGHT_REF_TIME_PER_MICROS, 0)
.saturating_add(
Weight::from_parts(438u64 * WEIGHT_REF_TIME_PER_NANOS, 0)
.saturating_mul(validator_count),
)
.saturating_add(DbWeight::get().reads(5))
// check equivocation proof
.saturating_add(equivocation_check_weight)
// report offence
.saturating_add(equivocation_check_weight)
.saturating_add(Weight::from_parts(
63u64 * WEIGHT_REF_TIME_PER_MICROS * max_nominators_per_validator as u64,
0,
))
.saturating_add(DbWeight::get().reads(14 + 3 * max_nominators_per_validator as u64))
.saturating_add(DbWeight::get().writes(10 + 3 * max_nominators_per_validator as u64))
} }
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_bags_list` //! Autogenerated weights for `pallet_bags_list`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-27, 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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -49,17 +49,17 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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: `VoterList::ListNodes` (r:4 w:4) /// Storage: `VoterList::ListNodes` (r:4 w:4)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:1 w:1) /// Storage: `VoterList::ListBags` (r:1 w:1)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn rebag_non_terminal() -> Weight { fn rebag_non_terminal() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1612` // Measured: `1460`
// Estimated: `11506` // Estimated: `11506`
// Minimum execution time: 205_937_000 picoseconds. // Minimum execution time: 202_334_000 picoseconds.
Weight::from_parts(208_759_000, 0) Weight::from_parts(203_971_000, 0)
.saturating_add(Weight::from_parts(0, 11506)) .saturating_add(Weight::from_parts(0, 11506))
.saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes(5))
@ -67,17 +67,17 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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: `VoterList::ListNodes` (r:3 w:3) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn rebag_terminal() -> Weight { fn rebag_terminal() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1506` // Measured: `1354`
// Estimated: `8877` // Estimated: `8877`
// Minimum execution time: 200_730_000 picoseconds. // Minimum execution time: 196_162_000 picoseconds.
Weight::from_parts(202_176_000, 0) Weight::from_parts(197_178_000, 0)
.saturating_add(Weight::from_parts(0, 8877)) .saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes(5))
@ -87,17 +87,17 @@ impl<T: frame_system::Config> pallet_bags_list::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Bonded` (r:2 w:0) /// Storage: `Staking::Bonded` (r:2 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:2 w:0) /// Storage: `Staking::Ledger` (r:2 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: `VoterList::CounterForListNodes` (r:1 w:1) /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:1 w:1) /// Storage: `VoterList::ListBags` (r:1 w:1)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn put_in_front_of() -> Weight { fn put_in_front_of() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1815` // Measured: `1663`
// Estimated: `11506` // Estimated: `11506`
// Minimum execution time: 242_324_000 picoseconds. // Minimum execution time: 236_183_000 picoseconds.
Weight::from_parts(245_160_000, 0) Weight::from_parts(237_806_000, 0)
.saturating_add(Weight::from_parts(0, 11506)) .saturating_add(Weight::from_parts(0, 11506))
.saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes(6))

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_balances` //! Autogenerated weights for `pallet_balances`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -52,8 +52,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 186_251_000 picoseconds. // Minimum execution time: 227_902_000 picoseconds.
Weight::from_parts(188_493_000, 0) Weight::from_parts(229_466_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -64,8 +64,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 148_070_000 picoseconds. // Minimum execution time: 146_843_000 picoseconds.
Weight::from_parts(149_658_000, 0) Weight::from_parts(147_907_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -74,10 +74,10 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn force_set_balance_creating() -> Weight { fn force_set_balance_creating() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `207` // Measured: `103`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 60_874_000 picoseconds. // Minimum execution time: 56_393_000 picoseconds.
Weight::from_parts(61_463_000, 0) Weight::from_parts(57_755_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -86,10 +86,10 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn force_set_balance_killing() -> Weight { fn force_set_balance_killing() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `207` // Measured: `103`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 79_499_000 picoseconds. // Minimum execution time: 76_397_000 picoseconds.
Weight::from_parts(81_083_000, 0) Weight::from_parts(78_052_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -100,8 +100,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `103` // Measured: `103`
// Estimated: `6196` // Estimated: `6196`
// Minimum execution time: 198_506_000 picoseconds. // Minimum execution time: 237_792_000 picoseconds.
Weight::from_parts(199_817_000, 0) Weight::from_parts(239_101_000, 0)
.saturating_add(Weight::from_parts(0, 6196)) .saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -112,8 +112,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 184_028_000 picoseconds. // Minimum execution time: 180_559_000 picoseconds.
Weight::from_parts(185_727_000, 0) Weight::from_parts(182_812_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -122,10 +122,10 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn force_unreserve() -> Weight { fn force_unreserve() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `207` // Measured: `103`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 72_546_000 picoseconds. // Minimum execution time: 68_202_000 picoseconds.
Weight::from_parts(73_559_000, 0) Weight::from_parts(69_261_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -137,11 +137,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0 + u * (135 ±0)` // Measured: `0 + u * (135 ±0)`
// Estimated: `990 + u * (2603 ±0)` // Estimated: `990 + u * (2603 ±0)`
// Minimum execution time: 69_445_000 picoseconds. // Minimum execution time: 66_830_000 picoseconds.
Weight::from_parts(69_575_000, 0) Weight::from_parts(67_398_000, 0)
.saturating_add(Weight::from_parts(0, 990)) .saturating_add(Weight::from_parts(0, 990))
// Standard Error: 35_042 // Standard Error: 34_763
.saturating_add(Weight::from_parts(53_275_288, 0).saturating_mul(u.into())) .saturating_add(Weight::from_parts(52_815_907, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
@ -150,24 +150,24 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 23_988_000 picoseconds. // Minimum execution time: 24_012_000 picoseconds.
Weight::from_parts(24_623_000, 0) Weight::from_parts(24_577_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
fn burn_allow_death() -> Weight { fn burn_allow_death() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 117_406_000 picoseconds. // Minimum execution time: 162_107_000 picoseconds.
Weight::from_parts(118_538_000, 0) Weight::from_parts(164_730_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
fn burn_keep_alive() -> Weight { fn burn_keep_alive() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 80_259_000 picoseconds. // Minimum execution time: 79_086_000 picoseconds.
Weight::from_parts(81_323_000, 0) Weight::from_parts(80_253_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_election_provider_multi_phase` //! Autogenerated weights for `pallet_election_provider_multi_phase`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -64,10 +64,10 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn on_initialize_nothing() -> Weight { fn on_initialize_nothing() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `918` // Measured: `700`
// Estimated: `3481` // Estimated: `3481`
// Minimum execution time: 60_852_000 picoseconds. // Minimum execution time: 60_277_000 picoseconds.
Weight::from_parts(61_910_000, 0) Weight::from_parts(61_166_000, 0)
.saturating_add(Weight::from_parts(0, 3481)) .saturating_add(Weight::from_parts(0, 3481))
.saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().reads(8))
} }
@ -77,11 +77,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn on_initialize_open_signed() -> Weight { fn on_initialize_open_signed() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `43` // Measured: `42`
// Estimated: `1528` // Estimated: `1527`
// Minimum execution time: 38_791_000 picoseconds. // Minimum execution time: 38_911_000 picoseconds.
Weight::from_parts(39_533_000, 0) Weight::from_parts(39_616_000, 0)
.saturating_add(Weight::from_parts(0, 1528)) .saturating_add(Weight::from_parts(0, 1527))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -91,11 +91,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn on_initialize_open_unsigned() -> Weight { fn on_initialize_open_unsigned() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `43` // Measured: `42`
// Estimated: `1528` // Estimated: `1527`
// Minimum execution time: 41_607_000 picoseconds. // Minimum execution time: 41_337_000 picoseconds.
Weight::from_parts(42_967_000, 0) Weight::from_parts(42_426_000, 0)
.saturating_add(Weight::from_parts(0, 1528)) .saturating_add(Weight::from_parts(0, 1527))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -105,10 +105,10 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::QueuedSolution` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::QueuedSolution` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn finalize_signed_phase_accept_solution() -> Weight { fn finalize_signed_phase_accept_solution() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `174` // Measured: `103`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 103_577_000 picoseconds. // Minimum execution time: 101_488_000 picoseconds.
Weight::from_parts(104_725_000, 0) Weight::from_parts(102_797_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -117,10 +117,10 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn finalize_signed_phase_reject_solution() -> Weight { fn finalize_signed_phase_reject_solution() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `174` // Measured: `103`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 72_735_000 picoseconds. // Minimum execution time: 68_977_000 picoseconds.
Weight::from_parts(73_464_000, 0) Weight::from_parts(69_838_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -131,17 +131,17 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::DesiredTargets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::DesiredTargets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ElectionProviderMultiPhase::Snapshot` (r:0 w:1) /// Storage: `ElectionProviderMultiPhase::Snapshot` (r:0 w:1)
/// Proof: `ElectionProviderMultiPhase::Snapshot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::Snapshot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `v` is `[1000, 2000]`. /// The range of component `v` is `[2000, 3000]`.
/// The range of component `t` is `[500, 1000]`. /// The range of component `t` is `[300, 400]`.
fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight { fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 937_928_000 picoseconds. // Minimum execution time: 1_967_913_000 picoseconds.
Weight::from_parts(946_881_000, 0) Weight::from_parts(26_969_542, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 4_742 // Standard Error: 2_593
.saturating_add(Weight::from_parts(737_679, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(1_000_492, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
/// Storage: `ElectionProviderMultiPhase::SignedSubmissionIndices` (r:1 w:1) /// Storage: `ElectionProviderMultiPhase::SignedSubmissionIndices` (r:1 w:1)
@ -162,23 +162,23 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::DesiredTargets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::DesiredTargets` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ElectionProviderMultiPhase::Snapshot` (r:0 w:1) /// Storage: `ElectionProviderMultiPhase::Snapshot` (r:0 w:1)
/// Proof: `ElectionProviderMultiPhase::Snapshot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::Snapshot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `a` is `[500, 800]`. /// The range of component `a` is `[1000, 2000]`.
/// The range of component `d` is `[200, 400]`. /// The range of component `d` is `[100, 200]`.
fn elect_queued(a: u32, d: u32, ) -> Weight { fn elect_queued(a: u32, d: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `266 + a * (768 ±0) + d * (48 ±0)` // Measured: `225 + a * (768 ±0) + d * (50 ±0)`
// Estimated: `3818 + a * (768 ±0) + d * (49 ±0)` // Estimated: `3688 + a * (768 ±0) + d * (50 ±0)`
// Minimum execution time: 818_624_000 picoseconds. // Minimum execution time: 1_281_121_000 picoseconds.
Weight::from_parts(48_511_844, 0) Weight::from_parts(198_374_568, 0)
.saturating_add(Weight::from_parts(0, 3818)) .saturating_add(Weight::from_parts(0, 3688))
// Standard Error: 9_830 // Standard Error: 4_117
.saturating_add(Weight::from_parts(1_291_925, 0).saturating_mul(a.into())) .saturating_add(Weight::from_parts(1_002_085, 0).saturating_mul(a.into()))
// Standard Error: 14_735 // Standard Error: 41_033
.saturating_add(Weight::from_parts(348_448, 0).saturating_mul(d.into())) .saturating_add(Weight::from_parts(674_723, 0).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(8)) .saturating_add(T::DbWeight::get().writes(8))
.saturating_add(Weight::from_parts(0, 768).saturating_mul(a.into())) .saturating_add(Weight::from_parts(0, 768).saturating_mul(a.into()))
.saturating_add(Weight::from_parts(0, 49).saturating_mul(d.into())) .saturating_add(Weight::from_parts(0, 50).saturating_mul(d.into()))
} }
/// Storage: `ElectionProviderMultiPhase::CurrentPhase` (r:1 w:0) /// Storage: `ElectionProviderMultiPhase::CurrentPhase` (r:1 w:0)
/// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@ -196,11 +196,11 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::SignedSubmissionsMap` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::SignedSubmissionsMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn submit() -> Weight { fn submit() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1157` // Measured: `1156`
// Estimated: `2642` // Estimated: `2641`
// Minimum execution time: 175_864_000 picoseconds. // Minimum execution time: 170_639_000 picoseconds.
Weight::from_parts(177_232_000, 0) Weight::from_parts(172_982_000, 0)
.saturating_add(Weight::from_parts(0, 2642)) .saturating_add(Weight::from_parts(0, 2641))
.saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
@ -218,21 +218,19 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::Snapshot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::Snapshot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ElectionProviderMultiPhase::MinimumUntrustedScore` (r:1 w:0) /// Storage: `ElectionProviderMultiPhase::MinimumUntrustedScore` (r:1 w:0)
/// Proof: `ElectionProviderMultiPhase::MinimumUntrustedScore` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::MinimumUntrustedScore` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `v` is `[1000, 2000]`. /// The range of component `v` is `[2000, 3000]`.
/// The range of component `t` is `[500, 1000]`. /// The range of component `t` is `[300, 400]`.
/// The range of component `a` is `[500, 800]`. /// The range of component `a` is `[1000, 2000]`.
/// The range of component `d` is `[200, 400]`. /// The range of component `d` is `[100, 200]`.
fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { fn submit_unsigned(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `148 + t * (32 ±0) + v * (553 ±0)` // Measured: `147 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1633 + t * (32 ±0) + v * (553 ±0)` // Estimated: `1632 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 12_770_696_000 picoseconds. // Minimum execution time: 23_193_992_000 picoseconds.
Weight::from_parts(12_821_423_000, 0) Weight::from_parts(23_213_912_000, 0)
.saturating_add(Weight::from_parts(0, 1633)) .saturating_add(Weight::from_parts(0, 1632))
// Standard Error: 37_454 // Standard Error: 67_784
.saturating_add(Weight::from_parts(285_569, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(15_971_790, 0).saturating_mul(a.into()))
// Standard Error: 110_991
.saturating_add(Weight::from_parts(11_933_600, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
@ -246,21 +244,19 @@ impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ElectionProviderMultiPhase::MinimumUntrustedScore` (r:1 w:0) /// Storage: `ElectionProviderMultiPhase::MinimumUntrustedScore` (r:1 w:0)
/// Proof: `ElectionProviderMultiPhase::MinimumUntrustedScore` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `ElectionProviderMultiPhase::MinimumUntrustedScore` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `v` is `[1000, 2000]`. /// The range of component `v` is `[2000, 3000]`.
/// The range of component `t` is `[500, 1000]`. /// The range of component `t` is `[300, 400]`.
/// The range of component `a` is `[500, 800]`. /// The range of component `a` is `[1000, 2000]`.
/// The range of component `d` is `[200, 400]`. /// The range of component `d` is `[100, 200]`.
fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight { fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `123 + t * (32 ±0) + v * (553 ±0)` // Measured: `122 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1608 + t * (32 ±0) + v * (553 ±0)` // Estimated: `1607 + t * (32 ±0) + v * (553 ±0)`
// Minimum execution time: 11_048_228_000 picoseconds. // Minimum execution time: 20_018_328_000 picoseconds.
Weight::from_parts(11_087_485_000, 0) Weight::from_parts(20_081_723_000, 0)
.saturating_add(Weight::from_parts(0, 1608)) .saturating_add(Weight::from_parts(0, 1607))
// Standard Error: 35_194 // Standard Error: 53_185
.saturating_add(Weight::from_parts(388_849, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(12_976_086, 0).saturating_mul(a.into()))
// Standard Error: 104_295
.saturating_add(Weight::from_parts(9_035_405, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into())) .saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
.saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 553).saturating_mul(v.into()))

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_grandpa` //! Autogenerated weights for `pallet_grandpa`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2026-02-27, 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` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -44,7 +44,7 @@ use core::marker::PhantomData;
use frame_support::{ use frame_support::{
traits::Get, traits::Get,
weights::{ weights::{
constants::{RocksDbWeight as DbWeight, WEIGHT_REF_TIME_PER_MICROS, WEIGHT_REF_TIME_PER_NANOS}, constants::{RocksDbWeight as DbWeight},
Weight, Weight,
}, },
}; };
@ -53,47 +53,49 @@ use frame_support::{
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_grandpa::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_grandpa::WeightInfo for WeightInfo<T> {
fn report_equivocation(validator_count: u32, max_nominators_per_validator: u32) -> Weight { fn report_equivocation(validator_count: u32, max_nominators_per_validator: u32) -> Weight {
// we take the validator set count from the membership proof to
// calculate the weight but we set a floor of 100 validators.
let validator_count = validator_count.max(100) as u64;
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 272_018_000 picoseconds. // Minimum execution time: 269_184_000 picoseconds.
let check_equivocation_proof = Weight::from_parts(275_944_195, 0) let equivocation_proof = Weight::from_parts(270_586_869, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_232_802 // Standard Error: 586_730
.saturating_add(Weight::from_parts(1_472_404, 0).saturating_mul(validator_count.into())); .saturating_add(
Weight::from_parts(1_324_330, 0).saturating_mul(validator_count.into())
);
// checking membership proof // Proof Size summary in bytes:
Weight::from_parts(88u64 * WEIGHT_REF_TIME_PER_MICROS, 0) // Measured: `1426 + n * (382 ±0)`
// Estimated: `6196 + n * (3774 ±0)`
// Minimum execution time: 479_575_000 picoseconds.
let report_offence = Weight::from_parts(488_918_141, 0)
.saturating_add(Weight::from_parts(0, 6196))
// Standard Error: 143_360
.saturating_add(
Weight::from_parts(224_103_298, 0).saturating_mul(max_nominators_per_validator.into())
)
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add( .saturating_add(
Weight::from_parts(438u64 * WEIGHT_REF_TIME_PER_NANOS, 0) T::DbWeight::get().reads((10_u64).saturating_mul(max_nominators_per_validator.into()))
.saturating_mul(validator_count), )
) .saturating_add(T::DbWeight::get().writes(10))
.saturating_add(DbWeight::get().reads(5)) .saturating_add(
// check equivocation proof T::DbWeight::get().writes((6_u64).saturating_mul(max_nominators_per_validator.into()))
.saturating_add(check_equivocation_proof) )
// report offence .saturating_add(
.saturating_add(check_equivocation_proof) Weight::from_parts(0, 3774).saturating_mul(max_nominators_per_validator.into())
.saturating_add(Weight::from_parts( );
63u64 * WEIGHT_REF_TIME_PER_MICROS * max_nominators_per_validator as u64,
0, equivocation_proof.saturating_add(report_offence)
))
.saturating_add(DbWeight::get().reads(14 + 3 * max_nominators_per_validator as u64))
.saturating_add(DbWeight::get().writes(10 + 3 * max_nominators_per_validator as u64))
// fetching set id -> session index mappings
.saturating_add(DbWeight::get().reads(2))
} }
/// Storage: `Grandpa::Stalled` (r:0 w:1) /// Storage: `Grandpa::Stalled` (r:0 w:1)
/// Proof: `Grandpa::Stalled` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Proof: `Grandpa::Stalled` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn note_stalled() -> Weight { fn note_stalled() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 12_930_000 picoseconds. // Minimum execution time: 10_910_000 picoseconds.
Weight::from_parts(13_281_000, 0) Weight::from_parts(11_171_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_identity` //! Autogenerated weights for `pallet_identity`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -53,11 +53,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `32 + r * (57 ±0)` // Measured: `32 + r * (57 ±0)`
// Estimated: `7187` // Estimated: `7187`
// Minimum execution time: 35_798_000 picoseconds. // Minimum execution time: 35_907_000 picoseconds.
Weight::from_parts(36_289_339, 0) Weight::from_parts(36_849_549, 0)
.saturating_add(Weight::from_parts(0, 7187)) .saturating_add(Weight::from_parts(0, 7187))
// Standard Error: 1_103 // Standard Error: 1_622
.saturating_add(Weight::from_parts(160_539, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(146_409, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -68,11 +68,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `6978 + r * (5 ±0)` // Measured: `6978 + r * (5 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 422_488_000 picoseconds. // Minimum execution time: 434_129_000 picoseconds.
Weight::from_parts(433_997_809, 0) Weight::from_parts(440_090_205, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 7_661 // Standard Error: 7_808
.saturating_add(Weight::from_parts(51_078, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(210_555, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -87,11 +87,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `101` // Measured: `101`
// Estimated: `12718 + s * (2589 ±0)` // Estimated: `12718 + s * (2589 ±0)`
// Minimum execution time: 37_449_000 picoseconds. // Minimum execution time: 36_977_000 picoseconds.
Weight::from_parts(90_911_440, 0) Weight::from_parts(95_282_829, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 14_352 // Standard Error: 16_032
.saturating_add(Weight::from_parts(12_452_243, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(12_336_680, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -109,11 +109,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `194 + p * (32 ±0)` // Measured: `194 + p * (32 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 36_671_000 picoseconds. // Minimum execution time: 36_395_000 picoseconds.
Weight::from_parts(85_354_944, 0) Weight::from_parts(86_802_077, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 13_167 // Standard Error: 13_128
.saturating_add(Weight::from_parts(4_989_423, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(4_973_329, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
@ -130,13 +130,13 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `7070 + r * (5 ±0) + s * (32 ±0)` // Measured: `7070 + r * (5 ±0) + s * (32 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 209_341_000 picoseconds. // Minimum execution time: 220_655_000 picoseconds.
Weight::from_parts(186_652_406, 0) Weight::from_parts(196_627_192, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 6_417 // Standard Error: 8_341
.saturating_add(Weight::from_parts(304_685, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(315_744, 0).saturating_mul(r.into()))
// Standard Error: 6_341 // Standard Error: 8_242
.saturating_add(Weight::from_parts(4_994_949, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(5_202_259, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@ -150,11 +150,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `6968 + r * (57 ±0)` // Measured: `6968 + r * (57 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 291_282_000 picoseconds. // Minimum execution time: 304_082_000 picoseconds.
Weight::from_parts(296_670_458, 0) Weight::from_parts(308_925_020, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 6_436 // Standard Error: 6_825
.saturating_add(Weight::from_parts(171_191, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(180_359, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -165,11 +165,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `6999` // Measured: `6999`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 284_020_000 picoseconds. // Minimum execution time: 295_196_000 picoseconds.
Weight::from_parts(287_345_725, 0) Weight::from_parts(299_453_347, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 5_507 // Standard Error: 6_022
.saturating_add(Weight::from_parts(101_486, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(103_200, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -180,11 +180,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)` // Measured: `89 + r * (57 ±0)`
// Estimated: `7187` // Estimated: `7187`
// Minimum execution time: 25_410_000 picoseconds. // Minimum execution time: 25_321_000 picoseconds.
Weight::from_parts(26_240_051, 0) Weight::from_parts(25_768_276, 0)
.saturating_add(Weight::from_parts(0, 7187)) .saturating_add(Weight::from_parts(0, 7187))
// Standard Error: 1_706 // Standard Error: 960
.saturating_add(Weight::from_parts(132_567, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(134_365, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -195,11 +195,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)` // Measured: `89 + r * (57 ±0)`
// Estimated: `7187` // Estimated: `7187`
// Minimum execution time: 24_984_000 picoseconds. // Minimum execution time: 24_922_000 picoseconds.
Weight::from_parts(25_699_493, 0) Weight::from_parts(25_755_270, 0)
.saturating_add(Weight::from_parts(0, 7187)) .saturating_add(Weight::from_parts(0, 7187))
// Standard Error: 673 // Standard Error: 1_182
.saturating_add(Weight::from_parts(140_957, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(139_889, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -210,11 +210,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)` // Measured: `89 + r * (57 ±0)`
// Estimated: `7187` // Estimated: `7187`
// Minimum execution time: 24_378_000 picoseconds. // Minimum execution time: 24_581_000 picoseconds.
Weight::from_parts(25_057_857, 0) Weight::from_parts(25_331_917, 0)
.saturating_add(Weight::from_parts(0, 7187)) .saturating_add(Weight::from_parts(0, 7187))
// Standard Error: 959 // Standard Error: 864
.saturating_add(Weight::from_parts(143_385, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(133_577, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -227,11 +227,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `7046 + r * (57 ±0)` // Measured: `7046 + r * (57 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 365_166_000 picoseconds. // Minimum execution time: 372_283_000 picoseconds.
Weight::from_parts(370_040_326, 0) Weight::from_parts(377_456_951, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 6_899 // Standard Error: 6_377
.saturating_add(Weight::from_parts(164_155, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(165_868, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -247,15 +247,15 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 100]`. /// The range of component `s` is `[0, 100]`.
fn kill_identity(r: u32, s: u32, ) -> Weight { fn kill_identity(r: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `7277 + r * (5 ±0) + s * (32 ±0)` // Measured: `7210 + r * (5 ±0) + s * (32 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 259_547_000 picoseconds. // Minimum execution time: 280_147_000 picoseconds.
Weight::from_parts(237_822_940, 0) Weight::from_parts(245_758_457, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 6_465 // Standard Error: 7_577
.saturating_add(Weight::from_parts(333_655, 0).saturating_mul(r.into())) .saturating_add(Weight::from_parts(402_396, 0).saturating_mul(r.into()))
// Standard Error: 6_388 // Standard Error: 7_487
.saturating_add(Weight::from_parts(5_052_675, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(5_251_950, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@ -271,11 +271,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `475 + s * (36 ±0)` // Measured: `475 + s * (36 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 105_593_000 picoseconds. // Minimum execution time: 108_203_000 picoseconds.
Weight::from_parts(117_782_161, 0) Weight::from_parts(119_247_374, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 4_186 // Standard Error: 4_560
.saturating_add(Weight::from_parts(177_713, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(187_170, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -288,11 +288,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `591 + s * (3 ±0)` // Measured: `591 + s * (3 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 48_955_000 picoseconds. // Minimum execution time: 47_854_000 picoseconds.
Weight::from_parts(54_147_259, 0) Weight::from_parts(53_278_488, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 1_773 // Standard Error: 2_631
.saturating_add(Weight::from_parts(55_170, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(47_401, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -307,11 +307,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `638 + s * (35 ±0)` // Measured: `638 + s * (35 ±0)`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 117_798_000 picoseconds. // Minimum execution time: 118_030_000 picoseconds.
Weight::from_parts(123_135_959, 0) Weight::from_parts(124_298_516, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
// Standard Error: 3_618 // Standard Error: 3_694
.saturating_add(Weight::from_parts(129_792, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(129_275, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -326,11 +326,11 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `667 + s * (37 ±0)` // Measured: `667 + s * (37 ±0)`
// Estimated: `6723` // Estimated: `6723`
// Minimum execution time: 86_156_000 picoseconds. // Minimum execution time: 86_733_000 picoseconds.
Weight::from_parts(90_875_435, 0) Weight::from_parts(91_315_911, 0)
.saturating_add(Weight::from_parts(0, 6723)) .saturating_add(Weight::from_parts(0, 6723))
// Standard Error: 1_793 // Standard Error: 3_855
.saturating_add(Weight::from_parts(140_203, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(147_720, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -340,8 +340,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 27_101_000 picoseconds. // Minimum execution time: 27_636_000 picoseconds.
Weight::from_parts(27_734_000, 0) Weight::from_parts(28_290_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -351,8 +351,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `80` // Measured: `80`
// Estimated: `3517` // Estimated: `3517`
// Minimum execution time: 41_425_000 picoseconds. // Minimum execution time: 42_154_000 picoseconds.
Weight::from_parts(42_537_000, 0) Weight::from_parts(42_870_000, 0)
.saturating_add(Weight::from_parts(0, 3517)) .saturating_add(Weight::from_parts(0, 3517))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -369,8 +369,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `80` // Measured: `80`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 236_334_000 picoseconds. // Minimum execution time: 236_485_000 picoseconds.
Weight::from_parts(238_426_000, 0) Weight::from_parts(238_990_000, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
.saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
@ -385,8 +385,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `115` // Measured: `115`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 83_197_000 picoseconds. // Minimum execution time: 84_471_000 picoseconds.
Weight::from_parts(84_626_000, 0) Weight::from_parts(85_344_000, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
@ -397,8 +397,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `115` // Measured: `115`
// Estimated: `3550` // Estimated: `3550`
// Minimum execution time: 53_343_000 picoseconds. // Minimum execution time: 53_280_000 picoseconds.
Weight::from_parts(70_796_000, 0) Weight::from_parts(56_162_000, 0)
.saturating_add(Weight::from_parts(0, 3550)) .saturating_add(Weight::from_parts(0, 3550))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -411,8 +411,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `257` // Measured: `257`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 69_483_000 picoseconds. // Minimum execution time: 67_152_000 picoseconds.
Weight::from_parts(71_115_000, 0) Weight::from_parts(68_436_000, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -425,8 +425,8 @@ impl<T: frame_system::Config> pallet_identity::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `98` // Measured: `98`
// Estimated: `12718` // Estimated: `12718`
// Minimum execution time: 50_501_000 picoseconds. // Minimum execution time: 49_947_000 picoseconds.
Weight::from_parts(51_611_000, 0) Weight::from_parts(50_448_000, 0)
.saturating_add(Weight::from_parts(0, 12718)) .saturating_add(Weight::from_parts(0, 12718))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))

View File

@ -0,0 +1,157 @@
// This file is part of Ghost Network.
// 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.
// 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.
// You should have received a copy of the GNU General Public License
// along with Ghost Network. If not, see <http://www.gnu.org/licenses/>.
//! Autogenerated weights for `pallet_offences`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2026-09-03, 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
// Executed Command:
// ./target/release/ghost
// benchmark
// pallet
// --chain=casper-dev
// --steps=50
// --repeat=20
// --pallet=pallet_offences
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/casper/src/weights/pallet_offences.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `pallet_offences`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_offences::WeightInfo for WeightInfo<T> {
/// Storage: `Offences::ConcurrentReportsIndex` (r:1 w:1)
/// Proof: `Offences::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Offences::Reports` (r:1 w:1)
/// Proof: `Offences::Reports` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Staking::SlashRewardFraction` (r:1 w:0)
/// Proof: `Staking::SlashRewardFraction` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::ActiveEra` (r:1 w:0)
/// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
/// Storage: `Staking::ErasStartSessionIndex` (r:1 w:0)
/// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
/// Storage: `Staking::Invulnerables` (r:1 w:0)
/// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Staking::ValidatorSlashInEra` (r:1 w:1)
/// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::SlashingSpans` (r:17 w:17)
/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Staking::SpanSlash` (r:17 w:17)
/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `Staking::DisabledValidators` (r:1 w:1)
/// Proof: `Staking::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Session::Validators` (r:1 w:0)
/// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Staking::NominatorSlashInEra` (r:16 w:16)
/// Proof: `Staking::NominatorSlashInEra` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:17 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:17 w:17)
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ReversePoolIdLookup` (r:17 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// Storage: `Staking::VirtualStakers` (r:17 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:18 w:18)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:17 w:17)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:17 w:0)
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 16]`.
fn report_offence_grandpa(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1426 + n * (382 ±0)`
// Estimated: `6196 + n * (3774 ±0)`
// Minimum execution time: 479_575_000 picoseconds.
Weight::from_parts(488_918_141, 0)
.saturating_add(Weight::from_parts(0, 6196))
// Standard Error: 143_360
.saturating_add(Weight::from_parts(224_103_298, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().reads((10_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(10))
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into()))
}
/// Storage: `Offences::ConcurrentReportsIndex` (r:1 w:1)
/// Proof: `Offences::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Offences::Reports` (r:1 w:1)
/// Proof: `Offences::Reports` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Staking::SlashRewardFraction` (r:1 w:0)
/// Proof: `Staking::SlashRewardFraction` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::ActiveEra` (r:1 w:0)
/// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
/// Storage: `Staking::ErasStartSessionIndex` (r:1 w:0)
/// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
/// Storage: `Staking::Invulnerables` (r:1 w:0)
/// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Staking::ValidatorSlashInEra` (r:1 w:1)
/// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::SlashingSpans` (r:17 w:17)
/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Staking::SpanSlash` (r:17 w:17)
/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
/// Storage: `Staking::DisabledValidators` (r:1 w:1)
/// Proof: `Staking::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Session::Validators` (r:1 w:0)
/// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Staking::NominatorSlashInEra` (r:16 w:16)
/// Proof: `Staking::NominatorSlashInEra` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:17 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:17 w:17)
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(810), added: 3285, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::ReversePoolIdLookup` (r:17 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// Storage: `Staking::VirtualStakers` (r:17 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:18 w:18)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:17 w:17)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:17 w:0)
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
/// The range of component `n` is `[0, 16]`.
fn report_offence_babe(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1426 + n * (382 ±0)`
// Estimated: `6196 + n * (3774 ±0)`
// Minimum execution time: 480_892_000 picoseconds.
Weight::from_parts(492_568_476, 0)
.saturating_add(Weight::from_parts(0, 6196))
// Standard Error: 135_669
.saturating_add(Weight::from_parts(223_949_669, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().reads((10_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(10))
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into()))
}
}

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_preimage` //! Autogenerated weights for `pallet_preimage`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -57,13 +57,13 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 4194304]`. /// The range of component `s` is `[0, 4194304]`.
fn note_preimage(s: u32, ) -> Weight { fn note_preimage(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `76` // Measured: `42`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 187_163_000 picoseconds. // Minimum execution time: 172_381_000 picoseconds.
Weight::from_parts(1_016_003_397, 0) Weight::from_parts(970_586_782, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
// Standard Error: 109 // Standard Error: 21
.saturating_add(Weight::from_parts(6_049, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(5_275, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
@ -76,13 +76,13 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 4194304]`. /// The range of component `s` is `[0, 4194304]`.
fn note_requested_preimage(s: u32, ) -> Weight { fn note_requested_preimage(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `140` // Measured: `106`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 102_629_000 picoseconds. // Minimum execution time: 56_225_000 picoseconds.
Weight::from_parts(7_214_980_200, 0) Weight::from_parts(907_966_272, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
// Standard Error: 224 // Standard Error: 29
.saturating_add(Weight::from_parts(4_433, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(5_355, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -95,13 +95,13 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 4194304]`. /// The range of component `s` is `[0, 4194304]`.
fn note_no_deposit_preimage(s: u32, ) -> Weight { fn note_no_deposit_preimage(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `140` // Measured: `106`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 61_780_000 picoseconds. // Minimum execution time: 57_860_000 picoseconds.
Weight::from_parts(696_495_161, 0) Weight::from_parts(202_268_079, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
// Standard Error: 24 // Standard Error: 30
.saturating_add(Weight::from_parts(5_607, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(6_023, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -115,10 +115,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`)
fn unnote_preimage() -> Weight { fn unnote_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `278` // Measured: `244`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 196_752_000 picoseconds. // Minimum execution time: 182_712_000 picoseconds.
Weight::from_parts(199_602_000, 0) Weight::from_parts(185_111_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
@ -131,10 +131,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`)
fn unnote_no_deposit_preimage() -> Weight { fn unnote_no_deposit_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `178` // Measured: `144`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 94_886_000 picoseconds. // Minimum execution time: 88_710_000 picoseconds.
Weight::from_parts(98_635_000, 0) Weight::from_parts(89_983_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -145,10 +145,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
fn request_preimage() -> Weight { fn request_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `222` // Measured: `188`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 78_089_000 picoseconds. // Minimum execution time: 72_845_000 picoseconds.
Weight::from_parts(79_794_000, 0) Weight::from_parts(74_403_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -159,10 +159,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
fn request_no_deposit_preimage() -> Weight { fn request_no_deposit_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `178` // Measured: `144`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 60_983_000 picoseconds. // Minimum execution time: 56_581_000 picoseconds.
Weight::from_parts(62_151_000, 0) Weight::from_parts(57_424_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -173,10 +173,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
fn request_unnoted_preimage() -> Weight { fn request_unnoted_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `76` // Measured: `42`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 69_363_000 picoseconds. // Minimum execution time: 63_525_000 picoseconds.
Weight::from_parts(71_322_000, 0) Weight::from_parts(64_756_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -187,10 +187,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
fn request_requested_preimage() -> Weight { fn request_requested_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `140` // Measured: `106`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 44_043_000 picoseconds. // Minimum execution time: 42_208_000 picoseconds.
Weight::from_parts(45_561_000, 0) Weight::from_parts(42_934_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -203,10 +203,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`)
fn unrequest_preimage() -> Weight { fn unrequest_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `178` // Measured: `144`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 87_783_000 picoseconds. // Minimum execution time: 81_393_000 picoseconds.
Weight::from_parts(90_504_000, 0) Weight::from_parts(83_192_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -217,10 +217,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
fn unrequest_unnoted_preimage() -> Weight { fn unrequest_unnoted_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `140` // Measured: `106`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 44_074_000 picoseconds. // Minimum execution time: 41_885_000 picoseconds.
Weight::from_parts(45_550_000, 0) Weight::from_parts(43_127_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -231,10 +231,10 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
/// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`)
fn unrequest_multi_referenced_preimage() -> Weight { fn unrequest_multi_referenced_preimage() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `140` // Measured: `106`
// Estimated: `3556` // Estimated: `3556`
// Minimum execution time: 44_665_000 picoseconds. // Minimum execution time: 42_027_000 picoseconds.
Weight::from_parts(45_634_000, 0) Weight::from_parts(43_133_000, 0)
.saturating_add(Weight::from_parts(0, 3556)) .saturating_add(Weight::from_parts(0, 3556))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -252,11 +252,11 @@ impl<T: frame_system::Config> pallet_preimage::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0 + n * (227 ±0)` // Measured: `0 + n * (227 ±0)`
// Estimated: `990 + n * (2603 ±0)` // Estimated: `990 + n * (2603 ±0)`
// Minimum execution time: 208_486_000 picoseconds. // Minimum execution time: 192_240_000 picoseconds.
Weight::from_parts(208_847_000, 0) Weight::from_parts(193_316_000, 0)
.saturating_add(Weight::from_parts(0, 990)) .saturating_add(Weight::from_parts(0, 990))
// Standard Error: 134_724 // Standard Error: 103_130
.saturating_add(Weight::from_parts(203_423_381, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(187_533_249, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into()))

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_proxy` //! Autogenerated weights for `pallet_proxy`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -51,13 +51,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn proxy(p: u32, ) -> Weight { fn proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `227 + p * (37 ±0)` // Measured: `127 + p * (37 ±0)`
// Estimated: `4706` // Estimated: `4706`
// Minimum execution time: 49_481_000 picoseconds. // Minimum execution time: 49_810_000 picoseconds.
Weight::from_parts(50_995_826, 0) Weight::from_parts(50_523_185, 0)
.saturating_add(Weight::from_parts(0, 4706)) .saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 3_198 // Standard Error: 7_344
.saturating_add(Weight::from_parts(110_515, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(159_657, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
} }
/// Storage: `Proxy::Proxies` (r:1 w:0) /// Storage: `Proxy::Proxies` (r:1 w:0)
@ -70,15 +70,15 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn proxy_announced(a: u32, p: u32, ) -> Weight { fn proxy_announced(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `554 + a * (68 ±0) + p * (37 ±0)` // Measured: `417 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `5698` // Estimated: `5698`
// Minimum execution time: 130_153_000 picoseconds. // Minimum execution time: 127_984_000 picoseconds.
Weight::from_parts(128_711_019, 0) Weight::from_parts(129_740_883, 0)
.saturating_add(Weight::from_parts(0, 5698)) .saturating_add(Weight::from_parts(0, 5698))
// Standard Error: 8_790 // Standard Error: 11_713
.saturating_add(Weight::from_parts(491_909, 0).saturating_mul(a.into())) .saturating_add(Weight::from_parts(426_412, 0).saturating_mul(a.into()))
// Standard Error: 9_082 // Standard Error: 12_102
.saturating_add(Weight::from_parts(101_604, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(44_795, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -88,15 +88,17 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// The range of component `a` is `[0, 31]`. /// The range of component `a` is `[0, 31]`.
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn remove_announcement(a: u32, _p: u32, ) -> Weight { fn remove_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `469 + a * (68 ±0)` // Measured: `332 + a * (68 ±0)`
// Estimated: `5698` // Estimated: `5698`
// Minimum execution time: 89_529_000 picoseconds. // Minimum execution time: 86_978_000 picoseconds.
Weight::from_parts(90_887_836, 0) Weight::from_parts(87_648_880, 0)
.saturating_add(Weight::from_parts(0, 5698)) .saturating_add(Weight::from_parts(0, 5698))
// Standard Error: 5_789 // Standard Error: 4_054
.saturating_add(Weight::from_parts(470_495, 0).saturating_mul(a.into())) .saturating_add(Weight::from_parts(494_013, 0).saturating_mul(a.into()))
// Standard Error: 4_188
.saturating_add(Weight::from_parts(11_160, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -108,15 +110,15 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn reject_announcement(a: u32, p: u32, ) -> Weight { fn reject_announcement(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `469 + a * (68 ±0)` // Measured: `332 + a * (68 ±0)`
// Estimated: `5698` // Estimated: `5698`
// Minimum execution time: 89_167_000 picoseconds. // Minimum execution time: 86_434_000 picoseconds.
Weight::from_parts(89_500_097, 0) Weight::from_parts(87_591_709, 0)
.saturating_add(Weight::from_parts(0, 5698)) .saturating_add(Weight::from_parts(0, 5698))
// Standard Error: 5_162 // Standard Error: 4_383
.saturating_add(Weight::from_parts(491_814, 0).saturating_mul(a.into())) .saturating_add(Weight::from_parts(499_300, 0).saturating_mul(a.into()))
// Standard Error: 5_334 // Standard Error: 4_529
.saturating_add(Weight::from_parts(28_371, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(545, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -130,15 +132,15 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn announce(a: u32, p: u32, ) -> Weight { fn announce(a: u32, p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `486 + a * (68 ±0) + p * (37 ±0)` // Measured: `349 + a * (68 ±0) + p * (37 ±0)`
// Estimated: `5698` // Estimated: `5698`
// Minimum execution time: 118_291_000 picoseconds. // Minimum execution time: 115_578_000 picoseconds.
Weight::from_parts(117_789_349, 0) Weight::from_parts(114_623_486, 0)
.saturating_add(Weight::from_parts(0, 5698)) .saturating_add(Weight::from_parts(0, 5698))
// Standard Error: 5_389 // Standard Error: 6_346
.saturating_add(Weight::from_parts(439_098, 0).saturating_mul(a.into())) .saturating_add(Weight::from_parts(445_460, 0).saturating_mul(a.into()))
// Standard Error: 5_568 // Standard Error: 6_556
.saturating_add(Weight::from_parts(52_417, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(64_505, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -147,13 +149,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn add_proxy(p: u32, ) -> Weight { fn add_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `227 + p * (37 ±0)` // Measured: `127 + p * (37 ±0)`
// Estimated: `4706` // Estimated: `4706`
// Minimum execution time: 87_673_000 picoseconds. // Minimum execution time: 87_063_000 picoseconds.
Weight::from_parts(88_498_284, 0) Weight::from_parts(88_058_770, 0)
.saturating_add(Weight::from_parts(0, 4706)) .saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 5_087 // Standard Error: 2_938
.saturating_add(Weight::from_parts(160_633, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(127_125, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -162,13 +164,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn remove_proxy(p: u32, ) -> Weight { fn remove_proxy(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `227 + p * (37 ±0)` // Measured: `127 + p * (37 ±0)`
// Estimated: `4706` // Estimated: `4706`
// Minimum execution time: 86_923_000 picoseconds. // Minimum execution time: 87_008_000 picoseconds.
Weight::from_parts(88_407_273, 0) Weight::from_parts(88_516_804, 0)
.saturating_add(Weight::from_parts(0, 4706)) .saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 3_144 // Standard Error: 4_451
.saturating_add(Weight::from_parts(157_620, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(147_013, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -177,13 +179,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn remove_proxies(p: u32, ) -> Weight { fn remove_proxies(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `227 + p * (37 ±0)` // Measured: `127 + p * (37 ±0)`
// Estimated: `4706` // Estimated: `4706`
// Minimum execution time: 78_497_000 picoseconds. // Minimum execution time: 79_508_000 picoseconds.
Weight::from_parts(80_261_310, 0) Weight::from_parts(80_633_816, 0)
.saturating_add(Weight::from_parts(0, 4706)) .saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 4_821 // Standard Error: 4_676
.saturating_add(Weight::from_parts(130_950, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(125_587, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -192,13 +194,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[1, 31]`. /// The range of component `p` is `[1, 31]`.
fn create_pure(p: u32, ) -> Weight { fn create_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `239` // Measured: `139`
// Estimated: `4706` // Estimated: `4706`
// Minimum execution time: 92_942_000 picoseconds. // Minimum execution time: 92_448_000 picoseconds.
Weight::from_parts(94_228_619, 0) Weight::from_parts(94_179_237, 0)
.saturating_add(Weight::from_parts(0, 4706)) .saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 3_983 // Standard Error: 3_402
.saturating_add(Weight::from_parts(49_038, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(30_816, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -207,13 +209,13 @@ impl<T: frame_system::Config> pallet_proxy::WeightInfo for WeightInfo<T> {
/// The range of component `p` is `[0, 30]`. /// The range of component `p` is `[0, 30]`.
fn kill_pure(p: u32, ) -> Weight { fn kill_pure(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `264 + p * (37 ±0)` // Measured: `164 + p * (37 ±0)`
// Estimated: `4706` // Estimated: `4706`
// Minimum execution time: 81_597_000 picoseconds. // Minimum execution time: 81_962_000 picoseconds.
Weight::from_parts(83_604_817, 0) Weight::from_parts(83_583_435, 0)
.saturating_add(Weight::from_parts(0, 4706)) .saturating_add(Weight::from_parts(0, 4706))
// Standard Error: 5_329 // Standard Error: 3_499
.saturating_add(Weight::from_parts(124_813, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(120_302, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_scheduler` //! Autogenerated weights for `pallet_scheduler`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -50,10 +50,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn service_agendas_base() -> Weight { fn service_agendas_base() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `30` // Measured: `68`
// Estimated: `1489` // Estimated: `1489`
// Minimum execution time: 14_860_000 picoseconds. // Minimum execution time: 16_123_000 picoseconds.
Weight::from_parts(15_248_000, 0) Weight::from_parts(16_585_000, 0)
.saturating_add(Weight::from_parts(0, 1489)) .saturating_add(Weight::from_parts(0, 1489))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -63,13 +63,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 50]`. /// The range of component `s` is `[0, 50]`.
fn service_agenda_base(s: u32, ) -> Weight { fn service_agenda_base(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `77 + s * (177 ±0)` // Measured: `115 + s * (177 ±0)`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 18_722_000 picoseconds. // Minimum execution time: 18_911_000 picoseconds.
Weight::from_parts(28_118_266, 0) Weight::from_parts(27_863_416, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
// Standard Error: 4_843 // Standard Error: 4_180
.saturating_add(Weight::from_parts(1_226_870, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(1_200_479, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -77,8 +77,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 13_296_000 picoseconds. // Minimum execution time: 13_266_000 picoseconds.
Weight::from_parts(13_620_000, 0) Weight::from_parts(13_524_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
/// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Storage: `Preimage::PreimageFor` (r:1 w:1)
@ -90,13 +90,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[128, 4194304]`. /// The range of component `s` is `[128, 4194304]`.
fn service_task_fetched(s: u32, ) -> Weight { fn service_task_fetched(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `213 + s * (1 ±0)` // Measured: `179 + s * (1 ±0)`
// Estimated: `4197809` // Estimated: `4197809`
// Minimum execution time: 69_439_000 picoseconds. // Minimum execution time: 65_494_000 picoseconds.
Weight::from_parts(104_150_976, 0) Weight::from_parts(76_342_945, 0)
.saturating_add(Weight::from_parts(0, 4197809)) .saturating_add(Weight::from_parts(0, 4197809))
// Standard Error: 2 // Standard Error: 8
.saturating_add(Weight::from_parts(2_987, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(2_914, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -106,8 +106,8 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 19_790_000 picoseconds. // Minimum execution time: 18_961_000 picoseconds.
Weight::from_parts(20_285_000, 0) Weight::from_parts(19_358_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -115,24 +115,24 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 13_608_000 picoseconds. // Minimum execution time: 13_210_000 picoseconds.
Weight::from_parts(13_774_000, 0) Weight::from_parts(13_532_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
fn execute_dispatch_signed() -> Weight { fn execute_dispatch_signed() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 9_913_000 picoseconds. // Minimum execution time: 9_849_000 picoseconds.
Weight::from_parts(10_088_000, 0) Weight::from_parts(9_974_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
fn execute_dispatch_unsigned() -> Weight { fn execute_dispatch_unsigned() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 9_729_000 picoseconds. // Minimum execution time: 9_651_000 picoseconds.
Weight::from_parts(10_021_000, 0) Weight::from_parts(9_871_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
/// Storage: `Scheduler::Agenda` (r:1 w:1) /// Storage: `Scheduler::Agenda` (r:1 w:1)
@ -140,13 +140,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 49]`. /// The range of component `s` is `[0, 49]`.
fn schedule(s: u32, ) -> Weight { fn schedule(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `77 + s * (177 ±0)` // Measured: `115 + s * (177 ±0)`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 45_794_000 picoseconds. // Minimum execution time: 46_181_000 picoseconds.
Weight::from_parts(54_608_211, 0) Weight::from_parts(54_914_272, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
// Standard Error: 6_785 // Standard Error: 6_949
.saturating_add(Weight::from_parts(1_269_868, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(1_239_505, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -159,13 +159,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[1, 50]`. /// The range of component `s` is `[1, 50]`.
fn cancel(s: u32, ) -> Weight { fn cancel(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `77 + s * (177 ±0)` // Measured: `115 + s * (177 ±0)`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 64_891_000 picoseconds. // Minimum execution time: 63_427_000 picoseconds.
Weight::from_parts(63_222_573, 0) Weight::from_parts(61_719_954, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
// Standard Error: 6_260 // Standard Error: 4_476
.saturating_add(Weight::from_parts(2_004_294, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(1_946_659, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
@ -176,13 +176,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 49]`. /// The range of component `s` is `[0, 49]`.
fn schedule_named(s: u32, ) -> Weight { fn schedule_named(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `254 + s * (185 ±0)` // Measured: `292 + s * (185 ±0)`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 57_828_000 picoseconds. // Minimum execution time: 57_976_000 picoseconds.
Weight::from_parts(70_377_584, 0) Weight::from_parts(69_996_410, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
// Standard Error: 10_551 // Standard Error: 10_353
.saturating_add(Weight::from_parts(1_358_544, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(1_328_642, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -195,13 +195,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[1, 50]`. /// The range of component `s` is `[1, 50]`.
fn cancel_named(s: u32, ) -> Weight { fn cancel_named(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `280 + s * (185 ±0)` // Measured: `318 + s * (185 ±0)`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 72_307_000 picoseconds. // Minimum execution time: 70_428_000 picoseconds.
Weight::from_parts(72_338_384, 0) Weight::from_parts(71_145_060, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
// Standard Error: 5_443 // Standard Error: 7_751
.saturating_add(Weight::from_parts(2_097_934, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(2_006_506, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
@ -212,13 +212,13 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[1, 50]`. /// The range of component `s` is `[1, 50]`.
fn schedule_retry(s: u32, ) -> Weight { fn schedule_retry(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `117` // Measured: `155`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 40_472_000 picoseconds. // Minimum execution time: 39_942_000 picoseconds.
Weight::from_parts(41_731_708, 0) Weight::from_parts(41_111_378, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
// Standard Error: 2_220 // Standard Error: 1_379
.saturating_add(Weight::from_parts(53_608, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(49_672, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
@ -228,10 +228,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn set_retry() -> Weight { fn set_retry() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `8927` // Measured: `8965`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 94_352_000 picoseconds. // Minimum execution time: 91_914_000 picoseconds.
Weight::from_parts(96_244_000, 0) Weight::from_parts(93_214_000, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -244,10 +244,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn set_retry_named() -> Weight { fn set_retry_named() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `9605` // Measured: `9643`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 112_092_000 picoseconds. // Minimum execution time: 108_856_000 picoseconds.
Weight::from_parts(113_518_000, 0) Weight::from_parts(110_285_000, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -258,10 +258,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn cancel_retry() -> Weight { fn cancel_retry() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `8939` // Measured: `8977`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 90_762_000 picoseconds. // Minimum execution time: 88_821_000 picoseconds.
Weight::from_parts(91_344_000, 0) Weight::from_parts(90_028_000, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -274,10 +274,10 @@ impl<T: frame_system::Config> pallet_scheduler::WeightInfo for WeightInfo<T> {
/// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
fn cancel_retry_named() -> Weight { fn cancel_retry_named() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `9617` // Measured: `9655`
// Estimated: `13928` // Estimated: `13928`
// Minimum execution time: 108_385_000 picoseconds. // Minimum execution time: 105_658_000 picoseconds.
Weight::from_parts(110_218_000, 0) Weight::from_parts(107_522_000, 0)
.saturating_add(Weight::from_parts(0, 13928)) .saturating_add(Weight::from_parts(0, 13928))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_session` //! Autogenerated weights for `pallet_session`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -47,35 +47,35 @@ use core::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>); pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> { impl<T: frame_system::Config> pallet_session::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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: `Session::NextKeys` (r:1 w:1) /// Storage: `Session::NextKeys` (r:1 w:1)
/// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Session::KeyOwner` (r:4 w:4) /// Storage: `Session::KeyOwner` (r:5 w:5)
/// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn set_keys() -> Weight { fn set_keys() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1731` // Measured: `1719`
// Estimated: `12621` // Estimated: `15084`
// Minimum execution time: 163_404_000 picoseconds. // Minimum execution time: 176_004_000 picoseconds.
Weight::from_parts(165_615_000, 0) Weight::from_parts(178_968_000, 0)
.saturating_add(Weight::from_parts(0, 12621)) .saturating_add(Weight::from_parts(0, 15084))
.saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes(6))
} }
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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: `Session::NextKeys` (r:1 w:1) /// Storage: `Session::NextKeys` (r:1 w:1)
/// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Session::KeyOwner` (r:0 w:4) /// Storage: `Session::KeyOwner` (r:0 w:5)
/// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn purge_keys() -> Weight { fn purge_keys() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1647` // Measured: `1634`
// Estimated: `5112` // Estimated: `5099`
// Minimum execution time: 117_712_000 picoseconds. // Minimum execution time: 126_239_000 picoseconds.
Weight::from_parts(120_680_000, 0) Weight::from_parts(128_204_000, 0)
.saturating_add(Weight::from_parts(0, 5112)) .saturating_add(Weight::from_parts(0, 5099))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes(6))
} }
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_staking` //! Autogenerated weights for `pallet_staking`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -49,21 +49,21 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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: `Staking::Payee` (r:0 w:1) /// Storage: `Staking::Payee` (r:0 w:1)
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
fn bond() -> Weight { fn bond() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `971` // Measured: `787`
// Estimated: `4764` // Estimated: `4764`
// Minimum execution time: 181_513_000 picoseconds. // Minimum execution time: 181_167_000 picoseconds.
Weight::from_parts(182_668_000, 0) Weight::from_parts(183_016_000, 0)
.saturating_add(Weight::from_parts(0, 4764)) .saturating_add(Weight::from_parts(0, 4764))
.saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes(4))
@ -71,29 +71,29 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn bond_extra() -> Weight { fn bond_extra() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1884` // Measured: `1736`
// Estimated: `8877` // Estimated: `8877`
// Minimum execution time: 337_203_000 picoseconds. // Minimum execution time: 332_754_000 picoseconds.
Weight::from_parts(340_995_000, 0) Weight::from_parts(345_227_000, 0)
.saturating_add(Weight::from_parts(0, 8877)) .saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes(7))
} }
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Nominators` (r:1 w:0) /// Storage: `Staking::Nominators` (r:1 w:0)
@ -107,23 +107,23 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn unbond() -> Weight { fn unbond() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `2091` // Measured: `1939`
// Estimated: `8877` // Estimated: `8877`
// Minimum execution time: 366_736_000 picoseconds. // Minimum execution time: 357_949_000 picoseconds.
Weight::from_parts(370_254_000, 0) Weight::from_parts(360_467_000, 0)
.saturating_add(Weight::from_parts(0, 8877)) .saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes(7))
} }
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0) /// Storage: `Staking::CurrentEra` (r:1 w:0)
@ -133,24 +133,24 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`. /// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight { fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1189` // Measured: `1078`
// Estimated: `4764` // Estimated: `4764`
// Minimum execution time: 186_356_000 picoseconds. // Minimum execution time: 184_586_000 picoseconds.
Weight::from_parts(189_174_830, 0) Weight::from_parts(188_174_212, 0)
.saturating_add(Weight::from_parts(0, 4764)) .saturating_add(Weight::from_parts(0, 4764))
// Standard Error: 2_581 // Standard Error: 4_080
.saturating_add(Weight::from_parts(60_458, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(32_699, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
} }
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0) /// Storage: `Staking::CurrentEra` (r:1 w:0)
@ -162,7 +162,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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: `Staking::Validators` (r:1 w:0) /// Storage: `Staking::Validators` (r:1 w:0)
/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
/// Storage: `Staking::Nominators` (r:1 w:1) /// Storage: `Staking::Nominators` (r:1 w:1)
@ -182,20 +182,20 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 100]`. /// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(s: u32, ) -> Weight { fn withdraw_unbonded_kill(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `2090 + s * (4 ±0)` // Measured: `1908 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 336_627_000 picoseconds. // Minimum execution time: 329_553_000 picoseconds.
Weight::from_parts(354_652_860, 0) Weight::from_parts(347_283_020, 0)
.saturating_add(Weight::from_parts(0, 6248)) .saturating_add(Weight::from_parts(0, 6248))
// Standard Error: 10_253 // Standard Error: 10_501
.saturating_add(Weight::from_parts(4_298_159, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(4_334_030, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into())) .saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
} }
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinValidatorBond` (r:1 w:0) /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
@ -218,16 +218,16 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn validate() -> Weight { fn validate() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1266` // Measured: `1064`
// Estimated: `4556` // Estimated: `4275`
// Minimum execution time: 206_506_000 picoseconds. // Minimum execution time: 198_845_000 picoseconds.
Weight::from_parts(208_265_000, 0) Weight::from_parts(200_580_000, 0)
.saturating_add(Weight::from_parts(0, 4556)) .saturating_add(Weight::from_parts(0, 4275))
.saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(5)) .saturating_add(T::DbWeight::get().writes(5))
} }
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Nominators` (r:128 w:128) /// Storage: `Staking::Nominators` (r:128 w:128)
@ -235,20 +235,20 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `k` is `[1, 128]`. /// The range of component `k` is `[1, 128]`.
fn kick(k: u32, ) -> Weight { fn kick(k: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1709 + k * (572 ±0)` // Measured: `1631 + k * (572 ±0)`
// Estimated: `4556 + k * (3033 ±0)` // Estimated: `4275 + k * (3033 ±0)`
// Minimum execution time: 104_620_000 picoseconds. // Minimum execution time: 107_423_000 picoseconds.
Weight::from_parts(121_005_526, 0) Weight::from_parts(113_208_028, 0)
.saturating_add(Weight::from_parts(0, 4556)) .saturating_add(Weight::from_parts(0, 4275))
// Standard Error: 17_909 // Standard Error: 14_270
.saturating_add(Weight::from_parts(22_870_595, 0).saturating_mul(k.into())) .saturating_add(Weight::from_parts(23_415_065, 0).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
.saturating_add(Weight::from_parts(0, 3033).saturating_mul(k.into())) .saturating_add(Weight::from_parts(0, 3033).saturating_mul(k.into()))
} }
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinNominatorBond` (r:1 w:0) /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
@ -272,20 +272,20 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[1, 16]`. /// The range of component `n` is `[1, 16]`.
fn nominate(n: u32, ) -> Weight { fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1760 + n * (102 ±0)` // Measured: `1612 + n * (102 ±0)`
// Estimated: `6248 + n * (2520 ±0)` // Estimated: `6248 + n * (2520 ±0)`
// Minimum execution time: 245_114_000 picoseconds. // Minimum execution time: 236_823_000 picoseconds.
Weight::from_parts(235_148_071, 0) Weight::from_parts(228_594_552, 0)
.saturating_add(Weight::from_parts(0, 6248)) .saturating_add(Weight::from_parts(0, 6248))
// Standard Error: 54_194 // Standard Error: 43_184
.saturating_add(Weight::from_parts(12_802_063, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(12_249_930, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes(6))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into()))
} }
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0) /// Storage: `Staking::Validators` (r:1 w:0)
@ -302,57 +302,57 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn chill() -> Weight { fn chill() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1710` // Measured: `1562`
// Estimated: `6248` // Estimated: `6248`
// Minimum execution time: 212_277_000 picoseconds. // Minimum execution time: 205_528_000 picoseconds.
Weight::from_parts(213_799_000, 0) Weight::from_parts(208_093_000, 0)
.saturating_add(Weight::from_parts(0, 6248)) .saturating_add(Weight::from_parts(0, 6248))
.saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes(6))
} }
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Payee` (r:0 w:1) /// Storage: `Staking::Payee` (r:0 w:1)
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
fn set_payee() -> Weight { fn set_payee() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `796` // Measured: `718`
// Estimated: `4556` // Estimated: `4275`
// Minimum execution time: 75_881_000 picoseconds. // Minimum execution time: 75_071_000 picoseconds.
Weight::from_parts(76_731_000, 0) Weight::from_parts(76_069_000, 0)
.saturating_add(Weight::from_parts(0, 4556)) .saturating_add(Weight::from_parts(0, 4275))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Payee` (r:1 w:1) /// Storage: `Staking::Payee` (r:1 w:1)
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
fn update_payee() -> Weight { fn update_payee() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `863` // Measured: `785`
// Estimated: `4556` // Estimated: `4275`
// Minimum execution time: 88_613_000 picoseconds. // Minimum execution time: 88_688_000 picoseconds.
Weight::from_parts(89_638_000, 0) Weight::from_parts(89_658_000, 0)
.saturating_add(Weight::from_parts(0, 4556)) .saturating_add(Weight::from_parts(0, 4275))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `Staking::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:2 w:2) /// Storage: `Staking::Ledger` (r:2 w:2)
/// 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_controller() -> Weight { fn set_controller() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `796` // Measured: `718`
// Estimated: `8122` // Estimated: `7560`
// Minimum execution time: 84_994_000 picoseconds. // Minimum execution time: 87_281_000 picoseconds.
Weight::from_parts(85_695_000, 0) Weight::from_parts(88_685_000, 0)
.saturating_add(Weight::from_parts(0, 8122)) .saturating_add(Weight::from_parts(0, 7560))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
@ -362,8 +362,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 10_765_000 picoseconds. // Minimum execution time: 10_943_000 picoseconds.
Weight::from_parts(10_987_000, 0) Weight::from_parts(11_209_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -373,8 +373,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 34_097_000 picoseconds. // Minimum execution time: 34_631_000 picoseconds.
Weight::from_parts(35_276_000, 0) Weight::from_parts(35_552_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -384,8 +384,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 34_024_000 picoseconds. // Minimum execution time: 34_287_000 picoseconds.
Weight::from_parts(34_864_000, 0) Weight::from_parts(35_315_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -395,27 +395,27 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 34_191_000 picoseconds. // Minimum execution time: 35_130_000 picoseconds.
Weight::from_parts(35_014_000, 0) Weight::from_parts(36_303_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `Staking::Invulnerables` (r:0 w:1) /// Storage: `Staking::Invulnerables` (r:0 w:1)
/// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `v` is `[0, 1000]`. /// The range of component `v` is `[0, 300]`.
fn set_invulnerables(v: u32, ) -> Weight { fn set_invulnerables(v: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 11_557_000 picoseconds. // Minimum execution time: 11_860_000 picoseconds.
Weight::from_parts(12_160_317, 0) Weight::from_parts(12_752_094, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 82 // Standard Error: 135
.saturating_add(Weight::from_parts(33_853, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(32_940, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `Staking::Ledger` (r:10628 w:10628) /// Storage: `Staking::Ledger` (r:10628 w:10628)
/// 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::Bonded` (r:5314 w:5314) /// Storage: `Staking::Bonded` (r:5314 w:5314)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Payee` (r:5314 w:0) /// Storage: `Staking::Payee` (r:5314 w:0)
@ -423,29 +423,29 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 5314]`. /// The range of component `i` is `[0, 5314]`.
fn deprecate_controller_batch(i: u32, ) -> Weight { fn deprecate_controller_batch(i: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1631 + i * (227 ±0)` // Measured: `1551 + i * (229 ±0)`
// Estimated: `990 + i * (7132 ±0)` // Estimated: `990 + i * (6570 ±0)`
// Minimum execution time: 20_774_000 picoseconds. // Minimum execution time: 21_218_000 picoseconds.
Weight::from_parts(21_015_000, 0) Weight::from_parts(21_437_000, 0)
.saturating_add(Weight::from_parts(0, 990)) .saturating_add(Weight::from_parts(0, 990))
// Standard Error: 147_428 // Standard Error: 147_222
.saturating_add(Weight::from_parts(95_424_440, 0).saturating_mul(i.into())) .saturating_add(Weight::from_parts(94_073_866, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_parts(0, 7132).saturating_mul(i.into())) .saturating_add(Weight::from_parts(0, 6570).saturating_mul(i.into()))
} }
/// Storage: `Staking::SlashingSpans` (r:1 w:1) /// Storage: `Staking::SlashingSpans` (r:1 w:1)
/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Staking::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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:1) /// Storage: `Staking::VirtualStakers` (r:1 w:1)
/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1 w:0) /// Storage: `Staking::Validators` (r:1 w:0)
@ -467,13 +467,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[0, 100]`. /// The range of component `s` is `[0, 100]`.
fn force_unstake(s: u32, ) -> Weight { fn force_unstake(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `2090 + s * (4 ±0)` // Measured: `1908 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 315_458_000 picoseconds. // Minimum execution time: 309_264_000 picoseconds.
Weight::from_parts(332_699_276, 0) Weight::from_parts(326_651_752, 0)
.saturating_add(Weight::from_parts(0, 6248)) .saturating_add(Weight::from_parts(0, 6248))
// Standard Error: 10_062 // Standard Error: 9_633
.saturating_add(Weight::from_parts(4_257_588, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(4_294_625, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads(14))
.saturating_add(T::DbWeight::get().writes(13)) .saturating_add(T::DbWeight::get().writes(13))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@ -484,20 +484,20 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[1, 1000]`. /// The range of component `s` is `[1, 1000]`.
fn cancel_deferred_slash(s: u32, ) -> Weight { fn cancel_deferred_slash(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `66568` // Measured: `66488`
// Estimated: `70033` // Estimated: `69953`
// Minimum execution time: 425_648_000 picoseconds. // Minimum execution time: 459_786_000 picoseconds.
Weight::from_parts(3_002_999_713, 0) Weight::from_parts(3_266_390_614, 0)
.saturating_add(Weight::from_parts(0, 70033)) .saturating_add(Weight::from_parts(0, 69953))
// Standard Error: 186_223 // Standard Error: 203_319
.saturating_add(Weight::from_parts(15_683_969, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(17_120_553, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `Staking::Bonded` (r:513 w:0) /// Storage: `Staking::Bonded` (r:513 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:513 w:513) /// Storage: `Staking::Ledger` (r:513 w:513)
/// 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::ErasStakersClipped` (r:1 w:0) /// Storage: `Staking::ErasStakersClipped` (r:1 w:0)
/// Proof: `Staking::ErasStakersClipped` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Staking::ErasStakersClipped` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Staking::ErasStakersOverview` (r:1 w:0) /// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
@ -513,7 +513,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Balances::Locks` (r:513 w:513) /// Storage: `Balances::Locks` (r:513 w:513)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:513 w:0) /// Storage: `Balances::Freezes` (r:513 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:513 w:513) /// Storage: `System::Account` (r:513 w:513)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Staking::ErasStakersPaged` (r:1 w:0) /// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
@ -527,13 +527,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 512]`. /// The range of component `n` is `[0, 512]`.
fn payout_stakers_alive_staked(n: u32, ) -> Weight { fn payout_stakers_alive_staked(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `58254 + n * (391 ±0)` // Measured: `58079 + n * (393 ±0)`
// Estimated: `53119 + n * (3774 ±0)` // Estimated: `52937 + n * (3774 ±0)`
// Minimum execution time: 570_369_000 picoseconds. // Minimum execution time: 561_637_000 picoseconds.
Weight::from_parts(437_482_260, 0) Weight::from_parts(448_433_373, 0)
.saturating_add(Weight::from_parts(0, 53119)) .saturating_add(Weight::from_parts(0, 52937))
// Standard Error: 45_805 // Standard Error: 38_882
.saturating_add(Weight::from_parts(202_658_573, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(200_357_400, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().reads(15))
.saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes(4))
@ -541,7 +541,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
.saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into()))
} }
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Storage: `Staking::VirtualStakers` (r:1 w:0)
@ -549,7 +549,7 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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) /// Storage: `VoterList::ListNodes` (r:3 w:3)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2) /// Storage: `VoterList::ListBags` (r:2 w:2)
@ -557,13 +557,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `l` is `[1, 32]`. /// The range of component `l` is `[1, 32]`.
fn rebond(l: u32, ) -> Weight { fn rebond(l: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1885 + l * (7 ±0)` // Measured: `1737 + l * (8 ±0)`
// Estimated: `8877` // Estimated: `8877`
// Minimum execution time: 325_993_000 picoseconds. // Minimum execution time: 315_425_000 picoseconds.
Weight::from_parts(332_835_692, 0) Weight::from_parts(321_861_255, 0)
.saturating_add(Weight::from_parts(0, 8877)) .saturating_add(Weight::from_parts(0, 8877))
// Standard Error: 23_972 // Standard Error: 24_749
.saturating_add(Weight::from_parts(401_835, 0).saturating_mul(l.into())) .saturating_add(Weight::from_parts(361_992, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes(7))
} }
@ -572,13 +572,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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:1) /// Storage: `Staking::SlashingSpans` (r:1 w:1)
/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Balances::Locks` (r:1 w:1) /// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0) /// 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: `Staking::Validators` (r:1 w:0) /// Storage: `Staking::Validators` (r:1 w:0)
/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
/// Storage: `Staking::Nominators` (r:1 w:1) /// Storage: `Staking::Nominators` (r:1 w:1)
@ -598,13 +598,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `s` is `[1, 100]`. /// The range of component `s` is `[1, 100]`.
fn reap_stash(s: u32, ) -> Weight { fn reap_stash(s: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `2090 + s * (4 ±0)` // Measured: `1908 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 354_928_000 picoseconds. // Minimum execution time: 348_270_000 picoseconds.
Weight::from_parts(358_417_393, 0) Weight::from_parts(352_167_887, 0)
.saturating_add(Weight::from_parts(0, 6248)) .saturating_add(Weight::from_parts(0, 6248))
// Standard Error: 11_745 // Standard Error: 14_571
.saturating_add(Weight::from_parts(4_288_934, 0).saturating_mul(s.into())) .saturating_add(Weight::from_parts(4_293_994, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads(13))
.saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes(12))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@ -612,14 +612,14 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
} }
/// Storage: `VoterList::CounterForListNodes` (r:1 w:0) /// Storage: `VoterList::CounterForListNodes` (r:1 w:0)
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:132 w:0) /// Storage: `VoterList::ListBags` (r:62 w:0)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:110 w:0) /// Storage: `VoterList::ListNodes` (r:110 w:0)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:110 w:0) /// Storage: `Staking::Bonded` (r:110 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:110 w:0) /// Storage: `Staking::Ledger` (r:110 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::Nominators` (r:110 w:0) /// Storage: `Staking::Nominators` (r:110 w:0)
/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:11 w:0) /// Storage: `Staking::Validators` (r:11 w:0)
@ -648,73 +648,71 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// The range of component `n` is `[0, 100]`. /// The range of component `n` is `[0, 100]`.
fn new_era(v: u32, n: u32, ) -> Weight { fn new_era(v: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0 + n * (718 ±0) + v * (3596 ±0)` // Measured: `0 + n * (720 ±0) + v * (3598 ±0)`
// Estimated: `338514 + n * (3566 ±0) + v * (3566 ±0)` // Estimated: `159524 + n * (3285 ±0) + v * (3285 ±0)`
// Minimum execution time: 1_813_981_000 picoseconds. // Minimum execution time: 1_410_773_000 picoseconds.
Weight::from_parts(1_826_029_000, 0) Weight::from_parts(1_416_517_000, 0)
.saturating_add(Weight::from_parts(0, 338514)) .saturating_add(Weight::from_parts(0, 159524))
// Standard Error: 7_494_870 // Standard Error: 6_356_789
.saturating_add(Weight::from_parts(249_121_016, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(213_320_057, 0).saturating_mul(v.into()))
// Standard Error: 746_822 // Standard Error: 633_419
.saturating_add(Weight::from_parts(69_898_615, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(65_108_790, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(138)) .saturating_add(T::DbWeight::get().reads(68))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 3285).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 3285).saturating_mul(v.into()))
} }
/// Storage: `VoterList::CounterForListNodes` (r:1 w:0) /// Storage: `VoterList::CounterForListNodes` (r:1 w:0)
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:132 w:0) /// Storage: `VoterList::ListBags` (r:69 w:0)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListNodes` (r:2000 w:0) /// Storage: `VoterList::ListNodes` (r:3300 w:0)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:2000 w:0) /// Storage: `Staking::Bonded` (r:3300 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:2000 w:0) /// Storage: `Staking::Ledger` (r:3300 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::Nominators` (r:2000 w:0) /// Storage: `Staking::Nominators` (r:3300 w:0)
/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1000 w:0) /// Storage: `Staking::Validators` (r:300 w:0)
/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
/// Storage: `Staking::MinimumActiveStake` (r:0 w:1) /// Storage: `Staking::MinimumActiveStake` (r:0 w:1)
/// Proof: `Staking::MinimumActiveStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `Staking::MinimumActiveStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// The range of component `v` is `[500, 1000]`. /// The range of component `v` is `[150, 300]`.
/// The range of component `n` is `[500, 1000]`. /// The range of component `n` is `[1500, 3000]`.
fn get_npos_voters(v: u32, n: u32, ) -> Weight { fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `3071 + n * (909 ±0) + v * (393 ±0)` // Measured: `2088 + n * (911 ±0) + v * (395 ±0)`
// Estimated: `338514 + n * (3566 ±0) + v * (3566 ±0)` // Estimated: `164043 + n * (3285 ±0) + v * (3285 ±0)`
// Minimum execution time: 121_576_757_000 picoseconds. // Minimum execution time: 139_572_208_000 picoseconds.
Weight::from_parts(122_402_256_000, 0) Weight::from_parts(140_092_297_000, 0)
.saturating_add(Weight::from_parts(0, 338514)) .saturating_add(Weight::from_parts(0, 164043))
// Standard Error: 1_265_914 // Standard Error: 498_224
.saturating_add(Weight::from_parts(17_930_840, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(57_278_397, 0).saturating_mul(n.into()))
// Standard Error: 1_265_914 .saturating_add(T::DbWeight::get().reads(65))
.saturating_add(Weight::from_parts(11_256_916, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(133))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 3285).saturating_mul(n.into()))
.saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 3285).saturating_mul(v.into()))
} }
/// Storage: `Staking::CounterForValidators` (r:1 w:0) /// Storage: `Staking::CounterForValidators` (r:1 w:0)
/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::Validators` (r:1001 w:0) /// Storage: `Staking::Validators` (r:301 w:0)
/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
/// The range of component `v` is `[500, 1000]`. /// The range of component `v` is `[150, 300]`.
fn get_npos_targets(v: u32, ) -> Weight { fn get_npos_targets(v: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `875 + v * (50 ±0)` // Measured: `495 + v * (50 ±0)`
// Estimated: `3510 + v * (2520 ±0)` // Estimated: `3510 + v * (2520 ±0)`
// Minimum execution time: 9_879_171_000 picoseconds. // Minimum execution time: 2_924_747_000 picoseconds.
Weight::from_parts(192_965_403, 0) Weight::from_parts(219_333_153, 0)
.saturating_add(Weight::from_parts(0, 3510)) .saturating_add(Weight::from_parts(0, 3510))
// Standard Error: 28_122 // Standard Error: 23_404
.saturating_add(Weight::from_parts(19_825_455, 0).saturating_mul(v.into())) .saturating_add(Weight::from_parts(18_783_911, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into())) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
@ -737,8 +735,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 16_687_000 picoseconds. // Minimum execution time: 16_484_000 picoseconds.
Weight::from_parts(17_181_000, 0) Weight::from_parts(17_210_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes(7))
} }
@ -760,15 +758,15 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 15_742_000 picoseconds. // Minimum execution time: 15_828_000 picoseconds.
Weight::from_parts(15_987_000, 0) Weight::from_parts(16_284_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(7)) .saturating_add(T::DbWeight::get().writes(7))
} }
/// Storage: `Staking::Bonded` (r:1 w:0) /// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0) /// 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::Nominators` (r:1 w:1) /// Storage: `Staking::Nominators` (r:1 w:1)
/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
/// Storage: `Staking::ChillThreshold` (r:1 w:0) /// Storage: `Staking::ChillThreshold` (r:1 w:0)
@ -789,10 +787,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn chill_other() -> Weight { fn chill_other() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `1833` // Measured: `1698`
// Estimated: `6248` // Estimated: `6248`
// Minimum execution time: 253_183_000 picoseconds. // Minimum execution time: 243_703_000 picoseconds.
Weight::from_parts(255_197_000, 0) Weight::from_parts(245_724_000, 0)
.saturating_add(Weight::from_parts(0, 6248)) .saturating_add(Weight::from_parts(0, 6248))
.saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().writes(6)) .saturating_add(T::DbWeight::get().writes(6))
@ -803,10 +801,10 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
fn force_apply_min_commission() -> Weight { fn force_apply_min_commission() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `587` // Measured: `506`
// Estimated: `3510` // Estimated: `3510`
// Minimum execution time: 45_338_000 picoseconds. // Minimum execution time: 45_314_000 picoseconds.
Weight::from_parts(46_334_000, 0) Weight::from_parts(46_030_000, 0)
.saturating_add(Weight::from_parts(0, 3510)) .saturating_add(Weight::from_parts(0, 3510))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -817,8 +815,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 10_790_000 picoseconds. // Minimum execution time: 10_684_000 picoseconds.
Weight::from_parts(11_107_000, 0) Weight::from_parts(11_057_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -831,15 +829,15 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
/// Storage: `Staking::Bonded` (r:1 w:1) /// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1) /// 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: `Balances::Freezes` (r:1 w:0) /// 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`)
fn restore_ledger() -> Weight { fn restore_ledger() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `943` // Measured: `863`
// Estimated: `4764` // Estimated: `4764`
// Minimum execution time: 179_061_000 picoseconds. // Minimum execution time: 176_215_000 picoseconds.
Weight::from_parts(180_624_000, 0) Weight::from_parts(179_373_000, 0)
.saturating_add(Weight::from_parts(0, 4764)) .saturating_add(Weight::from_parts(0, 4764))
.saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes(4))

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_timestamp` //! Autogenerated weights for `pallet_timestamp`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -52,20 +52,20 @@ impl<T: frame_system::Config> pallet_timestamp::WeightInfo for WeightInfo<T> {
/// Proof: `Babe::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Proof: `Babe::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
fn set() -> Weight { fn set() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `378` // Measured: `211`
// Estimated: `1493` // Estimated: `1493`
// Minimum execution time: 35_522_000 picoseconds. // Minimum execution time: 35_177_000 picoseconds.
Weight::from_parts(36_278_000, 0) Weight::from_parts(35_929_000, 0)
.saturating_add(Weight::from_parts(0, 1493)) .saturating_add(Weight::from_parts(0, 1493))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
fn on_finalize() -> Weight { fn on_finalize() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `161` // Measured: `94`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 16_129_000 picoseconds. // Minimum execution time: 15_642_000 picoseconds.
Weight::from_parts(16_583_000, 0) Weight::from_parts(16_029_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
} }

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_treasury` //! Autogenerated weights for `pallet_treasury`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2026-02-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -49,16 +49,16 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
/// Storage: `Treasury::ProposalCount` (r:1 w:1) /// Storage: `Treasury::ProposalCount` (r:1 w:1)
/// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Treasury::Approvals` (r:1 w:1) /// Storage: `Treasury::Approvals` (r:1 w:1)
/// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
/// Storage: `Treasury::Proposals` (r:0 w:1) /// Storage: `Treasury::Proposals` (r:0 w:1)
/// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
fn spend_local() -> Weight { fn spend_local() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `6` // Measured: `6`
// Estimated: `5487` // Estimated: `1526`
// Minimum execution time: 52_840_000 picoseconds. // Minimum execution time: 44_128_000 picoseconds.
Weight::from_parts(54_220_000, 0) Weight::from_parts(45_265_000, 0)
.saturating_add(Weight::from_parts(0, 5487)) .saturating_add(Weight::from_parts(0, 1526))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(3))
} }
@ -68,10 +68,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
/// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
fn propose_spend() -> Weight { fn propose_spend() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `107` // Measured: `57`
// Estimated: `1489` // Estimated: `1489`
// Minimum execution time: 119_927_000 picoseconds. // Minimum execution time: 91_851_000 picoseconds.
Weight::from_parts(120_611_000, 0) Weight::from_parts(93_275_000, 0)
.saturating_add(Weight::from_parts(0, 1489)) .saturating_add(Weight::from_parts(0, 1489))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -82,10 +82,10 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn reject_proposal() -> Weight { fn reject_proposal() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `265` // Measured: `215`
// Estimated: `3593` // Estimated: `3593`
// Minimum execution time: 164_605_000 picoseconds. // Minimum execution time: 91_388_000 picoseconds.
Weight::from_parts(165_648_000, 0) Weight::from_parts(92_927_000, 0)
.saturating_add(Weight::from_parts(0, 3593)) .saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -93,55 +93,53 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
/// Storage: `Treasury::Proposals` (r:1 w:0) /// Storage: `Treasury::Proposals` (r:1 w:0)
/// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `Treasury::Approvals` (r:1 w:1) /// Storage: `Treasury::Approvals` (r:1 w:1)
/// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
/// The range of component `p` is `[0, 999]`. /// The range of component `p` is `[0, 9]`.
fn approve_proposal(p: u32, ) -> Weight { fn approve_proposal(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `800 + p * (4 ±0)` // Measured: `118 + p * (31 ±0)`
// Estimated: `5487` // Estimated: `3573`
// Minimum execution time: 38_600_000 picoseconds. // Minimum execution time: 33_351_000 picoseconds.
Weight::from_parts(54_379_372, 0) Weight::from_parts(37_603_652, 0)
.saturating_add(Weight::from_parts(0, 5487)) .saturating_add(Weight::from_parts(0, 3573))
// Standard Error: 669 // Standard Error: 31_242
.saturating_add(Weight::from_parts(34_439, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(332_777, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `Treasury::Approvals` (r:1 w:1) /// Storage: `Treasury::Approvals` (r:1 w:1)
/// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
fn remove_approval() -> Weight { fn remove_approval() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `90` // Measured: `90`
// Estimated: `5487` // Estimated: `1526`
// Minimum execution time: 28_269_000 picoseconds. // Minimum execution time: 25_116_000 picoseconds.
Weight::from_parts(28_811_000, 0) Weight::from_parts(25_601_000, 0)
.saturating_add(Weight::from_parts(0, 5487)) .saturating_add(Weight::from_parts(0, 1526))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
/// Storage: `Treasury::Deactivated` (r:1 w:1) /// Storage: `Treasury::Deactivated` (r:1 w:1)
/// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Treasury::Approvals` (r:1 w:1) /// Storage: `Treasury::Approvals` (r:1 w:1)
/// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(41), added: 536, mode: `MaxEncodedLen`)
/// Storage: `Treasury::Proposals` (r:998 w:998) /// Storage: `Treasury::Proposals` (r:9 w:9)
/// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1996 w:1996) /// Storage: `System::Account` (r:18 w:18)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Bounties::BountyApprovals` (r:1 w:1) /// The range of component `p` is `[0, 9]`.
/// Proof: `Bounties::BountyApprovals` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `MaxEncodedLen`)
/// The range of component `p` is `[0, 999]`.
fn on_initialize_proposals(p: u32, ) -> Weight { fn on_initialize_proposals(p: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0 + p * (255 ±0)` // Measured: `6 + p * (239 ±0)`
// Estimated: `5487 + p * (5206 ±0)` // Estimated: `1526 + p * (5206 ±0)`
// Minimum execution time: 93_001_000 picoseconds. // Minimum execution time: 62_536_000 picoseconds.
Weight::from_parts(93_875_000, 0) Weight::from_parts(91_054_685, 0)
.saturating_add(Weight::from_parts(0, 5487)) .saturating_add(Weight::from_parts(0, 1526))
// Standard Error: 106_483 // Standard Error: 235_694
.saturating_add(Weight::from_parts(173_774_586, 0).saturating_mul(p.into())) .saturating_add(Weight::from_parts(124_726_022, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into()))
} }
@ -153,8 +151,8 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `6` // Measured: `6`
// Estimated: `1489` // Estimated: `1489`
// Minimum execution time: 47_856_000 picoseconds. // Minimum execution time: 36_414_000 picoseconds.
Weight::from_parts(49_457_000, 0) Weight::from_parts(37_002_000, 0)
.saturating_add(Weight::from_parts(0, 1489)) .saturating_add(Weight::from_parts(0, 1489))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes(2))
@ -165,8 +163,8 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `124` // Measured: `124`
// Estimated: `3534` // Estimated: `3534`
// Minimum execution time: 54_017_000 picoseconds. // Minimum execution time: 45_352_000 picoseconds.
Weight::from_parts(54_712_000, 0) Weight::from_parts(45_798_000, 0)
.saturating_add(Weight::from_parts(0, 3534)) .saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -177,8 +175,8 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `124` // Measured: `124`
// Estimated: `3534` // Estimated: `3534`
// Minimum execution time: 53_415_000 picoseconds. // Minimum execution time: 44_692_000 picoseconds.
Weight::from_parts(57_185_000, 0) Weight::from_parts(45_487_000, 0)
.saturating_add(Weight::from_parts(0, 3534)) .saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
@ -189,8 +187,8 @@ impl<T: frame_system::Config> pallet_treasury::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `124` // Measured: `124`
// Estimated: `3534` // Estimated: `3534`
// Minimum execution time: 50_317_000 picoseconds. // Minimum execution time: 42_703_000 picoseconds.
Weight::from_parts(51_617_000, 0) Weight::from_parts(43_532_000, 0)
.saturating_add(Weight::from_parts(0, 3534)) .saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))

View File

@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_utility` //! Autogenerated weights for `pallet_utility`
//! //!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-11-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! DATE: 2026-09-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000` //! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
@ -51,18 +51,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 19_471_000 picoseconds. // Minimum execution time: 19_460_000 picoseconds.
Weight::from_parts(27_064_767, 0) Weight::from_parts(33_624_489, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2_838 // Standard Error: 2_976
.saturating_add(Weight::from_parts(11_828_163, 0).saturating_mul(c.into())) .saturating_add(Weight::from_parts(11_762_543, 0).saturating_mul(c.into()))
} }
fn as_derivative() -> Weight { fn as_derivative() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 19_702_000 picoseconds. // Minimum execution time: 19_434_000 picoseconds.
Weight::from_parts(20_057_000, 0) Weight::from_parts(19_615_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
/// The range of component `c` is `[0, 1000]`. /// The range of component `c` is `[0, 1000]`.
@ -70,18 +70,18 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 19_584_000 picoseconds. // Minimum execution time: 19_282_000 picoseconds.
Weight::from_parts(45_692_948, 0) Weight::from_parts(39_600_006, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2_919 // Standard Error: 3_601
.saturating_add(Weight::from_parts(12_635_506, 0).saturating_mul(c.into())) .saturating_add(Weight::from_parts(12_625_850, 0).saturating_mul(c.into()))
} }
fn dispatch_as() -> Weight { fn dispatch_as() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 26_541_000 picoseconds. // Minimum execution time: 26_435_000 picoseconds.
Weight::from_parts(27_213_000, 0) Weight::from_parts(27_053_000, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
} }
/// The range of component `c` is `[0, 1000]`. /// The range of component `c` is `[0, 1000]`.
@ -89,10 +89,10 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`
// Minimum execution time: 19_318_000 picoseconds. // Minimum execution time: 19_542_000 picoseconds.
Weight::from_parts(41_473_149, 0) Weight::from_parts(49_352_884, 0)
.saturating_add(Weight::from_parts(0, 0)) .saturating_add(Weight::from_parts(0, 0))
// Standard Error: 3_886 // Standard Error: 3_447
.saturating_add(Weight::from_parts(11_683_980, 0).saturating_mul(c.into())) .saturating_add(Weight::from_parts(11_683_827, 0).saturating_mul(c.into()))
} }
} }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "runtime-common" name = "runtime-common"
version = "0.4.7" version = "0.4.8"
authors.workspace = true authors.workspace = true
edition.workspace = true edition.workspace = true
homepage.workspace = true homepage.workspace = true

View File

@ -29,13 +29,13 @@ macro_rules! impl_elections_weights {
/// pipeline takes for this single pallet. /// pipeline takes for this single pallet.
pub struct BenchmarkConfig; pub struct BenchmarkConfig;
impl pallet_election_provider_multi_phase::BenchmarkingConfig for BenchmarkConfig { impl pallet_election_provider_multi_phase::BenchmarkingConfig for BenchmarkConfig {
const VOTERS: [u32; 2] = [1000, 2000]; const VOTERS: [u32; 2] = [2000, 3000];
const TARGETS: [u32; 2] = [500, 1000]; const TARGETS: [u32; 2] = [300, 400];
const ACTIVE_VOTERS: [u32; 2] = [500, 800]; const ACTIVE_VOTERS: [u32; 2] = [1000, 2000];
const DESIRED_TARGETS: [u32; 2] = [200, 400]; const DESIRED_TARGETS: [u32; 2] = [100, 200];
const SNAPSHOT_MAXIMUM_VOTERS: u32 = 1000; const SNAPSHOT_MAXIMUM_VOTERS: u32 = 3000;
const MINER_MAXIMUM_VOTERS: u32 = 1000; const MINER_MAXIMUM_VOTERS: u32 = 3000;
const MAXIMUM_TARGETS: u32 = 300; const MAXIMUM_TARGETS: u32 = 400;
} }
/// The accuracy type used for genesis election provider. /// The accuracy type used for genesis election provider.

View File

@ -138,7 +138,7 @@ static_assertions::assert_eq_size!(primitives::Balance, u128);
/// A reasonable benchmarking config for staking pallet. /// A reasonable benchmarking config for staking pallet.
pub struct StakingBenchmarkingConfig; pub struct StakingBenchmarkingConfig;
impl pallet_staking::BenchmarkingConfig for StakingBenchmarkingConfig { impl pallet_staking::BenchmarkingConfig for StakingBenchmarkingConfig {
type MaxValidators = ConstU32<299>; // MaxActiveValidators: u32 = 300 type MaxValidators = ConstU32<300>;
type MaxNominators = ConstU32<3_000>; type MaxNominators = ConstU32<3_000>;
} }