From 56f20d35b09f176c89e635cede3b3cb82a1509ad Mon Sep 17 00:00:00 2001
From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com>
Date: Thu, 6 Jun 2024 11:24:41 +0200
Subject: [PATCH 1/7] initial polkadot 1.2.4 code
---
relay/paseo/Cargo.toml | 94 ++--
relay/paseo/build.rs | 6 +-
relay/paseo/constants/Cargo.toml | 16 +-
relay/paseo/constants/src/lib.rs | 24 +-
.../constants/src/weights/block_weights.rs | 8 +-
.../src/weights/extrinsic_weights.rs | 8 +-
.../constants/src/weights/paritydb_weights.rs | 4 +-
.../constants/src/weights/rocksdb_weights.rs | 4 +-
relay/paseo/src/bag_thresholds.rs | 8 +-
relay/paseo/src/governance/mod.rs | 16 +-
relay/paseo/src/governance/origins.rs | 10 +-
relay/paseo/src/governance/tracks.rs | 18 +-
relay/paseo/src/impls.rs | 2 +-
relay/paseo/src/lib.rs | 206 ++++-----
.../weights/frame_benchmarking_baseline.rs | 43 +-
.../frame_election_provider_support.rs | 39 +-
relay/paseo/src/weights/frame_system.rs | 69 ++-
relay/paseo/src/weights/mod.rs | 1 -
relay/paseo/src/weights/pallet_asset_rate.rs | 31 +-
relay/paseo/src/weights/pallet_bags_list.rs | 33 +-
relay/paseo/src/weights/pallet_balances.rs | 53 ++-
relay/paseo/src/weights/pallet_bounties.rs | 71 ++-
.../src/weights/pallet_child_bounties.rs | 57 ++-
.../src/weights/pallet_conviction_voting.rs | 69 ++-
.../pallet_election_provider_multi_phase.rs | 135 +++---
.../paseo/src/weights/pallet_fast_unstake.rs | 109 +++--
relay/paseo/src/weights/pallet_indices.rs | 35 +-
.../paseo/src/weights/pallet_message_queue.rs | 60 +--
relay/paseo/src/weights/pallet_multisig.rs | 81 ++--
.../src/weights/pallet_nomination_pools.rs | 257 ++++++-----
relay/paseo/src/weights/pallet_offences.rs | 132 ++----
relay/paseo/src/weights/pallet_preimage.rs | 83 ++--
relay/paseo/src/weights/pallet_proxy.rs | 111 +++--
relay/paseo/src/weights/pallet_referenda.rs | 135 +++---
relay/paseo/src/weights/pallet_scheduler.rs | 87 ++--
relay/paseo/src/weights/pallet_session.rs | 81 ++--
relay/paseo/src/weights/pallet_staking.rs | 423 +++++++++---------
relay/paseo/src/weights/pallet_sudo.rs | 96 ----
relay/paseo/src/weights/pallet_timestamp.rs | 23 +-
relay/paseo/src/weights/pallet_treasury.rs | 67 ++-
relay/paseo/src/weights/pallet_utility.rs | 47 +-
relay/paseo/src/weights/pallet_vesting.rs | 127 +++---
relay/paseo/src/weights/pallet_whitelist.rs | 37 +-
relay/paseo/src/weights/pallet_xcm.rs | 213 +++++----
.../src/weights/runtime_common_auctions.rs | 51 ++-
.../src/weights/runtime_common_claims.rs | 49 +-
.../src/weights/runtime_common_crowdloan.rs | 95 ++--
.../weights/runtime_common_paras_registrar.rs | 93 ++--
.../paseo/src/weights/runtime_common_slots.rs | 59 ++-
.../runtime_parachains_configuration.rs | 77 ++--
.../weights/runtime_parachains_disputes.rs | 19 +-
.../runtime_parachains_disputes_slashing.rs | 83 ++--
.../src/weights/runtime_parachains_hrmp.rs | 87 ++--
.../weights/runtime_parachains_inclusion.rs | 23 +-
.../weights/runtime_parachains_initializer.rs | 23 +-
.../src/weights/runtime_parachains_paras.rs | 103 +++--
.../runtime_parachains_paras_inherent.rs | 103 +++--
relay/paseo/src/weights/xcm/mod.rs | 7 +-
.../xcm/pallet_xcm_benchmarks_fungible.rs | 69 ++-
.../xcm/pallet_xcm_benchmarks_generic.rs | 185 ++++----
relay/paseo/src/xcm_config.rs | 27 +-
61 files changed, 2107 insertions(+), 2275 deletions(-)
delete mode 100644 relay/paseo/src/weights/pallet_sudo.rs
diff --git a/relay/paseo/Cargo.toml b/relay/paseo/Cargo.toml
index 1065829..b2cf870 100644
--- a/relay/paseo/Cargo.toml
+++ b/relay/paseo/Cargo.toml
@@ -1,25 +1,25 @@
[package]
-name = "paseo-runtime"
+name = "polkadot-runtime"
build = "build.rs"
repository.workspace = true
-version = "1.2.0"
+version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
-parity-scale-codec = { features = ["derive", "max-encoded-len"] , workspace = true }
-scale-info = { features = ["derive"] , workspace = true }
+codec = { features = ["derive", "max-encoded-len"], workspace = true }
+scale-info = { features = ["derive"], workspace = true }
log = { workspace = true }
-authority-discovery-primitives = { package = "sp-authority-discovery", default-features = false , version = "27.0.0" }
-babe-primitives = { package = "sp-consensus-babe", default-features = false , version = "0.33.0" }
-beefy-primitives = { package = "sp-consensus-beefy", default-features = false , version = "14.0.0" }
+authority-discovery-primitives = { workspace = true }
+babe-primitives = { workspace = true }
+beefy-primitives = { workspace = true }
binary-merkle-tree = { workspace = true }
-block-builder-api = { package = "sp-block-builder", default-features = false , version = "27.0.0" }
-inherents = { package = "sp-inherents", default-features = false , version = "27.0.0" }
-offchain-primitives = { package = "sp-offchain", default-features = false , version = "27.0.0" }
-tx-pool-api = { package = "sp-transaction-pool", default-features = false , version = "27.0.0" }
+sp-block-builder = { workspace = true }
+sp-inherents = { workspace = true }
+sp-offchain = { workspace = true }
+sp-transaction-pool = { workspace = true }
sp-arithmetic = { workspace = true }
sp-api = { workspace = true }
sp-genesis-builder = { workspace = true }
@@ -64,7 +64,6 @@ pallet-proxy = { workspace = true }
pallet-referenda = { workspace = true }
pallet-scheduler = { workspace = true }
pallet-session = { workspace = true }
-pallet-sudo = { workspace = true }
frame-support = { workspace = true }
pallet-staking = { workspace = true }
pallet-staking-reward-fn = { workspace = true }
@@ -73,7 +72,7 @@ pallet-staking-runtime-api = { workspace = true }
pallet-state-trie-migration = { workspace = true }
frame-system = { workspace = true }
frame-system-rpc-runtime-api = { workspace = true }
-paseo-runtime-constants = { workspace = true }
+polkadot-runtime-constants = { workspace = true }
pallet-timestamp = { workspace = true }
pallet-treasury = { workspace = true }
pallet-whitelist = { workspace = true }
@@ -81,40 +80,40 @@ pallet-vesting = { workspace = true }
pallet-utility = { workspace = true }
frame-election-provider-support = { workspace = true }
pallet-xcm = { workspace = true }
-pallet-xcm-benchmarks = { optional = true , workspace = true }
+pallet-xcm-benchmarks = { optional = true, workspace = true }
-frame-benchmarking = { optional = true , workspace = true }
-frame-try-runtime = { optional = true , workspace = true }
-frame-system-benchmarking = { optional = true , workspace = true }
-pallet-election-provider-support-benchmarking = { optional = true , workspace = true }
-pallet-offences-benchmarking = { optional = true , workspace = true }
-pallet-session-benchmarking = { optional = true , workspace = true }
-pallet-nomination-pools-benchmarking = { optional = true , workspace = true }
+frame-benchmarking = { optional = true, workspace = true }
+frame-try-runtime = { optional = true, workspace = true }
+frame-system-benchmarking = { optional = true, workspace = true }
+pallet-election-provider-support-benchmarking = { optional = true, workspace = true }
+pallet-offences-benchmarking = { optional = true, workspace = true }
+pallet-session-benchmarking = { optional = true, workspace = true }
+pallet-nomination-pools-benchmarking = { optional = true, workspace = true }
-runtime-common = { package = "polkadot-runtime-common", default-features = false, version = "8.0.1" }
-runtime-parachains = { package = "polkadot-runtime-parachains", default-features = false , version = "8.0.1" }
-primitives = { package = "polkadot-primitives", default-features = false , version = "8.0.1" }
+polkadot-runtime-common = { workspace = true }
+runtime-parachains = { workspace = true }
+polkadot-primitives = { workspace = true }
-xcm = { package = "staging-xcm", default-features = false , version = "8.0.1" }
-xcm-executor = { package = "staging-xcm-executor", default-features = false , version = "8.0.1" }
-xcm-builder = { package = "staging-xcm-builder", default-features = false , version = "8.0.1" }
+xcm = { workspace = true }
+xcm-executor = { workspace = true }
+xcm-builder = { workspace = true }
sp-debug-derive = { workspace = true }
[dev-dependencies]
-keyring = { package = "sp-keyring", version = "32.0.0" }
+sp-keyring = { workspace = true }
sp-trie = { workspace = true }
serde_json = { workspace = true }
separator = { workspace = true }
-remote-externalities = { package = "frame-remote-externalities", version = "0.36.0" }
-tokio = { features = ["macros"] , workspace = true }
+remote-externalities = { workspace = true }
+tokio = { features = ["macros"], workspace = true }
sp-tracing = { workspace = true }
[build-dependencies]
substrate-wasm-builder = { workspace = true }
[features]
-default = [ "std" ]
+default = ["std"]
no_std = []
only-staking = []
std = [
@@ -122,7 +121,7 @@ std = [
"babe-primitives/std",
"beefy-primitives/std",
"binary-merkle-tree/std",
- "block-builder-api/std",
+ "codec/std",
"frame-benchmarking?/std",
"frame-election-provider-support/std",
"frame-executive/std",
@@ -131,17 +130,15 @@ std = [
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"frame-try-runtime/std",
- "inherents/std",
"log/std",
- "offchain-primitives/std",
"pallet-asset-rate/std",
"pallet-authority-discovery/std",
"pallet-authorship/std",
"pallet-babe/std",
"pallet-bags-list/std",
"pallet-balances/std",
- "pallet-beefy/std",
"pallet-beefy-mmr/std",
+ "pallet-beefy/std",
"pallet-bounties/std",
"pallet-child-bounties/std",
"pallet-conviction-voting/std",
@@ -165,7 +162,6 @@ std = [
"pallet-scheduler/std",
"pallet-session-benchmarking?/std",
"pallet-session/std",
- "pallet-sudo/std",
"pallet-staking-reward-fn/std",
"pallet-staking-runtime-api/std",
"pallet-staking/std",
@@ -179,28 +175,30 @@ std = [
"pallet-whitelist/std",
"pallet-xcm-benchmarks?/std",
"pallet-xcm/std",
- "parity-scale-codec/std",
- "paseo-runtime-constants/std",
- "primitives/std",
- "runtime-common/std",
+ "polkadot-primitives/std",
+ "polkadot-runtime-common/std",
+ "polkadot-runtime-constants/std",
"runtime-parachains/std",
"scale-info/std",
"sp-api/std",
"sp-application-crypto/std",
"sp-arithmetic/std",
+ "sp-block-builder/std",
"sp-core/std",
"sp-debug-derive/std",
"sp-genesis-builder/std",
+ "sp-inherents/std",
"sp-io/std",
"sp-npos-elections/std",
+ "sp-offchain/std",
"sp-runtime/std",
"sp-session/std",
"sp-staking/std",
"sp-std/std",
"sp-storage/std",
"sp-tracing/std",
+ "sp-transaction-pool/std",
"sp-version/std",
- "tx-pool-api/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
@@ -236,7 +234,6 @@ runtime-benchmarks = [
"pallet-referenda/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
"pallet-session-benchmarking/runtime-benchmarks",
- "pallet-sudo/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"pallet-state-trie-migration/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
@@ -246,8 +243,8 @@ runtime-benchmarks = [
"pallet-whitelist/runtime-benchmarks",
"pallet-xcm-benchmarks/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
- "primitives/runtime-benchmarks",
- "runtime-common/runtime-benchmarks",
+ "polkadot-primitives/runtime-benchmarks",
+ "polkadot-runtime-common/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
@@ -287,7 +284,6 @@ try-runtime = [
"pallet-referenda/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-session/try-runtime",
- "pallet-sudo/try-runtime",
"pallet-staking/try-runtime",
"pallet-state-trie-migration/try-runtime",
"pallet-timestamp/try-runtime",
@@ -297,7 +293,7 @@ try-runtime = [
"pallet-vesting/try-runtime",
"pallet-whitelist/try-runtime",
"pallet-xcm/try-runtime",
- "runtime-common/try-runtime",
+ "polkadot-runtime-common/try-runtime",
"runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
]
@@ -305,11 +301,11 @@ try-runtime = [
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
-on-chain-release-build = [ "sp-api/disable-logging" ]
+on-chain-release-build = ["sp-api/disable-logging"]
# Set timing constants (e.g. session period) to faster versions to speed up testing.
fast-runtime = []
-runtime-metrics = [ "runtime-parachains/runtime-metrics", "sp-io/with-tracing" ]
+runtime-metrics = ["runtime-parachains/runtime-metrics", "sp-io/with-tracing"]
-force-debug = [ "sp-debug-derive/force-debug" ]
+force-debug = ["sp-debug-derive/force-debug"]
diff --git a/relay/paseo/build.rs b/relay/paseo/build.rs
index aff44f9..428c971 100644
--- a/relay/paseo/build.rs
+++ b/relay/paseo/build.rs
@@ -1,7 +1,7 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
@@ -12,7 +12,7 @@
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
-// along with Paseo. If not, see .
+// along with Polkadot. If not, see .
use substrate_wasm_builder::WasmBuilder;
diff --git a/relay/paseo/constants/Cargo.toml b/relay/paseo/constants/Cargo.toml
index e16713c..81fd205 100644
--- a/relay/paseo/constants/Cargo.toml
+++ b/relay/paseo/constants/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "paseo-runtime-constants"
+name = "polkadot-runtime-constants"
repository.workspace = true
version.workspace = true
authors.workspace = true
@@ -10,22 +10,22 @@ license.workspace = true
smallvec = { workspace = true }
frame-support = { workspace = true }
-primitives = { package = "polkadot-primitives", default-features = false , version = "8.0.1" }
-runtime-common = { package = "polkadot-runtime-common", default-features = false , version = "8.0.1" }
+polkadot-primitives = { workspace = true }
+polkadot-runtime-common = { workspace = true }
sp-runtime = { workspace = true }
sp-weights = { workspace = true }
sp-core = { workspace = true }
-xcm-builder = { package = "staging-xcm-builder", default-features = false , version = "8.0.1" }
+xcm-builder = { workspace = true }
[features]
-default = [ "std" ]
+default = ["std"]
std = [
"frame-support/std",
- "primitives/std",
- "runtime-common/std",
+ "polkadot-primitives/std",
+ "polkadot-runtime-common/std",
"sp-core/std",
"sp-runtime/std",
"sp-weights/std",
- "xcm-builder/std"
+ "xcm-builder/std",
]
diff --git a/relay/paseo/constants/src/lib.rs b/relay/paseo/constants/src/lib.rs
index 86a41c3..49cc6b3 100644
--- a/relay/paseo/constants/src/lib.rs
+++ b/relay/paseo/constants/src/lib.rs
@@ -1,18 +1,18 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
#![cfg_attr(not(feature = "std"), no_std)]
@@ -22,7 +22,7 @@ pub use self::currency::DOLLARS;
/// Money matters.
pub mod currency {
- use primitives::Balance;
+ use polkadot_primitives::Balance;
/// The existential deposit.
pub const EXISTENTIAL_DEPOSIT: Balance = 100 * CENTS;
@@ -40,11 +40,11 @@ pub mod currency {
/// Time and blocks.
pub mod time {
- use primitives::{BlockNumber, Moment};
- use runtime_common::prod_or_fast;
+ use polkadot_primitives::{BlockNumber, Moment};
+ use polkadot_runtime_common::prod_or_fast;
pub const MILLISECS_PER_BLOCK: Moment = 6000;
pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;
- pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = prod_or_fast!(1 * HOURS, 1 * MINUTES);
+ pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = prod_or_fast!(4 * HOURS, MINUTES);
// These time units are defined in number of blocks.
pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
@@ -65,7 +65,7 @@ pub mod fee {
use frame_support::weights::{
WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial,
};
- use primitives::Balance;
+ use polkadot_primitives::Balance;
use smallvec::smallvec;
pub use sp_runtime::Perbill;
@@ -120,7 +120,7 @@ pub mod xcm {
/// System Parachains.
pub mod system_parachain {
- use primitives::Id;
+ use polkadot_primitives::Id;
use xcm_builder::IsChildSystemParachain;
/// Asset Hub parachain ID.
@@ -134,7 +134,7 @@ pub mod system_parachain {
pub type SystemParachains = IsChildSystemParachain;
}
-/// Paseo Treasury pallet instance.
+/// Polkadot Treasury pallet instance.
pub const TREASURY_PALLET_ID: u8 = 19;
#[cfg(test)]
@@ -145,7 +145,7 @@ mod tests {
};
use crate::weights::ExtrinsicBaseWeight;
use frame_support::weights::WeightToFee as WeightToFeeT;
- use runtime_common::MAXIMUM_BLOCK_WEIGHT;
+ use polkadot_runtime_common::MAXIMUM_BLOCK_WEIGHT;
#[test]
// Test that the fee for `MAXIMUM_BLOCK_WEIGHT` of weight has sane bounds.
diff --git a/relay/paseo/constants/src/weights/block_weights.rs b/relay/paseo/constants/src/weights/block_weights.rs
index 2c644ba..9608fd5 100644
--- a/relay/paseo/constants/src/weights/block_weights.rs
+++ b/relay/paseo/constants/src/weights/block_weights.rs
@@ -1,18 +1,18 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-18 (Y/M/D)
diff --git a/relay/paseo/constants/src/weights/extrinsic_weights.rs b/relay/paseo/constants/src/weights/extrinsic_weights.rs
index 3c3aa61..fac8792 100644
--- a/relay/paseo/constants/src/weights/extrinsic_weights.rs
+++ b/relay/paseo/constants/src/weights/extrinsic_weights.rs
@@ -1,18 +1,18 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-06-18 (Y/M/D)
diff --git a/relay/paseo/constants/src/weights/paritydb_weights.rs b/relay/paseo/constants/src/weights/paritydb_weights.rs
index 7b4fafe..f999539 100644
--- a/relay/paseo/constants/src/weights/paritydb_weights.rs
+++ b/relay/paseo/constants/src/weights/paritydb_weights.rs
@@ -18,7 +18,7 @@
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-30 (Y/M/D)
//!
-//! DATABASE: `ParityDb`, RUNTIME: `Paseo`
+//! DATABASE: `ParityDb`, RUNTIME: `Polkadot`
//! BLOCK-NUM: `BlockId::Number(9653477)`
//! SKIP-WRITE: `false`, SKIP-READ: `false`, WARMUPS: `1`
//! STATE-VERSION: `V0`, STATE-CACHE-SIZE: `0`
@@ -33,7 +33,7 @@
// --mul=1.1
// --weight-path=runtime/polkadot/constants/src/weights/
-/// Storage DB weights for the `Paseo` runtime and `ParityDb`.
+/// Storage DB weights for the `Polkadot` runtime and `ParityDb`.
pub mod constants {
use frame_support::{
parameter_types,
diff --git a/relay/paseo/constants/src/weights/rocksdb_weights.rs b/relay/paseo/constants/src/weights/rocksdb_weights.rs
index 689eb65..c5cf045 100644
--- a/relay/paseo/constants/src/weights/rocksdb_weights.rs
+++ b/relay/paseo/constants/src/weights/rocksdb_weights.rs
@@ -18,7 +18,7 @@
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-03-29 (Y/M/D)
//!
-//! DATABASE: `RocksDb`, RUNTIME: `Paseo`
+//! DATABASE: `RocksDb`, RUNTIME: `Polkadot`
//! BLOCK-NUM: `BlockId::Number(9643856)`
//! SKIP-WRITE: `false`, SKIP-READ: `false`, WARMUPS: `1`
//! STATE-VERSION: `V0`, STATE-CACHE-SIZE: `0`
@@ -32,7 +32,7 @@
// --mul=1.1
// --weight-path=runtime/polkadot/constants/src/weights/
-/// Storage DB weights for the `Paseo` runtime and `RocksDb`.
+/// Storage DB weights for the `Polkadot` runtime and `RocksDb`.
pub mod constants {
use frame_support::{
parameter_types,
diff --git a/relay/paseo/src/bag_thresholds.rs b/relay/paseo/src/bag_thresholds.rs
index 47f3276..56c764f 100644
--- a/relay/paseo/src/bag_thresholds.rs
+++ b/relay/paseo/src/bag_thresholds.rs
@@ -1,18 +1,18 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
//! Autogenerated bag thresholds.
//!
diff --git a/relay/paseo/src/governance/mod.rs b/relay/paseo/src/governance/mod.rs
index 9765849..d9b84b2 100644
--- a/relay/paseo/src/governance/mod.rs
+++ b/relay/paseo/src/governance/mod.rs
@@ -1,24 +1,24 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
-//! New governance configurations for the Paseo runtime.
+//! New governance configurations for the Polkadot runtime.
use super::*;
use crate::xcm_config::CollectivesLocation;
-use frame_support::{parameter_types, traits::EitherOf};
+use frame_support::parameter_types;
use frame_system::EnsureRootWithSuccess;
use pallet_xcm::{EnsureXcm, IsVoiceOfBody};
use xcm::latest::BodyId;
@@ -48,12 +48,12 @@ impl pallet_conviction_voting::Config for Runtime {
parameter_types! {
pub const AlarmInterval: BlockNumber = 1;
- pub const SubmissionDeposit: Balance = 1 * DOLLARS;
+ pub const SubmissionDeposit: Balance = DOLLARS;
pub const UndecidingTimeout: BlockNumber = 14 * DAYS;
}
parameter_types! {
- pub const MaxBalance: Balance = Balance::max_value();
+ pub const MaxBalance: Balance = Balance::MAX;
}
pub type TreasurySpender = EitherOf, Spender>;
diff --git a/relay/paseo/src/governance/origins.rs b/relay/paseo/src/governance/origins.rs
index 02f4c3b..f1283b5 100644
--- a/relay/paseo/src/governance/origins.rs
+++ b/relay/paseo/src/governance/origins.rs
@@ -1,18 +1,18 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
//! Custom origins for governance interventions.
@@ -144,7 +144,7 @@ pub mod pallet_custom_origins {
decl_ensure! {
pub type Spender: EnsureOrigin {
SmallTipper = 250 * DOLLARS,
- BigTipper = 1 * GRAND,
+ BigTipper = GRAND,
SmallSpender = 10 * GRAND,
MediumSpender = 100 * GRAND,
BigSpender = 1_000 * GRAND,
diff --git a/relay/paseo/src/governance/tracks.rs b/relay/paseo/src/governance/tracks.rs
index cc663bd..7ee9aec 100644
--- a/relay/paseo/src/governance/tracks.rs
+++ b/relay/paseo/src/governance/tracks.rs
@@ -1,18 +1,18 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
//! Track configurations for governance.
@@ -127,7 +127,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 16
pallet_referenda::TrackInfo {
name: "treasurer",
max_deciding: 10,
- decision_deposit: 1 * GRAND,
+ decision_deposit: GRAND,
prepare_period: 2 * HOURS,
decision_period: 28 * DAYS,
confirm_period: 7 * DAYS,
@@ -225,11 +225,11 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 16
pallet_referenda::TrackInfo {
name: "small_tipper",
max_deciding: 200,
- decision_deposit: 1 * DOLLARS,
- prepare_period: 1 * MINUTES,
+ decision_deposit: DOLLARS,
+ prepare_period: MINUTES,
decision_period: 7 * DAYS,
confirm_period: 10 * MINUTES,
- min_enactment_period: 1 * MINUTES,
+ min_enactment_period: MINUTES,
min_approval: APP_SMALL_TIPPER,
min_support: SUP_SMALL_TIPPER,
},
@@ -242,7 +242,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 16
decision_deposit: 10 * DOLLARS,
prepare_period: 10 * MINUTES,
decision_period: 7 * DAYS,
- confirm_period: 1 * HOURS,
+ confirm_period: HOURS,
min_enactment_period: 10 * MINUTES,
min_approval: APP_BIG_TIPPER,
min_support: SUP_BIG_TIPPER,
diff --git a/relay/paseo/src/impls.rs b/relay/paseo/src/impls.rs
index 3e13683..8d2d76d 100644
--- a/relay/paseo/src/impls.rs
+++ b/relay/paseo/src/impls.rs
@@ -17,7 +17,7 @@
use super::*;
use core::marker::PhantomData;
use frame_support::traits::{tokens::ConversionFromAssetBalance, Contains};
-use primitives::Id as ParaId;
+use polkadot_primitives::Id as ParaId;
use xcm_builder::IsChildSystemParachain;
// TODO: replace by types from polkadot-sdk https://github.com/paritytech/polkadot-sdk/pull/3659
diff --git a/relay/paseo/src/lib.rs b/relay/paseo/src/lib.rs
index c9925e8..387727b 100644
--- a/relay/paseo/src/lib.rs
+++ b/relay/paseo/src/lib.rs
@@ -1,33 +1,33 @@
// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
+// This file is part of Polkadot.
-// Paseo is free software: you can redistribute it and/or modify
+// 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.
-// Paseo is distributed in the hope that it will be useful,
+// 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 Paseo. If not, see .
+// along with Polkadot. If not, see .
-//! The Paseo runtime. This can be compiled with `#[no_std]`, ready for Wasm.
+//! The Polkadot runtime. This can be compiled with `#[no_std]`, ready for Wasm.
#![cfg_attr(not(feature = "std"), no_std)]
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
#![recursion_limit = "512"]
use pallet_transaction_payment::CurrencyAdapter;
-use runtime_common::{
+use polkadot_runtime_common::{
auctions, claims, crowdloan, impl_runtime_weights,
impls::{
DealWithFees, LocatableAssetConverter, VersionedLocatableAsset, VersionedLocationConverter,
},
- paras_registrar, paras_sudo_wrapper, prod_or_fast, slots, BlockHashCount, BlockLength,
- CurrencyToVote, SlowAdjustingFeeUpdate,
+ paras_registrar, prod_or_fast, slots, BlockHashCount, BlockLength, CurrencyToVote,
+ SlowAdjustingFeeUpdate,
};
use runtime_parachains::{
@@ -50,6 +50,7 @@ use beefy_primitives::{
ecdsa_crypto::{AuthorityId as BeefyId, Signature as BeefySignature},
mmr::{BeefyDataProvider, MmrLeafVersion},
};
+use codec::{Decode, Encode, MaxEncodedLen};
use frame_election_provider_support::{
bounds::ElectionBoundsBuilder, generate_solution_type, onchain, SequentialPhragmen,
};
@@ -70,8 +71,7 @@ use pallet_grandpa::{fg_primitives, AuthorityId as GrandpaId};
use pallet_identity::legacy::IdentityInfo;
use pallet_session::historical as session_historical;
use pallet_transaction_payment::{FeeDetails, RuntimeDispatchInfo};
-use parity_scale_codec::{Decode, Encode, MaxEncodedLen};
-use primitives::{
+use polkadot_primitives::{
slashing,
vstaging::{ApprovalVotingParams, NodeFeatures},
AccountId, AccountIndex, Balance, BlockNumber, CandidateEvent, CandidateHash,
@@ -116,7 +116,7 @@ pub use pallet_timestamp::Call as TimestampCall;
pub use sp_runtime::BuildStorage;
/// Constant values used within the runtime.
-use paseo_runtime_constants::{currency::*, fee::*, time::*, TREASURY_PALLET_ID};
+use polkadot_runtime_constants::{currency::*, fee::*, time::*, TREASURY_PALLET_ID};
// Weights used in the runtime.
mod weights;
@@ -132,22 +132,23 @@ use governance::{
pub mod impls;
pub mod xcm_config;
-pub const LOG_TARGET: &'static str = "runtime::paseo";
+pub const LOG_TARGET: &str = "runtime::polkadot";
-impl_runtime_weights!(paseo_runtime_constants);
+use polkadot_runtime_common as runtime_common;
+impl_runtime_weights!(polkadot_runtime_constants);
// Make the WASM binary available.
#[cfg(feature = "std")]
include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
-// Paseo version identifier;
-/// Runtime version (Paseo).
+// Polkadot version identifier;
+/// Runtime version (Polkadot).
#[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion {
- spec_name: create_runtime_str!("paseo"),
- impl_name: create_runtime_str!("paseo-testnet"),
+ spec_name: create_runtime_str!("polkadot"),
+ impl_name: create_runtime_str!("parity-polkadot"),
authoring_version: 0,
- spec_version: 1_002_000,
+ spec_version: 1_002_004,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 25,
@@ -169,7 +170,7 @@ pub fn native_version() -> NativeVersion {
parameter_types! {
pub const Version: RuntimeVersion = VERSION;
- pub const SS58Prefix: u8 = 42;
+ pub const SS58Prefix: u8 = 0;
}
impl frame_system::Config for Runtime {
@@ -212,7 +213,7 @@ pub struct OriginPrivilegeCmp;
impl PrivilegeCmp for OriginPrivilegeCmp {
fn cmp_privilege(left: &OriginCaller, right: &OriginCaller) -> Option {
if left == right {
- return Some(Ordering::Equal);
+ return Some(Ordering::Equal)
}
match (left, right) {
@@ -384,13 +385,12 @@ impl BeefyDataProvider for ParaHeadsRootProvider {
fn extra_data() -> H256 {
let mut para_heads: Vec<(u32, Vec)> = Paras::parachains()
.into_iter()
- .filter_map(|id| Paras::para_head(&id).map(|head| (id.into(), head.0)))
+ .filter_map(|id| Paras::para_head(id).map(|head| (id.into(), head.0)))
.collect();
para_heads.sort_by_key(|k| k.0);
binary_merkle_tree::merkle_root::(
para_heads.into_iter().map(|pair| pair.encode()),
)
- .into()
}
}
@@ -402,7 +402,7 @@ impl pallet_beefy_mmr::Config for Runtime {
}
parameter_types! {
- pub const TransactionByteFee: Balance = 10 * MILLICENTS;
+ pub const TransactionByteFee: Balance = polkadot_runtime_constants::fee::TRANSACTION_BYTE_FEE;
/// This value increases the priority of `Operational` transactions by adding
/// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.
pub const OperationalFeeMultiplier: u8 = 5;
@@ -517,12 +517,12 @@ parameter_types! {
// in testing: 1min or half of the session for each
pub SignedPhase: u32 = prod_or_fast!(
EPOCH_DURATION_IN_SLOTS / 4,
- (1 * MINUTES).min(EpochDuration::get().saturated_into::() / 2),
+ MINUTES.min(EpochDuration::get().saturated_into::() / 2),
"DOT_SIGNED_PHASE"
);
pub UnsignedPhase: u32 = prod_or_fast!(
EPOCH_DURATION_IN_SLOTS / 4,
- (1 * MINUTES).min(EpochDuration::get().saturated_into::() / 2),
+ MINUTES.min(EpochDuration::get().saturated_into::() / 2),
"DOT_UNSIGNED_PHASE"
);
@@ -531,10 +531,10 @@ parameter_types! {
pub const SignedMaxRefunds: u32 = 16 / 4;
pub const SignedFixedDeposit: Balance = deposit(2, 0);
pub const SignedDepositIncreaseFactor: Percent = Percent::from_percent(10);
- // 0.01 PAS per KB of solution data.
+ // 0.01 DOT per KB of solution data.
pub const SignedDepositByte: Balance = deposit(0, 10) / 1024;
- // Each good submission will get 1 PAS as reward
- pub SignedRewardBase: Balance = 1 * UNITS;
+ // Each good submission will get 1 DOT as reward
+ pub SignedRewardBase: Balance = UNITS;
// 4 hour session, 1 hour unsigned phase, 32 offchain executions.
pub OffchainRepeat: BlockNumber = UnsignedPhase::get() / 32;
@@ -563,7 +563,8 @@ generate_solution_type!(
pub struct OnChainSeqPhragmen;
impl onchain::Config for OnChainSeqPhragmen {
type System = Runtime;
- type Solver = SequentialPhragmen;
+ type Solver =
+ SequentialPhragmen;
type DataProvider = Staking;
type WeightInfo = weights::frame_election_provider_support::WeightInfo;
type MaxWinners = MaxActiveValidators;
@@ -630,7 +631,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
pallet_election_provider_multi_phase::SolutionAccuracyOf,
(),
>;
- type BenchmarkingConfig = runtime_common::elections::BenchmarkConfig;
+ type BenchmarkingConfig = polkadot_runtime_common::elections::BenchmarkConfig;
type ForceOrigin = EitherOf, StakingAdmin>;
type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo;
type MaxWinners = MaxActiveValidators;
@@ -692,7 +693,7 @@ parameter_types! {
pub const MaxNominations: u32 = ::LIMIT as u32;
}
-/// Custom version of `runtime_commong::era_payout` somewhat tailored for Paseo's crowdloan
+/// Custom version of `runtime_commong::era_payout` somewhat tailored for Polkadot's crowdloan
/// unlock history. The only tweak should be
///
/// ```diff
@@ -794,7 +795,7 @@ impl pallet_staking::Config for Runtime {
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
type HistoryDepth = frame_support::traits::ConstU32<84>;
type MaxControllersInDeprecationBatch = ConstU32<5314>;
- type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
+ type BenchmarkingConfig = polkadot_runtime_common::StakingBenchmarkingConfig;
type EventListeners = NominationPools;
type WeightInfo = weights::pallet_staking::WeightInfo;
}
@@ -853,10 +854,10 @@ parameter_types! {
// pallet instance (which sits at index 19).
pub TreasuryInteriorLocation: InteriorLocation = PalletInstance(TREASURY_PALLET_ID).into();
- pub const TipCountdown: BlockNumber = 1 * DAYS;
+ pub const TipCountdown: BlockNumber = DAYS;
pub const TipFindersFee: Percent = Percent::from_percent(20);
- pub const TipReportDepositBase: Balance = 1 * DOLLARS;
- pub const DataDepositPerByte: Balance = 1 * CENTS;
+ pub const TipReportDepositBase: Balance = DOLLARS;
+ pub const DataDepositPerByte: Balance = CENTS;
pub const MaxApprovals: u32 = 100;
pub const MaxAuthorities: u32 = 100_000;
pub const MaxKeys: u32 = 10_000;
@@ -898,11 +899,11 @@ impl pallet_treasury::Config for Runtime {
type BalanceConverter = impls::NativeOnSystemParachain;
type PayoutPeriod = PayoutSpendPeriod;
#[cfg(feature = "runtime-benchmarks")]
- type BenchmarkHelper = runtime_common::impls::benchmarks::TreasuryArguments;
+ type BenchmarkHelper = polkadot_runtime_common::impls::benchmarks::TreasuryArguments;
}
parameter_types! {
- pub const BountyDepositBase: Balance = 1 * DOLLARS;
+ pub const BountyDepositBase: Balance = DOLLARS;
pub const BountyDepositPayoutDelay: BlockNumber = 8 * DAYS;
pub const BountyUpdatePeriod: BlockNumber = 90 * DAYS;
pub const MaximumReasonLength: u32 = 16384;
@@ -951,7 +952,7 @@ impl pallet_authority_discovery::Config for Runtime {
parameter_types! {
pub NposSolutionPriority: TransactionPriority =
- Perbill::from_percent(90) * TransactionPriority::max_value();
+ Perbill::from_percent(90) * TransactionPriority::MAX;
}
parameter_types! {
@@ -1041,7 +1042,7 @@ parameter_types! {
}
parameter_types! {
- pub Prefix: &'static [u8] = b"Pay DOTs to the Paseo account:";
+ pub Prefix: &'static [u8] = b"Pay DOTs to the Polkadot account:";
}
impl claims::Config for Runtime {
@@ -1054,7 +1055,7 @@ impl claims::Config for Runtime {
}
parameter_types! {
- pub const MinVestedTransfer: Balance = 1 * DOLLARS;
+ pub const MinVestedTransfer: Balance = DOLLARS;
pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons =
WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE);
}
@@ -1300,7 +1301,7 @@ impl parachains_inclusion::Config for Runtime {
}
parameter_types! {
- pub const ParasUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
+ pub const ParasUnsignedPriority: TransactionPriority = TransactionPriority::MAX;
}
impl parachains_paras::Config for Runtime {
@@ -1432,7 +1433,13 @@ impl paras_registrar::Config for Runtime {
parameter_types! {
// 12 weeks = 3 months per lease period -> 8 lease periods ~ 2 years
- pub LeasePeriod: BlockNumber = prod_or_fast!(1 * WEEKS, 1 * DAYS, "DOT_LEASE_PERIOD");
+ pub LeasePeriod: BlockNumber = prod_or_fast!(12 * WEEKS, 12 * WEEKS, "DOT_LEASE_PERIOD");
+ // Polkadot Genesis was on May 26, 2020.
+ // Target Parachain Onboarding Date: Dec 15, 2021.
+ // Difference is 568 days.
+ // We want a lease period to start on the target onboarding date.
+ // 568 % (12 * 7) = 64 day offset
+ pub LeaseOffset: BlockNumber = prod_or_fast!(64 * DAYS, 0, "DOT_LEASE_OFFSET");
}
impl slots::Config for Runtime {
@@ -1440,7 +1447,7 @@ impl slots::Config for Runtime {
type Currency = Balances;
type Registrar = Registrar;
type LeasePeriod = LeasePeriod;
- type LeaseOffset = ();
+ type LeaseOffset = LeaseOffset;
type ForceOrigin = EitherOf, LeaseAdmin>;
type WeightInfo = weights::runtime_common_slots::WeightInfo;
}
@@ -1499,8 +1506,8 @@ impl pallet_nomination_pools::Config for Runtime {
type Currency = Balances;
type RuntimeFreezeReason = RuntimeFreezeReason;
type RewardCounter = FixedU128;
- type BalanceToU256 = runtime_common::BalanceToU256;
- type U256ToBalance = runtime_common::U256ToBalance;
+ type BalanceToU256 = polkadot_runtime_common::BalanceToU256;
+ type U256ToBalance = polkadot_runtime_common::U256ToBalance;
type Staking = Staking;
type PostUnbondingPoolsWindow = frame_support::traits::ConstU32<4>;
type MaxMetadataLen = frame_support::traits::ConstU32<256>;
@@ -1516,9 +1523,9 @@ impl frame_support::traits::OnRuntimeUpgrade for InitiateNominationPools {
fn on_runtime_upgrade() -> frame_support::weights::Weight {
// we use one as an indicator if this has already been set.
if pallet_nomination_pools::MaxPools::::get().is_none() {
- // 5 PAS to join a pool.
+ // 5 DOT to join a pool.
pallet_nomination_pools::MinJoinBond::::put(5 * UNITS);
- // 100 PAS to create a pool.
+ // 100 DOT to create a pool.
pallet_nomination_pools::MinCreateBond::::put(100 * UNITS);
// Initialize with limits for now.
@@ -1537,7 +1544,7 @@ impl frame_support::traits::OnRuntimeUpgrade for InitiateNominationPools {
parameter_types! {
// The deposit configuration for the singed migration. Specially if you want to allow any signed account to do the migration (see `SignedFilter`, these deposits should be high)
- pub const MigrationSignedDepositPerItem: Balance = 1 * CENTS;
+ pub const MigrationSignedDepositPerItem: Balance = CENTS;
pub const MigrationSignedDepositBase: Balance = 20 * CENTS * 100;
pub const MigrationMaxKeyLen: u32 = 512;
}
@@ -1565,7 +1572,7 @@ impl pallet_asset_rate::Config for Runtime {
type Currency = Balances;
type AssetKind = ::AssetKind;
#[cfg(feature = "runtime-benchmarks")]
- type BenchmarkHelper = runtime_common::impls::benchmarks::AssetRateArguments;
+ type BenchmarkHelper = polkadot_runtime_common::impls::benchmarks::AssetRateArguments;
}
// A mock pallet to keep `ImOnline` events decodable after pallet removal
@@ -1621,14 +1628,6 @@ impl pallet_im_online::Config for Runtime {
type ValidatorSet = Historical;
}
-impl pallet_sudo::Config for Runtime {
- type RuntimeEvent = RuntimeEvent;
- type RuntimeCall = RuntimeCall;
- type WeightInfo = weights::pallet_sudo::WeightInfo;
-}
-
-impl paras_sudo_wrapper::Config for Runtime {}
-
construct_runtime! {
pub enum Runtime
{
@@ -1738,10 +1737,6 @@ construct_runtime! {
// refer to block. See issue #160 for details.
Mmr: pallet_mmr = 201,
BeefyMmrLeaf: pallet_beefy_mmr = 202,
-
- // Sudo.
- ParaSudoWrapper: paras_sudo_wrapper = 250,
- Sudo: pallet_sudo::{Pallet, Call, Storage, Event, Config} = 255,
}
}
@@ -1915,13 +1910,13 @@ pub type SignedPayload = generic::SignedPayload;
mod benches {
frame_benchmarking::define_benchmarks!(
// Polkadot
- // NOTE: Make sure to prefix these with `runtime_common::` so
+ // NOTE: Make sure to prefix these with `polkadot_runtime_common::` so
// the that path resolves correctly in the generated file.
- [runtime_common::auctions, Auctions]
- [runtime_common::claims, Claims]
- [runtime_common::crowdloan, Crowdloan]
- [runtime_common::slots, Slots]
- [runtime_common::paras_registrar, Registrar]
+ [polkadot_runtime_common::auctions, Auctions]
+ [polkadot_runtime_common::claims, Claims]
+ [polkadot_runtime_common::crowdloan, Crowdloan]
+ [polkadot_runtime_common::slots, Slots]
+ [polkadot_runtime_common::paras_registrar, Registrar]
[runtime_parachains::configuration, Configuration]
[runtime_parachains::disputes, ParasDisputes]
[runtime_parachains::disputes::slashing, ParasSlashing]
@@ -1963,8 +1958,6 @@ mod benches {
[pallet_xcm, PalletXcmExtrinsiscsBenchmark::]
[pallet_xcm_benchmarks::fungible, pallet_xcm_benchmarks::fungible::Pallet::]
[pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::]
- // Sudo
- [pallet_sudo, Sudo]
);
}
@@ -1997,7 +1990,7 @@ sp_api::impl_runtime_apis! {
}
}
- impl block_builder_api::BlockBuilder for Runtime {
+ impl sp_block_builder::BlockBuilder for Runtime {
fn apply_extrinsic(extrinsic: ::Extrinsic) -> ApplyExtrinsicResult {
Executive::apply_extrinsic(extrinsic)
}
@@ -2006,14 +1999,14 @@ sp_api::impl_runtime_apis! {
Executive::finalize_block()
}
- fn inherent_extrinsics(data: inherents::InherentData) -> Vec<::Extrinsic> {
+ fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<::Extrinsic> {
data.create_extrinsics()
}
fn check_inherents(
block: Block,
- data: inherents::InherentData,
- ) -> inherents::CheckInherentsResult {
+ data: sp_inherents::InherentData,
+ ) -> sp_inherents::CheckInherentsResult {
data.check_extrinsics(&block)
}
}
@@ -2046,7 +2039,7 @@ sp_api::impl_runtime_apis! {
}
}
- impl tx_pool_api::runtime_api::TaggedTransactionQueue for Runtime {
+ impl sp_transaction_pool::runtime_api::TaggedTransactionQueue for Runtime {
fn validate_transaction(
source: TransactionSource,
tx: ::Extrinsic,
@@ -2056,14 +2049,14 @@ sp_api::impl_runtime_apis! {
}
}
- impl offchain_primitives::OffchainWorkerApi for Runtime {
+ impl sp_offchain::OffchainWorkerApi for Runtime {
fn offchain_worker(header: &::Header) {
Executive::offchain_worker(header)
}
}
#[api_version(10)]
- impl primitives::runtime_api::ParachainHost for Runtime {
+ impl polkadot_primitives::runtime_api::ParachainHost for Runtime {
fn validators() -> Vec {
parachains_runtime_api_impl::validators::()
}
@@ -2093,7 +2086,7 @@ sp_api::impl_runtime_apis! {
fn check_validation_outputs(
para_id: ParaId,
- outputs: primitives::CandidateCommitments,
+ outputs: polkadot_primitives::CandidateCommitments,
) -> bool {
parachains_runtime_api_impl::check_validation_outputs::(para_id, outputs)
}
@@ -2149,8 +2142,8 @@ sp_api::impl_runtime_apis! {
}
fn submit_pvf_check_statement(
- stmt: primitives::PvfCheckStatement,
- signature: primitives::ValidatorSignature,
+ stmt: polkadot_primitives::PvfCheckStatement,
+ signature: polkadot_primitives::ValidatorSignature,
) {
parachains_runtime_api_impl::submit_pvf_check_statement::(stmt, signature)
}
@@ -2177,7 +2170,7 @@ sp_api::impl_runtime_apis! {
fn key_ownership_proof(
validator_id: ValidatorId,
) -> Option {
- use parity_scale_codec::Encode;
+ use codec::Encode;
Historical::prove((PARACHAIN_KEY_TYPE_ID, validator_id))
.map(|p| p.encode())
@@ -2198,11 +2191,11 @@ sp_api::impl_runtime_apis! {
parachains_runtime_api_impl::minimum_backing_votes::()
}
- fn para_backing_state(para_id: ParaId) -> Option {
+ fn para_backing_state(para_id: ParaId) -> Option {
parachains_runtime_api_impl::backing_state::(para_id)
}
- fn async_backing_params() -> primitives::AsyncBackingParams {
+ fn async_backing_params() -> polkadot_primitives::AsyncBackingParams {
parachains_runtime_api_impl::async_backing_params::()
}
@@ -2248,7 +2241,7 @@ sp_api::impl_runtime_apis! {
_set_id: beefy_primitives::ValidatorSetId,
authority_id: BeefyId,
) -> Option {
- use parity_scale_codec::Encode;
+ use codec::Encode;
Historical::prove((beefy_primitives::KEY_TYPE, authority_id))
.map(|p| p.encode())
@@ -2340,7 +2333,7 @@ sp_api::impl_runtime_apis! {
_set_id: fg_primitives::SetId,
authority_id: fg_primitives::AuthorityId,
) -> Option {
- use parity_scale_codec::Encode;
+ use codec::Encode;
Historical::prove((fg_primitives::KEY_TYPE, authority_id))
.map(|p| p.encode())
@@ -2377,7 +2370,7 @@ sp_api::impl_runtime_apis! {
_slot: babe_primitives::Slot,
authority_id: babe_primitives::AuthorityId,
) -> Option {
- use parity_scale_codec::Encode;
+ use codec::Encode;
Historical::prove((babe_primitives::KEY_TYPE, authority_id))
.map(|p| p.encode())
@@ -2543,21 +2536,21 @@ sp_api::impl_runtime_apis! {
TokenLocation::get(),
ExistentialDeposit::get()
).into());
- pub AssetHubParaId: ParaId = paseo_runtime_constants::system_parachain::ASSET_HUB_ID.into();
+ pub AssetHubParaId: ParaId = polkadot_runtime_constants::system_parachain::ASSET_HUB_ID.into();
pub const RandomParaId: ParaId = ParaId::new(43211234);
}
use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsiscsBenchmark;
impl pallet_xcm::benchmarking::Config for Runtime {
type DeliveryHelper = (
- runtime_common::xcm_sender::ToParachainDeliveryHelper<
+ polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper<
XcmConfig,
ExistentialDepositAsset,
xcm_config::PriceForChildParachainDelivery,
AssetHubParaId,
(),
>,
- runtime_common::xcm_sender::ToParachainDeliveryHelper<
+ polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper<
XcmConfig,
ExistentialDepositAsset,
xcm_config::PriceForChildParachainDelivery,
@@ -2614,7 +2607,7 @@ sp_api::impl_runtime_apis! {
impl pallet_xcm_benchmarks::Config for Runtime {
type XcmConfig = XcmConfig;
type AccountIdConverter = SovereignAccountOf;
- type DeliveryHelper = runtime_common::xcm_sender::ToParachainDeliveryHelper<
+ type DeliveryHelper = polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper<
XcmConfig,
ExistentialDepositAsset,
xcm_config::PriceForChildParachainDelivery,
@@ -2625,7 +2618,7 @@ sp_api::impl_runtime_apis! {
Ok(AssetHubLocation::get())
}
fn worst_case_holding(_depositable_count: u32) -> Assets {
- // Polkadot only knows about PAS
+ // Polkadot only knows about DOT
vec![Asset { id: AssetId(TokenLocation::get()), fun: Fungible(1_000_000 * UNITS) }].into()
}
}
@@ -2694,18 +2687,18 @@ sp_api::impl_runtime_apis! {
}
fn unlockable_asset() -> Result<(Location, Location, Asset), BenchmarkError> {
- // Paseo doesn't support asset locking
+ // Polkadot doesn't support asset locking
Err(BenchmarkError::Skip)
}
fn export_message_origin_and_destination(
) -> Result<(Location, NetworkId, InteriorLocation), BenchmarkError> {
- // Paseo doesn't support exporting messages
+ // Polkadot doesn't support exporting messages
Err(BenchmarkError::Skip)
}
fn alias_origin() -> Result<(Location, Location), BenchmarkError> {
- // The XCM executor of Paseo doesn't have a configured `Aliasers`
+ // The XCM executor of Polkadot doesn't have a configured `Aliasers`
Err(BenchmarkError::Skip)
}
}
@@ -2728,11 +2721,10 @@ sp_api::impl_runtime_apis! {
mod test_fees {
use super::*;
use frame_support::{dispatch::GetDispatchInfo, weights::WeightToFee as WeightToFeeT};
- use keyring::Sr25519Keyring::{Alice, Charlie};
- use pallet_transaction_payment::Multiplier;
- use runtime_common::MinimumMultiplier;
+ use polkadot_runtime_common::MinimumMultiplier;
use separator::Separatable;
- use sp_runtime::{assert_eq_error_rate, FixedPointNumber, MultiAddress, MultiSignature};
+ use sp_keyring::Sr25519Keyring::{Alice, Charlie};
+ use sp_runtime::{assert_eq_error_rate, MultiAddress, MultiSignature};
#[test]
fn payout_weight_portion() {
@@ -2920,7 +2912,7 @@ mod test {
fn check_treasury_pallet_id() {
assert_eq!(
::index() as u8,
- paseo_runtime_constants::TREASURY_PALLET_ID
+ polkadot_runtime_constants::TREASURY_PALLET_ID
);
}
@@ -2939,13 +2931,13 @@ mod multiplier_tests {
dispatch::DispatchInfo,
traits::{OnFinalize, PalletInfoAccess},
};
- use runtime_common::{MinimumMultiplier, TargetBlockFullness};
+ use polkadot_runtime_common::{MinimumMultiplier, TargetBlockFullness};
use separator::Separatable;
use sp_runtime::traits::Convert;
fn run_with_system_weight(w: Weight, mut assertions: F)
where
- F: FnMut() -> (),
+ F: FnMut(),
{
let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::::default()
.build_storage()
@@ -3080,7 +3072,7 @@ mod remote_tests {
async fn remote_ext_test_setup() -> RemoteExternalities {
let transport: Transport =
- var("WS").unwrap_or("wss://paseo.rpc.amforc.com:443".to_string()).into();
+ var("WS").unwrap_or("wss://rpc.polkadot.io:443".to_string()).into();
let maybe_state_snapshot: Option = var("SNAP").map(|s| s.into()).ok();
Builder::::default()
.mode(if let Some(state_snapshot) = maybe_state_snapshot {
@@ -3103,7 +3095,7 @@ mod remote_tests {
#[tokio::test]
async fn dispatch_all_proposals() {
if var("RUN_OPENGOV_TEST").is_err() {
- return;
+ return
}
sp_tracing::try_init_simple();
@@ -3149,7 +3141,7 @@ mod remote_tests {
#[tokio::test]
async fn run_migrations() {
if var("RUN_MIGRATION_TESTS").is_err() {
- return;
+ return
}
sp_tracing::try_init_simple();
@@ -3162,7 +3154,7 @@ mod remote_tests {
async fn try_fast_unstake_all() {
sp_tracing::try_init_simple();
let transport: Transport =
- var("WS").unwrap_or("wss://paseo.rpc.amforc.com:443".to_string()).into();
+ var("WS").unwrap_or("wss://rpc.polkadot.io:443".to_string()).into();
let maybe_state_snapshot: Option = var("SNAP").map(|s| s.into()).ok();
let mut ext = Builder::::default()
.mode(if let Some(state_snapshot) = maybe_state_snapshot {
@@ -3182,7 +3174,7 @@ mod remote_tests {
.unwrap();
ext.execute_with(|| {
pallet_fast_unstake::ErasToCheckPerBlock::::put(1);
- runtime_common::try_runtime::migrate_all_inactive_nominators::()
+ polkadot_runtime_common::try_runtime::migrate_all_inactive_nominators::()
});
}
}
@@ -3199,7 +3191,7 @@ mod init_state_migration {
impl OnRuntimeUpgrade for InitMigrate {
#[cfg(feature = "try-runtime")]
fn pre_upgrade() -> Result, sp_runtime::DispatchError> {
- use parity_scale_codec::Encode;
+ use codec::Encode;
let migration_should_start = AutoLimits::::get().is_none() &&
MigrationProcess::::get() == Default::default();
Ok(migration_should_start.encode())
@@ -3232,7 +3224,7 @@ mod init_state_migration {
fn post_upgrade(
migration_should_start_bytes: Vec,
) -> Result<(), sp_runtime::DispatchError> {
- use parity_scale_codec::Decode;
+ use codec::Decode;
let migration_should_start: bool =
Decode::decode(&mut migration_should_start_bytes.as_slice())
.expect("failed to decode migration should start");
diff --git a/relay/paseo/src/weights/frame_benchmarking_baseline.rs b/relay/paseo/src/weights/frame_benchmarking_baseline.rs
index 2e9bb8a..9c98b7e 100644
--- a/relay/paseo/src/weights/frame_benchmarking_baseline.rs
+++ b/relay/paseo/src/weights/frame_benchmarking_baseline.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=frame_benchmarking::baseline
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -52,8 +51,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 217_000 picoseconds.
- Weight::from_parts(255_139, 0)
+ // Minimum execution time: 175_000 picoseconds.
+ Weight::from_parts(214_057, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
@@ -61,8 +60,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 217_000 picoseconds.
- Weight::from_parts(256_983, 0)
+ // Minimum execution time: 178_000 picoseconds.
+ Weight::from_parts(220_856, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
@@ -70,8 +69,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 217_000 picoseconds.
- Weight::from_parts(257_680, 0)
+ // Minimum execution time: 179_000 picoseconds.
+ Weight::from_parts(213_271, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 1000000]`.
@@ -79,16 +78,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 213_000 picoseconds.
- Weight::from_parts(237_298, 0)
+ // Minimum execution time: 173_000 picoseconds.
+ Weight::from_parts(206_295, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn hashing() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 27_589_084_000 picoseconds.
- Weight::from_parts(27_797_008_000, 0)
+ // Minimum execution time: 23_861_476_000 picoseconds.
+ Weight::from_parts(23_888_047_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
/// The range of component `i` is `[0, 100]`.
@@ -96,10 +95,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 266_000 picoseconds.
- Weight::from_parts(302_000, 0)
+ // Minimum execution time: 224_000 picoseconds.
+ Weight::from_parts(4_903_346, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 18_427
- .saturating_add(Weight::from_parts(45_459_539, 0).saturating_mul(i.into()))
+ // Standard Error: 9_407
+ .saturating_add(Weight::from_parts(40_865_071, 0).saturating_mul(i.into()))
}
}
diff --git a/relay/paseo/src/weights/frame_election_provider_support.rs b/relay/paseo/src/weights/frame_election_provider_support.rs
index 2d954e2..8fe74da 100644
--- a/relay/paseo/src/weights/frame_election_provider_support.rs
+++ b/relay/paseo/src/weights/frame_election_provider_support.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=frame_election_provider_support
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -54,13 +53,13 @@ impl frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 7_610_967_000 picoseconds.
- Weight::from_parts(7_864_879_000, 0)
+ // Minimum execution time: 7_127_246_000 picoseconds.
+ Weight::from_parts(7_308_658_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 156_285
- .saturating_add(Weight::from_parts(6_776_549, 0).saturating_mul(v.into()))
- // Standard Error: 15_978_120
- .saturating_add(Weight::from_parts(1_593_541_318, 0).saturating_mul(d.into()))
+ // Standard Error: 147_084
+ .saturating_add(Weight::from_parts(6_250_512, 0).saturating_mul(v.into()))
+ // Standard Error: 15_037_437
+ .saturating_add(Weight::from_parts(1_448_677_601, 0).saturating_mul(d.into()))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
@@ -69,12 +68,12 @@ impl frame_election_provider_support::WeightInfo for We
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 5_303_371_000 picoseconds.
- Weight::from_parts(5_390_249_000, 0)
+ // Minimum execution time: 4_860_861_000 picoseconds.
+ Weight::from_parts(4_942_856_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 138_131
- .saturating_add(Weight::from_parts(5_350_459, 0).saturating_mul(v.into()))
- // Standard Error: 14_122_058
- .saturating_add(Weight::from_parts(1_533_431_752, 0).saturating_mul(d.into()))
+ // Standard Error: 132_344
+ .saturating_add(Weight::from_parts(5_166_570, 0).saturating_mul(v.into()))
+ // Standard Error: 13_530_405
+ .saturating_add(Weight::from_parts(1_395_319_855, 0).saturating_mul(d.into()))
}
}
diff --git a/relay/paseo/src/weights/frame_system.rs b/relay/paseo/src/weights/frame_system.rs
index 7ff1055..6db32e7 100644
--- a/relay/paseo/src/weights/frame_system.rs
+++ b/relay/paseo/src/weights/frame_system.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=frame_system
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -52,22 +51,22 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 1_931_000 picoseconds.
- Weight::from_parts(20_033_502, 0)
+ // Minimum execution time: 1_654_000 picoseconds.
+ Weight::from_parts(1_692_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 5
- .saturating_add(Weight::from_parts(456, 0).saturating_mul(b.into()))
+ // Standard Error: 0
+ .saturating_add(Weight::from_parts(390, 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_646_000 picoseconds.
- Weight::from_parts(105_023_177, 0)
+ // Minimum execution time: 4_879_000 picoseconds.
+ Weight::from_parts(5_058_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 6
- .saturating_add(Weight::from_parts(1_746, 0).saturating_mul(b.into()))
+ // Standard Error: 5
+ .saturating_add(Weight::from_parts(1_752, 0).saturating_mul(b.into()))
}
/// Storage: `System::Digest` (r:1 w:1)
/// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
@@ -77,8 +76,8 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
- // Minimum execution time: 3_509_000 picoseconds.
- Weight::from_parts(3_659_000, 0)
+ // Minimum execution time: 3_054_000 picoseconds.
+ Weight::from_parts(3_141_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -91,8 +90,8 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `1485`
- // Minimum execution time: 96_602_043_000 picoseconds.
- Weight::from_parts(101_317_939_000, 0)
+ // Minimum execution time: 96_389_124_000 picoseconds.
+ Weight::from_parts(98_328_390_000, 0)
.saturating_add(Weight::from_parts(0, 1485))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
@@ -104,11 +103,11 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_129_000 picoseconds.
- Weight::from_parts(2_220_000, 0)
+ // Minimum execution time: 1_597_000 picoseconds.
+ Weight::from_parts(1_651_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 2_163
- .saturating_add(Weight::from_parts(868_165, 0).saturating_mul(i.into()))
+ // Standard Error: 2_244
+ .saturating_add(Weight::from_parts(759_502, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
@@ -118,11 +117,11 @@ impl frame_system::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 2_126_000 picoseconds.
- Weight::from_parts(2_305_000, 0)
+ // Minimum execution time: 1_597_000 picoseconds.
+ Weight::from_parts(1_649_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 1_100
- .saturating_add(Weight::from_parts(640_069, 0).saturating_mul(i.into()))
+ // Standard Error: 1_094
+ .saturating_add(Weight::from_parts(562_211, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
@@ -130,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: `78 + p * (69 ±0)`
+ // Measured: `75 + p * (69 ±0)`
// Estimated: `79 + p * (70 ±0)`
- // Minimum execution time: 4_196_000 picoseconds.
- Weight::from_parts(4_264_000, 0)
+ // Minimum execution time: 3_544_000 picoseconds.
+ Weight::from_parts(3_596_000, 0)
.saturating_add(Weight::from_parts(0, 79))
- // Standard Error: 2_212
- .saturating_add(Weight::from_parts(1_298_379, 0).saturating_mul(p.into()))
+ // Standard Error: 2_170
+ .saturating_add(Weight::from_parts(1_193_351, 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()))
@@ -148,7 +147,7 @@ impl frame_system::WeightInfo for WeightInfo {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 15_463_000 picoseconds.
- Weight::from_parts(23_019_000, 0)
+ Weight::from_parts(18_019_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -163,7 +162,7 @@ impl frame_system::WeightInfo for WeightInfo {
// Measured: `22`
// Estimated: `1518`
// Minimum execution time: 101_681_977_000 picoseconds.
- Weight::from_parts(134_790_208_000, 0)
+ Weight::from_parts(103_790_208_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/paseo/src/weights/mod.rs b/relay/paseo/src/weights/mod.rs
index cbe46a9..2b5daff 100644
--- a/relay/paseo/src/weights/mod.rs
+++ b/relay/paseo/src/weights/mod.rs
@@ -36,7 +36,6 @@ pub mod pallet_referenda;
pub mod pallet_scheduler;
pub mod pallet_session;
pub mod pallet_staking;
-pub mod pallet_sudo;
pub mod pallet_timestamp;
pub mod pallet_treasury;
pub mod pallet_utility;
diff --git a/relay/paseo/src/weights/pallet_asset_rate.rs b/relay/paseo/src/weights/pallet_asset_rate.rs
index bda4b11..b3650ca 100644
--- a/relay/paseo/src/weights/pallet_asset_rate.rs
+++ b/relay/paseo/src/weights/pallet_asset_rate.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_asset_rate
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -53,8 +52,8 @@ impl pallet_asset_rate::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `4703`
- // Minimum execution time: 11_466_000 picoseconds.
- Weight::from_parts(11_869_000, 0)
+ // Minimum execution time: 9_802_000 picoseconds.
+ Weight::from_parts(10_390_000, 0)
.saturating_add(Weight::from_parts(0, 4703))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -63,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: `110`
// Estimated: `4703`
- // Minimum execution time: 11_881_000 picoseconds.
- Weight::from_parts(12_238_000, 0)
+ // Minimum execution time: 10_351_000 picoseconds.
+ Weight::from_parts(10_777_000, 0)
.saturating_add(Weight::from_parts(0, 4703))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -75,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: `110`
// Estimated: `4703`
- // Minimum execution time: 12_926_000 picoseconds.
- Weight::from_parts(13_136_000, 0)
+ // Minimum execution time: 10_916_000 picoseconds.
+ Weight::from_parts(11_401_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/paseo/src/weights/pallet_bags_list.rs b/relay/paseo/src/weights/pallet_bags_list.rs
index 5508783..e299408 100644
--- a/relay/paseo/src/weights/pallet_bags_list.rs
+++ b/relay/paseo/src/weights/pallet_bags_list.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_bags_list
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -57,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: `1790`
+ // Measured: `1685`
// Estimated: `11506`
- // Minimum execution time: 65_836_000 picoseconds.
- Weight::from_parts(70_477_000, 0)
+ // Minimum execution time: 52_358_000 picoseconds.
+ Weight::from_parts(53_801_000, 0)
.saturating_add(Weight::from_parts(0, 11506))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
@@ -75,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: `1688`
+ // Measured: `1582`
// Estimated: `8877`
- // Minimum execution time: 65_119_000 picoseconds.
- Weight::from_parts(67_901_000, 0)
+ // Minimum execution time: 51_216_000 picoseconds.
+ Weight::from_parts(53_303_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(5))
@@ -95,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: `1999`
+ // Measured: `1890`
// Estimated: `11506`
- // Minimum execution time: 75_061_000 picoseconds.
- Weight::from_parts(81_330_000, 0)
+ // Minimum execution time: 59_280_000 picoseconds.
+ Weight::from_parts(61_413_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/paseo/src/weights/pallet_balances.rs b/relay/paseo/src/weights/pallet_balances.rs
index 993f1ac..171543e 100644
--- a/relay/paseo/src/weights/pallet_balances.rs
+++ b/relay/paseo/src/weights/pallet_balances.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_balances
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -53,8 +52,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
- // Minimum execution time: 50_722_000 picoseconds.
- Weight::from_parts(52_399_000, 0)
+ // Minimum execution time: 44_926_000 picoseconds.
+ Weight::from_parts(45_581_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -65,8 +64,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
- // Minimum execution time: 40_178_000 picoseconds.
- Weight::from_parts(40_837_000, 0)
+ // Minimum execution time: 35_183_000 picoseconds.
+ Weight::from_parts(35_660_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -77,8 +76,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 14_885_000 picoseconds.
- Weight::from_parts(15_494_000, 0)
+ // Minimum execution time: 12_773_000 picoseconds.
+ Weight::from_parts(13_126_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -89,8 +88,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 20_432_000 picoseconds.
- Weight::from_parts(21_320_000, 0)
+ // Minimum execution time: 17_765_000 picoseconds.
+ Weight::from_parts(18_476_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -101,8 +100,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `103`
// Estimated: `6196`
- // Minimum execution time: 51_792_000 picoseconds.
- Weight::from_parts(53_046_000, 0)
+ // Minimum execution time: 46_041_000 picoseconds.
+ Weight::from_parts(47_227_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -113,8 +112,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `3593`
- // Minimum execution time: 50_336_000 picoseconds.
- Weight::from_parts(51_630_000, 0)
+ // Minimum execution time: 44_310_000 picoseconds.
+ Weight::from_parts(45_019_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -125,8 +124,8 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `174`
// Estimated: `3593`
- // Minimum execution time: 17_826_000 picoseconds.
- Weight::from_parts(18_196_000, 0)
+ // Minimum execution time: 15_663_000 picoseconds.
+ Weight::from_parts(16_204_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -138,11 +137,11 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0 + u * (135 ±0)`
// Estimated: `990 + u * (2603 ±0)`
- // Minimum execution time: 17_773_000 picoseconds.
- Weight::from_parts(18_026_000, 0)
+ // Minimum execution time: 14_732_000 picoseconds.
+ Weight::from_parts(14_936_000, 0)
.saturating_add(Weight::from_parts(0, 990))
- // Standard Error: 18_346
- .saturating_add(Weight::from_parts(16_508_683, 0).saturating_mul(u.into()))
+ // Standard Error: 16_515
+ .saturating_add(Weight::from_parts(14_101_228, 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()))
@@ -152,7 +151,7 @@ impl pallet_balances::WeightInfo for WeightInfo {
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_284_000 picoseconds.
- Weight::from_parts(7_571_000, 0)
+ Weight::from_parts(5_571_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
}
diff --git a/relay/paseo/src/weights/pallet_bounties.rs b/relay/paseo/src/weights/pallet_bounties.rs
index d9fff8c..8cea91b 100644
--- a/relay/paseo/src/weights/pallet_bounties.rs
+++ b/relay/paseo/src/weights/pallet_bounties.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_bounties
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -60,11 +59,11 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `177`
// Estimated: `3593`
- // Minimum execution time: 25_506_000 picoseconds.
- Weight::from_parts(27_017_163, 0)
+ // Minimum execution time: 21_824_000 picoseconds.
+ Weight::from_parts(23_437_825, 0)
.saturating_add(Weight::from_parts(0, 3593))
- // Standard Error: 9
- .saturating_add(Weight::from_parts(846, 0).saturating_mul(d.into()))
+ // Standard Error: 8
+ .saturating_add(Weight::from_parts(637, 0).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
}
@@ -76,8 +75,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `269`
// Estimated: `3642`
- // Minimum execution time: 13_397_000 picoseconds.
- Weight::from_parts(14_066_000, 0)
+ // Minimum execution time: 11_204_000 picoseconds.
+ Weight::from_parts(11_734_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -88,8 +87,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `289`
// Estimated: `3642`
- // Minimum execution time: 12_908_000 picoseconds.
- Weight::from_parts(13_708_000, 0)
+ // Minimum execution time: 10_795_000 picoseconds.
+ Weight::from_parts(11_210_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -102,8 +101,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `465`
// Estimated: `3642`
- // Minimum execution time: 41_827_000 picoseconds.
- Weight::from_parts(43_160_000, 0)
+ // Minimum execution time: 34_043_000 picoseconds.
+ Weight::from_parts(34_947_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -116,8 +115,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `461`
// Estimated: `3642`
- // Minimum execution time: 28_341_000 picoseconds.
- Weight::from_parts(29_419_000, 0)
+ // Minimum execution time: 24_470_000 picoseconds.
+ Weight::from_parts(24_875_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -130,8 +129,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `368`
// Estimated: `3642`
- // Minimum execution time: 16_218_000 picoseconds.
- Weight::from_parts(17_131_000, 0)
+ // Minimum execution time: 13_964_000 picoseconds.
+ Weight::from_parts(14_434_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -146,10 +145,10 @@ impl pallet_bounties::WeightInfo for WeightInfo {
/// Proof: `Bounties::BountyDescriptions` (`max_values`: None, `max_size`: Some(16400), added: 18875, mode: `MaxEncodedLen`)
fn claim_bounty() -> Weight {
// Proof Size summary in bytes:
- // Measured: `695`
+ // Measured: `732`
// Estimated: `8799`
- // Minimum execution time: 116_907_000 picoseconds.
- Weight::from_parts(122_088_000, 0)
+ // Minimum execution time: 99_910_000 picoseconds.
+ Weight::from_parts(101_642_000, 0)
.saturating_add(Weight::from_parts(0, 8799))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
@@ -166,8 +165,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `412`
// Estimated: `3642`
- // Minimum execution time: 43_184_000 picoseconds.
- Weight::from_parts(44_876_000, 0)
+ // Minimum execution time: 35_756_000 picoseconds.
+ Weight::from_parts(37_193_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -182,10 +181,10 @@ impl pallet_bounties::WeightInfo for WeightInfo {
/// Proof: `Bounties::BountyDescriptions` (`max_values`: None, `max_size`: Some(16400), added: 18875, mode: `MaxEncodedLen`)
fn close_bounty_active() -> Weight {
// Proof Size summary in bytes:
- // Measured: `611`
+ // Measured: `648`
// Estimated: `6196`
- // Minimum execution time: 79_960_000 picoseconds.
- Weight::from_parts(82_208_000, 0)
+ // Minimum execution time: 67_273_000 picoseconds.
+ Weight::from_parts(69_165_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
@@ -196,8 +195,8 @@ impl pallet_bounties::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `325`
// Estimated: `3642`
- // Minimum execution time: 13_126_000 picoseconds.
- Weight::from_parts(13_899_000, 0)
+ // Minimum execution time: 11_562_000 picoseconds.
+ Weight::from_parts(12_821_000, 0)
.saturating_add(Weight::from_parts(0, 3642))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -213,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: 3_273_000 picoseconds.
- Weight::from_parts(3_381_000, 0)
+ // Minimum execution time: 2_835_000 picoseconds.
+ Weight::from_parts(2_915_000, 0)
.saturating_add(Weight::from_parts(0, 1887))
- // Standard Error: 18_194
- .saturating_add(Weight::from_parts(38_209_308, 0).saturating_mul(b.into()))
+ // Standard Error: 18_278
+ .saturating_add(Weight::from_parts(32_861_747, 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/paseo/src/weights/pallet_child_bounties.rs b/relay/paseo/src/weights/pallet_child_bounties.rs
index 4318a48..31610a4 100644
--- a/relay/paseo/src/weights/pallet_child_bounties.rs
+++ b/relay/paseo/src/weights/pallet_child_bounties.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_child_bounties
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -62,13 +61,13 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
// Proof Size summary in bytes:
- // Measured: `471`
+ // Measured: `508`
// Estimated: `6196`
- // Minimum execution time: 67_175_000 picoseconds.
- Weight::from_parts(68_675_114, 0)
+ // Minimum execution time: 59_225_000 picoseconds.
+ Weight::from_parts(60_300_197, 0)
.saturating_add(Weight::from_parts(0, 6196))
- // Standard Error: 5
- .saturating_add(Weight::from_parts(820, 0).saturating_mul(d.into()))
+ // Standard Error: 47
+ .saturating_add(Weight::from_parts(793, 0).saturating_mul(d.into()))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(6))
}
@@ -82,8 +81,8 @@ 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 Weight {
// Proof Size summary in bytes:
- // Measured: `771`
+ // Measured: `808`
// Estimated: `6196`
- // Minimum execution time: 74_727_000 picoseconds.
- Weight::from_parts(75_676_000, 0)
+ // Minimum execution time: 65_320_000 picoseconds.
+ Weight::from_parts(66_554_000, 0)
.saturating_add(Weight::from_parts(0, 6196))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(6))
@@ -188,10 +187,10 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight {
// Proof Size summary in bytes:
- // Measured: `958`
+ // Measured: `995`
// Estimated: `8799`
- // Minimum execution time: 90_157_000 picoseconds.
- Weight::from_parts(92_206_000, 0)
+ // Minimum execution time: 80_207_000 picoseconds.
+ Weight::from_parts(81_635_000, 0)
.saturating_add(Weight::from_parts(0, 8799))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(7))
diff --git a/relay/paseo/src/weights/pallet_conviction_voting.rs b/relay/paseo/src/weights/pallet_conviction_voting.rs
index 50d89fd..889b20d 100644
--- a/relay/paseo/src/weights/pallet_conviction_voting.rs
+++ b/relay/paseo/src/weights/pallet_conviction_voting.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_conviction_voting
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -52,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)
@@ -61,10 +60,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`)
fn vote_new() -> Weight {
// Proof Size summary in bytes:
- // Measured: `13513`
+ // Measured: `13480`
// Estimated: `42428`
- // Minimum execution time: 137_472_000 picoseconds.
- Weight::from_parts(141_335_000, 0)
+ // Minimum execution time: 136_288_000 picoseconds.
+ Weight::from_parts(147_883_000, 0)
.saturating_add(Weight::from_parts(0, 42428))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(5))
@@ -74,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)
@@ -83,10 +82,10 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
/// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`)
fn vote_existing() -> Weight {
// Proof Size summary in bytes:
- // Measured: `14234`
+ // Measured: `14201`
// Estimated: `83866`
- // Minimum execution time: 208_705_000 picoseconds.
- Weight::from_parts(217_855_000, 0)
+ // Minimum execution time: 169_651_000 picoseconds.
+ Weight::from_parts(177_209_000, 0)
.saturating_add(Weight::from_parts(0, 83866))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(6))
@@ -101,8 +100,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
// Proof Size summary in bytes:
// Measured: `13919`
// Estimated: `83866`
- // Minimum execution time: 176_684_000 picoseconds.
- Weight::from_parts(188_007_000, 0)
+ // Minimum execution time: 139_988_000 picoseconds.
+ Weight::from_parts(152_950_000, 0)
.saturating_add(Weight::from_parts(0, 83866))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(4))
@@ -115,8 +114,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf
// Proof Size summary in bytes:
// Measured: `13005`
// Estimated: `30706`
- // Minimum execution time: 72_335_000 picoseconds.
- Weight::from_parts(78_755_000, 0)
+ // Minimum execution time: 84_340_000 picoseconds.
+ Weight::from_parts(89_490_000, 0)
.saturating_add(Weight::from_parts(0, 30706))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -128,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)
@@ -136,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: `29708 + r * (365 ±0)`
+ // Measured: `28987 + r * (364 ±0)`
// Estimated: `83866 + r * (3411 ±0)`
- // Minimum execution time: 70_009_000 picoseconds.
- Weight::from_parts(1_916_595_054, 0)
+ // Minimum execution time: 63_628_000 picoseconds.
+ Weight::from_parts(808_059_906, 0)
.saturating_add(Weight::from_parts(0, 83866))
- // Standard Error: 177_425
- .saturating_add(Weight::from_parts(47_554_608, 0).saturating_mul(r.into()))
+ // Standard Error: 79_356
+ .saturating_add(Weight::from_parts(20_224_140, 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))
@@ -158,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: `29556 + r * (365 ±0)`
+ // Measured: `28868 + r * (364 ±0)`
// Estimated: `83866 + r * (3411 ±0)`
- // Minimum execution time: 38_359_000 picoseconds.
- Weight::from_parts(1_795_080_066, 0)
+ // Minimum execution time: 38_682_000 picoseconds.
+ Weight::from_parts(727_546_385, 0)
.saturating_add(Weight::from_parts(0, 83866))
- // Standard Error: 171_659
- .saturating_add(Weight::from_parts(47_953_466, 0).saturating_mul(r.into()))
+ // Standard Error: 54_985
+ .saturating_add(Weight::from_parts(20_577_723, 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))
@@ -174,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: `12285`
+ // Measured: `12270`
// Estimated: `30706`
- // Minimum execution time: 101_982_000 picoseconds.
- Weight::from_parts(107_848_000, 0)
+ // Minimum execution time: 98_219_000 picoseconds.
+ Weight::from_parts(106_083_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/paseo/src/weights/pallet_election_provider_multi_phase.rs b/relay/paseo/src/weights/pallet_election_provider_multi_phase.rs
index 544fda2..5d33cd7 100644
--- a/relay/paseo/src/weights/pallet_election_provider_multi_phase.rs
+++ b/relay/paseo/src/weights/pallet_election_provider_multi_phase.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
-
-// Paseo 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.
-
-// Paseo 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 Paseo. 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-18, 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("../polkadot-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ../polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../polkadot-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./polkadot-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_election_provider_multi_phase
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./polkadot-weights/
-// --header
-// ./file_header.txt
+// --output=./polkadot-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: `784`
+ // Measured: `817`
// Estimated: `3481`
- // Minimum execution time: 16_549_000 picoseconds.
- Weight::from_parts(17_200_000, 0)
+ // Minimum execution time: 16_763_000 picoseconds.
+ Weight::from_parts(17_337_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: `43`
// Estimated: `1528`
- // Minimum execution time: 7_594_000 picoseconds.
- Weight::from_parts(8_221_000, 0)
+ // Minimum execution time: 7_570_000 picoseconds.
+ Weight::from_parts(7_758_000, 0)
.saturating_add(Weight::from_parts(0, 1528))
.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: `43`
// Estimated: `1528`
- // Minimum execution time: 8_584_000 picoseconds.
- Weight::from_parts(8_850_000, 0)
+ // Minimum execution time: 8_429_000 picoseconds.
+ Weight::from_parts(8_648_000, 0)
.saturating_add(Weight::from_parts(0, 1528))
.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_566_000 picoseconds.
- Weight::from_parts(23_092_000, 0)
+ // Minimum execution time: 23_333_000 picoseconds.
+ Weight::from_parts(23_845_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_519_000 picoseconds.
- Weight::from_parts(15_707_000, 0)
+ // Minimum execution time: 15_680_000 picoseconds.
+ Weight::from_parts(16_021_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -138,17 +133,15 @@ impl pallet_election_provider_multi_phase::WeightInfo f
/// Proof: `ElectionProviderMultiPhase::Snapshot` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
- fn create_snapshot_internal(v: u32, t: u32, ) -> Weight {
+ fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 493_575_000 picoseconds.
- Weight::from_parts(11_314_417, 0)
+ // Minimum execution time: 513_357_000 picoseconds.
+ Weight::from_parts(527_740_000, 0)
.saturating_add(Weight::from_parts(0, 0))
- // Standard Error: 5_873
- .saturating_add(Weight::from_parts(490_148, 0).saturating_mul(v.into()))
- // Standard Error: 11_741
- .saturating_add(Weight::from_parts(68_456, 0).saturating_mul(t.into()))
+ // Standard Error: 2_814
+ .saturating_add(Weight::from_parts(409_297, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `ElectionProviderMultiPhase::SignedSubmissionIndices` (r:1 w:1)
@@ -175,11 +168,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `266 + a * (768 ±0) + d * (48 ±0)`
// Estimated: `3818 + a * (768 ±0) + d * (49 ±0)`
- // Minimum execution time: 391_175_000 picoseconds.
- Weight::from_parts(420_532_000, 0)
+ // Minimum execution time: 427_335_000 picoseconds.
+ Weight::from_parts(464_867_000, 0)
.saturating_add(Weight::from_parts(0, 3818))
- // Standard Error: 6_587
- .saturating_add(Weight::from_parts(337_502, 0).saturating_mul(a.into()))
+ // Standard Error: 6_771
+ .saturating_add(Weight::from_parts(334_470, 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, 768).saturating_mul(a.into()))
@@ -187,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)
@@ -199,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: `1133`
- // Estimated: `2618`
- // Minimum execution time: 43_731_000 picoseconds.
- Weight::from_parts(45_638_000, 0)
- .saturating_add(Weight::from_parts(0, 2618))
- .saturating_add(T::DbWeight::get().reads(5))
+ // Measured: `1196`
+ // Estimated: `2681`
+ // Minimum execution time: 43_965_000 picoseconds.
+ Weight::from_parts(45_832_000, 0)
+ .saturating_add(Weight::from_parts(0, 2681))
+ .saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(3))
}
/// Storage: `ElectionProviderMultiPhase::CurrentPhase` (r:1 w:0)
@@ -229,13 +224,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f
// Proof Size summary in bytes:
// Measured: `148 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1633 + t * (32 ±0) + v * (553 ±0)`
- // Minimum execution time: 5_919_627_000 picoseconds.
- Weight::from_parts(6_080_024_000, 0)
+ // Minimum execution time: 6_164_134_000 picoseconds.
+ Weight::from_parts(6_299_983_000, 0)
.saturating_add(Weight::from_parts(0, 1633))
- // Standard Error: 20_169
- .saturating_add(Weight::from_parts(307_946, 0).saturating_mul(v.into()))
- // Standard Error: 59_769
- .saturating_add(Weight::from_parts(4_574_567, 0).saturating_mul(a.into()))
+ // Standard Error: 19_441
+ .saturating_add(Weight::from_parts(426_088, 0).saturating_mul(v.into()))
+ // Standard Error: 57_613
+ .saturating_add(Weight::from_parts(4_514_889, 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,17 +248,19 @@ impl pallet_election_provider_multi_phase::WeightInfo f
/// The range of component `t` is `[500, 1000]`.
/// The range of component `a` is `[500, 800]`.
/// The range of component `d` is `[200, 400]`.
- fn feasibility_check(v: u32, t: u32, a: u32, _d: u32, ) -> Weight {
+ fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `123 + t * (32 ±0) + v * (553 ±0)`
// Estimated: `1608 + t * (32 ±0) + v * (553 ±0)`
- // Minimum execution time: 4_807_127_000 picoseconds.
- Weight::from_parts(5_070_342_000, 0)
+ // Minimum execution time: 5_201_496_000 picoseconds.
+ Weight::from_parts(344_942_234, 0)
.saturating_add(Weight::from_parts(0, 1608))
- // Standard Error: 22_115
- .saturating_add(Weight::from_parts(392_514, 0).saturating_mul(v.into()))
- // Standard Error: 65_536
- .saturating_add(Weight::from_parts(3_256_507, 0).saturating_mul(a.into()))
+ // Standard Error: 20_191
+ .saturating_add(Weight::from_parts(835_378, 0).saturating_mul(v.into()))
+ // Standard Error: 67_213
+ .saturating_add(Weight::from_parts(5_269_944, 0).saturating_mul(a.into()))
+ // Standard Error: 100_740
+ .saturating_add(Weight::from_parts(3_242_366, 0).saturating_mul(d.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, 553).saturating_mul(v.into()))
diff --git a/relay/paseo/src/weights/pallet_fast_unstake.rs b/relay/paseo/src/weights/pallet_fast_unstake.rs
index cb1c955..cf71ade 100644
--- a/relay/paseo/src/weights/pallet_fast_unstake.rs
+++ b/relay/paseo/src/weights/pallet_fast_unstake.rs
@@ -1,44 +1,39 @@
-// Copyright (C) Parity Technologies (UK) Ltd.
-// This file is part of Paseo.
-
-// Paseo 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.
-
-// Paseo 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 Paseo. 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-18, 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("../polkadot-chain-spec.json")`, DB CACHE: 1024
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ../polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=../polkadot-chain-spec.json
-// --steps
-// 50
-// --repeat
-// 20
+// --chain=./polkadot-chain-spec.json
+// --steps=50
+// --repeat=20
// --pallet=pallet_fast_unstake
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output
-// ./polkadot-weights/
-// --header
-// ./file_header.txt
+// --output=./polkadot-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, 16]`.
fn on_idle_unstake(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1215 + b * (463 ±0)`
- // Estimated: `2700 + b * (3774 ±0)`
- // Minimum execution time: 82_467_000 picoseconds.
- Weight::from_parts(31_017_928, 0)
- .saturating_add(Weight::from_parts(0, 2700))
- // Standard Error: 52_657
- .saturating_add(Weight::from_parts(55_469_038, 0).saturating_mul(b.into()))
+ // Measured: `1173 + b * (463 ±0)`
+ // Estimated: `2658 + b * (3774 ±0)`
+ // Minimum execution time: 84_802_000 picoseconds.
+ Weight::from_parts(29_217_078, 0)
+ .saturating_add(Weight::from_parts(0, 2658))
+ // Standard Error: 50_166
+ .saturating_add(Weight::from_parts(58_686_628, 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, 16]`.
fn on_idle_check(v: u32, b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1305 + b * (48 ±0) + v * (19512 ±0)`
- // Estimated: `4622 + b * (52 ±0) + v * (21987 ±0)`
- // Minimum execution time: 629_770_000 picoseconds.
- Weight::from_parts(634_063_000, 0)
- .saturating_add(Weight::from_parts(0, 4622))
- // Standard Error: 5_754_178
- .saturating_add(Weight::from_parts(192_402_127, 0).saturating_mul(v.into()))
- // Standard Error: 92_337_284
- .saturating_add(Weight::from_parts(2_884_678_113, 0).saturating_mul(b.into()))
- .saturating_add(T::DbWeight::get().reads(7))
+ // Measured: `1508 + b * (70 ±0) + v * (19528 ±0)`
+ // Estimated: `4841 + b * (72 ±0) + v * (22004 ±0)`
+ // Minimum execution time: 666_865_000 picoseconds.
+ Weight::from_parts(672_180_000, 0)
+ .saturating_add(Weight::from_parts(0, 4841))
+ // Standard Error: 5_553_355
+ .saturating_add(Weight::from_parts(185_600_804, 0).saturating_mul(v.into()))
+ // Standard Error: 89_114_672
+ .saturating_add(Weight::from_parts(2_786_523_790, 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, 52).saturating_mul(b.into()))
- .saturating_add(Weight::from_parts(0, 21987).saturating_mul(v.into()))
+ .saturating_add(Weight::from_parts(0, 72).saturating_mul(b.into()))
+ .saturating_add(Weight::from_parts(0, 22004).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: `2077`
+ // Measured: `2035`
// Estimated: `6248`
- // Minimum execution time: 112_231_000 picoseconds.
- Weight::from_parts(116_342_000, 0)
+ // Minimum execution time: 110_488_000 picoseconds.
+ Weight::from_parts(113_880_000, 0)
.saturating_add(Weight::from_parts(0, 6248))
.saturating_add(T::DbWeight::get().reads(16))
.saturating_add(T::DbWeight::get().writes(10))
@@ -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: `4556`
- // Minimum execution time: 36_887_000 picoseconds.
- Weight::from_parts(38_022_000, 0)
+ // Minimum execution time: 35_859_000 picoseconds.
+ Weight::from_parts(36_714_000, 0)
.saturating_add(Weight::from_parts(0, 4556))
.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_031_000 picoseconds.
- Weight::from_parts(2_168_000, 0)
+ // Minimum execution time: 1_673_000 picoseconds.
+ Weight::from_parts(1_836_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/relay/paseo/src/weights/pallet_indices.rs b/relay/paseo/src/weights/pallet_indices.rs
index e088d06..9743641 100644
--- a/relay/paseo/src/weights/pallet_indices.rs
+++ b/relay/paseo/src/weights/pallet_indices.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_indices
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -53,8 +52,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `4`
// Estimated: `3534`
- // Minimum execution time: 20_989_000 picoseconds.
- Weight::from_parts(21_556_000, 0)
+ // Minimum execution time: 18_321_000 picoseconds.
+ Weight::from_parts(18_937_000, 0)
.saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -67,8 +66,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `203`
// Estimated: `3593`
- // Minimum execution time: 32_716_000 picoseconds.
- Weight::from_parts(33_560_000, 0)
+ // Minimum execution time: 28_564_000 picoseconds.
+ Weight::from_parts(29_320_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -79,8 +78,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `100`
// Estimated: `3534`
- // Minimum execution time: 22_899_000 picoseconds.
- Weight::from_parts(23_513_000, 0)
+ // Minimum execution time: 19_731_000 picoseconds.
+ Weight::from_parts(20_124_000, 0)
.saturating_add(Weight::from_parts(0, 3534))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -93,8 +92,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `203`
// Estimated: `3593`
- // Minimum execution time: 24_601_000 picoseconds.
- Weight::from_parts(25_218_000, 0)
+ // Minimum execution time: 21_213_000 picoseconds.
+ Weight::from_parts(21_651_000, 0)
.saturating_add(Weight::from_parts(0, 3593))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
@@ -105,8 +104,8 @@ impl pallet_indices::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `100`
// Estimated: `3534`
- // Minimum execution time: 23_338_000 picoseconds.
- Weight::from_parts(24_087_000, 0)
+ // Minimum execution time: 20_386_000 picoseconds.
+ Weight::from_parts(20_760_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/paseo/src/weights/pallet_message_queue.rs b/relay/paseo/src/weights/pallet_message_queue.rs
index 1cc637f..1a741fe 100644
--- a/relay/paseo/src/weights/pallet_message_queue.rs
+++ b/relay/paseo/src/weights/pallet_message_queue.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_message_queue
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -55,8 +54,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `6050`
- // Minimum execution time: 15_038_000 picoseconds.
- Weight::from_parts(15_429_000, 0)
+ // Minimum execution time: 12_827_000 picoseconds.
+ Weight::from_parts(13_569_000, 0)
.saturating_add(Weight::from_parts(0, 6050))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(2))
@@ -69,8 +68,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `281`
// Estimated: `6050`
- // Minimum execution time: 13_414_000 picoseconds.
- Weight::from_parts(14_058_000, 0)
+ // Minimum execution time: 11_740_000 picoseconds.
+ Weight::from_parts(12_189_000, 0)
.saturating_add(Weight::from_parts(0, 6050))
.saturating_add(T::DbWeight::get().reads(3))
.saturating_add(T::DbWeight::get().writes(3))
@@ -81,8 +80,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `42`
// Estimated: `3520`
- // Minimum execution time: 4_322_000 picoseconds.
- Weight::from_parts(4_553_000, 0)
+ // Minimum execution time: 3_823_000 picoseconds.
+ Weight::from_parts(3_954_000, 0)
.saturating_add(Weight::from_parts(0, 3520))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -93,8 +92,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `115`
// Estimated: `69051`
- // Minimum execution time: 6_405_000 picoseconds.
- Weight::from_parts(6_758_000, 0)
+ // Minimum execution time: 5_543_000 picoseconds.
+ Weight::from_parts(5_717_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
@@ -105,19 +104,24 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `115`
// Estimated: `69051`
- // Minimum execution time: 6_485_000 picoseconds.
- Weight::from_parts(6_848_000, 0)
+ // Minimum execution time: 5_692_000 picoseconds.
+ Weight::from_parts(5_860_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: 102_583_000 picoseconds.
- Weight::from_parts(103_741_000, 0)
+ // Minimum execution time: 166_812_000 picoseconds.
+ Weight::from_parts(169_584_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`)
@@ -127,8 +131,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `220`
// Estimated: `3520`
- // Minimum execution time: 7_338_000 picoseconds.
- Weight::from_parts(7_519_000, 0)
+ // Minimum execution time: 6_333_000 picoseconds.
+ Weight::from_parts(6_626_000, 0)
.saturating_add(Weight::from_parts(0, 3520))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(1))
@@ -145,8 +149,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `65714`
// Estimated: `69051`
- // Minimum execution time: 63_797_000 picoseconds.
- Weight::from_parts(65_136_000, 0)
+ // Minimum execution time: 56_300_000 picoseconds.
+ Weight::from_parts(57_300_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
@@ -163,8 +167,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `65714`
// Estimated: `69051`
- // Minimum execution time: 81_308_000 picoseconds.
- Weight::from_parts(83_010_000, 0)
+ // Minimum execution time: 70_510_000 picoseconds.
+ Weight::from_parts(72_758_000, 0)
.saturating_add(Weight::from_parts(0, 69051))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(4))
@@ -181,8 +185,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo
// Proof Size summary in bytes:
// Measured: `65714`
// Estimated: `69051`
- // Minimum execution time: 123_989_000 picoseconds.
- Weight::from_parts(125_926_000, 0)
+ // Minimum execution time: 109_583_000 picoseconds.
+ Weight::from_parts(111_611_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/paseo/src/weights/pallet_multisig.rs b/relay/paseo/src/weights/pallet_multisig.rs
index 16b2a4d..e2549c3 100644
--- a/relay/paseo/src/weights/pallet_multisig.rs
+++ b/relay/paseo/src/weights/pallet_multisig.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_multisig
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -52,11 +51,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 13_787_000 picoseconds.
- Weight::from_parts(14_537_813, 0)
+ // Minimum execution time: 11_895_000 picoseconds.
+ Weight::from_parts(12_946_335, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 4
- .saturating_add(Weight::from_parts(601, 0).saturating_mul(z.into()))
+ .saturating_add(Weight::from_parts(512, 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`)
@@ -66,13 +65,13 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `267 + s * (2 ±0)`
// Estimated: `6811`
- // Minimum execution time: 45_042_000 picoseconds.
- Weight::from_parts(32_507_276, 0)
+ // Minimum execution time: 39_917_000 picoseconds.
+ Weight::from_parts(27_599_704, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 958
- .saturating_add(Weight::from_parts(145_181, 0).saturating_mul(s.into()))
- // Standard Error: 9
- .saturating_add(Weight::from_parts(1_739, 0).saturating_mul(z.into()))
+ // Standard Error: 1_164
+ .saturating_add(Weight::from_parts(142_796, 0).saturating_mul(s.into()))
+ // Standard Error: 11
+ .saturating_add(Weight::from_parts(1_502, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -84,13 +83,13 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `6811`
- // Minimum execution time: 28_715_000 picoseconds.
- Weight::from_parts(17_825_396, 0)
+ // Minimum execution time: 25_925_000 picoseconds.
+ Weight::from_parts(16_188_313, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 1_069
- .saturating_add(Weight::from_parts(123_024, 0).saturating_mul(s.into()))
- // Standard Error: 10
- .saturating_add(Weight::from_parts(1_746, 0).saturating_mul(z.into()))
+ // Standard Error: 539
+ .saturating_add(Weight::from_parts(104_839, 0).saturating_mul(s.into()))
+ // Standard Error: 5
+ .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -104,13 +103,13 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `392 + s * (33 ±0)`
// Estimated: `6811`
- // Minimum execution time: 52_885_000 picoseconds.
- Weight::from_parts(38_201_060, 0)
+ // Minimum execution time: 44_351_000 picoseconds.
+ Weight::from_parts(32_183_397, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 5_178
- .saturating_add(Weight::from_parts(166_982, 0).saturating_mul(s.into()))
- // Standard Error: 50
- .saturating_add(Weight::from_parts(2_071, 0).saturating_mul(z.into()))
+ // Standard Error: 1_054
+ .saturating_add(Weight::from_parts(161_583, 0).saturating_mul(s.into()))
+ // Standard Error: 10
+ .saturating_add(Weight::from_parts(1_550, 0).saturating_mul(z.into()))
.saturating_add(T::DbWeight::get().reads(2))
.saturating_add(T::DbWeight::get().writes(2))
}
@@ -121,11 +120,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `267 + s * (2 ±0)`
// Estimated: `6811`
- // Minimum execution time: 29_418_000 picoseconds.
- Weight::from_parts(31_661_081, 0)
+ // Minimum execution time: 25_195_000 picoseconds.
+ Weight::from_parts(26_828_570, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 3_681
- .saturating_add(Weight::from_parts(177_507, 0).saturating_mul(s.into()))
+ // Standard Error: 1_350
+ .saturating_add(Weight::from_parts(145_595, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -136,11 +135,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `286`
// Estimated: `6811`
- // Minimum execution time: 16_861_000 picoseconds.
- Weight::from_parts(17_752_365, 0)
+ // Minimum execution time: 14_089_000 picoseconds.
+ Weight::from_parts(14_859_596, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 2_678
- .saturating_add(Weight::from_parts(137_942, 0).saturating_mul(s.into()))
+ // Standard Error: 473
+ .saturating_add(Weight::from_parts(107_021, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
@@ -151,11 +150,11 @@ impl pallet_multisig::WeightInfo for WeightInfo {
// Proof Size summary in bytes:
// Measured: `458 + s * (1 ±0)`
// Estimated: `6811`
- // Minimum execution time: 32_291_000 picoseconds.
- Weight::from_parts(41_357_681, 0)
+ // Minimum execution time: 27_105_000 picoseconds.
+ Weight::from_parts(30_158_176, 0)
.saturating_add(Weight::from_parts(0, 6811))
- // Standard Error: 6_747
- .saturating_add(Weight::from_parts(72_589, 0).saturating_mul(s.into()))
+ // Standard Error: 1_138
+ .saturating_add(Weight::from_parts(123_246, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1))
}
diff --git a/relay/paseo/src/weights/pallet_nomination_pools.rs b/relay/paseo/src/weights/pallet_nomination_pools.rs
index 8c320b4..0d448c3 100644
--- a/relay/paseo/src/weights/pallet_nomination_pools.rs
+++ b/relay/paseo/src/weights/pallet_nomination_pools.rs
@@ -1,4 +1,4 @@
-// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md
+// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md
// for a list of specific contributors.
// SPDX-License-Identifier: Apache-2.0
@@ -13,27 +13,26 @@
// 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 32.0.0
-//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `p-ch-hmb-vm-vapas-002`, CPU: `Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz`
-//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./runtimes/paseo-chain-spec.json")`, DB CACHE: 1024
+//! HOSTNAME: `ggwpez-ref-hw`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
+//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024
// Executed Command:
-// ./polkadot-sdk/target/production/polkadot
+// ./target/production/polkadot
// benchmark
// pallet
-// --chain=./runtimes/paseo-chain-spec.json
+// --chain=./polkadot-chain-spec.json
// --steps=50
// --repeat=20
// --pallet=pallet_nomination_pools
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
-// --output=./paseo-weights-1.2/
+// --output=./polkadot-weights/
// --header=./file_header.txt
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -52,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)
@@ -81,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: `3531`
+ // Measured: `3358`
// Estimated: `8877`
- // Minimum execution time: 211_693_000 picoseconds.
- Weight::from_parts(215_821_000, 0)
+ // Minimum execution time: 175_400_000 picoseconds.
+ Weight::from_parts(178_857_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(20))
.saturating_add(T::DbWeight::get().writes(13))
@@ -92,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)
@@ -115,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: `3541`
+ // Measured: `3368`
// Estimated: `8877`
- // Minimum execution time: 212_042_000 picoseconds.
- Weight::from_parts(218_065_000, 0)
+ // Minimum execution time: 176_683_000 picoseconds.
+ Weight::from_parts(181_466_000, 0)
.saturating_add(Weight::from_parts(0, 8877))
.saturating_add(T::DbWeight::get().reads(17))
.saturating_add(T::DbWeight::get().writes(13))
@@ -128,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)
@@ -143,7 +142,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// 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`)
- /// Storage: `VoterList::ListNodes` (r:3 w:3)
+ /// Storage: `VoterList::ListNodes` (r:2 w:2)
/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
/// Storage: `VoterList::ListBags` (r:2 w:2)
/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
@@ -151,20 +150,20 @@ 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: `3606`
- // Estimated: `8877`
- // Minimum execution time: 254_061_000 picoseconds.
- Weight::from_parts(256_685_000, 0)
- .saturating_add(Weight::from_parts(0, 8877))
- .saturating_add(T::DbWeight::get().reads(18))
- .saturating_add(T::DbWeight::get().writes(14))
+ // Measured: `3278`
+ // Estimated: `8799`
+ // Minimum execution time: 204_096_000 picoseconds.
+ Weight::from_parts(208_282_000, 0)
+ .saturating_add(Weight::from_parts(0, 8799))
+ .saturating_add(T::DbWeight::get().reads(17))
+ .saturating_add(T::DbWeight::get().writes(13))
}
/// Storage: `NominationPools::ClaimPermissions` (r:1 w:0)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
/// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(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)
@@ -173,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: `1137`
+ // Measured: `1138`
// Estimated: `4182`
- // Minimum execution time: 83_095_000 picoseconds.
- Weight::from_parts(84_690_000, 0)
+ // Minimum execution time: 71_127_000 picoseconds.
+ Weight::from_parts(72_977_000, 0)
.saturating_add(Weight::from_parts(0, 4182))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
@@ -184,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)
@@ -215,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: `3748`
+ // Measured: `3548`
// Estimated: `8877`
- // Minimum execution time: 198_258_000 picoseconds.
- Weight::from_parts(202_517_000, 0)
+ // Minimum execution time: 157_884_000 picoseconds.
+ Weight::from_parts(162_214_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)
@@ -240,34 +239,22 @@ 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: `1951`
+ // Measured: `1812`
// Estimated: `4764`
- // Minimum execution time: 83_049_000 picoseconds.
- Weight::from_parts(85_094_312, 0)
+ // Minimum execution time: 64_097_000 picoseconds.
+ Weight::from_parts(65_875_601, 0)
.saturating_add(Weight::from_parts(0, 4764))
- // Standard Error: 2_125
- .saturating_add(Weight::from_parts(65_947, 0).saturating_mul(s.into()))
+ // Standard Error: 1_159
+ .saturating_add(Weight::from_parts(56_855, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(7))
.saturating_add(T::DbWeight::get().writes(3))
- }
- /// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`)
- fn set_commission_claim_permission() -> Weight {
- // Proof Size summary in bytes:
- // Measured: `498`
- // Estimated: `3719`
- // Minimum execution time: 15_178_000 picoseconds.
- Weight::from_parts(15_566_000, 0)
- .saturating_add(Weight::from_parts(0, 3719))
- .saturating_add(T::DbWeight::get().reads(1))
- .saturating_add(T::DbWeight::get().writes(1))
}
/// Storage: `NominationPools::PoolMembers` (r:1 w:1)
/// Proof: `NominationPools::PoolMembers` (`max_values`: None, `max_size`: Some(717), added: 3192, mode: `MaxEncodedLen`)
/// Storage: `Staking::CurrentEra` (r:1 w:0)
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `NominationPools::BondedPools` (r:1 w:1)
- /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(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)
@@ -287,13 +274,15 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo
/// Storage: `NominationPools::ClaimPermissions` (r:0 w:1)
/// Proof: `NominationPools::ClaimPermissions` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`.
- fn withdraw_unbonded_update(_s: u32, ) -> Weight {
+ fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `2341`
+ // Measured: `2202`
// Estimated: `4764`
- // Minimum execution time: 155_545_000 picoseconds.
- Weight::from_parts(165_965_902, 0)
+ // Minimum execution time: 123_066_000 picoseconds.
+ Weight::from_parts(128_330_416, 0)
.saturating_add(Weight::from_parts(0, 4764))
+ // Standard Error: 2_615
+ .saturating_add(Weight::from_parts(64_561, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(11))
.saturating_add(T::DbWeight::get().writes(9))
}
@@ -302,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)
@@ -346,13 +335,13 @@ 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: `2774`
+ // Measured: `2625`
// Estimated: `8538`
- // Minimum execution time: 275_990_000 picoseconds.
- Weight::from_parts(282_952_751, 0)
+ // Minimum execution time: 227_796_000 picoseconds.
+ Weight::from_parts(235_271_199, 0)
.saturating_add(Weight::from_parts(0, 8538))
- // Standard Error: 3_277
- .saturating_add(Weight::from_parts(7_520, 0).saturating_mul(s.into()))
+ // Standard Error: 3_843
+ .saturating_add(Weight::from_parts(12_868, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(24))
.saturating_add(T::DbWeight::get().writes(20))
}
@@ -380,10 +369,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::Ledger` (r:1 w:1)
- /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, 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)
@@ -399,21 +384,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: `1341`
+ // Measured: `1100`
// Estimated: `8538`
- // Minimum execution time: 198_752_000 picoseconds.
- Weight::from_parts(202_391_000, 0)
+ // Minimum execution time: 165_933_000 picoseconds.
+ Weight::from_parts(170_178_000, 0)
.saturating_add(Weight::from_parts(0, 8538))
- .saturating_add(T::DbWeight::get().reads(25))
+ .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)
@@ -439,36 +426,36 @@ impl