diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6f7e2013cf..3f515bde7d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Use Relay Chain's Treasury Pallet account as a destination for XCM fees on System Parachain ([polkadot-fellows/runtimes#191](https://github.com/polkadot-fellows/runtimes/pull/191))
- Bump parachains runtime API to v10 in Polkadot to enable async-backing subsystems(still in backwards compatible mode) [polkadot-fellows/runtimes#222](https://github.com/polkadot-fellows/runtimes/pull/222)
- Prepared system parachain runtimes for async backing enabling ([polkadot-fellows/runtimes#228](https://github.com/polkadot-fellows/runtimes/pull/228))
+- Update runtime weights [polkadot-fellows/runtimes#223](https://github.com/polkadot-fellows/runtimes/pull/223)
### Removed
diff --git a/Cargo.lock b/Cargo.lock
index 17b28a3a00..689e45050b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8321,9 +8321,9 @@ dependencies = [
[[package]]
name = "pallet-xcm"
-version = "8.0.2"
+version = "8.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d32aa4911002f03a8aebd897e094980e7a9fb25d092e0f8db38e76e1e4f643ee"
+checksum = "0493c09d29fefc62579284b596618fcceb68fdb3dd38de79fe3c922a19916249"
dependencies = [
"bounded-collections",
"frame-benchmarking",
diff --git a/integration-tests/emulated/helpers/Cargo.toml b/integration-tests/emulated/helpers/Cargo.toml
index b902647565..a9947dc1d7 100644
--- a/integration-tests/emulated/helpers/Cargo.toml
+++ b/integration-tests/emulated/helpers/Cargo.toml
@@ -16,7 +16,7 @@ pallet-message-queue = { version = "32.0.0" }
# Polkadot
xcm = { package = "staging-xcm", version = "8.0.1" }
-pallet-xcm = { version = "8.0.2" }
+pallet-xcm = { version = "8.0.3" }
# Cumulus
xcm-emulator = { version = "0.6.0" }
diff --git a/integration-tests/emulated/tests/assets/asset-hub-kusama/Cargo.toml b/integration-tests/emulated/tests/assets/asset-hub-kusama/Cargo.toml
index 14228e387d..1cccf0b697 100644
--- a/integration-tests/emulated/tests/assets/asset-hub-kusama/Cargo.toml
+++ b/integration-tests/emulated/tests/assets/asset-hub-kusama/Cargo.toml
@@ -22,7 +22,7 @@ pallet-message-queue = { version = "32.0.0" }
# Polkadot
xcm = { package = "staging-xcm", version = "8.0.1" }
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "8.0.1" }
-pallet-xcm = { version = "8.0.2" }
+pallet-xcm = { version = "8.0.3" }
# Cumulus
parachains-common = { version = "8.0.0" }
diff --git a/integration-tests/emulated/tests/assets/asset-hub-polkadot/Cargo.toml b/integration-tests/emulated/tests/assets/asset-hub-polkadot/Cargo.toml
index 594237c7fe..7741edf09c 100644
--- a/integration-tests/emulated/tests/assets/asset-hub-polkadot/Cargo.toml
+++ b/integration-tests/emulated/tests/assets/asset-hub-polkadot/Cargo.toml
@@ -23,7 +23,7 @@ pallet-message-queue = { version = "32.0.0" }
# Polkadot
polkadot-runtime-common = { version = "8.0.1" }
xcm = { package = "staging-xcm", version = "8.0.1" }
-pallet-xcm = { version = "8.0.2" }
+pallet-xcm = { version = "8.0.3" }
xcm-executor = { package = "staging-xcm-executor", version = "8.0.1" }
# Cumulus
diff --git a/integration-tests/emulated/tests/bridges/bridge-hub-kusama/Cargo.toml b/integration-tests/emulated/tests/bridges/bridge-hub-kusama/Cargo.toml
index 0fa2d98188..9bb6f63eeb 100644
--- a/integration-tests/emulated/tests/bridges/bridge-hub-kusama/Cargo.toml
+++ b/integration-tests/emulated/tests/bridges/bridge-hub-kusama/Cargo.toml
@@ -23,7 +23,7 @@ pallet-message-queue = { version = "32.0.0" }
# Polkadot
xcm = { package = "staging-xcm", version = "8.0.1" }
-pallet-xcm = { version = "8.0.2" }
+pallet-xcm = { version = "8.0.3" }
xcm-executor = { package = "staging-xcm-executor", version = "8.0.1" }
# Cumulus
diff --git a/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/Cargo.toml b/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/Cargo.toml
index dc2889c6f3..65f9353a09 100644
--- a/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/Cargo.toml
+++ b/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/Cargo.toml
@@ -23,7 +23,7 @@ pallet-message-queue = { version = "32.0.0" }
# Polkadot
xcm = { package = "staging-xcm", version = "8.0.1" }
-pallet-xcm = { version = "8.0.2" }
+pallet-xcm = { version = "8.0.3" }
xcm-executor = { package = "staging-xcm-executor", version = "8.0.1" }
# Cumulus
diff --git a/relay/kusama/Cargo.toml b/relay/kusama/Cargo.toml
index a6f119469b..2c4ae3cc0f 100644
--- a/relay/kusama/Cargo.toml
+++ b/relay/kusama/Cargo.toml
@@ -80,7 +80,7 @@ pallet-treasury = { default-features = false , version = "28.0.0" }
pallet-utility = { default-features = false , version = "29.0.0" }
pallet-vesting = { default-features = false , version = "29.0.0" }
pallet-whitelist = { default-features = false , version = "28.0.0" }
-pallet-xcm = { default-features = false , version = "8.0.2" }
+pallet-xcm = { default-features = false , version = "8.0.3" }
pallet-xcm-benchmarks = { default-features = false, optional = true , version = "8.0.2" }
frame-election-provider-support = { default-features = false , version = "29.0.0" }
diff --git a/relay/kusama/src/weights/frame_benchmarking_baseline.rs b/relay/kusama/src/weights/frame_benchmarking_baseline.rs
index 799c721cc7..93d2462539 100644
--- a/relay/kusama/src/weights/frame_benchmarking_baseline.rs
+++ b/relay/kusama/src/weights/frame_benchmarking_baseline.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=frame_benchmarking::baseline
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -56,8 +51,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 176_000 picoseconds.
- Weight::from_parts(222_859, 0)
+ // Minimum execution time: 183_000 picoseconds.
+ Weight::from_parts(210_328, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
@@ -65,8 +60,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 180_000 picoseconds.
- Weight::from_parts(221_491, 0)
+ // Minimum execution time: 178_000 picoseconds.
+ Weight::from_parts(209_859, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
@@ -74,8 +69,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 182_000 picoseconds.
- Weight::from_parts(230_303, 0)
+ // Minimum execution time: 181_000 picoseconds.
+ Weight::from_parts(208_952, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
@@ -83,16 +78,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 172_000 picoseconds.
- Weight::from_parts(221_747, 0)
+ // Minimum execution time: 177_000 picoseconds.
+ Weight::from_parts(210_648, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 23_650_625_000 picoseconds.
- Weight::from_parts(23_673_347_000, 0)
+ // Minimum execution time: 23_493_330_000 picoseconds.
+ Weight::from_parts(23_524_907_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 100]`.
@@ -100,10 +95,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 222_000 picoseconds.
- Weight::from_parts(2_393_539, 0)
+ // Minimum execution time: 219_000 picoseconds.
+ Weight::from_parts(5_210_296, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 5_602
- .saturating_add(Weight::from_parts(54_833_106, 0).saturating_mul(i.into()))
+ // Standard Error: 5_298
+ .saturating_add(Weight::from_parts(40_522_575, 0).saturating_mul(i.into()))
}
}
diff --git a/relay/kusama/src/weights/frame_election_provider_support.rs b/relay/kusama/src/weights/frame_election_provider_support.rs
index 745e087d1e..12a3d95eaf 100644
--- a/relay/kusama/src/weights/frame_election_provider_support.rs
+++ b/relay/kusama/src/weights/frame_election_provider_support.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `frame_election_provider_support`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=frame_election_provider_support
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -58,13 +53,13 @@ impl frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_736_004_000 picoseconds.
- Weight::from_parts(6_831_324_000, 0)
+ // Minimum execution time: 6_768_870_000 picoseconds.
+ Weight::from_parts(6_820_103_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 138_494
- .saturating_add(Weight::from_parts(5_911_748, 0).saturating_mul(v.into()))
- // Standard Error: 14_159_156
- .saturating_add(Weight::from_parts(1_406_526_309, 0).saturating_mul(d.into()))
+ // Standard Error: 135_942
+ .saturating_add(Weight::from_parts(5_730_799, 0).saturating_mul(v.into()))
+ // Standard Error: 13_898_272
+ .saturating_add(Weight::from_parts(1_387_027_502, 0).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
@@ -73,12 +68,12 @@ impl frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_606_100_000 picoseconds.
- Weight::from_parts(4_689_124_000, 0)
+ // Minimum execution time: 4_663_014_000 picoseconds.
+ Weight::from_parts(4_690_243_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 122_337
- .saturating_add(Weight::from_parts(4_841_683, 0).saturating_mul(v.into()))
- // Standard Error: 12_507_359
- .saturating_add(Weight::from_parts(1_343_800_901, 0).saturating_mul(d.into()))
+ // Standard Error: 120_955
+ .saturating_add(Weight::from_parts(4_830_169, 0).saturating_mul(v.into()))
+ // Standard Error: 12_366_027
+ .saturating_add(Weight::from_parts(1_334_855_335, 0).saturating_mul(d.into()))
}
}
diff --git a/relay/kusama/src/weights/frame_system.rs b/relay/kusama/src/weights/frame_system.rs
index 5ac1e481d2..767247fd93 100644
--- a/relay/kusama/src/weights/frame_system.rs
+++ b/relay/kusama/src/weights/frame_system.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `frame_system`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=frame_system
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -56,22 +51,22 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_804_000 picoseconds.
- Weight::from_parts(1_300_161, 0)
+ // Minimum execution time: 1_489_000 picoseconds.
+ Weight::from_parts(1_592_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 0
- .saturating_add(Weight::from_parts(387, 0).saturating_mul(b.into()))
+ .saturating_add(Weight::from_parts(386, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 5_267_000 picoseconds.
- Weight::from_parts(5_426_000, 0)
+ // Minimum execution time: 5_202_000 picoseconds.
+ Weight::from_parts(68_107_689, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 3
- .saturating_add(Weight::from_parts(1_608, 0).saturating_mul(b.into()))
+ // Standard Error: 6
+ .saturating_add(Weight::from_parts(1_530, 0).saturating_mul(b.into()))
}
/// Storage: `System::Digest` (r:1 w:1)
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@@ -81,8 +76,8 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
- // Minimum execution time: 3_008_000 picoseconds.
- Weight::from_parts(3_316_000, 0)
+ // Minimum execution time: 2_727_000 picoseconds.
+ Weight::from_parts(2_998_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -95,8 +90,8 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
- // Minimum execution time: 104_050_936_000 picoseconds.
- Weight::from_parts(108_664_674_000, 0)
+ // Minimum execution time: 91_644_201_000 picoseconds.
+ Weight::from_parts(94_516_529_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -108,11 +103,11 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_833_000 picoseconds.
- Weight::from_parts(1_925_000, 0)
+ // Minimum execution time: 1_524_000 picoseconds.
+ Weight::from_parts(1_590_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 1_926
- .saturating_add(Weight::from_parts(752_115, 0).saturating_mul(i.into()))
+ // Standard Error: 1_731
+ .saturating_add(Weight::from_parts(730_104, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
@@ -122,11 +117,11 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_800_000 picoseconds.
- Weight::from_parts(1_910_000, 0)
+ // Minimum execution time: 1_562_000 picoseconds.
+ Weight::from_parts(1_660_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 890
- .saturating_add(Weight::from_parts(550_902, 0).saturating_mul(i.into()))
+ // Standard Error: 811
+ .saturating_add(Weight::from_parts(540_602, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
@@ -134,13 +129,13 @@ impl frame_system::WeightInfo for WeightInfo {
/// The range of component `p` is `[0, 1000]`.
fn kill_prefix(p: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `82 + p * (69 ±0)`
- // Estimated: `85 + p * (70 ±0)`
- // Minimum execution time: 3_716_000 picoseconds.
- Weight::from_parts(3_765_000, 0)
- .saturating_add(Weight::from_parts(0, 85))
- // Standard Error: 1_737
- .saturating_add(Weight::from_parts(1_184_275, 0).saturating_mul(p.into()))
+ // Measured: `80 + p * (69 ±0)`
+ // Estimated: `81 + p * (70 ±0)`
+ // Minimum execution time: 3_408_000 picoseconds.
+ Weight::from_parts(3_483_000, 0)
+ .saturating_add(Weight::from_parts(0, 81))
+ // Standard Error: 1_278
+ .saturating_add(Weight::from_parts(1_136_452, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
@@ -151,8 +146,8 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 33_027_000 picoseconds.
- Weight::from_parts(33_027_000, 0)
+ // Minimum execution time: 7_753_000 picoseconds.
+ Weight::from_parts(8_227_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -166,8 +161,8 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `22`
// Estimated: `1518`
- // Minimum execution time: 118_101_992_000 picoseconds.
- Weight::from_parts(118_101_992_000, 0)
+ // Minimum execution time: 93_909_304_000 picoseconds.
+ Weight::from_parts(96_104_228_000, 0)
.saturating_add(Weight::from_parts(0, 1518))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
diff --git a/relay/kusama/src/weights/pallet_asset_rate.rs b/relay/kusama/src/weights/pallet_asset_rate.rs
index 375859d372..d1e09309fe 100644
--- a/relay/kusama/src/weights/pallet_asset_rate.rs
+++ b/relay/kusama/src/weights/pallet_asset_rate.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_asset_rate`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_asset_rate
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -55,10 +50,10 @@ impl pallet_asset_rate::WeightInfo for WeightInfo {
/// Proof: `AssetRate::ConversionRateToNative` (`max_values`: None, `max_size`: Some(1238), added: 3713, mode: `MaxEncodedLen`)
fn create() -> Weight {
// Proof Size summary in bytes:
- // Measured: `42`
+ // Measured: `109`
// Estimated: `4703`
- // Minimum execution time: 10_397_000 picoseconds.
- Weight::from_parts(10_865_000, 0)
+ // Minimum execution time: 9_919_000 picoseconds.
+ Weight::from_parts(10_296_000, 0)
.saturating_add(Weight::from_parts(0, 4703))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -67,10 +62,10 @@ impl pallet_asset_rate::WeightInfo for WeightInfo {
/// Proof: `AssetRate::ConversionRateToNative` (`max_values`: None, `max_size`: Some(1238), added: 3713, mode: `MaxEncodedLen`)
fn update() -> Weight {
// Proof Size summary in bytes:
- // Measured: `111`
+ // Measured: `177`
// Estimated: `4703`
- // Minimum execution time: 10_796_000 picoseconds.
- Weight::from_parts(11_152_000, 0)
+ // Minimum execution time: 10_491_000 picoseconds.
+ Weight::from_parts(10_838_000, 0)
.saturating_add(Weight::from_parts(0, 4703))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -79,10 +74,10 @@ impl pallet_asset_rate::WeightInfo for WeightInfo {
/// Proof: `AssetRate::ConversionRateToNative` (`max_values`: None, `max_size`: Some(1238), added: 3713, mode: `MaxEncodedLen`)
fn remove() -> Weight {
// Proof Size summary in bytes:
- // Measured: `111`
+ // Measured: `177`
// Estimated: `4703`
- // Minimum execution time: 11_395_000 picoseconds.
- Weight::from_parts(11_920_000, 0)
+ // Minimum execution time: 10_981_000 picoseconds.
+ Weight::from_parts(11_516_000, 0)
.saturating_add(Weight::from_parts(0, 4703))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
diff --git a/relay/kusama/src/weights/pallet_bags_list.rs b/relay/kusama/src/weights/pallet_bags_list.rs
index a616f69c2b..0d2e337aee 100644
--- a/relay/kusama/src/weights/pallet_bags_list.rs
+++ b/relay/kusama/src/weights/pallet_bags_list.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_bags_list`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_bags_list
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -61,10 +56,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo {
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn rebag_non_terminal() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1722`
+ // Measured: `1717`
// Estimated: `11506`
- // Minimum execution time: 53_380_000 picoseconds.
- Weight::from_parts(55_063_000, 0)
+ // Minimum execution time: 52_009_000 picoseconds.
+ Weight::from_parts(53_737_000, 0)
.saturating_add(Weight::from_parts(0, 11506))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
@@ -79,10 +74,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo {
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn rebag_terminal() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1619`
+ // Measured: `1614`
// Estimated: `8877`
- // Minimum execution time: 52_348_000 picoseconds.
- Weight::from_parts(53_150_000, 0)
+ // Minimum execution time: 51_677_000 picoseconds.
+ Weight::from_parts(52_820_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
@@ -99,10 +94,10 @@ impl pallet_bags_list::WeightInfo for WeightInfo {
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
fn put_in_front_of() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1925`
+ // Measured: `1920`
// Estimated: `11506`
- // Minimum execution time: 60_568_000 picoseconds.
- Weight::from_parts(62_277_000, 0)
+ // Minimum execution time: 59_636_000 picoseconds.
+ Weight::from_parts(60_616_000, 0)
.saturating_add(Weight::from_parts(0, 11506))
.saturating_add(T::DbWeight::get().reads(10))
.saturating_add(T::DbWeight::get().writes(6))
diff --git a/relay/kusama/src/weights/pallet_balances_native.rs b/relay/kusama/src/weights/pallet_balances_native.rs
index 50399badbd..053661f570 100644
--- a/relay/kusama/src/weights/pallet_balances_native.rs
+++ b/relay/kusama/src/weights/pallet_balances_native.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_balances`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_balances
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -57,8 +52,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
- // Minimum execution time: 44_547_000 picoseconds.
- Weight::from_parts(45_649_000, 0)
+ // Minimum execution time: 45_198_000 picoseconds.
+ Weight::from_parts(46_411_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -69,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
- // Minimum execution time: 34_881_000 picoseconds.
- Weight::from_parts(35_648_000, 0)
+ // Minimum execution time: 35_428_000 picoseconds.
+ Weight::from_parts(36_233_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -81,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 12_730_000 picoseconds.
- Weight::from_parts(13_130_000, 0)
+ // Minimum execution time: 12_697_000 picoseconds.
+ Weight::from_parts(13_195_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -93,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 17_400_000 picoseconds.
- Weight::from_parts(18_055_000, 0)
+ // Minimum execution time: 17_980_000 picoseconds.
+ Weight::from_parts(18_345_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -105,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
- // Minimum execution time: 45_950_000 picoseconds.
- Weight::from_parts(47_055_000, 0)
+ // Minimum execution time: 47_350_000 picoseconds.
+ Weight::from_parts(48_415_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -117,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
- // Minimum execution time: 43_493_000 picoseconds.
- Weight::from_parts(44_508_000, 0)
+ // Minimum execution time: 44_399_000 picoseconds.
+ Weight::from_parts(45_582_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -129,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 15_555_000 picoseconds.
- Weight::from_parts(16_040_000, 0)
+ // Minimum execution time: 15_862_000 picoseconds.
+ Weight::from_parts(16_376_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -143,24 +138,21 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0 + u * (135 ±0)`
// Estimated: `990 + u * (2603 ±0)`
- // Minimum execution time: 14_854_000 picoseconds.
- Weight::from_parts(15_004_000, 0)
+ // Minimum execution time: 15_113_000 picoseconds.
+ Weight::from_parts(15_520_000, 0)
.saturating_add(Weight::from_parts(0, 990))
- // Standard Error: 9_575
- .saturating_add(Weight::from_parts(13_519_567, 0).saturating_mul(u.into()))
+ // Standard Error: 7_719
+ .saturating_add(Weight::from_parts(13_827_279, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
}
- /// Storage: `Balances::InactiveIssuance` (r:1 w:0)
- /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn force_adjust_total_issuance() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
- // Estimated: `1501`
- // Minimum execution time: 5_208_000 picoseconds.
- Weight::from_parts(5_619_000, 0)
- .saturating_add(Weight::from_parts(0, 1501))
- .saturating_add(T::DbWeight::get().reads(1))
+ // Estimated: `0`
+ // Minimum execution time: 5_594_000 picoseconds.
+ Weight::from_parts(5_869_000, 0)
+ .saturating_add(Weight::from_parts(0, 0))
}
}
diff --git a/relay/kusama/src/weights/pallet_balances_nis_counterpart.rs b/relay/kusama/src/weights/pallet_balances_nis_counterpart.rs
index b6a803c17b..b2353c0c05 100644
--- a/relay/kusama/src/weights/pallet_balances_nis_counterpart.rs
+++ b/relay/kusama/src/weights/pallet_balances_nis_counterpart.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_balances`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_balances
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -59,8 +54,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6164`
- // Minimum execution time: 42_467_000 picoseconds.
- Weight::from_parts(43_354_000, 0)
+ // Minimum execution time: 43_210_000 picoseconds.
+ Weight::from_parts(44_026_000, 0)
.saturating_add(Weight::from_parts(0, 6164))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -73,8 +68,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6164`
- // Minimum execution time: 32_477_000 picoseconds.
- Weight::from_parts(33_478_000, 0)
+ // Minimum execution time: 33_133_000 picoseconds.
+ Weight::from_parts(34_000_000, 0)
.saturating_add(Weight::from_parts(0, 6164))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -85,8 +80,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `3577`
- // Minimum execution time: 10_233_000 picoseconds.
- Weight::from_parts(10_532_000, 0)
+ // Minimum execution time: 10_004_000 picoseconds.
+ Weight::from_parts(10_325_000, 0)
.saturating_add(Weight::from_parts(0, 3577))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -99,8 +94,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `277`
// Estimated: `3593`
- // Minimum execution time: 16_813_000 picoseconds.
- Weight::from_parts(17_301_000, 0)
+ // Minimum execution time: 16_530_000 picoseconds.
+ Weight::from_parts(17_436_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -113,8 +108,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `206`
// Estimated: `6196`
- // Minimum execution time: 43_323_000 picoseconds.
- Weight::from_parts(44_459_000, 0)
+ // Minimum execution time: 44_784_000 picoseconds.
+ Weight::from_parts(45_643_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
@@ -127,8 +122,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6164`
- // Minimum execution time: 41_133_000 picoseconds.
- Weight::from_parts(42_324_000, 0)
+ // Minimum execution time: 42_066_000 picoseconds.
+ Weight::from_parts(42_802_000, 0)
.saturating_add(Weight::from_parts(0, 6164))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -141,8 +136,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `277`
// Estimated: `3593`
- // Minimum execution time: 15_321_000 picoseconds.
- Weight::from_parts(15_818_000, 0)
+ // Minimum execution time: 14_948_000 picoseconds.
+ Weight::from_parts(15_853_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -157,24 +152,21 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0 + u * (256 ±0)`
// Estimated: `990 + u * (2603 ±0)`
- // Minimum execution time: 14_670_000 picoseconds.
- Weight::from_parts(15_163_000, 0)
+ // Minimum execution time: 15_183_000 picoseconds.
+ Weight::from_parts(15_519_000, 0)
.saturating_add(Weight::from_parts(0, 990))
- // Standard Error: 21_875
- .saturating_add(Weight::from_parts(15_226_945, 0).saturating_mul(u.into()))
+ // Standard Error: 15_639
+ .saturating_add(Weight::from_parts(15_171_224, 0).saturating_mul(u.into()))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(u.into())))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(u.into())))
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
}
- /// Storage: `Balances::InactiveIssuance` (r:1 w:0)
- /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn force_adjust_total_issuance() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
- // Estimated: `1501`
- // Minimum execution time: 5_208_000 picoseconds.
- Weight::from_parts(5_619_000, 0)
- .saturating_add(Weight::from_parts(0, 1501))
- .saturating_add(T::DbWeight::get().reads(1))
+ // Estimated: `0`
+ // Minimum execution time: 5_437_000 picoseconds.
+ Weight::from_parts(5_772_000, 0)
+ .saturating_add(Weight::from_parts(0, 0))
}
}
\ No newline at end of file
diff --git a/relay/kusama/src/weights/pallet_bounties.rs b/relay/kusama/src/weights/pallet_bounties.rs
index 56845f751d..b18e96d92f 100644
--- a/relay/kusama/src/weights/pallet_bounties.rs
+++ b/relay/kusama/src/weights/pallet_bounties.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_bounties`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_bounties
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -64,11 +59,11 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `210`
// Estimated: `3593`
- // Minimum execution time: 21_913_000 picoseconds.
- Weight::from_parts(22_966_313, 0)
+ // Minimum execution time: 21_969_000 picoseconds.
+ Weight::from_parts(23_348_914, 0)
.saturating_add(Weight::from_parts(0, 3593))
- // Standard Error: 6
- .saturating_add(Weight::from_parts(715, 0).saturating_mul(d.into()))
+ // Standard Error: 7
+ .saturating_add(Weight::from_parts(678, 0).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -80,8 +75,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `302`
// Estimated: `3642`
- // Minimum execution time: 11_467_000 picoseconds.
- Weight::from_parts(12_002_000, 0)
+ // Minimum execution time: 11_335_000 picoseconds.
+ Weight::from_parts(11_904_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -92,8 +87,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `322`
// Estimated: `3642`
- // Minimum execution time: 11_259_000 picoseconds.
- Weight::from_parts(11_725_000, 0)
+ // Minimum execution time: 10_862_000 picoseconds.
+ Weight::from_parts(11_375_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -106,8 +101,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `498`
// Estimated: `3642`
- // Minimum execution time: 36_791_000 picoseconds.
- Weight::from_parts(38_005_000, 0)
+ // Minimum execution time: 37_076_000 picoseconds.
+ Weight::from_parts(38_064_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -120,8 +115,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `494`
// Estimated: `3642`
- // Minimum execution time: 27_340_000 picoseconds.
- Weight::from_parts(28_068_000, 0)
+ // Minimum execution time: 27_482_000 picoseconds.
+ Weight::from_parts(28_170_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -134,8 +129,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `438`
// Estimated: `3642`
- // Minimum execution time: 17_495_000 picoseconds.
- Weight::from_parts(18_215_000, 0)
+ // Minimum execution time: 17_172_000 picoseconds.
+ Weight::from_parts(17_751_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -152,8 +147,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `802`
// Estimated: `8799`
- // Minimum execution time: 98_597_000 picoseconds.
- Weight::from_parts(101_091_000, 0)
+ // Minimum execution time: 101_888_000 picoseconds.
+ Weight::from_parts(103_593_000, 0)
.saturating_add(Weight::from_parts(0, 8799))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
@@ -170,8 +165,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `482`
// Estimated: `3642`
- // Minimum execution time: 38_842_000 picoseconds.
- Weight::from_parts(39_866_000, 0)
+ // Minimum execution time: 39_111_000 picoseconds.
+ Weight::from_parts(40_170_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -188,8 +183,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `718`
// Estimated: `6196`
- // Minimum execution time: 68_274_000 picoseconds.
- Weight::from_parts(69_184_000, 0)
+ // Minimum execution time: 68_360_000 picoseconds.
+ Weight::from_parts(70_054_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
@@ -200,8 +195,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `358`
// Estimated: `3642`
- // Minimum execution time: 11_540_000 picoseconds.
- Weight::from_parts(11_942_000, 0)
+ // Minimum execution time: 11_532_000 picoseconds.
+ Weight::from_parts(11_858_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -217,11 +212,11 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0 + b * (297 ±0)`
// Estimated: `1887 + b * (5206 ±0)`
- // Minimum execution time: 2_815_000 picoseconds.
- Weight::from_parts(2_960_000, 0)
+ // Minimum execution time: 2_929_000 picoseconds.
+ Weight::from_parts(2_990_000, 0)
.saturating_add(Weight::from_parts(0, 1887))
- // Standard Error: 14_707
- .saturating_add(Weight::from_parts(32_310_700, 0).saturating_mul(b.into()))
+ // Standard Error: 9_763
+ .saturating_add(Weight::from_parts(32_333_372, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
diff --git a/relay/kusama/src/weights/pallet_child_bounties.rs b/relay/kusama/src/weights/pallet_child_bounties.rs
index 6183475363..d4d6aa4813 100644
--- a/relay/kusama/src/weights/pallet_child_bounties.rs
+++ b/relay/kusama/src/weights/pallet_child_bounties.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_child_bounties`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_child_bounties
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -68,11 +63,11 @@ impl pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo pallet_child_bounties::WeightInfo for WeightInfo.
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_conviction_voting`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_conviction_voting
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -56,7 +51,7 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// Storage: `ConvictionVoting::VotingFor` (r:1 w:1)
/// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`)
/// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1)
- /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, mode: `MaxEncodedLen`)
+ /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(329), added: 2804, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0)
@@ -67,8 +62,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
// Proof Size summary in bytes:
// Measured: `13479`
// Estimated: `42428`
- // Minimum execution time: 124_791_000 picoseconds.
- Weight::from_parts(146_174_000, 0)
+ // Minimum execution time: 118_583_000 picoseconds.
+ Weight::from_parts(128_643_000, 0)
.saturating_add(Weight::from_parts(0, 42428))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(5))
@@ -78,7 +73,7 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// Storage: `ConvictionVoting::VotingFor` (r:1 w:1)
/// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`)
/// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1)
- /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, mode: `MaxEncodedLen`)
+ /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(329), added: 2804, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0)
@@ -89,8 +84,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
// Proof Size summary in bytes:
// Measured: `14200`
// Estimated: `83866`
- // Minimum execution time: 189_562_000 picoseconds.
- Weight::from_parts(218_076_000, 0)
+ // Minimum execution time: 151_911_000 picoseconds.
+ Weight::from_parts(158_513_000, 0)
.saturating_add(Weight::from_parts(0, 83866))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
@@ -105,8 +100,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
// Proof Size summary in bytes:
// Measured: `13918`
// Estimated: `83866`
- // Minimum execution time: 171_990_000 picoseconds.
- Weight::from_parts(192_363_000, 0)
+ // Minimum execution time: 125_277_000 picoseconds.
+ Weight::from_parts(135_086_000, 0)
.saturating_add(Weight::from_parts(0, 83866))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
@@ -119,8 +114,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
// Proof Size summary in bytes:
// Measured: `13005`
// Estimated: `30706`
- // Minimum execution time: 73_343_000 picoseconds.
- Weight::from_parts(89_489_000, 0)
+ // Minimum execution time: 70_371_000 picoseconds.
+ Weight::from_parts(76_571_000, 0)
.saturating_add(Weight::from_parts(0, 30706))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -132,7 +127,7 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// Storage: `Scheduler::Agenda` (r:2 w:2)
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`)
/// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1)
- /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, mode: `MaxEncodedLen`)
+ /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(329), added: 2804, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0)
@@ -140,13 +135,13 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// The range of component `r` is `[0, 512]`.
fn delegate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `29674 + r * (365 ±0)`
+ // Measured: `28986 + r * (364 ±0)`
// Estimated: `83866 + r * (3411 ±0)`
- // Minimum execution time: 68_221_000 picoseconds.
- Weight::from_parts(1_715_991_661, 0)
+ // Minimum execution time: 59_715_000 picoseconds.
+ Weight::from_parts(744_794_388, 0)
.saturating_add(Weight::from_parts(0, 83866))
- // Standard Error: 156_851
- .saturating_add(Weight::from_parts(43_155_748, 0).saturating_mul(r.into()))
+ // Standard Error: 58_870
+ .saturating_add(Weight::from_parts(19_484_016, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(6))
@@ -162,13 +157,13 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// The range of component `r` is `[0, 512]`.
fn undelegate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `29555 + r * (365 ±0)`
+ // Measured: `28867 + r * (364 ±0)`
// Estimated: `83866 + r * (3411 ±0)`
- // Minimum execution time: 38_939_000 picoseconds.
- Weight::from_parts(1_658_364_718, 0)
+ // Minimum execution time: 40_805_000 picoseconds.
+ Weight::from_parts(712_035_312, 0)
.saturating_add(Weight::from_parts(0, 83866))
- // Standard Error: 152_890
- .saturating_add(Weight::from_parts(43_287_259, 0).saturating_mul(r.into()))
+ // Standard Error: 54_779
+ .saturating_add(Weight::from_parts(19_461_037, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4))
@@ -178,17 +173,17 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// Storage: `ConvictionVoting::VotingFor` (r:1 w:1)
/// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`)
/// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1)
- /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, mode: `MaxEncodedLen`)
+ /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(329), added: 2804, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:1 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:0)
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`)
fn unlock() -> Weight {
// Proof Size summary in bytes:
- // Measured: `12252`
+ // Measured: `12270`
// Estimated: `30706`
- // Minimum execution time: 96_189_000 picoseconds.
- Weight::from_parts(113_746_000, 0)
+ // Minimum execution time: 90_069_000 picoseconds.
+ Weight::from_parts(95_231_000, 0)
.saturating_add(Weight::from_parts(0, 30706))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
diff --git a/relay/kusama/src/weights/pallet_election_provider_multi_phase.rs b/relay/kusama/src/weights/pallet_election_provider_multi_phase.rs
index 176da442bd..47a33c7c34 100644
--- a/relay/kusama/src/weights/pallet_election_provider_multi_phase.rs
+++ b/relay/kusama/src/weights/pallet_election_provider_multi_phase.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_election_provider_multi_phase`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_election_provider_multi_phase
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -69,10 +64,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
fn on_initialize_nothing() -> Weight {
// Proof Size summary in bytes:
- // Measured: `821`
+ // Measured: `854`
// Estimated: `3481`
- // Minimum execution time: 17_098_000 picoseconds.
- Weight::from_parts(17_919_000, 0)
+ // Minimum execution time: 16_885_000 picoseconds.
+ Weight::from_parts(17_764_000, 0)
.saturating_add(Weight::from_parts(0, 3481))
.saturating_add(T::DbWeight::get().reads(8))
}
@@ -84,8 +79,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `1565`
- // Minimum execution time: 8_261_000 picoseconds.
- Weight::from_parts(8_610_000, 0)
+ // Minimum execution time: 8_084_000 picoseconds.
+ Weight::from_parts(8_424_000, 0)
.saturating_add(Weight::from_parts(0, 1565))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -98,8 +93,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `1565`
- // Minimum execution time: 8_983_000 picoseconds.
- Weight::from_parts(9_338_000, 0)
+ // Minimum execution time: 9_117_000 picoseconds.
+ Weight::from_parts(9_407_000, 0)
.saturating_add(Weight::from_parts(0, 1565))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -112,8 +107,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 22_468_000 picoseconds.
- Weight::from_parts(23_038_000, 0)
+ // Minimum execution time: 23_020_000 picoseconds.
+ Weight::from_parts(23_429_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -124,8 +119,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 15_489_000 picoseconds.
- Weight::from_parts(16_016_000, 0)
+ // Minimum execution time: 15_666_000 picoseconds.
+ Weight::from_parts(16_128_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -142,11 +137,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 638_166_000 picoseconds.
- Weight::from_parts(85_170_117, 0)
+ // Minimum execution time: 594_182_000 picoseconds.
+ Weight::from_parts(637_974_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 11_382
- .saturating_add(Weight::from_parts(737_436, 0).saturating_mul(v.into()))
+ // Standard Error: 3_517
+ .saturating_add(Weight::from_parts(487_997, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `ElectionProviderMultiPhase::SignedSubmissionIndices` (r:1 w:1)
@@ -173,11 +168,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `831 + a * (1152 ±0) + d * (47 ±0)`
// Estimated: `4281 + a * (1152 ±0) + d * (48 ±0)`
- // Minimum execution time: 476_398_000 picoseconds.
- Weight::from_parts(559_140_000, 0)
+ // Minimum execution time: 511_058_000 picoseconds.
+ Weight::from_parts(531_640_000, 0)
.saturating_add(Weight::from_parts(0, 4281))
- // Standard Error: 10_849
- .saturating_add(Weight::from_parts(656_138, 0).saturating_mul(a.into()))
+ // Standard Error: 8_880
+ .saturating_add(Weight::from_parts(597_736, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(8))
.saturating_add(Weight::from_parts(0, 1152).saturating_mul(a.into()))
@@ -185,6 +180,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f
}
/// Storage: `ElectionProviderMultiPhase::CurrentPhase` (r:1 w:0)
/// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
+ /// Storage: `ElectionProviderMultiPhase::Round` (r:1 w:0)
+ /// Proof: `ElectionProviderMultiPhase::Round` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ElectionProviderMultiPhase::SnapshotMetadata` (r:1 w:0)
/// Proof: `ElectionProviderMultiPhase::SnapshotMetadata` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `ElectionProviderMultiPhase::SignedSubmissionIndices` (r:1 w:1)
@@ -197,12 +194,12 @@ impl pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::SignedSubmissionsMap` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn submit() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1169`
- // Estimated: `2654`
- // Minimum execution time: 46_164_000 picoseconds.
- Weight::from_parts(47_868_000, 0)
- .saturating_add(Weight::from_parts(0, 2654))
- .saturating_add(T::DbWeight::get().reads(5))
+ // Measured: `1232`
+ // Estimated: `2717`
+ // Minimum execution time: 45_867_000 picoseconds.
+ Weight::from_parts(47_773_000, 0)
+ .saturating_add(Weight::from_parts(0, 2717))
+ .saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `ElectionProviderMultiPhase::CurrentPhase` (r:1 w:0)
@@ -227,11 +224,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `185 + t * (32 ±0) + v * (809 ±0)`
// Estimated: `1670 + t * (32 ±0) + v * (809 ±0)`
- // Minimum execution time: 8_302_223_000 picoseconds.
- Weight::from_parts(8_584_119_000, 0)
+ // Minimum execution time: 8_237_619_000 picoseconds.
+ Weight::from_parts(8_383_333_000, 0)
.saturating_add(Weight::from_parts(0, 1670))
- // Standard Error: 103_987
- .saturating_add(Weight::from_parts(9_482_036, 0).saturating_mul(a.into()))
+ // Standard Error: 32_330
+ .saturating_add(Weight::from_parts(72_983, 0).saturating_mul(v.into()))
+ // Standard Error: 95_808
+ .saturating_add(Weight::from_parts(8_682_725, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
@@ -253,13 +252,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `160 + t * (32 ±0) + v * (809 ±0)`
// Estimated: `1645 + t * (32 ±0) + v * (809 ±0)`
- // Minimum execution time: 6_938_885_000 picoseconds.
- Weight::from_parts(7_130_861_000, 0)
+ // Minimum execution time: 6_880_498_000 picoseconds.
+ Weight::from_parts(6_933_554_000, 0)
.saturating_add(Weight::from_parts(0, 1645))
- // Standard Error: 26_716
- .saturating_add(Weight::from_parts(513_730, 0).saturating_mul(v.into()))
- // Standard Error: 79_172
- .saturating_add(Weight::from_parts(5_544_565, 0).saturating_mul(a.into()))
+ // Standard Error: 25_022
+ .saturating_add(Weight::from_parts(493_776, 0).saturating_mul(v.into()))
+ // Standard Error: 74_151
+ .saturating_add(Weight::from_parts(5_246_526, 0).saturating_mul(a.into()))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(Weight::from_parts(0, 32).saturating_mul(t.into()))
.saturating_add(Weight::from_parts(0, 809).saturating_mul(v.into()))
diff --git a/relay/kusama/src/weights/pallet_fast_unstake.rs b/relay/kusama/src/weights/pallet_fast_unstake.rs
index a59140afe5..b3dab7cad8 100644
--- a/relay/kusama/src/weights/pallet_fast_unstake.rs
+++ b/relay/kusama/src/weights/pallet_fast_unstake.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_fast_unstake`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_fast_unstake
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -84,13 +79,13 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
/// The range of component `b` is `[1, 64]`.
fn on_idle_unstake(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1445 + b * (446 ±0)`
+ // Measured: `1403 + b * (446 ±0)`
// Estimated: `4676 + b * (3774 ±0)`
- // Minimum execution time: 84_806_000 picoseconds.
- Weight::from_parts(12_997_657, 0)
+ // Minimum execution time: 84_683_000 picoseconds.
+ Weight::from_parts(31_239_388, 0)
.saturating_add(Weight::from_parts(0, 4676))
- // Standard Error: 43_184
- .saturating_add(Weight::from_parts(57_173_844, 0).saturating_mul(b.into()))
+ // Standard Error: 31_127
+ .saturating_add(Weight::from_parts(57_451_426, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().reads((8_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -109,26 +104,28 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
/// Proof: `ElectionProviderMultiPhase::CurrentPhase` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
- /// Storage: `Staking::ErasStakers` (r:257 w:0)
+ /// Storage: `Staking::ErasStakers` (r:1 w:0)
/// Proof: `Staking::ErasStakers` (`max_values`: None, `max_size`: None, mode: `Measured`)
+ /// Storage: `Staking::ErasStakersPaged` (r:257 w:0)
+ /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `v` is `[1, 256]`.
/// The range of component `b` is `[1, 64]`.
fn on_idle_check(v: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1343 + b * (48 ±0) + v * (18488 ±0)`
- // Estimated: `4676 + b * (49 ±0) + v * (20963 ±0)`
- // Minimum execution time: 1_588_135_000 picoseconds.
- Weight::from_parts(1_602_326_000, 0)
- .saturating_add(Weight::from_parts(0, 4676))
- // Standard Error: 14_079_022
- .saturating_add(Weight::from_parts(450_479_229, 0).saturating_mul(v.into()))
- // Standard Error: 56_331_772
- .saturating_add(Weight::from_parts(1_769_747_220, 0).saturating_mul(b.into()))
- .saturating_add(T::DbWeight::get().reads(7))
+ // Measured: `1650 + b * (56 ±0) + v * (18503 ±0)`
+ // Estimated: `4985 + b * (56 ±0) + v * (20980 ±0)`
+ // Minimum execution time: 1_786_501_000 picoseconds.
+ Weight::from_parts(1_797_329_000, 0)
+ .saturating_add(Weight::from_parts(0, 4985))
+ // Standard Error: 13_314_061
+ .saturating_add(Weight::from_parts(426_406_623, 0).saturating_mul(v.into()))
+ // Standard Error: 53_271_076
+ .saturating_add(Weight::from_parts(1_669_802_901, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().writes(1))
- .saturating_add(Weight::from_parts(0, 49).saturating_mul(b.into()))
- .saturating_add(Weight::from_parts(0, 20963).saturating_mul(v.into()))
+ .saturating_add(Weight::from_parts(0, 56).saturating_mul(b.into()))
+ .saturating_add(Weight::from_parts(0, 20980).saturating_mul(v.into()))
}
/// Storage: `FastUnstake::ErasToCheckPerBlock` (r:1 w:0)
/// Proof: `FastUnstake::ErasToCheckPerBlock` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -162,10 +159,10 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
/// Proof: `FastUnstake::CounterForQueue` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn register_fast_unstake() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1987`
+ // Measured: `1945`
// Estimated: `4764`
- // Minimum execution time: 107_877_000 picoseconds.
- Weight::from_parts(110_360_000, 0)
+ // Minimum execution time: 106_947_000 picoseconds.
+ Weight::from_parts(109_121_000, 0)
.saturating_add(Weight::from_parts(0, 4764))
.saturating_add(T::DbWeight::get().reads(15))
.saturating_add(T::DbWeight::get().writes(9))
@@ -182,10 +179,10 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
/// Proof: `FastUnstake::CounterForQueue` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn deregister() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1118`
+ // Measured: `1113`
// Estimated: `4676`
- // Minimum execution time: 35_829_000 picoseconds.
- Weight::from_parts(37_196_000, 0)
+ // Minimum execution time: 35_826_000 picoseconds.
+ Weight::from_parts(36_744_000, 0)
.saturating_add(Weight::from_parts(0, 4676))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(2))
@@ -196,8 +193,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_016_000 picoseconds.
- Weight::from_parts(2_140_000, 0)
+ // Minimum execution time: 1_654_000 picoseconds.
+ Weight::from_parts(1_802_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/relay/kusama/src/weights/pallet_identity.rs b/relay/kusama/src/weights/pallet_identity.rs
index fd6256f3af..c49057bcea 100644
--- a/relay/kusama/src/weights/pallet_identity.rs
+++ b/relay/kusama/src/weights/pallet_identity.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_identity`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_identity
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -58,32 +53,31 @@ impl pallet_identity::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `32 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 7_797_000 picoseconds.
- Weight::from_parts(8_494_920, 0)
+ // Minimum execution time: 7_423_000 picoseconds.
+ Weight::from_parts(8_143_580, 0)
.saturating_add(Weight::from_parts(0, 2626))
- // Standard Error: 1_393
- .saturating_add(Weight::from_parts(86_525, 0).saturating_mul(r.into()))
+ // Standard Error: 1_398
+ .saturating_add(Weight::from_parts(88_352, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::IdentityOf` (r:1 w:1)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
- /// The range of component `x` is `[0, 100]`.
fn set_identity(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `442 + r * (5 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 28_473_000 picoseconds.
- Weight::from_parts(25_981_122, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 3_669
- .saturating_add(Weight::from_parts(145_207, 0).saturating_mul(r.into()))
+ // Measured: `6978 + r * (5 ±0)`
+ // Estimated: `11037`
+ // Minimum execution time: 105_465_000 picoseconds.
+ Weight::from_parts(107_147_454, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 5_835
+ .saturating_add(Weight::from_parts(226_100, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::IdentityOf` (r:1 w:0)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `Identity::SubsOf` (r:1 w:1)
/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
/// Storage: `Identity::SuperOf` (r:100 w:100)
@@ -92,12 +86,12 @@ impl pallet_identity::WeightInfo for WeightInfo {
fn set_subs_new(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `101`
- // Estimated: `11003 + s * (2589 ±0)`
- // Minimum execution time: 8_400_000 picoseconds.
- Weight::from_parts(18_763_082, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 4_192
- .saturating_add(Weight::from_parts(3_158_583, 0).saturating_mul(s.into()))
+ // Estimated: `11037 + s * (2589 ±0)`
+ // Minimum execution time: 8_211_000 picoseconds.
+ Weight::from_parts(18_905_719, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 4_828
+ .saturating_add(Weight::from_parts(3_171_890, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
.saturating_add(T::DbWeight::get().writes(1))
@@ -105,7 +99,7 @@ impl pallet_identity::WeightInfo for WeightInfo {
.saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into()))
}
/// Storage: `Identity::IdentityOf` (r:1 w:0)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `Identity::SubsOf` (r:1 w:1)
/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
/// Storage: `Identity::SuperOf` (r:0 w:100)
@@ -114,12 +108,12 @@ impl pallet_identity::WeightInfo for WeightInfo {
fn set_subs_old(p: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `194 + p * (32 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 8_171_000 picoseconds.
- Weight::from_parts(21_567_656, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 3_475
- .saturating_add(Weight::from_parts(1_335_522, 0).saturating_mul(p.into()))
+ // Estimated: `11037`
+ // Minimum execution time: 8_234_000 picoseconds.
+ Weight::from_parts(20_223_382, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 5_672
+ .saturating_add(Weight::from_parts(1_403_444, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
@@ -127,23 +121,22 @@ impl pallet_identity::WeightInfo for WeightInfo {
/// Storage: `Identity::SubsOf` (r:1 w:1)
/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:1)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `Identity::SuperOf` (r:0 w:100)
/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
- /// The range of component `x` is `[0, 100]`.
fn clear_identity(r: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `469 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 51_919_000 picoseconds.
- Weight::from_parts(27_861_193, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 9_525
- .saturating_add(Weight::from_parts(178_396, 0).saturating_mul(r.into()))
- // Standard Error: 1_860
- .saturating_add(Weight::from_parts(1_315_185, 0).saturating_mul(s.into()))
+ // Measured: `7070 + r * (5 ±0) + s * (32 ±0)`
+ // Estimated: `11037`
+ // Minimum execution time: 52_414_000 picoseconds.
+ Weight::from_parts(54_584_569, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 15_763
+ .saturating_add(Weight::from_parts(127_125, 0).saturating_mul(r.into()))
+ // Standard Error: 3_075
+ .saturating_add(Weight::from_parts(1_408_841, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
@@ -151,34 +144,32 @@ impl pallet_identity::WeightInfo for WeightInfo {
/// Storage: `Identity::Registrars` (r:1 w:0)
/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:1)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
- /// The range of component `x` is `[0, 100]`.
fn request_judgement(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `367 + r * (57 ±0) + x * (66 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 29_757_000 picoseconds.
- Weight::from_parts(27_710_481, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 4_038
- .saturating_add(Weight::from_parts(140_007, 0).saturating_mul(r.into()))
+ // Measured: `6968 + r * (57 ±0)`
+ // Estimated: `11037`
+ // Minimum execution time: 74_182_000 picoseconds.
+ Weight::from_parts(76_026_106, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 3_519
+ .saturating_add(Weight::from_parts(111_153, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::IdentityOf` (r:1 w:1)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
- /// The range of component `x` is `[0, 100]`.
fn cancel_request(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `398 + x * (66 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 26_725_000 picoseconds.
- Weight::from_parts(25_628_729, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 4_050
- .saturating_add(Weight::from_parts(119_572, 0).saturating_mul(r.into()))
+ // Measured: `6999`
+ // Estimated: `11037`
+ // Minimum execution time: 71_727_000 picoseconds.
+ Weight::from_parts(74_452_036, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 4_923
+ .saturating_add(Weight::from_parts(153_968, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -189,11 +180,11 @@ impl pallet_identity::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 5_600_000 picoseconds.
- Weight::from_parts(5_985_348, 0)
+ // Minimum execution time: 5_452_000 picoseconds.
+ Weight::from_parts(5_821_047, 0)
.saturating_add(Weight::from_parts(0, 2626))
- // Standard Error: 1_040
- .saturating_add(Weight::from_parts(76_293, 0).saturating_mul(r.into()))
+ // Standard Error: 903
+ .saturating_add(Weight::from_parts(72_242, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -204,11 +195,11 @@ impl pallet_identity::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 5_904_000 picoseconds.
- Weight::from_parts(7_848_913, 0)
+ // Minimum execution time: 5_562_000 picoseconds.
+ Weight::from_parts(7_663_040, 0)
.saturating_add(Weight::from_parts(0, 2626))
- // Standard Error: 4_336
- .saturating_add(Weight::from_parts(112_817, 0).saturating_mul(r.into()))
+ // Standard Error: 4_641
+ .saturating_add(Weight::from_parts(106_113, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -219,60 +210,58 @@ impl pallet_identity::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `89 + r * (57 ±0)`
// Estimated: `2626`
- // Minimum execution time: 5_575_000 picoseconds.
- Weight::from_parts(7_636_274, 0)
+ // Minimum execution time: 5_624_000 picoseconds.
+ Weight::from_parts(7_571_970, 0)
.saturating_add(Weight::from_parts(0, 2626))
- // Standard Error: 4_507
- .saturating_add(Weight::from_parts(118_641, 0).saturating_mul(r.into()))
+ // Standard Error: 4_246
+ .saturating_add(Weight::from_parts(109_102, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::Registrars` (r:1 w:0)
/// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:1)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 19]`.
- /// The range of component `x` is `[0, 100]`.
fn provide_judgement(r: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `445 + r * (57 ±0) + x * (66 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 21_420_000 picoseconds.
- Weight::from_parts(20_651_547, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 3_622
- .saturating_add(Weight::from_parts(111_414, 0).saturating_mul(r.into()))
+ // Measured: `7046 + r * (57 ±0)`
+ // Estimated: `11037`
+ // Minimum execution time: 95_196_000 picoseconds.
+ Weight::from_parts(97_067_549, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 4_761
+ .saturating_add(Weight::from_parts(106_543, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::SubsOf` (r:1 w:1)
/// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:1)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Identity::SuperOf` (r:0 w:100)
/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `r` is `[1, 20]`.
/// The range of component `s` is `[0, 100]`.
- /// The range of component `x` is `[0, 100]`.
fn kill_identity(r: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `676 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 67_698_000 picoseconds.
- Weight::from_parts(39_381_426, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 34_947
- .saturating_add(Weight::from_parts(219_037, 0).saturating_mul(r.into()))
- // Standard Error: 6_824
- .saturating_add(Weight::from_parts(1_337_803, 0).saturating_mul(s.into()))
+ // Measured: `7277 + r * (5 ±0) + s * (32 ±0)`
+ // Estimated: `11037`
+ // Minimum execution time: 67_997_000 picoseconds.
+ Weight::from_parts(69_029_074, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 17_074
+ .saturating_add(Weight::from_parts(224_876, 0).saturating_mul(r.into()))
+ // Standard Error: 3_331
+ .saturating_add(Weight::from_parts(1_380_625, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
}
/// Storage: `Identity::IdentityOf` (r:1 w:0)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `Identity::SuperOf` (r:1 w:1)
/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// Storage: `Identity::SubsOf` (r:1 w:1)
@@ -281,34 +270,34 @@ impl pallet_identity::WeightInfo for WeightInfo {
fn add_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `475 + s * (36 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 23_630_000 picoseconds.
- Weight::from_parts(29_776_973, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 1_393
- .saturating_add(Weight::from_parts(91_167, 0).saturating_mul(s.into()))
+ // Estimated: `11037`
+ // Minimum execution time: 23_603_000 picoseconds.
+ Weight::from_parts(29_512_485, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 1_432
+ .saturating_add(Weight::from_parts(102_477, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `Identity::IdentityOf` (r:1 w:0)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `Identity::SuperOf` (r:1 w:1)
/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// The range of component `s` is `[1, 100]`.
fn rename_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `591 + s * (3 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 13_776_000 picoseconds.
- Weight::from_parts(15_381_183, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 480
- .saturating_add(Weight::from_parts(40_516, 0).saturating_mul(s.into()))
+ // Estimated: `11037`
+ // Minimum execution time: 13_906_000 picoseconds.
+ Weight::from_parts(15_280_673, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 535
+ .saturating_add(Weight::from_parts(44_553, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::IdentityOf` (r:1 w:0)
- /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `Identity::SuperOf` (r:1 w:1)
/// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`)
/// Storage: `Identity::SubsOf` (r:1 w:1)
@@ -317,12 +306,12 @@ impl pallet_identity::WeightInfo for WeightInfo {
fn remove_sub(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `638 + s * (35 ±0)`
- // Estimated: `11003`
- // Minimum execution time: 29_080_000 picoseconds.
- Weight::from_parts(31_439_643, 0)
- .saturating_add(Weight::from_parts(0, 11003))
- // Standard Error: 777
- .saturating_add(Weight::from_parts(82_088, 0).saturating_mul(s.into()))
+ // Estimated: `11037`
+ // Minimum execution time: 29_544_000 picoseconds.
+ Weight::from_parts(31_743_453, 0)
+ .saturating_add(Weight::from_parts(0, 11037))
+ // Standard Error: 721
+ .saturating_add(Weight::from_parts(86_362, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -337,11 +326,11 @@ impl pallet_identity::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `704 + s * (37 ±0)`
// Estimated: `6723`
- // Minimum execution time: 23_088_000 picoseconds.
- Weight::from_parts(24_742_483, 0)
+ // Minimum execution time: 22_595_000 picoseconds.
+ Weight::from_parts(24_344_163, 0)
.saturating_add(Weight::from_parts(0, 6723))
- // Standard Error: 669
- .saturating_add(Weight::from_parts(75_769, 0).saturating_mul(s.into()))
+ // Standard Error: 615
+ .saturating_add(Weight::from_parts(83_224, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -351,90 +340,93 @@ impl pallet_identity::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 13_873_000 picoseconds.
- Weight::from_parts(13_873_000, 0)
+ // Minimum execution time: 6_166_000 picoseconds.
+ Weight::from_parts(6_519_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
- /// Storage: `Identity::UsernameAuthorities` (r:0 w:1)
+ /// Storage: `Identity::UsernameAuthorities` (r:1 w:1)
/// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
fn remove_username_authority() -> Weight {
// Proof Size summary in bytes:
- // Measured: `0`
- // Estimated: `0`
- // Minimum execution time: 10_653_000 picoseconds.
- Weight::from_parts(10_653_000, 0)
- .saturating_add(Weight::from_parts(0, 0))
+ // Measured: `80`
+ // Estimated: `3517`
+ // Minimum execution time: 8_575_000 picoseconds.
+ Weight::from_parts(9_113_000, 0)
+ .saturating_add(Weight::from_parts(0, 3517))
+ .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::UsernameAuthorities` (r:1 w:1)
/// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
/// Storage: `Identity::AccountOfUsername` (r:1 w:1)
- /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
+ /// Storage: `Identity::PendingUsernames` (r:1 w:0)
+ /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:1)
/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
fn set_username_for() -> Weight {
// Proof Size summary in bytes:
// Measured: `80`
// Estimated: `11037`
- // Minimum execution time: 75_928_000 picoseconds.
- Weight::from_parts(75_928_000, 0)
+ // Minimum execution time: 65_274_000 picoseconds.
+ Weight::from_parts(67_397_000, 0)
.saturating_add(Weight::from_parts(0, 11037))
- .saturating_add(T::DbWeight::get().reads(3))
+ .saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `Identity::PendingUsernames` (r:1 w:1)
- /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:1)
/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
/// Storage: `Identity::AccountOfUsername` (r:0 w:1)
- /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
fn accept_username() -> Weight {
// Proof Size summary in bytes:
- // Measured: `106`
+ // Measured: `115`
// Estimated: `11037`
- // Minimum execution time: 38_157_000 picoseconds.
- Weight::from_parts(38_157_000, 0)
+ // Minimum execution time: 19_299_000 picoseconds.
+ Weight::from_parts(20_138_000, 0)
.saturating_add(Weight::from_parts(0, 11037))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `Identity::PendingUsernames` (r:1 w:1)
- /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(77), added: 2552, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
fn remove_expired_approval() -> Weight {
// Proof Size summary in bytes:
- // Measured: `106`
- // Estimated: `3542`
- // Minimum execution time: 46_821_000 picoseconds.
- Weight::from_parts(46_821_000, 0)
- .saturating_add(Weight::from_parts(0, 3542))
+ // Measured: `115`
+ // Estimated: `3550`
+ // Minimum execution time: 16_264_000 picoseconds.
+ Weight::from_parts(20_214_000, 0)
+ .saturating_add(Weight::from_parts(0, 3550))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::AccountOfUsername` (r:1 w:0)
- /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:1)
/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
fn set_primary_username() -> Weight {
// Proof Size summary in bytes:
- // Measured: `247`
+ // Measured: `257`
// Estimated: `11037`
- // Minimum execution time: 22_515_000 picoseconds.
- Weight::from_parts(22_515_000, 0)
+ // Minimum execution time: 15_009_000 picoseconds.
+ Weight::from_parts(15_555_000, 0)
.saturating_add(Weight::from_parts(0, 11037))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `Identity::AccountOfUsername` (r:1 w:1)
- /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
+ /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
/// Storage: `Identity::IdentityOf` (r:1 w:0)
/// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`)
fn remove_dangling_username() -> Weight {
// Proof Size summary in bytes:
- // Measured: `126`
+ // Measured: `98`
// Estimated: `11037`
- // Minimum execution time: 15_997_000 picoseconds.
- Weight::from_parts(15_997_000, 0)
+ // Minimum execution time: 10_682_000 picoseconds.
+ Weight::from_parts(11_008_000, 0)
.saturating_add(Weight::from_parts(0, 11037))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
diff --git a/relay/kusama/src/weights/pallet_indices.rs b/relay/kusama/src/weights/pallet_indices.rs
index 920a6f8b6d..6cb65ae442 100644
--- a/relay/kusama/src/weights/pallet_indices.rs
+++ b/relay/kusama/src/weights/pallet_indices.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_indices`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_indices
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -57,8 +52,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3534`
- // Minimum execution time: 18_058_000 picoseconds.
- Weight::from_parts(18_542_000, 0)
+ // Minimum execution time: 18_411_000 picoseconds.
+ Weight::from_parts(18_870_000, 0)
.saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -71,8 +66,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `203`
// Estimated: `3593`
- // Minimum execution time: 30_905_000 picoseconds.
- Weight::from_parts(31_835_000, 0)
+ // Minimum execution time: 31_115_000 picoseconds.
+ Weight::from_parts(31_721_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -83,8 +78,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `100`
// Estimated: `3534`
- // Minimum execution time: 19_638_000 picoseconds.
- Weight::from_parts(20_064_000, 0)
+ // Minimum execution time: 19_495_000 picoseconds.
+ Weight::from_parts(19_960_000, 0)
.saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -97,8 +92,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `203`
// Estimated: `3593`
- // Minimum execution time: 21_276_000 picoseconds.
- Weight::from_parts(21_858_000, 0)
+ // Minimum execution time: 21_514_000 picoseconds.
+ Weight::from_parts(22_223_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -109,8 +104,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `100`
// Estimated: `3534`
- // Minimum execution time: 20_219_000 picoseconds.
- Weight::from_parts(20_782_000, 0)
+ // Minimum execution time: 20_613_000 picoseconds.
+ Weight::from_parts(21_036_000, 0)
.saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
diff --git a/relay/kusama/src/weights/pallet_message_queue.rs b/relay/kusama/src/weights/pallet_message_queue.rs
index 3575502c48..f4d3179d14 100644
--- a/relay/kusama/src/weights/pallet_message_queue.rs
+++ b/relay/kusama/src/weights/pallet_message_queue.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_message_queue`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_message_queue
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -59,8 +54,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `6050`
- // Minimum execution time: 12_588_000 picoseconds.
- Weight::from_parts(13_158_000, 0)
+ // Minimum execution time: 12_722_000 picoseconds.
+ Weight::from_parts(13_512_000, 0)
.saturating_add(Weight::from_parts(0, 6050))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
@@ -73,8 +68,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `6050`
- // Minimum execution time: 11_160_000 picoseconds.
- Weight::from_parts(11_690_000, 0)
+ // Minimum execution time: 11_487_000 picoseconds.
+ Weight::from_parts(11_981_000, 0)
.saturating_add(Weight::from_parts(0, 6050))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -85,8 +80,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3520`
- // Minimum execution time: 3_826_000 picoseconds.
- Weight::from_parts(4_044_000, 0)
+ // Minimum execution time: 3_800_000 picoseconds.
+ Weight::from_parts(4_057_000, 0)
.saturating_add(Weight::from_parts(0, 3520))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -97,8 +92,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `115`
// Estimated: `69051`
- // Minimum execution time: 5_518_000 picoseconds.
- Weight::from_parts(5_787_000, 0)
+ // Minimum execution time: 5_601_000 picoseconds.
+ Weight::from_parts(5_834_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -109,19 +104,24 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `115`
// Estimated: `69051`
- // Minimum execution time: 5_467_000 picoseconds.
- Weight::from_parts(5_903_000, 0)
+ // Minimum execution time: 5_687_000 picoseconds.
+ Weight::from_parts(5_878_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
+ /// Storage: `MessageQueue::BookStateFor` (r:0 w:1)
+ /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`)
+ /// Storage: `MessageQueue::Pages` (r:0 w:1)
+ /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65586), added: 68061, mode: `MaxEncodedLen`)
fn service_page_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 91_065_000 picoseconds.
- Weight::from_parts(91_677_000, 0)
+ // Minimum execution time: 166_264_000 picoseconds.
+ Weight::from_parts(169_806_000, 0)
.saturating_add(Weight::from_parts(0, 0))
+ .saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `MessageQueue::ServiceHead` (r:1 w:1)
/// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(6), added: 501, mode: `MaxEncodedLen`)
@@ -131,8 +131,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `3520`
- // Minimum execution time: 8_625_000 picoseconds.
- Weight::from_parts(9_076_000, 0)
+ // Minimum execution time: 8_656_000 picoseconds.
+ Weight::from_parts(9_048_000, 0)
.saturating_add(Weight::from_parts(0, 3520))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -149,8 +149,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `65714`
// Estimated: `69051`
- // Minimum execution time: 55_504_000 picoseconds.
- Weight::from_parts(56_531_000, 0)
+ // Minimum execution time: 55_845_000 picoseconds.
+ Weight::from_parts(56_716_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
@@ -167,8 +167,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `65714`
// Estimated: `69051`
- // Minimum execution time: 70_788_000 picoseconds.
- Weight::from_parts(71_479_000, 0)
+ // Minimum execution time: 70_960_000 picoseconds.
+ Weight::from_parts(72_914_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
@@ -185,8 +185,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `65714`
// Estimated: `69051`
- // Minimum execution time: 113_713_000 picoseconds.
- Weight::from_parts(114_904_000, 0)
+ // Minimum execution time: 110_004_000 picoseconds.
+ Weight::from_parts(111_424_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
diff --git a/relay/kusama/src/weights/pallet_multisig.rs b/relay/kusama/src/weights/pallet_multisig.rs
index 6be87de7ab..516084d153 100644
--- a/relay/kusama/src/weights/pallet_multisig.rs
+++ b/relay/kusama/src/weights/pallet_multisig.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_multisig`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_multisig
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -56,11 +51,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 13_005_000 picoseconds.
- Weight::from_parts(13_462_385, 0)
+ // Minimum execution time: 11_953_000 picoseconds.
+ Weight::from_parts(13_152_287, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 3
- .saturating_add(Weight::from_parts(560, 0).saturating_mul(z.into()))
+ // Standard Error: 4
+ .saturating_add(Weight::from_parts(534, 0).saturating_mul(z.into()))
}
/// Storage: `Multisig::Multisigs` (r:1 w:1)
/// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`)
@@ -70,13 +65,13 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `301 + s * (2 ±0)`
// Estimated: `6811`
- // Minimum execution time: 40_053_000 picoseconds.
- Weight::from_parts(29_462_842, 0)
+ // Minimum execution time: 40_711_000 picoseconds.
+ Weight::from_parts(29_811_010, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 939
- .saturating_add(Weight::from_parts(124_408, 0).saturating_mul(s.into()))
- // Standard Error: 9
- .saturating_add(Weight::from_parts(1_542, 0).saturating_mul(z.into()))
+ // Standard Error: 671
+ .saturating_add(Weight::from_parts(122_000, 0).saturating_mul(s.into()))
+ // Standard Error: 6
+ .saturating_add(Weight::from_parts(1_458, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -88,13 +83,13 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `320`
// Estimated: `6811`
- // Minimum execution time: 28_290_000 picoseconds.
- Weight::from_parts(18_127_799, 0)
+ // Minimum execution time: 27_952_000 picoseconds.
+ Weight::from_parts(18_090_104, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 744
- .saturating_add(Weight::from_parts(110_288, 0).saturating_mul(s.into()))
+ // Standard Error: 733
+ .saturating_add(Weight::from_parts(113_110, 0).saturating_mul(s.into()))
// Standard Error: 7
- .saturating_add(Weight::from_parts(1_530, 0).saturating_mul(z.into()))
+ .saturating_add(Weight::from_parts(1_441, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -108,13 +103,13 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `426 + s * (33 ±0)`
// Estimated: `6811`
- // Minimum execution time: 46_478_000 picoseconds.
- Weight::from_parts(33_212_320, 0)
+ // Minimum execution time: 46_500_000 picoseconds.
+ Weight::from_parts(33_919_337, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 1_190
- .saturating_add(Weight::from_parts(154_897, 0).saturating_mul(s.into()))
+ // Standard Error: 1_144
+ .saturating_add(Weight::from_parts(145_940, 0).saturating_mul(s.into()))
// Standard Error: 11
- .saturating_add(Weight::from_parts(1_595, 0).saturating_mul(z.into()))
+ .saturating_add(Weight::from_parts(1_499, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -125,11 +120,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `301 + s * (2 ±0)`
// Estimated: `6811`
- // Minimum execution time: 28_327_000 picoseconds.
- Weight::from_parts(29_150_814, 0)
+ // Minimum execution time: 28_201_000 picoseconds.
+ Weight::from_parts(29_096_369, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 809
- .saturating_add(Weight::from_parts(120_414, 0).saturating_mul(s.into()))
+ // Standard Error: 685
+ .saturating_add(Weight::from_parts(119_888, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -140,11 +135,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `320`
// Estimated: `6811`
- // Minimum execution time: 14_895_000 picoseconds.
- Weight::from_parts(17_187_839, 0)
+ // Minimum execution time: 14_647_000 picoseconds.
+ Weight::from_parts(17_068_089, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 823
- .saturating_add(Weight::from_parts(114_125, 0).saturating_mul(s.into()))
+ // Standard Error: 900
+ .saturating_add(Weight::from_parts(114_977, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -155,11 +150,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `492 + s * (1 ±0)`
// Estimated: `6811`
- // Minimum execution time: 29_190_000 picoseconds.
- Weight::from_parts(30_602_563, 0)
+ // Minimum execution time: 29_742_000 picoseconds.
+ Weight::from_parts(30_689_047, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 724
- .saturating_add(Weight::from_parts(121_437, 0).saturating_mul(s.into()))
+ // Standard Error: 784
+ .saturating_add(Weight::from_parts(123_995, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/relay/kusama/src/weights/pallet_nis.rs b/relay/kusama/src/weights/pallet_nis.rs
index f46b69cfff..7d3410bafd 100644
--- a/relay/kusama/src/weights/pallet_nis.rs
+++ b/relay/kusama/src/weights/pallet_nis.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_nis`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_nis
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -54,7 +49,7 @@ impl pallet_nis::WeightInfo for WeightInfo {
/// Storage: `Nis::Queues` (r:1 w:1)
/// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
- /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
/// Storage: `Nis::QueueTotals` (r:1 w:1)
/// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(10002), added: 10497, mode: `MaxEncodedLen`)
/// The range of component `l` is `[0, 999]`.
@@ -62,26 +57,26 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `10210 + l * (48 ±0)`
// Estimated: `51487`
- // Minimum execution time: 41_208_000 picoseconds.
- Weight::from_parts(41_517_888, 0)
+ // Minimum execution time: 42_925_000 picoseconds.
+ Weight::from_parts(43_443_274, 0)
.saturating_add(Weight::from_parts(0, 51487))
- // Standard Error: 1_257
- .saturating_add(Weight::from_parts(93_830, 0).saturating_mul(l.into()))
+ // Standard Error: 1_189
+ .saturating_add(Weight::from_parts(82_643, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `Nis::Queues` (r:1 w:1)
/// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
- /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
/// Storage: `Nis::QueueTotals` (r:1 w:1)
/// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(10002), added: 10497, mode: `MaxEncodedLen`)
fn place_bid_max() -> Weight {
// Proof Size summary in bytes:
// Measured: `58212`
// Estimated: `51487`
- // Minimum execution time: 145_118_000 picoseconds.
- Weight::from_parts(153_236_000, 0)
+ // Minimum execution time: 135_792_000 picoseconds.
+ Weight::from_parts(141_153_000, 0)
.saturating_add(Weight::from_parts(0, 51487))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -89,7 +84,7 @@ impl pallet_nis::WeightInfo for WeightInfo {
/// Storage: `Nis::Queues` (r:1 w:1)
/// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
- /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
/// Storage: `Nis::QueueTotals` (r:1 w:1)
/// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(10002), added: 10497, mode: `MaxEncodedLen`)
/// The range of component `l` is `[1, 1000]`.
@@ -97,11 +92,11 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `10210 + l * (48 ±0)`
// Estimated: `51487`
- // Minimum execution time: 46_270_000 picoseconds.
- Weight::from_parts(37_109_080, 0)
+ // Minimum execution time: 46_922_000 picoseconds.
+ Weight::from_parts(39_123_073, 0)
.saturating_add(Weight::from_parts(0, 51487))
- // Standard Error: 1_389
- .saturating_add(Weight::from_parts(81_970, 0).saturating_mul(l.into()))
+ // Standard Error: 1_157
+ .saturating_add(Weight::from_parts(70_330, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -113,8 +108,8 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `225`
// Estimated: `3593`
- // Minimum execution time: 29_552_000 picoseconds.
- Weight::from_parts(30_818_000, 0)
+ // Minimum execution time: 30_900_000 picoseconds.
+ Weight::from_parts(31_531_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -122,7 +117,7 @@ impl pallet_nis::WeightInfo for WeightInfo {
/// Storage: `Nis::Receipts` (r:1 w:1)
/// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
- /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Nis::Summary` (r:1 w:1)
@@ -133,8 +128,8 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `3593`
- // Minimum execution time: 59_029_000 picoseconds.
- Weight::from_parts(60_171_000, 0)
+ // Minimum execution time: 59_908_000 picoseconds.
+ Weight::from_parts(62_020_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
@@ -148,13 +143,13 @@ impl pallet_nis::WeightInfo for WeightInfo {
/// Storage: `NisCounterpartBalances::Account` (r:1 w:1)
/// Proof: `NisCounterpartBalances::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
- /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
fn privatize() -> Weight {
// Proof Size summary in bytes:
// Measured: `544`
// Estimated: `3593`
- // Minimum execution time: 75_021_000 picoseconds.
- Weight::from_parts(76_290_000, 0)
+ // Minimum execution time: 75_510_000 picoseconds.
+ Weight::from_parts(77_978_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(5))
@@ -166,13 +161,13 @@ impl pallet_nis::WeightInfo for WeightInfo {
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Balances::Holds` (r:1 w:1)
- /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
+ /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(103), added: 2578, mode: `MaxEncodedLen`)
fn thaw_private() -> Weight {
// Proof Size summary in bytes:
// Measured: `388`
// Estimated: `3593`
- // Minimum execution time: 46_012_000 picoseconds.
- Weight::from_parts(47_042_000, 0)
+ // Minimum execution time: 46_073_000 picoseconds.
+ Weight::from_parts(47_148_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
@@ -189,8 +184,8 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `488`
// Estimated: `3593`
- // Minimum execution time: 77_142_000 picoseconds.
- Weight::from_parts(79_034_000, 0)
+ // Minimum execution time: 79_081_000 picoseconds.
+ Weight::from_parts(80_427_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
@@ -205,8 +200,8 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `10658`
// Estimated: `11487`
- // Minimum execution time: 26_223_000 picoseconds.
- Weight::from_parts(29_341_000, 0)
+ // Minimum execution time: 25_066_000 picoseconds.
+ Weight::from_parts(28_543_000, 0)
.saturating_add(Weight::from_parts(0, 11487))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
@@ -217,8 +212,8 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `51487`
- // Minimum execution time: 3_945_000 picoseconds.
- Weight::from_parts(4_243_000, 0)
+ // Minimum execution time: 4_018_000 picoseconds.
+ Weight::from_parts(4_202_000, 0)
.saturating_add(Weight::from_parts(0, 51487))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -229,8 +224,8 @@ impl pallet_nis::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 4_292_000 picoseconds.
- Weight::from_parts(4_400_000, 0)
+ // Minimum execution time: 4_320_000 picoseconds.
+ Weight::from_parts(4_421_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/relay/kusama/src/weights/pallet_nomination_pools.rs b/relay/kusama/src/weights/pallet_nomination_pools.rs
index e67353f3bd..954dea53d7 100644
--- a/relay/kusama/src/weights/pallet_nomination_pools.rs
+++ b/relay/kusama/src/weights/pallet_nomination_pools.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_nomination_pools`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_nomination_pools
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -56,7 +51,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
/// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
@@ -85,10 +80,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn join() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3395`
+ // Measured: `3391`
// Estimated: `8877`
- // Minimum execution time: 178_262_000 picoseconds.
- Weight::from_parts(181_014_000, 0)
+ // Minimum execution time: 177_847_000 picoseconds.
+ Weight::from_parts(184_213_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(13))
@@ -96,7 +91,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
/// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@@ -119,10 +114,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_transfer() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3405`
+ // Measured: `3401`
// Estimated: `8877`
- // Minimum execution time: 175_832_000 picoseconds.
- Weight::from_parts(179_848_000, 0)
+ // Minimum execution time: 178_786_000 picoseconds.
+ Weight::from_parts(183_483_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(17))
.saturating_add(T::DbWeight::get().writes(13))
@@ -132,7 +127,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
/// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@@ -155,10 +150,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `NominationPools::TotalValueLocked` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
fn bond_extra_other() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3470`
+ // Measured: `3466`
// Estimated: `8877`
- // Minimum execution time: 208_219_000 picoseconds.
- Weight::from_parts(213_443_000, 0)
+ // Minimum execution time: 210_122_000 picoseconds.
+ Weight::from_parts(216_445_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(18))
.saturating_add(T::DbWeight::get().writes(14))
@@ -168,7 +163,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
/// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@@ -177,10 +172,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_payout() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1171`
+ // Measured: `1172`
// Estimated: `4182`
- // Minimum execution time: 70_022_000 picoseconds.
- Weight::from_parts(72_109_000, 0)
+ // Minimum execution time: 71_212_000 picoseconds.
+ Weight::from_parts(72_553_000, 0)
.saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
@@ -188,7 +183,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
/// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
@@ -219,16 +214,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `NominationPools::CounterForSubPoolsStorage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn unbond() -> Weight {
// Proof Size summary in bytes:
- // Measured: `3583`
+ // Measured: `3579`
// Estimated: `8877`
- // Minimum execution time: 161_515_000 picoseconds.
- Weight::from_parts(163_501_000, 0)
+ // Minimum execution time: 159_302_000 picoseconds.
+ Weight::from_parts(163_461_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(13))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:1)
@@ -244,13 +239,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `s` is `[0, 100]`.
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1844`
+ // Measured: `1840`
// Estimated: `4764`
- // Minimum execution time: 65_179_000 picoseconds.
- Weight::from_parts(67_896_285, 0)
+ // Minimum execution time: 63_769_000 picoseconds.
+ Weight::from_parts(66_183_543, 0)
.saturating_add(Weight::from_parts(0, 4764))
- // Standard Error: 1_414
- .saturating_add(Weight::from_parts(48_635, 0).saturating_mul(s.into()))
+ // Standard Error: 1_449
+ .saturating_add(Weight::from_parts(55_303, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
}
@@ -259,7 +254,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
/// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(1197), added: 3672, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
@@ -281,13 +276,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `2234`
+ // Measured: `2230`
// Estimated: `4764`
- // Minimum execution time: 125_893_000 picoseconds.
- Weight::from_parts(129_733_418, 0)
+ // Minimum execution time: 124_483_000 picoseconds.
+ Weight::from_parts(128_813_260, 0)
.saturating_add(Weight::from_parts(0, 4764))
- // Standard Error: 2_199
- .saturating_add(Weight::from_parts(74_402, 0).saturating_mul(s.into()))
+ // Standard Error: 3_049
+ .saturating_add(Weight::from_parts(66_864, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(9))
}
@@ -296,7 +291,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::SubPoolsStorage` (r:1 w:1)
/// Proof: `NominationPools::SubPoolsStorage` (`max_values`: None, `max_size`: Some(1197), added: 3672, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:1)
@@ -340,10 +335,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_kill(_s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `2696`
+ // Measured: `2655`
// Estimated: `8538`
- // Minimum execution time: 228_965_000 picoseconds.
- Weight::from_parts(236_416_829, 0)
+ // Minimum execution time: 225_386_000 picoseconds.
+ Weight::from_parts(233_596_152, 0)
.saturating_add(Weight::from_parts(0, 8538))
.saturating_add(T::DbWeight::get().reads(24))
.saturating_add(T::DbWeight::get().writes(20))
@@ -372,8 +367,6 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:1)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
- /// Storage: `Staking::CurrentEra` (r:1 w:0)
- /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Balances::Locks` (r:2 w:1)
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:2 w:1)
@@ -389,23 +382,23 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `NominationPools::CounterForReversePoolIdLookup` (r:1 w:1)
/// Proof: `NominationPools::CounterForReversePoolIdLookup` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:0 w:1)
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
/// Storage: `Staking::Payee` (r:0 w:1)
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
fn create() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1101`
+ // Measured: `1134`
// Estimated: `8538`
- // Minimum execution time: 166_696_000 picoseconds.
- Weight::from_parts(171_713_000, 0)
+ // Minimum execution time: 166_328_000 picoseconds.
+ Weight::from_parts(170_133_000, 0)
.saturating_add(Weight::from_parts(0, 8538))
- .saturating_add(T::DbWeight::get().reads(24))
+ .saturating_add(T::DbWeight::get().reads(23))
.saturating_add(T::DbWeight::get().writes(17))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
@@ -431,36 +424,36 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `n` is `[1, 24]`.
fn nominate(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1888 + n * (1 ±0)`
+ // Measured: `1847 + n * (1 ±0)`
// Estimated: `4556 + n * (2520 ±0)`
- // Minimum execution time: 61_313_000 picoseconds.
- Weight::from_parts(61_361_818, 0)
+ // Minimum execution time: 61_114_000 picoseconds.
+ Weight::from_parts(61_160_910, 0)
.saturating_add(Weight::from_parts(0, 4556))
- // Standard Error: 5_226
- .saturating_add(Weight::from_parts(1_520_174, 0).saturating_mul(n.into()))
+ // Standard Error: 6_163
+ .saturating_add(Weight::from_parts(1_543_349, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(5))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into()))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
fn set_state() -> Weight {
// Proof Size summary in bytes:
- // Measured: `1431`
+ // Measured: `1427`
// Estimated: `4556`
- // Minimum execution time: 31_279_000 picoseconds.
- Weight::from_parts(32_144_000, 0)
+ // Minimum execution time: 30_975_000 picoseconds.
+ Weight::from_parts(32_059_000, 0)
.saturating_add(Weight::from_parts(0, 4556))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::Metadata` (r:1 w:1)
/// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(270), added: 2745, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::CounterForMetadata` (r:1 w:1)
@@ -468,13 +461,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// The range of component `n` is `[1, 256]`.
fn set_metadata(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `531`
+ // Measured: `532`
// Estimated: `3735`
- // Minimum execution time: 12_362_000 picoseconds.
- Weight::from_parts(13_000_274, 0)
+ // Minimum execution time: 12_541_000 picoseconds.
+ Weight::from_parts(13_324_477, 0)
.saturating_add(Weight::from_parts(0, 3735))
- // Standard Error: 101
- .saturating_add(Weight::from_parts(1_021, 0).saturating_mul(n.into()))
+ // Standard Error: 138
+ .saturating_add(Weight::from_parts(458, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -494,25 +487,25 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 3_653_000 picoseconds.
- Weight::from_parts(3_859_000, 0)
+ // Minimum execution time: 3_433_000 picoseconds.
+ Weight::from_parts(3_676_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(6))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn update_roles() -> Weight {
// Proof Size summary in bytes:
- // Measured: `531`
- // Estimated: `3685`
- // Minimum execution time: 15_748_000 picoseconds.
- Weight::from_parts(16_384_000, 0)
- .saturating_add(Weight::from_parts(0, 3685))
+ // Measured: `532`
+ // Estimated: `3719`
+ // Minimum execution time: 15_625_000 picoseconds.
+ Weight::from_parts(16_293_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
/// Storage: `Staking::Ledger` (r:1 w:0)
@@ -531,16 +524,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn chill() -> Weight {
// Proof Size summary in bytes:
- // Measured: `2064`
+ // Measured: `2023`
// Estimated: `4556`
- // Minimum execution time: 58_297_000 picoseconds.
- Weight::from_parts(61_061_000, 0)
+ // Minimum execution time: 58_697_000 picoseconds.
+ Weight::from_parts(60_987_000, 0)
.saturating_add(Weight::from_parts(0, 4556))
.saturating_add(T::DbWeight::get().reads(9))
.saturating_add(T::DbWeight::get().writes(5))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@@ -549,37 +542,37 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn set_commission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `770`
- // Estimated: `3685`
- // Minimum execution time: 31_866_000 picoseconds.
- Weight::from_parts(32_800_000, 0)
- .saturating_add(Weight::from_parts(0, 3685))
+ // Measured: `804`
+ // Estimated: `3719`
+ // Minimum execution time: 32_467_000 picoseconds.
+ Weight::from_parts(33_468_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
/// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
fn set_commission_max() -> Weight {
// Proof Size summary in bytes:
- // Measured: `571`
- // Estimated: `3685`
- // Minimum execution time: 15_867_000 picoseconds.
- Weight::from_parts(16_168_000, 0)
- .saturating_add(Weight::from_parts(0, 3685))
+ // Measured: `572`
+ // Estimated: `3719`
+ // Minimum execution time: 15_575_000 picoseconds.
+ Weight::from_parts(16_294_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_change_rate() -> Weight {
// Proof Size summary in bytes:
- // Measured: `531`
- // Estimated: `3685`
- // Minimum execution time: 15_480_000 picoseconds.
- Weight::from_parts(15_915_000, 0)
- .saturating_add(Weight::from_parts(0, 3685))
+ // Measured: `532`
+ // Estimated: `3719`
+ // Minimum execution time: 15_254_000 picoseconds.
+ Weight::from_parts(15_851_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -587,10 +580,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
fn set_commission_claim_permission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `498`
+ // Measured: `532`
// Estimated: `3719`
- // Minimum execution time: 14_965_000 picoseconds.
- Weight::from_parts(15_548_000, 0)
+ // Minimum execution time: 15_236_000 picoseconds.
+ Weight::from_parts(15_720_000, 0)
.saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -603,14 +596,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `542`
// Estimated: `4182`
- // Minimum execution time: 13_549_000 picoseconds.
- Weight::from_parts(14_200_000, 0)
+ // Minimum execution time: 12_964_000 picoseconds.
+ Weight::from_parts(13_624_000, 0)
.saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::RewardPools` (r:1 w:1)
/// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0)
@@ -619,16 +612,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
fn claim_commission() -> Weight {
// Proof Size summary in bytes:
- // Measured: `968`
- // Estimated: `3685`
- // Minimum execution time: 58_703_000 picoseconds.
- Weight::from_parts(60_162_000, 0)
- .saturating_add(Weight::from_parts(0, 3685))
+ // Measured: `1002`
+ // Estimated: `3719`
+ // Minimum execution time: 59_330_000 picoseconds.
+ Weight::from_parts(60_903_000, 0)
+ .saturating_add(Weight::from_parts(0, 3719))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
}
/// Storage: `NominationPools::BondedPools` (r:1 w:0)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`)
+ /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
/// Storage: `Balances::Freezes` (r:1 w:1)
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:1)
@@ -637,10 +630,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
fn adjust_pool_deposit() -> Weight {
// Proof Size summary in bytes:
- // Measured: `980`
+ // Measured: `981`
// Estimated: `4764`
- // Minimum execution time: 65_352_000 picoseconds.
- Weight::from_parts(66_442_000, 0)
+ // Minimum execution time: 65_079_000 picoseconds.
+ Weight::from_parts(66_202_000, 0)
.saturating_add(Weight::from_parts(0, 4764))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(2))
diff --git a/relay/kusama/src/weights/pallet_offences.rs b/relay/kusama/src/weights/pallet_offences.rs
index 798770f924..0086ce1044 100644
--- a/relay/kusama/src/weights/pallet_offences.rs
+++ b/relay/kusama/src/weights/pallet_offences.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Polkadot.
-
-// Polkadot 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.
-
-// Polkadot 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 Polkadot. If not, see .
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
+// for a list of specific contributors.
+// SPDX-License-Identifier: Apache-2.0
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
//! Autogenerated weights for `pallet_offences`
//!
-//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-12-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("../kusama-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./kusama-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../kusama-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./kusama-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_offences
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./kusama-weights/
-// --header
-// ./file_header.txt
+// --output=./kusama-weights/
+// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
@@ -51,67 +46,6 @@ use core::marker::PhantomData;
/// Weight functions for `pallet_offences`.
pub struct WeightInfo(PhantomData);
impl pallet_offences::WeightInfo for WeightInfo {
- /// Storage: `Offences::ConcurrentReportsIndex` (r:1 w:1)
- /// Proof: `Offences::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`)
- /// Storage: `Offences::Reports` (r:100 w:100)
- /// 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:100 w:100)
- /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
- /// Storage: `Staking::SlashingSpans` (r:2500 w:2500)
- /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
- /// Storage: `Staking::SpanSlash` (r:2500 w:2500)
- /// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
- /// Storage: `Staking::Validators` (r:100 w:100)
- /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
- /// Storage: `Staking::CounterForValidators` (r:1 w:1)
- /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
- /// Storage: `VoterList::ListNodes` (r:299 w:299)
- /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
- /// Storage: `VoterList::ListBags` (r:1 w:1)
- /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
- /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
- /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
- /// Storage: `Staking::Nominators` (r:100 w:0)
- /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(814), added: 3289, mode: `MaxEncodedLen`)
- /// Storage: `Staking::OffendingValidators` (r:1 w:1)
- /// Proof: `Staking::OffendingValidators` (`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:2400 w:2400)
- /// Proof: `Staking::NominatorSlashInEra` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`)
- /// Storage: `Staking::UnappliedSlashes` (r:1 w:1)
- /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`)
- /// The range of component `r` is `[1, 100]`.
- /// The range of component `o` is `[2, 100]`.
- /// The range of component `n` is `[0, 24]`.
- fn report_offence_im_online(_r: u32, o: u32, n: u32, ) -> Weight {
- // Proof Size summary in bytes:
- // Measured: `0 + n * (2864 ±0) + o * (1226 ±0)`
- // Estimated: `128540 + n * (156186 ±29) + o * (38402 ±0)`
- // Minimum execution time: 640_389_000 picoseconds.
- Weight::from_parts(648_040_000, 0)
- .saturating_add(Weight::from_parts(0, 128540))
- // Standard Error: 4_681_590
- .saturating_add(Weight::from_parts(445_433_927, 0).saturating_mul(o.into()))
- // Standard Error: 19_072_443
- .saturating_add(Weight::from_parts(526_534_346, 0).saturating_mul(n.into()))
- .saturating_add(T::DbWeight::get().reads(172))
- .saturating_add(T::DbWeight::get().reads((51_u64).saturating_mul(o.into())))
- .saturating_add(T::DbWeight::get().reads((185_u64).saturating_mul(n.into())))
- .saturating_add(T::DbWeight::get().writes(165))
- .saturating_add(T::DbWeight::get().writes((50_u64).saturating_mul(o.into())))
- .saturating_add(T::DbWeight::get().writes((185_u64).saturating_mul(n.into())))
- .saturating_add(Weight::from_parts(0, 156186).saturating_mul(n.into()))
- .saturating_add(Weight::from_parts(0, 38402).saturating_mul(o.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)
@@ -153,13 +87,13 @@ impl pallet_offences::WeightInfo for WeightInfo {
/// The range of component `n` is `[0, 24]`.
fn report_offence_grandpa(n: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1979 + n * (46 ±0)`
+ // Measured: `2008 + n * (46 ±0)`
// Estimated: `5686 + n * (2551 ±0)`
- // Minimum execution time: 80_019_000 picoseconds.
- Weight::from_parts(94_616_186, 0)
+ // Minimum execution time: 79_960_000 picoseconds.
+ Weight::from_parts(94_821_952, 0)
.saturating_add(Weight::from_parts(0, 5686))
- // Standard Error: 25_402
- .saturating_add(Weight::from_parts(10_155_798, 0).saturating_mul(n.into()))
+ // Standard Error: 25_209
+ .saturating_add(Weight::from_parts(10_530_215, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(19))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
.saturating_add(T::DbWeight::get().writes(13))
@@ -207,13 +141,13 @@ impl