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 pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1971 + n * (1 ±0)` + // Measured: `1825` // Estimated: `4556 + n * (2520 ±0)` - // Minimum execution time: 76_365_000 picoseconds. - Weight::from_parts(77_488_141, 0) + // Minimum execution time: 58_825_000 picoseconds. + Weight::from_parts(59_876_876, 0) .saturating_add(Weight::from_parts(0, 4556)) - // Standard Error: 10_272 - .saturating_add(Weight::from_parts(1_912_300, 0).saturating_mul(n.into())) + // Standard Error: 8_155 + .saturating_add(Weight::from_parts(1_564_827, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into())) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:1 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) fn set_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1503` + // Measured: `1397` // Estimated: `4556` - // Minimum execution time: 38_245_000 picoseconds. - Weight::from_parts(39_857_000, 0) + // Minimum execution time: 30_883_000 picoseconds. + Weight::from_parts(31_759_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `NominationPools::Metadata` (r:1 w:1) /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(270), added: 2745, mode: `MaxEncodedLen`) /// Storage: `NominationPools::CounterForMetadata` (r:1 w:1) @@ -476,13 +463,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `497` + // Measured: `498` // Estimated: `3735` - // Minimum execution time: 13_877_000 picoseconds. - Weight::from_parts(15_144_702, 0) + // Minimum execution time: 12_033_000 picoseconds. + Weight::from_parts(12_793_361, 0) .saturating_add(Weight::from_parts(0, 3735)) - // Standard Error: 667 - .saturating_add(Weight::from_parts(2_999, 0).saturating_mul(n.into())) + // Standard Error: 121 + .saturating_add(Weight::from_parts(1_506, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -502,25 +489,25 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_131_000 picoseconds. - Weight::from_parts(4_837_000, 0) + // Minimum execution time: 3_424_000 picoseconds. + Weight::from_parts(3_641_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) fn update_roles() -> Weight { // Proof Size summary in bytes: - // Measured: `497` - // Estimated: `3685` - // Minimum execution time: 18_166_000 picoseconds. - Weight::from_parts(19_987_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) + // Measured: `498` + // Estimated: `3719` + // Minimum execution time: 15_568_000 picoseconds. + Weight::from_parts(16_308_000, 0) + .saturating_add(Weight::from_parts(0, 3719)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:1 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Ledger` (r:1 w:0) @@ -539,16 +526,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `2225` + // Measured: `1994` // Estimated: `4556` - // Minimum execution time: 73_463_000 picoseconds. - Weight::from_parts(77_031_000, 0) + // Minimum execution time: 57_790_000 picoseconds. + Weight::from_parts(59_737_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `NominationPools::RewardPools` (r:1 w:1) /// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) /// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0) @@ -557,37 +544,49 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `736` - // Estimated: `3685` - // Minimum execution time: 37_527_000 picoseconds. - Weight::from_parts(39_710_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) + // Measured: `770` + // Estimated: `3719` + // Minimum execution time: 32_539_000 picoseconds. + Weight::from_parts(33_350_000, 0) + .saturating_add(Weight::from_parts(0, 3719)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0) /// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_commission_max() -> Weight { // Proof Size summary in bytes: - // Measured: `537` - // Estimated: `3685` - // Minimum execution time: 18_325_000 picoseconds. - Weight::from_parts(19_739_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) + // Measured: `538` + // Estimated: `3719` + // Minimum execution time: 15_494_000 picoseconds. + Weight::from_parts(16_101_000, 0) + .saturating_add(Weight::from_parts(0, 3719)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) fn set_commission_change_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `497` - // Estimated: `3685` - // Minimum execution time: 17_448_000 picoseconds. - Weight::from_parts(19_060_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) + // Measured: `498` + // Estimated: `3719` + // Minimum execution time: 15_208_000 picoseconds. + Weight::from_parts(16_103_000, 0) + .saturating_add(Weight::from_parts(0, 3719)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `NominationPools::BondedPools` (r:1 w:1) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + fn set_commission_claim_permission() -> Weight { + // Proof Size summary in bytes: + // Measured: `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)) } @@ -599,14 +598,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `508` // Estimated: `4182` - // Minimum execution time: 15_782_000 picoseconds. - Weight::from_parts(16_541_000, 0) + // Minimum execution time: 13_469_000 picoseconds. + Weight::from_parts(13_897_000, 0) .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `NominationPools::RewardPools` (r:1 w:1) /// Proof: `NominationPools::RewardPools` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) /// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0) @@ -615,16 +614,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `934` - // Estimated: `3685` - // Minimum execution time: 70_823_000 picoseconds. - Weight::from_parts(71_850_000, 0) - .saturating_add(Weight::from_parts(0, 3685)) + // Measured: `968` + // Estimated: `3719` + // Minimum execution time: 60_633_000 picoseconds. + Weight::from_parts(62_119_000, 0) + .saturating_add(Weight::from_parts(0, 3719)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:1) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -633,10 +632,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) fn adjust_pool_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `979` + // Measured: `947` // Estimated: `4764` - // Minimum execution time: 78_655_000 picoseconds. - Weight::from_parts(82_132_000, 0) + // Minimum execution time: 66_968_000 picoseconds. + Weight::from_parts(68_138_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/relay/paseo/src/weights/pallet_offences.rs b/relay/paseo/src/weights/pallet_offences.rs index f0a9d7d..e469a16 100644 --- a/relay/paseo/src/weights/pallet_offences.rs +++ b/relay/paseo/src/weights/pallet_offences.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_offences` //! -//! 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_offences // --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)] @@ -51,67 +46,6 @@ use core::marker::PhantomData; /// Weight functions for `pallet_offences`. pub struct WeightInfo(PhantomData); impl pallet_offences::WeightInfo for WeightInfo { - /// Storage: `Offences::ConcurrentReportsIndex` (r:1 w:1) - /// Proof: `Offences::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Offences::Reports` (r:100 w:100) - /// Proof: `Offences::Reports` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Staking::SlashRewardFraction` (r:1 w:0) - /// Proof: `Staking::SlashRewardFraction` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Staking::ActiveEra` (r:1 w:0) - /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`) - /// Storage: `Staking::ErasStartSessionIndex` (r:1 w:0) - /// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) - /// Storage: `Staking::Invulnerables` (r:1 w:0) - /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Staking::ValidatorSlashInEra` (r:100 w:100) - /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `Staking::SlashingSpans` (r:1700 w:1700) - /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Staking::SpanSlash` (r:1700 w:1700) - /// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`) - /// Storage: `Staking::Validators` (r:100 w:100) - /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) - /// Storage: `Staking::CounterForValidators` (r:1 w:1) - /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `VoterList::ListNodes` (r:299 w:299) - /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `VoterList::ListBags` (r:1 w:1) - /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) - /// Storage: `VoterList::CounterForListNodes` (r:1 w:1) - /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Staking::Nominators` (r:100 w:0) - /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) - /// Storage: `Staking::OffendingValidators` (r:1 w:1) - /// Proof: `Staking::OffendingValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Session::Validators` (r:1 w:0) - /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Staking::NominatorSlashInEra` (r:1600 w:1600) - /// Proof: `Staking::NominatorSlashInEra` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `Staking::UnappliedSlashes` (r:1 w:1) - /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[1, 100]`. - /// The range of component `o` is `[2, 100]`. - /// The range of component `n` is `[0, 16]`. - fn report_offence_im_online(_r: u32, o: u32, n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + n * (3454 ±0) + o * (1042 ±0)` - // Estimated: `88747 + n * (157019 ±40) + o * (26384 ±6)` - // Minimum execution time: 473_782_000 picoseconds. - Weight::from_parts(479_341_000, 0) - .saturating_add(Weight::from_parts(0, 88747)) - // Standard Error: 3_762_212 - .saturating_add(Weight::from_parts(371_072_722, 0).saturating_mul(o.into())) - // Standard Error: 22_860_891 - .saturating_add(Weight::from_parts(350_723_087, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(124)) - .saturating_add(T::DbWeight::get().reads((37_u64).saturating_mul(o.into()))) - .saturating_add(T::DbWeight::get().reads((187_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(117)) - .saturating_add(T::DbWeight::get().writes((36_u64).saturating_mul(o.into()))) - .saturating_add(T::DbWeight::get().writes((187_u64).saturating_mul(n.into()))) - .saturating_add(Weight::from_parts(0, 157019).saturating_mul(n.into())) - .saturating_add(Weight::from_parts(0, 26384).saturating_mul(o.into())) - } /// Storage: `Offences::ConcurrentReportsIndex` (r:1 w:1) /// Proof: `Offences::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Offences::Reports` (r:1 w:1) @@ -153,13 +87,13 @@ impl pallet_offences::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16]`. fn report_offence_grandpa(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1863 + n * (60 ±0)` + // Measured: `1892 + n * (60 ±0)` // Estimated: `5520 + n * (2551 ±0)` - // Minimum execution time: 79_320_000 picoseconds. - Weight::from_parts(88_196_115, 0) + // Minimum execution time: 78_630_000 picoseconds. + Weight::from_parts(88_665_721, 0) .saturating_add(Weight::from_parts(0, 5520)) - // Standard Error: 30_338 - .saturating_add(Weight::from_parts(10_619_584, 0).saturating_mul(n.into())) + // Standard Error: 26_232 + .saturating_add(Weight::from_parts(10_390_293, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(13)) @@ -207,13 +141,13 @@ impl pallet_offences::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16]`. fn report_offence_babe(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1863 + n * (60 ±0)` + // Measured: `1892 + n * (60 ±0)` // Estimated: `5520 + n * (2551 ±0)` - // Minimum execution time: 78_599_000 picoseconds. - Weight::from_parts(87_677_606, 0) + // Minimum execution time: 79_484_000 picoseconds. + Weight::from_parts(88_650_780, 0) .saturating_add(Weight::from_parts(0, 5520)) - // Standard Error: 30_607 - .saturating_add(Weight::from_parts(10_829_813, 0).saturating_mul(n.into())) + // Standard Error: 25_915 + .saturating_add(Weight::from_parts(10_372_668, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(13)) diff --git a/relay/paseo/src/weights/pallet_preimage.rs b/relay/paseo/src/weights/pallet_preimage.rs index 85354c1..65e13d7 100644 --- a/relay/paseo/src/weights/pallet_preimage.rs +++ b/relay/paseo/src/weights/pallet_preimage.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_preimage` //! //! 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_preimage // --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_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 46_369_000 picoseconds. - Weight::from_parts(212_570_052, 0) + // Minimum execution time: 41_730_000 picoseconds. + Weight::from_parts(157_307_237, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 11 - .saturating_add(Weight::from_parts(2_297, 0).saturating_mul(s.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_961, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -79,11 +78,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 16_036_000 picoseconds. - Weight::from_parts(16_494_000, 0) + // Minimum execution time: 13_779_000 picoseconds. + Weight::from_parts(14_046_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_553, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(2_237, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,11 +97,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 15_461_000 picoseconds. - Weight::from_parts(15_562_000, 0) + // Minimum execution time: 13_313_000 picoseconds. + Weight::from_parts(13_419_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_561, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(2_237, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -118,8 +117,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `244` // Estimated: `3556` - // Minimum execution time: 58_588_000 picoseconds. - Weight::from_parts(60_596_000, 0) + // Minimum execution time: 45_264_000 picoseconds. + Weight::from_parts(46_985_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -134,8 +133,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 28_610_000 picoseconds. - Weight::from_parts(31_195_000, 0) + // Minimum execution time: 20_724_000 picoseconds. + Weight::from_parts(22_378_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -148,8 +147,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 23_897_000 picoseconds. - Weight::from_parts(25_658_000, 0) + // Minimum execution time: 16_684_000 picoseconds. + Weight::from_parts(18_157_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -162,8 +161,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 17_803_000 picoseconds. - Weight::from_parts(20_173_000, 0) + // Minimum execution time: 11_427_000 picoseconds. + Weight::from_parts(12_332_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -176,8 +175,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 15_385_000 picoseconds. - Weight::from_parts(18_321_000, 0) + // Minimum execution time: 12_974_000 picoseconds. + Weight::from_parts(13_708_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -190,8 +189,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 11_583_000 picoseconds. - Weight::from_parts(12_731_000, 0) + // Minimum execution time: 9_100_000 picoseconds. + Weight::from_parts(9_521_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -206,8 +205,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 24_418_000 picoseconds. - Weight::from_parts(28_639_000, 0) + // Minimum execution time: 18_493_000 picoseconds. + Weight::from_parts(19_966_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -220,8 +219,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 10_436_000 picoseconds. - Weight::from_parts(11_226_000, 0) + // Minimum execution time: 8_947_000 picoseconds. + Weight::from_parts(9_202_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -234,8 +233,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 12_055_000 picoseconds. - Weight::from_parts(12_688_000, 0) + // Minimum execution time: 8_868_000 picoseconds. + Weight::from_parts(9_045_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -253,11 +252,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + n * (227 ±0)` // Estimated: `990 + n * (2603 ±0)` - // Minimum execution time: 54_224_000 picoseconds. - Weight::from_parts(54_836_000, 0) + // Minimum execution time: 48_132_000 picoseconds. + Weight::from_parts(48_562_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 45_287 - .saturating_add(Weight::from_parts(54_812_040, 0).saturating_mul(n.into())) + // Standard Error: 34_704 + .saturating_add(Weight::from_parts(50_038_311, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) diff --git a/relay/paseo/src/weights/pallet_proxy.rs b/relay/paseo/src/weights/pallet_proxy.rs index fcb7fec..ac14a22 100644 --- a/relay/paseo/src/weights/pallet_proxy.rs +++ b/relay/paseo/src/weights/pallet_proxy.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_proxy` //! //! 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_proxy // --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,11 +53,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 12_968_000 picoseconds. - Weight::from_parts(13_464_065, 0) + // Minimum execution time: 11_100_000 picoseconds. + Weight::from_parts(11_788_672, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 862 - .saturating_add(Weight::from_parts(39_514, 0).saturating_mul(p.into())) + // Standard Error: 1_058 + .saturating_add(Weight::from_parts(33_449, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -73,13 +72,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `416 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 37_218_000 picoseconds. - Weight::from_parts(37_392_257, 0) + // Minimum execution time: 32_576_000 picoseconds. + Weight::from_parts(32_755_307, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 3_183 - .saturating_add(Weight::from_parts(177_548, 0).saturating_mul(a.into())) - // Standard Error: 3_289 - .saturating_add(Weight::from_parts(29_172, 0).saturating_mul(p.into())) + // Standard Error: 1_827 + .saturating_add(Weight::from_parts(135_201, 0).saturating_mul(a.into())) + // Standard Error: 1_888 + .saturating_add(Weight::from_parts(45_136, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -93,13 +92,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `331 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 22_236_000 picoseconds. - Weight::from_parts(23_256_771, 0) + // Minimum execution time: 19_395_000 picoseconds. + Weight::from_parts(19_982_228, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_416 - .saturating_add(Weight::from_parts(156_426, 0).saturating_mul(a.into())) - // Standard Error: 2_497 - .saturating_add(Weight::from_parts(7_204, 0).saturating_mul(p.into())) + // Standard Error: 2_225 + .saturating_add(Weight::from_parts(142_311, 0).saturating_mul(a.into())) + // Standard Error: 2_299 + .saturating_add(Weight::from_parts(14_218, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,13 +112,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `331 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 22_354_000 picoseconds. - Weight::from_parts(23_242_646, 0) + // Minimum execution time: 19_939_000 picoseconds. + Weight::from_parts(19_978_151, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_501 - .saturating_add(Weight::from_parts(156_803, 0).saturating_mul(a.into())) - // Standard Error: 2_584 - .saturating_add(Weight::from_parts(9_249, 0).saturating_mul(p.into())) + // Standard Error: 2_187 + .saturating_add(Weight::from_parts(138_370, 0).saturating_mul(a.into())) + // Standard Error: 2_260 + .saturating_add(Weight::from_parts(17_190, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -135,13 +134,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `348 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 33_530_000 picoseconds. - Weight::from_parts(33_463_631, 0) + // Minimum execution time: 29_518_000 picoseconds. + Weight::from_parts(29_575_104, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_571 - .saturating_add(Weight::from_parts(148_020, 0).saturating_mul(a.into())) - // Standard Error: 1_623 - .saturating_add(Weight::from_parts(40_519, 0).saturating_mul(p.into())) + // Standard Error: 1_822 + .saturating_add(Weight::from_parts(126_462, 0).saturating_mul(a.into())) + // Standard Error: 1_883 + .saturating_add(Weight::from_parts(34_795, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -152,11 +151,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 21_291_000 picoseconds. - Weight::from_parts(22_486_833, 0) + // Minimum execution time: 19_501_000 picoseconds. + Weight::from_parts(20_180_931, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 946 - .saturating_add(Weight::from_parts(50_469, 0).saturating_mul(p.into())) + // Standard Error: 1_010 + .saturating_add(Weight::from_parts(38_586, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -167,11 +166,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 21_750_000 picoseconds. - Weight::from_parts(22_790_023, 0) + // Minimum execution time: 19_029_000 picoseconds. + Weight::from_parts(19_985_840, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_608 - .saturating_add(Weight::from_parts(46_878, 0).saturating_mul(p.into())) + // Standard Error: 1_465 + .saturating_add(Weight::from_parts(43_972, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,11 +181,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 20_281_000 picoseconds. - Weight::from_parts(21_085_329, 0) + // Minimum execution time: 18_092_000 picoseconds. + Weight::from_parts(18_768_625, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_072 - .saturating_add(Weight::from_parts(38_906, 0).saturating_mul(p.into())) + // Standard Error: 997 + .saturating_add(Weight::from_parts(36_217, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -197,11 +196,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `101` // Estimated: `4706` - // Minimum execution time: 22_758_000 picoseconds. - Weight::from_parts(24_068_261, 0) + // Minimum execution time: 20_502_000 picoseconds. + Weight::from_parts(21_203_497, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 18_988 - .saturating_add(Weight::from_parts(50_607, 0).saturating_mul(p.into())) + // Standard Error: 976 + .saturating_add(Weight::from_parts(5_692, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -212,11 +211,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `126 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 21_325_000 picoseconds. - Weight::from_parts(21_943_167, 0) + // Minimum execution time: 18_439_000 picoseconds. + Weight::from_parts(19_470_409, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 2_386 - .saturating_add(Weight::from_parts(53_712, 0).saturating_mul(p.into())) + // Standard Error: 1_000 + .saturating_add(Weight::from_parts(27_772, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/relay/paseo/src/weights/pallet_referenda.rs b/relay/paseo/src/weights/pallet_referenda.rs index 2873ce9..0e4e3f2 100644 --- a/relay/paseo/src/weights/pallet_referenda.rs +++ b/relay/paseo/src/weights/pallet_referenda.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_referenda` //! //! 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_referenda // --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,8 +56,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `186` // Estimated: `42428` - // Minimum execution time: 33_445_000 picoseconds. - Weight::from_parts(34_026_000, 0) + // Minimum execution time: 28_309_000 picoseconds. + Weight::from_parts(29_092_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -71,8 +70,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `83866` - // Minimum execution time: 48_969_000 picoseconds. - Weight::from_parts(50_386_000, 0) + // Minimum execution time: 40_137_000 picoseconds. + Weight::from_parts(40_975_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -89,8 +88,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3226` // Estimated: `42428` - // Minimum execution time: 64_745_000 picoseconds. - Weight::from_parts(67_145_000, 0) + // Minimum execution time: 53_644_000 picoseconds. + Weight::from_parts(54_990_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -107,8 +106,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3246` // Estimated: `42428` - // Minimum execution time: 65_590_000 picoseconds. - Weight::from_parts(69_336_000, 0) + // Minimum execution time: 53_120_000 picoseconds. + Weight::from_parts(54_303_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -123,8 +122,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `83866` - // Minimum execution time: 59_036_000 picoseconds. - Weight::from_parts(61_433_000, 0) + // Minimum execution time: 48_446_000 picoseconds. + Weight::from_parts(49_527_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -139,8 +138,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `83866` - // Minimum execution time: 58_274_000 picoseconds. - Weight::from_parts(59_966_000, 0) + // Minimum execution time: 47_170_000 picoseconds. + Weight::from_parts(48_568_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -151,8 +150,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `279` // Estimated: `4401` - // Minimum execution time: 27_728_000 picoseconds. - Weight::from_parts(29_451_000, 0) + // Minimum execution time: 22_858_000 picoseconds. + Weight::from_parts(23_535_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -163,8 +162,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `4401` - // Minimum execution time: 27_474_000 picoseconds. - Weight::from_parts(29_482_000, 0) + // Minimum execution time: 23_093_000 picoseconds. + Weight::from_parts(23_778_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -177,8 +176,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `83866` - // Minimum execution time: 33_709_000 picoseconds. - Weight::from_parts(34_644_000, 0) + // Minimum execution time: 26_219_000 picoseconds. + Weight::from_parts(26_982_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -193,8 +192,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `588` // Estimated: `83866` - // Minimum execution time: 93_181_000 picoseconds. - Weight::from_parts(95_579_000, 0) + // Minimum execution time: 77_331_000 picoseconds. + Weight::from_parts(78_613_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -207,8 +206,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `102` // Estimated: `5477` - // Minimum execution time: 9_471_000 picoseconds. - Weight::from_parts(10_380_000, 0) + // Minimum execution time: 8_108_000 picoseconds. + Weight::from_parts(8_497_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -223,8 +222,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3116` // Estimated: `42428` - // Minimum execution time: 47_802_000 picoseconds. - Weight::from_parts(48_920_000, 0) + // Minimum execution time: 39_409_000 picoseconds. + Weight::from_parts(41_282_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -239,8 +238,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3116` // Estimated: `42428` - // Minimum execution time: 50_732_000 picoseconds. - Weight::from_parts(52_615_000, 0) + // Minimum execution time: 42_239_000 picoseconds. + Weight::from_parts(43_303_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -253,8 +252,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2939` // Estimated: `5477` - // Minimum execution time: 25_632_000 picoseconds. - Weight::from_parts(26_486_000, 0) + // Minimum execution time: 20_393_000 picoseconds. + Weight::from_parts(20_859_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -267,8 +266,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2939` // Estimated: `5477` - // Minimum execution time: 25_251_000 picoseconds. - Weight::from_parts(26_061_000, 0) + // Minimum execution time: 20_617_000 picoseconds. + Weight::from_parts(21_626_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -283,8 +282,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2943` // Estimated: `5477` - // Minimum execution time: 29_593_000 picoseconds. - Weight::from_parts(30_508_000, 0) + // Minimum execution time: 24_457_000 picoseconds. + Weight::from_parts(25_297_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -299,8 +298,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2963` // Estimated: `5477` - // Minimum execution time: 29_486_000 picoseconds. - Weight::from_parts(31_005_000, 0) + // Minimum execution time: 24_396_000 picoseconds. + Weight::from_parts(25_169_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -313,8 +312,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `299` // Estimated: `42428` - // Minimum execution time: 22_296_000 picoseconds. - Weight::from_parts(22_960_000, 0) + // Minimum execution time: 17_827_000 picoseconds. + Weight::from_parts(18_289_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -327,8 +326,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `42428` - // Minimum execution time: 22_674_000 picoseconds. - Weight::from_parts(23_421_000, 0) + // Minimum execution time: 17_946_000 picoseconds. + Weight::from_parts(18_590_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -339,8 +338,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `4401` - // Minimum execution time: 14_256_000 picoseconds. - Weight::from_parts(14_509_000, 0) + // Minimum execution time: 11_145_000 picoseconds. + Weight::from_parts(11_686_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -355,8 +354,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `42428` - // Minimum execution time: 29_708_000 picoseconds. - Weight::from_parts(30_533_000, 0) + // Minimum execution time: 24_506_000 picoseconds. + Weight::from_parts(25_095_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -371,8 +370,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `42428` - // Minimum execution time: 31_929_000 picoseconds. - Weight::from_parts(32_813_000, 0) + // Minimum execution time: 26_090_000 picoseconds. + Weight::from_parts(26_804_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -385,8 +384,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `400` // Estimated: `42428` - // Minimum execution time: 29_116_000 picoseconds. - Weight::from_parts(30_164_000, 0) + // Minimum execution time: 24_053_000 picoseconds. + Weight::from_parts(24_870_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -399,8 +398,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `383` // Estimated: `42428` - // Minimum execution time: 29_755_000 picoseconds. - Weight::from_parts(30_477_000, 0) + // Minimum execution time: 24_788_000 picoseconds. + Weight::from_parts(25_701_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -413,8 +412,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `400` // Estimated: `42428` - // Minimum execution time: 28_942_000 picoseconds. - Weight::from_parts(29_792_000, 0) + // Minimum execution time: 23_284_000 picoseconds. + Weight::from_parts(24_258_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -427,8 +426,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `404` // Estimated: `42428` - // Minimum execution time: 27_481_000 picoseconds. - Weight::from_parts(28_376_000, 0) + // Minimum execution time: 22_230_000 picoseconds. + Weight::from_parts(23_146_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -443,8 +442,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `404` // Estimated: `83866` - // Minimum execution time: 40_430_000 picoseconds. - Weight::from_parts(41_686_000, 0) + // Minimum execution time: 33_389_000 picoseconds. + Weight::from_parts(34_560_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -457,8 +456,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `400` // Estimated: `42428` - // Minimum execution time: 29_265_000 picoseconds. - Weight::from_parts(30_194_000, 0) + // Minimum execution time: 24_457_000 picoseconds. + Weight::from_parts(25_279_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -475,8 +474,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4401` - // Minimum execution time: 20_280_000 picoseconds. - Weight::from_parts(21_037_000, 0) + // Minimum execution time: 16_834_000 picoseconds. + Weight::from_parts(17_424_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -489,8 +488,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283` // Estimated: `4401` - // Minimum execution time: 16_130_000 picoseconds. - Weight::from_parts(16_577_000, 0) + // Minimum execution time: 13_360_000 picoseconds. + Weight::from_parts(13_881_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/pallet_scheduler.rs b/relay/paseo/src/weights/pallet_scheduler.rs index 659d8bb..e2fed55 100644 --- a/relay/paseo/src/weights/pallet_scheduler.rs +++ b/relay/paseo/src/weights/pallet_scheduler.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_scheduler` //! //! 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_scheduler // --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_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1489` - // Minimum execution time: 3_584_000 picoseconds. - Weight::from_parts(3_866_000, 0) + // Minimum execution time: 3_025_000 picoseconds. + Weight::from_parts(3_146_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -66,11 +65,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_953_000 picoseconds. - Weight::from_parts(8_100_985, 0) + // Minimum execution time: 3_522_000 picoseconds. + Weight::from_parts(6_101_712, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 8_016 - .saturating_add(Weight::from_parts(812_336, 0).saturating_mul(s.into())) + // Standard Error: 1_305 + .saturating_add(Weight::from_parts(340_220, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,8 +77,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_883_000 picoseconds. - Weight::from_parts(3_992_000, 0) + // Minimum execution time: 2_973_000 picoseconds. + Weight::from_parts(3_173_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -93,11 +92,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 18_891_000 picoseconds. - Weight::from_parts(19_251_000, 0) + // Minimum execution time: 16_441_000 picoseconds. + Weight::from_parts(16_667_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(s.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_177, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -108,8 +107,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_428_000 picoseconds. - Weight::from_parts(5_823_000, 0) + // Minimum execution time: 4_377_000 picoseconds. + Weight::from_parts(4_591_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -117,24 +116,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_889_000 picoseconds. - Weight::from_parts(4_118_000, 0) + // Minimum execution time: 2_997_000 picoseconds. + Weight::from_parts(3_243_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_442_000 picoseconds. - Weight::from_parts(2_537_000, 0) + // Minimum execution time: 1_736_000 picoseconds. + Weight::from_parts(1_859_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_464_000 picoseconds. - Weight::from_parts(2_641_000, 0) + // Minimum execution time: 1_757_000 picoseconds. + Weight::from_parts(1_871_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -144,11 +143,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 10_972_000 picoseconds. - Weight::from_parts(13_759_930, 0) + // Minimum execution time: 9_310_000 picoseconds. + Weight::from_parts(12_133_208, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_034 - .saturating_add(Weight::from_parts(854_319, 0).saturating_mul(s.into())) + // Standard Error: 1_403 + .saturating_add(Weight::from_parts(368_667, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,11 +160,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 16_901_000 picoseconds. - Weight::from_parts(15_198_686, 0) + // Minimum execution time: 13_005_000 picoseconds. + Weight::from_parts(12_894_212, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_973 - .saturating_add(Weight::from_parts(1_567_102, 0).saturating_mul(s.into())) + // Standard Error: 990 + .saturating_add(Weight::from_parts(554_811, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,11 +177,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_784_000 picoseconds. - Weight::from_parts(18_242_745, 0) + // Minimum execution time: 12_416_000 picoseconds. + Weight::from_parts(16_030_565, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_816 - .saturating_add(Weight::from_parts(890_096, 0).saturating_mul(s.into())) + // Standard Error: 2_501 + .saturating_add(Weight::from_parts(408_097, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -195,11 +194,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `319 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 18_347_000 picoseconds. - Weight::from_parts(17_353_645, 0) + // Minimum execution time: 14_832_000 picoseconds. + Weight::from_parts(15_641_458, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 3_838 - .saturating_add(Weight::from_parts(1_604_878, 0).saturating_mul(s.into())) + // Standard Error: 1_737 + .saturating_add(Weight::from_parts(574_857, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/relay/paseo/src/weights/pallet_session.rs b/relay/paseo/src/weights/pallet_session.rs index 7df93c0..a066c9d 100644 --- a/relay/paseo/src/weights/pallet_session.rs +++ b/relay/paseo/src/weights/pallet_session.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_session` //! -//! 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_session // --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)] @@ -55,32 +50,32 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Session::NextKeys` (r:1 w:1) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Session::KeyOwner` (r:7 w:7) + /// Storage: `Session::KeyOwner` (r:6 w:6) /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `2152` - // Estimated: `20467` - // Minimum execution time: 59_953_000 picoseconds. - Weight::from_parts(62_079_000, 0) - .saturating_add(Weight::from_parts(0, 20467)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(8)) + // Measured: `1981` + // Estimated: `17821` + // Minimum execution time: 53_170_000 picoseconds. + Weight::from_parts(54_566_000, 0) + .saturating_add(Weight::from_parts(0, 17821)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Session::NextKeys` (r:1 w:1) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Session::KeyOwner` (r:0 w:7) + /// Storage: `Session::KeyOwner` (r:0 w:6) /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1851` - // Estimated: `5316` - // Minimum execution time: 41_347_000 picoseconds. - Weight::from_parts(42_664_000, 0) - .saturating_add(Weight::from_parts(0, 5316)) + // Measured: `1781` + // Estimated: `5246` + // Minimum execution time: 39_207_000 picoseconds. + Weight::from_parts(40_234_000, 0) + .saturating_add(Weight::from_parts(0, 5246)) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().writes(7)) } } diff --git a/relay/paseo/src/weights/pallet_staking.rs b/relay/paseo/src/weights/pallet_staking.rs index 9633aa9..d0906be 100644 --- a/relay/paseo/src/weights/pallet_staking.rs +++ b/relay/paseo/src/weights/pallet_staking.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_staking` //! -//! 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_staking // --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)] @@ -51,66 +46,8 @@ use core::marker::PhantomData; /// Weight functions for `pallet_staking`. pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { - /// Storage: `Staking::Ledger` (r:1 w:0) - /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) - /// Storage: `Staking::Payee` (r:1 w:1) - /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:1 w:0) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - fn update_payee() -> Weight { - // Proof Size summary in bytes: - // Measured: `1000` - // Estimated: `4556` - // Minimum execution time: 21_149_000 picoseconds. - Weight::from_parts(21_799_000, 0) - .saturating_add(Weight::from_parts(0, 4556)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Staking::Ledger` (r:5314 w:10628) - /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) - /// Storage: `Staking::Payee` (r:5314 w:0) - /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:0 w:5314) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// The range of component `i` is `[0, 5314]`. - fn deprecate_controller_batch(i: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `1375 + i * (147 ±0)` - // Estimated: `990 + i * (3566 ±0)` - // Minimum execution time: 1_616_000 picoseconds. - Weight::from_parts(1_712_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 37_039 - .saturating_add(Weight::from_parts(17_023_489, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) - .saturating_add(Weight::from_parts(0, 3566).saturating_mul(i.into())) - } - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// 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: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - fn restore_ledger() -> Weight { - // Proof Size summary in bytes: - // Measured: `1014` - // Estimated: `4764` - // Minimum execution time: 40_258_000 picoseconds. - Weight::from_parts(41_210_000, 0) - .saturating_add(Weight::from_parts(0, 4764)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) - } /// Storage: `Staking::Bonded` (r:1 w:1) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `Staking::CurrentEra` (r:1 w:0) - /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) @@ -121,12 +58,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `813` + // Measured: `846` // Estimated: `4764` - // Minimum execution time: 39_697_000 picoseconds. - Weight::from_parts(41_113_000, 0) + // Minimum execution time: 36_185_000 picoseconds. + Weight::from_parts(36_727_000, 0) .saturating_add(Weight::from_parts(0, 4764)) - .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Staking::Bonded` (r:1 w:0) @@ -143,10 +80,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn bond_extra() -> Weight { // Proof Size summary in bytes: - // Measured: `2024` + // Measured: `1986` // Estimated: `8877` - // Minimum execution time: 81_796_000 picoseconds. - Weight::from_parts(83_299_000, 0) + // Minimum execution time: 79_294_000 picoseconds. + Weight::from_parts(82_007_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) @@ -171,10 +108,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2231` + // Measured: `2193` // Estimated: `8877` - // Minimum execution time: 85_496_000 picoseconds. - Weight::from_parts(89_129_000, 0) + // Minimum execution time: 84_942_000 picoseconds. + Weight::from_parts(86_219_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(7)) @@ -192,13 +129,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1148` + // Measured: `1143` // Estimated: `4764` - // Minimum execution time: 40_068_000 picoseconds. - Weight::from_parts(41_793_790, 0) + // Minimum execution time: 38_664_000 picoseconds. + Weight::from_parts(40_022_498, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_207 - .saturating_add(Weight::from_parts(46_634, 0).saturating_mul(s.into())) + // Standard Error: 816 + .saturating_add(Weight::from_parts(43_304, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -233,13 +170,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2297 + s * (4 ±0)` + // Measured: `2192 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)` - // Minimum execution time: 84_458_000 picoseconds. - Weight::from_parts(91_914_460, 0) + // Minimum execution time: 82_077_000 picoseconds. + Weight::from_parts(88_438_908, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 3_231 - .saturating_add(Weight::from_parts(1_208_780, 0).saturating_mul(s.into())) + // Standard Error: 3_210 + .saturating_add(Weight::from_parts(1_205_633, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -269,10 +206,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `1430` + // Measured: `1388` // Estimated: `4556` - // Minimum execution time: 47_121_000 picoseconds. - Weight::from_parts(48_717_000, 0) + // Minimum execution time: 46_278_000 picoseconds. + Weight::from_parts(47_409_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) @@ -284,13 +221,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1214 + k * (569 ±0)` + // Measured: `1209 + k * (569 ±0)` // Estimated: `4556 + k * (3033 ±0)` - // Minimum execution time: 29_081_000 picoseconds. - Weight::from_parts(30_452_129, 0) + // Minimum execution time: 28_128_000 picoseconds. + Weight::from_parts(29_460_325, 0) .saturating_add(Weight::from_parts(0, 4556)) - // Standard Error: 11_070 - .saturating_add(Weight::from_parts(6_536_178, 0).saturating_mul(k.into())) + // Standard Error: 6_333 + .saturating_add(Weight::from_parts(6_278_355, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -321,13 +258,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1876 + n * (99 ±0)` + // Measured: `1834 + n * (99 ±0)` // Estimated: `6248 + n * (2520 ±0)` - // Minimum execution time: 59_956_000 picoseconds. - Weight::from_parts(59_208_949, 0) + // Minimum execution time: 58_465_000 picoseconds. + Weight::from_parts(57_323_059, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 19_426 - .saturating_add(Weight::from_parts(3_894_458, 0).saturating_mul(n.into())) + // Standard Error: 20_189 + .saturating_add(Weight::from_parts(3_836_835, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -349,10 +286,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `1685` + // Measured: `1580` // Estimated: `6248` - // Minimum execution time: 51_526_000 picoseconds. - Weight::from_parts(52_943_000, 0) + // Minimum execution time: 50_318_000 picoseconds. + Weight::from_parts(51_549_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -365,24 +302,40 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn set_payee() -> Weight { // Proof Size summary in bytes: - // Measured: `904` + // Measured: `899` // Estimated: `4556` - // Minimum execution time: 18_481_000 picoseconds. - Weight::from_parts(19_196_000, 0) + // Minimum execution time: 17_699_000 picoseconds. + Weight::from_parts(18_234_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Staking::Ledger` (r:1 w:0) + /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Payee` (r:1 w:1) + /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + fn update_payee() -> Weight { + // Proof Size summary in bytes: + // Measured: `1000` + // Estimated: `4556` + // Minimum execution time: 21_149_000 picoseconds. + Weight::from_parts(21_799_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } /// 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:2) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) fn set_controller() -> Weight { // Proof Size summary in bytes: - // Measured: `904` + // Measured: `899` // Estimated: `4556` - // Minimum execution time: 21_537_000 picoseconds. - Weight::from_parts(22_584_000, 0) + // Minimum execution time: 20_738_000 picoseconds. + Weight::from_parts(21_411_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -393,8 +346,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_272_000 picoseconds. - Weight::from_parts(2_445_000, 0) + // Minimum execution time: 1_949_000 picoseconds. + Weight::from_parts(2_142_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -404,8 +357,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_854_000 picoseconds. - Weight::from_parts(8_160_000, 0) + // Minimum execution time: 6_878_000 picoseconds. + Weight::from_parts(7_396_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -415,8 +368,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_725_000 picoseconds. - Weight::from_parts(8_052_000, 0) + // Minimum execution time: 7_095_000 picoseconds. + Weight::from_parts(7_333_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -426,8 +379,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_468_000 picoseconds. - Weight::from_parts(7_823_000, 0) + // Minimum execution time: 7_157_000 picoseconds. + Weight::from_parts(7_452_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -438,13 +391,33 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_294_000 picoseconds. - Weight::from_parts(2_668_007, 0) + // Minimum execution time: 2_143_000 picoseconds. + Weight::from_parts(2_406_182, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 33 - .saturating_add(Weight::from_parts(10_309, 0).saturating_mul(v.into())) + // Standard Error: 66 + .saturating_add(Weight::from_parts(12_060, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Staking::Ledger` (r:5314 w:10628) + /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Payee` (r:5314 w:0) + /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:0 w:5314) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// The range of component `i` is `[0, 5314]`. + fn deprecate_controller_batch(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1375 + i * (147 ±0)` + // Estimated: `990 + i * (3566 ±0)` + // Minimum execution time: 1_616_000 picoseconds. + Weight::from_parts(1_712_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 37_039 + .saturating_add(Weight::from_parts(17_023_489, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(i.into())) + } /// Storage: `Staking::SlashingSpans` (r:1 w:1) /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::Bonded` (r:1 w:1) @@ -476,13 +449,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2297 + s * (4 ±0)` + // Measured: `2192 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)` - // Minimum execution time: 82_605_000 picoseconds. - Weight::from_parts(89_061_775, 0) + // Minimum execution time: 79_017_000 picoseconds. + Weight::from_parts(85_362_161, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 3_439 - .saturating_add(Weight::from_parts(1_237_466, 0).saturating_mul(s.into())) + // Standard Error: 3_052 + .saturating_add(Weight::from_parts(1_209_060, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -493,32 +466,38 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `66572` - // Estimated: `70037` - // Minimum execution time: 136_385_000 picoseconds. - Weight::from_parts(1_200_700_238, 0) - .saturating_add(Weight::from_parts(0, 70037)) - // Standard Error: 76_782 - .saturating_add(Weight::from_parts(6_466_005, 0).saturating_mul(s.into())) + // Measured: `66605` + // Estimated: `70070` + // Minimum execution time: 130_478_000 picoseconds. + Weight::from_parts(1_191_159_716, 0) + .saturating_add(Weight::from_parts(0, 70070)) + // Standard Error: 76_593 + .saturating_add(Weight::from_parts(6_457_182, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Staking::CurrentEra` (r:1 w:0) - /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Staking::ErasValidatorReward` (r:1 w:0) - /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:513 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Ledger` (r:513 w:513) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasStakersClipped` (r:1 w:0) /// Proof: `Staking::ErasStakersClipped` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Staking::ErasStakersOverview` (r:1 w:0) + /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `Staking::ClaimedRewards` (r:1 w:1) + /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `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::ErasValidatorReward` (r:1 w:0) + /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:513 w:513) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:513 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:513 w:513) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Staking::ErasStakersPaged` (r:1 w:0) + /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::ErasRewardPoints` (r:1 w:0) /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0) @@ -528,16 +507,16 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `58213 + n * (388 ±0)` - // Estimated: `53081 + n * (3774 ±2)` - // Minimum execution time: 147_341_000 picoseconds. - Weight::from_parts(40_653_193, 0) - .saturating_add(Weight::from_parts(0, 53081)) - // Standard Error: 100_332 - .saturating_add(Weight::from_parts(51_207_677, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(11)) + // Measured: `58318 + n * (388 ±0)` + // Estimated: `53178 + n * (3774 ±2)` + // Minimum execution time: 144_157_000 picoseconds. + Weight::from_parts(122_185_559, 0) + .saturating_add(Weight::from_parts(0, 53178)) + // Standard Error: 17_820 + .saturating_add(Weight::from_parts(46_150_479, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into())) } @@ -556,13 +535,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2025 + l * (5 ±0)` + // Measured: `1987 + l * (5 ±0)` // Estimated: `8877` - // Minimum execution time: 77_847_000 picoseconds. - Weight::from_parts(81_060_295, 0) + // Minimum execution time: 76_391_000 picoseconds. + Weight::from_parts(79_140_188, 0) .saturating_add(Weight::from_parts(0, 8877)) - // Standard Error: 4_191 - .saturating_add(Weight::from_parts(50_598, 0).saturating_mul(l.into())) + // Standard Error: 4_099 + .saturating_add(Weight::from_parts(36_645, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -595,13 +574,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2297 + s * (4 ±0)` + // Measured: `2192 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)` - // Minimum execution time: 92_710_000 picoseconds. - Weight::from_parts(94_394_878, 0) + // Minimum execution time: 87_934_000 picoseconds. + Weight::from_parts(90_382_756, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 3_210 - .saturating_add(Weight::from_parts(1_237_728, 0).saturating_mul(s.into())) + // Standard Error: 3_093 + .saturating_add(Weight::from_parts(1_204_911, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -629,12 +608,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::MinimumValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:1) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Staking::ErasStakersClipped` (r:0 w:10) - /// Proof: `Staking::ErasStakersClipped` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:10) /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Staking::ErasStakers` (r:0 w:10) - /// Proof: `Staking::ErasStakers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Staking::ErasStakersPaged` (r:0 w:10) + /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Staking::ErasStakersOverview` (r:0 w:10) + /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasTotalStake` (r:0 w:1) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasStartSessionIndex` (r:0 w:1) @@ -647,17 +626,17 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + n * (716 ±0) + v * (3594 ±0)` // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` - // Minimum execution time: 545_420_000 picoseconds. - Weight::from_parts(549_587_000, 0) + // Minimum execution time: 510_885_000 picoseconds. + Weight::from_parts(516_119_000, 0) .saturating_add(Weight::from_parts(0, 456136)) - // Standard Error: 2_048_437 - .saturating_add(Weight::from_parts(64_611_184, 0).saturating_mul(v.into())) - // Standard Error: 204_115 - .saturating_add(Weight::from_parts(18_936_024, 0).saturating_mul(n.into())) + // Standard Error: 2_051_919 + .saturating_add(Weight::from_parts(66_723_339, 0).saturating_mul(v.into())) + // Standard Error: 204_462 + .saturating_add(Weight::from_parts(17_965_193, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(184)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) @@ -682,15 +661,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3190 + n * (907 ±0) + v * (391 ±0)` + // Measured: `3148 + n * (907 ±0) + v * (391 ±0)` // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` - // Minimum execution time: 35_021_192_000 picoseconds. - Weight::from_parts(36_669_101_000, 0) + // Minimum execution time: 33_801_679_000 picoseconds. + Weight::from_parts(34_019_210_000, 0) .saturating_add(Weight::from_parts(0, 456136)) - // Standard Error: 439_600 - .saturating_add(Weight::from_parts(5_191_250, 0).saturating_mul(v.into())) - // Standard Error: 439_600 - .saturating_add(Weight::from_parts(5_153_719, 0).saturating_mul(n.into())) + // Standard Error: 375_991 + .saturating_add(Weight::from_parts(5_073_971, 0).saturating_mul(v.into())) + // Standard Error: 375_991 + .saturating_add(Weight::from_parts(3_875_876, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(179)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) @@ -705,13 +684,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `916 + v * (50 ±0)` + // Measured: `912 + v * (50 ±0)` // Estimated: `3510 + v * (2520 ±0)` - // Minimum execution time: 2_549_857_000 picoseconds. - Weight::from_parts(133_124_760, 0) + // Minimum execution time: 2_412_116_000 picoseconds. + Weight::from_parts(91_440_611, 0) .saturating_add(Weight::from_parts(0, 3510)) - // Standard Error: 15_097 - .saturating_add(Weight::from_parts(5_104_432, 0).saturating_mul(v.into())) + // Standard Error: 7_234 + .saturating_add(Weight::from_parts(4_805_630, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into())) @@ -732,8 +711,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_727_000 picoseconds. - Weight::from_parts(3_968_000, 0) + // Minimum execution time: 3_463_000 picoseconds. + Weight::from_parts(3_624_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -753,11 +732,13 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_502_000 picoseconds. - Weight::from_parts(3_706_000, 0) + // Minimum execution time: 3_183_000 picoseconds. + Weight::from_parts(3_347_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:1) @@ -780,12 +761,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1808` + // Measured: `1902` // Estimated: `6248` - // Minimum execution time: 62_630_000 picoseconds. - Weight::from_parts(64_480_000, 0) + // Minimum execution time: 64_299_000 picoseconds. + Weight::from_parts(65_949_000, 0) .saturating_add(Weight::from_parts(0, 6248)) - .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Staking::MinCommission` (r:1 w:0) @@ -794,10 +775,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `627` + // Measured: `624` // Estimated: `3510` - // Minimum execution time: 11_920_000 picoseconds. - Weight::from_parts(12_278_000, 0) + // Minimum execution time: 11_184_000 picoseconds. + Weight::from_parts(11_725_000, 0) .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -808,9 +789,29 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_124_000 picoseconds. - Weight::from_parts(2_385_000, 0) + // Minimum execution time: 1_907_000 picoseconds. + Weight::from_parts(2_079_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// 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: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + fn restore_ledger() -> Weight { + // Proof Size summary in bytes: + // Measured: `1014` + // Estimated: `4764` + // Minimum execution time: 40_258_000 picoseconds. + Weight::from_parts(41_210_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } } diff --git a/relay/paseo/src/weights/pallet_sudo.rs b/relay/paseo/src/weights/pallet_sudo.rs deleted file mode 100644 index 86b600b..0000000 --- a/relay/paseo/src/weights/pallet_sudo.rs +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (C) Paseo and the various Paseo 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_sudo` -//! -//! 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: `[]` -//! 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 - -// Executed Command: -// ./polkadot-sdk/target/production/polkadot -// benchmark -// pallet -// --chain=./runtimes/paseo-chain-spec.json -// --steps=50 -// --repeat=20 -// --pallet=pallet_sudo -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./paseo-weights-1.2/ -// --header=./file_header.txt - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::Weight}; -use core::marker::PhantomData; - -/// Weight functions for `pallet_sudo`. -pub struct WeightInfo(PhantomData); -impl pallet_sudo::WeightInfo for WeightInfo { - /// Storage: `Sudo::Key` (r:1 w:1) - /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - fn set_key() -> Weight { - // Proof Size summary in bytes: - // Measured: `132` - // Estimated: `1517` - // Minimum execution time: 9_313_000 picoseconds. - Weight::from_parts(9_780_000, 0) - .saturating_add(Weight::from_parts(0, 1517)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Sudo::Key` (r:1 w:0) - /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - fn sudo() -> Weight { - // Proof Size summary in bytes: - // Measured: `132` - // Estimated: `1517` - // Minimum execution time: 10_388_000 picoseconds. - Weight::from_parts(10_816_000, 0) - .saturating_add(Weight::from_parts(0, 1517)) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: `Sudo::Key` (r:1 w:0) - /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - fn sudo_as() -> Weight { - // Proof Size summary in bytes: - // Measured: `132` - // Estimated: `1517` - // Minimum execution time: 9_819_000 picoseconds. - Weight::from_parts(10_458_000, 0) - .saturating_add(Weight::from_parts(0, 1517)) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: `Sudo::Key` (r:1 w:1) - /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - fn remove_key() -> Weight { - // Proof Size summary in bytes: - // Measured: `132` - // Estimated: `1517` - // Minimum execution time: 7_374_000 picoseconds. - Weight::from_parts(7_702_000, 0) - .saturating_add(Weight::from_parts(0, 1517)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } -} diff --git a/relay/paseo/src/weights/pallet_timestamp.rs b/relay/paseo/src/weights/pallet_timestamp.rs index f5c1fa9..8ea7a60 100644 --- a/relay/paseo/src/weights/pallet_timestamp.rs +++ b/relay/paseo/src/weights/pallet_timestamp.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_timestamp` //! //! 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_timestamp // --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_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `1493` - // Minimum execution time: 7_198_000 picoseconds. - Weight::from_parts(7_983_000, 0) + // Minimum execution time: 6_163_000 picoseconds. + Weight::from_parts(6_437_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,8 +64,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_718_000 picoseconds. - Weight::from_parts(3_890_000, 0) + // Minimum execution time: 3_235_000 picoseconds. + Weight::from_parts(3_378_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/relay/paseo/src/weights/pallet_treasury.rs b/relay/paseo/src/weights/pallet_treasury.rs index 3b37b78..a973f9e 100644 --- a/relay/paseo/src/weights/pallet_treasury.rs +++ b/relay/paseo/src/weights/pallet_treasury.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_treasury` //! //! 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-27, 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_treasury // --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,8 +56,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1887` - // Minimum execution time: 11_615_000 picoseconds. - Weight::from_parts(12_144_000, 0) + // Minimum execution time: 9_723_000 picoseconds. + Weight::from_parts(10_187_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -71,8 +70,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `143` // Estimated: `1489` - // Minimum execution time: 23_874_000 picoseconds. - Weight::from_parts(24_393_000, 0) + // Minimum execution time: 20_572_000 picoseconds. + Weight::from_parts(21_023_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -85,8 +84,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `301` // Estimated: `3593` - // Minimum execution time: 40_345_000 picoseconds. - Weight::from_parts(57_584_000, 0) + // Minimum execution time: 31_500_000 picoseconds. + Weight::from_parts(32_257_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -100,11 +99,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 8_519_000 picoseconds. - Weight::from_parts(10_766_176, 0) + // Minimum execution time: 6_910_000 picoseconds. + Weight::from_parts(8_782_990, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_990 - .saturating_add(Weight::from_parts(103_091, 0).saturating_mul(p.into())) + // Standard Error: 1_895 + .saturating_add(Weight::from_parts(105_912, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,8 +113,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 6_606_000 picoseconds. - Weight::from_parts(6_756_000, 0) + // Minimum execution time: 5_426_000 picoseconds. + Weight::from_parts(5_616_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,13 +132,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `264 + p * (251 ±0)` + // Measured: `285 + p * (251 ±0)` // Estimated: `1887 + p * (5206 ±0)` - // Minimum execution time: 31_832_000 picoseconds. - Weight::from_parts(52_346_741, 0) + // Minimum execution time: 27_682_000 picoseconds. + Weight::from_parts(22_668_590, 0) .saturating_add(Weight::from_parts(0, 1887)) - // Standard Error: 97_268 - .saturating_add(Weight::from_parts(36_035_149, 0).saturating_mul(p.into())) + // Standard Error: 20_024 + .saturating_add(Weight::from_parts(32_368_340, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -156,8 +155,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `4703` - // Minimum execution time: 19_063_000 picoseconds. - Weight::from_parts(19_687_000, 0) + // Minimum execution time: 17_122_000 picoseconds. + Weight::from_parts(17_668_000, 0) .saturating_add(Weight::from_parts(0, 4703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -178,10 +177,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `254` + // Measured: `287` // Estimated: `5318` - // Minimum execution time: 46_346_000 picoseconds. - Weight::from_parts(47_219_000, 0) + // Minimum execution time: 37_800_000 picoseconds. + Weight::from_parts(38_787_000, 0) .saturating_add(Weight::from_parts(0, 5318)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -194,8 +193,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `5318` - // Minimum execution time: 23_328_000 picoseconds. - Weight::from_parts(23_734_000, 0) + // Minimum execution time: 20_219_000 picoseconds. + Weight::from_parts(20_881_000, 0) .saturating_add(Weight::from_parts(0, 5318)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -206,8 +205,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `5318` - // Minimum execution time: 14_984_000 picoseconds. - Weight::from_parts(20_236_000, 0) + // Minimum execution time: 11_864_000 picoseconds. + Weight::from_parts(12_306_000, 0) .saturating_add(Weight::from_parts(0, 5318)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/pallet_utility.rs b/relay/paseo/src/weights/pallet_utility.rs index f750cb6..37f6144 100644 --- a/relay/paseo/src/weights/pallet_utility.rs +++ b/relay/paseo/src/weights/pallet_utility.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_utility` //! //! 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_utility // --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,18 +51,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_027_000 picoseconds. - Weight::from_parts(5_402_145, 0) + // Minimum execution time: 4_190_000 picoseconds. + Weight::from_parts(4_374_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_670 - .saturating_add(Weight::from_parts(3_798_311, 0).saturating_mul(c.into())) + // Standard Error: 727 + .saturating_add(Weight::from_parts(3_047_577, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_798_000 picoseconds. - Weight::from_parts(4_997_000, 0) + // Minimum execution time: 3_870_000 picoseconds. + Weight::from_parts(4_062_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -71,18 +70,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_889_000 picoseconds. - Weight::from_parts(6_789_092, 0) + // Minimum execution time: 4_364_000 picoseconds. + Weight::from_parts(8_083_696, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_214 - .saturating_add(Weight::from_parts(4_089_664, 0).saturating_mul(c.into())) + // Standard Error: 1_317 + .saturating_add(Weight::from_parts(3_261_490, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_060_000 picoseconds. - Weight::from_parts(7_376_000, 0) + // Minimum execution time: 5_934_000 picoseconds. + Weight::from_parts(6_169_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -90,10 +89,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_061_000 picoseconds. - Weight::from_parts(5_217_000, 0) + // Minimum execution time: 4_240_000 picoseconds. + Weight::from_parts(5_168_254, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_360 - .saturating_add(Weight::from_parts(3_821_307, 0).saturating_mul(c.into())) + // Standard Error: 1_284 + .saturating_add(Weight::from_parts(3_044_810, 0).saturating_mul(c.into())) } } diff --git a/relay/paseo/src/weights/pallet_vesting.rs b/relay/paseo/src/weights/pallet_vesting.rs index 6bc5153..b647387 100644 --- a/relay/paseo/src/weights/pallet_vesting.rs +++ b/relay/paseo/src/weights/pallet_vesting.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_vesting` //! //! 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_vesting // --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,15 +56,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `415 + l * (25 ±0) + s * (36 ±0)` + // Measured: `348 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 34_307_000 picoseconds. - Weight::from_parts(34_499_316, 0) + // Minimum execution time: 30_457_000 picoseconds. + Weight::from_parts(30_003_923, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_136 - .saturating_add(Weight::from_parts(69_501, 0).saturating_mul(l.into())) - // Standard Error: 5_581 - .saturating_add(Weight::from_parts(93_655, 0).saturating_mul(s.into())) + // Standard Error: 1_019 + .saturating_add(Weight::from_parts(35_627, 0).saturating_mul(l.into())) + // Standard Error: 1_814 + .saturating_add(Weight::from_parts(59_288, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -77,15 +76,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_unlocked(_l: u32, s: u32, ) -> Weight { + fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `415 + l * (25 ±0) + s * (36 ±0)` + // Measured: `348 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 36_911_000 picoseconds. - Weight::from_parts(42_043_931, 0) + // Minimum execution time: 32_180_000 picoseconds. + Weight::from_parts(32_379_213, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 18_012 - .saturating_add(Weight::from_parts(103_456, 0).saturating_mul(s.into())) + // Standard Error: 1_306 + .saturating_add(Weight::from_parts(32_647, 0).saturating_mul(l.into())) + // Standard Error: 2_324 + .saturating_add(Weight::from_parts(57_435, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -99,15 +100,17 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_other_locked(_l: u32, s: u32, ) -> Weight { + fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + l * (25 ±0) + s * (36 ±0)` + // Measured: `451 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 37_543_000 picoseconds. - Weight::from_parts(40_363_878, 0) + // Minimum execution time: 32_045_000 picoseconds. + Weight::from_parts(30_913_615, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 11_730 - .saturating_add(Weight::from_parts(72_555, 0).saturating_mul(s.into())) + // Standard Error: 1_193 + .saturating_add(Weight::from_parts(46_337, 0).saturating_mul(l.into())) + // Standard Error: 2_123 + .saturating_add(Weight::from_parts(74_354, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -123,15 +126,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + l * (25 ±0) + s * (36 ±0)` + // Measured: `451 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 40_365_000 picoseconds. - Weight::from_parts(40_703_964, 0) + // Minimum execution time: 33_984_000 picoseconds. + Weight::from_parts(33_400_020, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_322 - .saturating_add(Weight::from_parts(34_551, 0).saturating_mul(l.into())) - // Standard Error: 2_353 - .saturating_add(Weight::from_parts(56_714, 0).saturating_mul(s.into())) + // Standard Error: 1_140 + .saturating_add(Weight::from_parts(38_571, 0).saturating_mul(l.into())) + // Standard Error: 2_029 + .saturating_add(Weight::from_parts(72_151, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -147,15 +150,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `593 + l * (25 ±0) + s * (36 ±0)` + // Measured: `522 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 75_521_000 picoseconds. - Weight::from_parts(76_464_371, 0) + // Minimum execution time: 63_632_000 picoseconds. + Weight::from_parts(64_542_490, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_459 - .saturating_add(Weight::from_parts(65_458, 0).saturating_mul(l.into())) - // Standard Error: 6_154 - .saturating_add(Weight::from_parts(119_871, 0).saturating_mul(s.into())) + // Standard Error: 1_960 + .saturating_add(Weight::from_parts(40_280, 0).saturating_mul(l.into())) + // Standard Error: 3_488 + .saturating_add(Weight::from_parts(86_697, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -171,15 +174,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `696 + l * (25 ±0) + s * (36 ±0)` + // Measured: `625 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 71_675_000 picoseconds. - Weight::from_parts(79_603_563, 0) + // Minimum execution time: 65_338_000 picoseconds. + Weight::from_parts(66_120_449, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 3_461 - .saturating_add(Weight::from_parts(44_882, 0).saturating_mul(l.into())) - // Standard Error: 6_159 - .saturating_add(Weight::from_parts(132_330, 0).saturating_mul(s.into())) + // Standard Error: 2_003 + .saturating_add(Weight::from_parts(45_256, 0).saturating_mul(l.into())) + // Standard Error: 3_565 + .saturating_add(Weight::from_parts(88_738, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -195,15 +198,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `516 + l * (25 ±0) + s * (36 ±0)` + // Measured: `449 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 39_355_000 picoseconds. - Weight::from_parts(39_044_658, 0) + // Minimum execution time: 32_789_000 picoseconds. + Weight::from_parts(32_683_094, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 3_483 - .saturating_add(Weight::from_parts(64_417, 0).saturating_mul(l.into())) - // Standard Error: 6_433 - .saturating_add(Weight::from_parts(85_928, 0).saturating_mul(s.into())) + // Standard Error: 1_395 + .saturating_add(Weight::from_parts(28_000, 0).saturating_mul(l.into())) + // Standard Error: 2_577 + .saturating_add(Weight::from_parts(69_301, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -219,15 +222,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `516 + l * (25 ±0) + s * (36 ±0)` + // Measured: `449 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 41_979_000 picoseconds. - Weight::from_parts(40_483_006, 0) + // Minimum execution time: 35_364_000 picoseconds. + Weight::from_parts(34_412_189, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 2_071 - .saturating_add(Weight::from_parts(51_964, 0).saturating_mul(l.into())) - // Standard Error: 3_825 - .saturating_add(Weight::from_parts(111_783, 0).saturating_mul(s.into())) + // Standard Error: 983 + .saturating_add(Weight::from_parts(41_189, 0).saturating_mul(l.into())) + // Standard Error: 1_815 + .saturating_add(Weight::from_parts(75_023, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/relay/paseo/src/weights/pallet_whitelist.rs b/relay/paseo/src/weights/pallet_whitelist.rs index 1fd2997..e7b77b2 100644 --- a/relay/paseo/src/weights/pallet_whitelist.rs +++ b/relay/paseo/src/weights/pallet_whitelist.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_whitelist` //! //! 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_whitelist // --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,8 +56,8 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `118` // Estimated: `3556` - // Minimum execution time: 18_953_000 picoseconds. - Weight::from_parts(19_477_000, 0) + // Minimum execution time: 15_543_000 picoseconds. + Weight::from_parts(16_305_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -73,8 +72,8 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3556` - // Minimum execution time: 18_282_000 picoseconds. - Weight::from_parts(18_890_000, 0) + // Minimum execution time: 15_172_000 picoseconds. + Weight::from_parts(15_806_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -92,11 +91,11 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `323 + n * (1 ±0)` // Estimated: `3787 + n * (1 ±0)` - // Minimum execution time: 29_612_000 picoseconds. - Weight::from_parts(30_370_000, 0) + // Minimum execution time: 25_100_000 picoseconds. + Weight::from_parts(25_253_000, 0) .saturating_add(Weight::from_parts(0, 3787)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_212, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -112,11 +111,11 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3556` - // Minimum execution time: 21_620_000 picoseconds. - Weight::from_parts(23_153_767, 0) + // Minimum execution time: 18_677_000 picoseconds. + Weight::from_parts(19_237_053, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_685, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/relay/paseo/src/weights/pallet_xcm.rs b/relay/paseo/src/weights/pallet_xcm.rs index 6c33a8c..ac7a8eb 100644 --- a/relay/paseo/src/weights/pallet_xcm.rs +++ b/relay/paseo/src/weights/pallet_xcm.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_xcm` //! //! 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_xcm // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -59,27 +58,71 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 32_136_000 picoseconds. - Weight::from_parts(33_002_000, 0) + // Minimum execution time: 23_939_000 picoseconds. + Weight::from_parts(24_804_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) + /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 19_647_000 picoseconds. - Weight::from_parts(20_378_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `76` + // Estimated: `3593` + // Minimum execution time: 105_483_000 picoseconds. + Weight::from_parts(109_412_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) + /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 19_592_000 picoseconds. - Weight::from_parts(20_704_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `128` + // Estimated: `3593` + // Minimum execution time: 102_331_000 picoseconds. + Weight::from_parts(105_076_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) + /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `3593` + // Minimum execution time: 107_526_000 picoseconds. + Weight::from_parts(110_724_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -97,8 +140,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_181_000 picoseconds. - Weight::from_parts(8_993_000, 0) + // Minimum execution time: 6_811_000 picoseconds. + Weight::from_parts(7_150_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -106,8 +149,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_428_000 picoseconds. - Weight::from_parts(2_970_000, 0) + // Minimum execution time: 1_862_000 picoseconds. + Weight::from_parts(2_001_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `XcmPallet::VersionNotifiers` (r:1 w:1) @@ -128,8 +171,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 36_498_000 picoseconds. - Weight::from_parts(42_989_000, 0) + // Minimum execution time: 29_672_000 picoseconds. + Weight::from_parts(30_201_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -150,8 +193,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `3721` - // Minimum execution time: 43_722_000 picoseconds. - Weight::from_parts(46_331_000, 0) + // Minimum execution time: 35_212_000 picoseconds. + Weight::from_parts(36_585_000, 0) .saturating_add(Weight::from_parts(0, 3721)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -162,45 +205,45 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_399_000 picoseconds. - Weight::from_parts(2_884_000, 0) + // Minimum execution time: 1_873_000 picoseconds. + Weight::from_parts(2_053_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::SupportedVersion` (r:4 w:2) + /// Storage: `XcmPallet::SupportedVersion` (r:5 w:2) /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `26` - // Estimated: `10916` - // Minimum execution time: 16_545_000 picoseconds. - Weight::from_parts(17_859_000, 0) - .saturating_add(Weight::from_parts(0, 10916)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `22` + // Estimated: `13387` + // Minimum execution time: 16_018_000 picoseconds. + Weight::from_parts(16_715_000, 0) + .saturating_add(Weight::from_parts(0, 13387)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:4 w:2) + /// Storage: `XcmPallet::VersionNotifiers` (r:5 w:2) /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `30` - // Estimated: `10920` - // Minimum execution time: 16_469_000 picoseconds. - Weight::from_parts(20_206_000, 0) - .saturating_add(Weight::from_parts(0, 10920)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `26` + // Estimated: `13391` + // Minimum execution time: 16_097_000 picoseconds. + Weight::from_parts(16_593_000, 0) + .saturating_add(Weight::from_parts(0, 13391)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:0) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:6 w:0) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `40` - // Estimated: `13405` - // Minimum execution time: 18_272_000 picoseconds. - Weight::from_parts(19_124_000, 0) - .saturating_add(Weight::from_parts(0, 13405)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `15880` + // Minimum execution time: 18_387_000 picoseconds. + Weight::from_parts(19_014_000, 0) + .saturating_add(Weight::from_parts(0, 15880)) + .saturating_add(T::DbWeight::get().reads(6)) } /// Storage: `XcmPallet::VersionNotifyTargets` (r:2 w:1) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -216,36 +259,36 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `112` // Estimated: `6052` - // Minimum execution time: 34_095_000 picoseconds. - Weight::from_parts(36_733_000, 0) + // Minimum execution time: 29_105_000 picoseconds. + Weight::from_parts(29_638_000, 0) .saturating_add(Weight::from_parts(0, 6052)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:3 w:0) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:4 w:0) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `69` - // Estimated: `8484` - // Minimum execution time: 17_917_000 picoseconds. - Weight::from_parts(19_221_000, 0) - .saturating_add(Weight::from_parts(0, 8484)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `10959` + // Minimum execution time: 11_734_000 picoseconds. + Weight::from_parts(12_307_000, 0) + .saturating_add(Weight::from_parts(0, 10959)) + .saturating_add(T::DbWeight::get().reads(4)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:4 w:2) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:2) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `37` - // Estimated: `10927` - // Minimum execution time: 18_222_000 picoseconds. - Weight::from_parts(29_405_000, 0) - .saturating_add(Weight::from_parts(0, 10927)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `33` + // Estimated: `13398` + // Minimum execution time: 16_801_000 picoseconds. + Weight::from_parts(17_073_000, 0) + .saturating_add(Weight::from_parts(0, 13398)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:4 w:2) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:2) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -257,35 +300,15 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `116` - // Estimated: `11006` - // Minimum execution time: 64_491_000 picoseconds. - Weight::from_parts(68_128_000, 0) - .saturating_add(Weight::from_parts(0, 11006)) - .saturating_add(T::DbWeight::get().reads(8)) + // Measured: `112` + // Estimated: `13477` + // Minimum execution time: 38_223_000 picoseconds. + Weight::from_parts(38_972_000, 0) + .saturating_add(Weight::from_parts(0, 13477)) + .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn transfer_assets() -> Weight { - // Proof Size summary in bytes: - // Measured: `76` - // Estimated: `3593` - // Minimum execution time: 107_526_000 picoseconds. - Weight::from_parts(110_724_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) + /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) /// Proof: `XcmPallet::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmPallet::Queries` (r:0 w:1) /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -299,7 +322,7 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::Queries` (r:1 w:1) + /// Storage: `XcmPallet::Queries` (r:1 w:1) /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: @@ -311,7 +334,7 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) + /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) /// Proof: `XcmPallet::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_assets() -> Weight { // Proof Size summary in bytes: diff --git a/relay/paseo/src/weights/runtime_common_auctions.rs b/relay/paseo/src/weights/runtime_common_auctions.rs index 8128996..fe653e9 100644 --- a/relay/paseo/src/weights/runtime_common_auctions.rs +++ b/relay/paseo/src/weights/runtime_common_auctions.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 `runtime_common::auctions` +//! Autogenerated weights for `polkadot_runtime_common::auctions` //! //! 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=runtime_common::auctions +// --pallet=polkadot_runtime_common::auctions // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -44,9 +43,9 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `runtime_common::auctions`. +/// Weight functions for `polkadot_runtime_common::auctions`. pub struct WeightInfo(PhantomData); -impl runtime_common::auctions::WeightInfo for WeightInfo { +impl polkadot_runtime_common::auctions::WeightInfo for WeightInfo { /// Storage: `Auctions::AuctionInfo` (r:1 w:1) /// Proof: `Auctions::AuctionInfo` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `Auctions::AuctionCounter` (r:1 w:1) @@ -55,8 +54,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `4` // Estimated: `1493` - // Minimum execution time: 8_502_000 picoseconds. - Weight::from_parts(8_765_000, 0) + // Minimum execution time: 7_458_000 picoseconds. + Weight::from_parts(7_787_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -77,10 +76,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `696` + // Measured: `695` // Estimated: `6060` - // Minimum execution time: 83_346_000 picoseconds. - Weight::from_parts(90_294_000, 0) + // Minimum execution time: 70_772_000 picoseconds. + Weight::from_parts(75_661_000, 0) .saturating_add(Weight::from_parts(0, 6060)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) @@ -99,7 +98,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: `Auctions::ReservedAmounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:36 w:36) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Slots::Leases` (r:6 w:6) + /// Storage: `Slots::Leases` (r:7 w:7) /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::ParaLifecycles` (r:1 w:1) /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -109,13 +108,13 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `6946927` + // Measured: `6946955` // Estimated: `15822990` - // Minimum execution time: 7_730_025_000 picoseconds. - Weight::from_parts(7_855_156_000, 0) + // Minimum execution time: 6_948_283_000 picoseconds. + Weight::from_parts(7_035_598_000, 0) .saturating_add(Weight::from_parts(0, 15822990)) - .saturating_add(T::DbWeight::get().reads(3686)) - .saturating_add(T::DbWeight::get().writes(3681)) + .saturating_add(T::DbWeight::get().reads(3687)) + .saturating_add(T::DbWeight::get().writes(3682)) } /// Storage: `Auctions::ReservedAmounts` (r:37 w:36) /// Proof: `Auctions::ReservedAmounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -127,10 +126,10 @@ impl runtime_common::auctions::WeightInfo for WeightInf /// Proof: `Auctions::AuctionInfo` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn cancel_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `177699` + // Measured: `177732` // Estimated: `15822990` - // Minimum execution time: 5_906_078_000 picoseconds. - Weight::from_parts(6_300_077_000, 0) + // Minimum execution time: 5_341_439_000 picoseconds. + Weight::from_parts(5_525_245_000, 0) .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3673)) .saturating_add(T::DbWeight::get().writes(3673)) diff --git a/relay/paseo/src/weights/runtime_common_claims.rs b/relay/paseo/src/weights/runtime_common_claims.rs index b1c689b..6a79828 100644 --- a/relay/paseo/src/weights/runtime_common_claims.rs +++ b/relay/paseo/src/weights/runtime_common_claims.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 `runtime_common::claims` +//! Autogenerated weights for `polkadot_runtime_common::claims` //! //! 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=runtime_common::claims +// --pallet=polkadot_runtime_common::claims // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -44,9 +43,9 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `runtime_common::claims`. +/// Weight functions for `polkadot_runtime_common::claims`. pub struct WeightInfo(PhantomData); -impl runtime_common::claims::WeightInfo for WeightInfo { +impl polkadot_runtime_common::claims::WeightInfo for WeightInfo { /// Storage: `Claims::Claims` (r:1 w:1) /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Claims::Signing` (r:1 w:1) @@ -65,10 +64,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `645` + // Measured: `578` // Estimated: `4764` - // Minimum execution time: 218_392_000 picoseconds. - Weight::from_parts(241_809_000, 0) + // Minimum execution time: 180_418_000 picoseconds. + Weight::from_parts(185_081_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -85,8 +84,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `182` // Estimated: `1667` - // Minimum execution time: 13_592_000 picoseconds. - Weight::from_parts(14_464_000, 0) + // Minimum execution time: 12_513_000 picoseconds. + Weight::from_parts(13_303_000, 0) .saturating_add(Weight::from_parts(0, 1667)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) @@ -109,10 +108,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn claim_attest() -> Weight { // Proof Size summary in bytes: - // Measured: `645` + // Measured: `578` // Estimated: `4764` - // Minimum execution time: 220_986_000 picoseconds. - Weight::from_parts(248_588_000, 0) + // Minimum execution time: 173_579_000 picoseconds. + Weight::from_parts(185_432_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -137,10 +136,10 @@ impl runtime_common::claims::WeightInfo for WeightInfo< /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn attest() -> Weight { // Proof Size summary in bytes: - // Measured: `719` + // Measured: `652` // Estimated: `4764` - // Minimum execution time: 105_284_000 picoseconds. - Weight::from_parts(127_864_000, 0) + // Minimum execution time: 76_235_000 picoseconds. + Weight::from_parts(83_315_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) @@ -157,8 +156,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Proof Size summary in bytes: // Measured: `406` // Estimated: `3871` - // Minimum execution time: 34_522_000 picoseconds. - Weight::from_parts(36_256_000, 0) + // Minimum execution time: 29_916_000 picoseconds. + Weight::from_parts(33_642_000, 0) .saturating_add(Weight::from_parts(0, 3871)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/relay/paseo/src/weights/runtime_common_crowdloan.rs b/relay/paseo/src/weights/runtime_common_crowdloan.rs index 989d955..6dea796 100644 --- a/relay/paseo/src/weights/runtime_common_crowdloan.rs +++ b/relay/paseo/src/weights/runtime_common_crowdloan.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 `runtime_common::crowdloan` +//! Autogenerated weights for `polkadot_runtime_common::crowdloan` //! //! 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=runtime_common::crowdloan +// --pallet=polkadot_runtime_common::crowdloan // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -44,9 +43,9 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `runtime_common::crowdloan`. +/// Weight functions for `polkadot_runtime_common::crowdloan`. pub struct WeightInfo(PhantomData); -impl runtime_common::crowdloan::WeightInfo for WeightInfo { +impl polkadot_runtime_common::crowdloan::WeightInfo for WeightInfo { /// Storage: `Crowdloan::Funds` (r:1 w:1) /// Proof: `Crowdloan::Funds` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Registrar::Paras` (r:1 w:0) @@ -59,11 +58,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `415` - // Estimated: `3880` - // Minimum execution time: 56_501_000 picoseconds. - Weight::from_parts(60_012_000, 0) - .saturating_add(Weight::from_parts(0, 3880)) + // Measured: `438` + // Estimated: `3903` + // Minimum execution time: 45_563_000 picoseconds. + Weight::from_parts(47_336_000, 0) + .saturating_add(Weight::from_parts(0, 3903)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -83,11 +82,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: UNKNOWN KEY `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `497` - // Estimated: `3962` - // Minimum execution time: 167_589_000 picoseconds. - Weight::from_parts(171_834_000, 0) - .saturating_add(Weight::from_parts(0, 3962)) + // Measured: `498` + // Estimated: `3963` + // Minimum execution time: 130_830_000 picoseconds. + Weight::from_parts(136_431_000, 0) + .saturating_add(Weight::from_parts(0, 3963)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -99,10 +98,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: UNKNOWN KEY `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `687` + // Measured: `688` // Estimated: `6196` - // Minimum execution time: 85_046_000 picoseconds. - Weight::from_parts(88_100_000, 0) + // Minimum execution time: 71_018_000 picoseconds. + Weight::from_parts(75_765_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -112,13 +111,13 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `91 + k * (189 ±0)` - // Estimated: `111 + k * (189 ±0)` - // Minimum execution time: 65_904_000 picoseconds. - Weight::from_parts(68_085_000, 0) - .saturating_add(Weight::from_parts(0, 111)) - // Standard Error: 33_485 - .saturating_add(Weight::from_parts(44_913_715, 0).saturating_mul(k.into())) + // Measured: `126 + k * (189 ±0)` + // Estimated: `139 + k * (189 ±0)` + // Minimum execution time: 49_261_000 picoseconds. + Weight::from_parts(50_392_000, 0) + .saturating_add(Weight::from_parts(0, 139)) + // Standard Error: 20_583 + .saturating_add(Weight::from_parts(38_956_828, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -133,8 +132,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `515` // Estimated: `6196` - // Minimum execution time: 54_265_000 picoseconds. - Weight::from_parts(58_466_000, 0) + // Minimum execution time: 40_953_000 picoseconds. + Weight::from_parts(42_919_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -145,8 +144,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 22_635_000 picoseconds. - Weight::from_parts(24_434_000, 0) + // Minimum execution time: 16_052_000 picoseconds. + Weight::from_parts(18_047_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -157,11 +156,11 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// Proof: UNKNOWN KEY `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn add_memo() -> Weight { // Proof Size summary in bytes: - // Measured: `412` - // Estimated: `3877` - // Minimum execution time: 36_417_000 picoseconds. - Weight::from_parts(39_514_000, 0) - .saturating_add(Weight::from_parts(0, 3877)) + // Measured: `413` + // Estimated: `3878` + // Minimum execution time: 29_747_000 picoseconds. + Weight::from_parts(32_387_000, 0) + .saturating_add(Weight::from_parts(0, 3878)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -173,8 +172,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `239` // Estimated: `3704` - // Minimum execution time: 22_509_000 picoseconds. - Weight::from_parts(24_516_000, 0) + // Minimum execution time: 20_860_000 picoseconds. + Weight::from_parts(22_016_000, 0) .saturating_add(Weight::from_parts(0, 3704)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -202,13 +201,13 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `145 + n * (356 ±0)` + // Measured: `164 + n * (356 ±0)` // Estimated: `5385 + n * (2832 ±0)` - // Minimum execution time: 137_702_000 picoseconds. - Weight::from_parts(3_328_621, 0) + // Minimum execution time: 116_218_000 picoseconds. + Weight::from_parts(118_983_000, 0) .saturating_add(Weight::from_parts(0, 5385)) - // Standard Error: 72_267 - .saturating_add(Weight::from_parts(60_053_231, 0).saturating_mul(n.into())) + // Standard Error: 51_433 + .saturating_add(Weight::from_parts(51_500_825, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/relay/paseo/src/weights/runtime_common_paras_registrar.rs b/relay/paseo/src/weights/runtime_common_paras_registrar.rs index 1c13cc2..8b8bcaf 100644 --- a/relay/paseo/src/weights/runtime_common_paras_registrar.rs +++ b/relay/paseo/src/weights/runtime_common_paras_registrar.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 `runtime_common::paras_registrar` +//! Autogenerated weights for `polkadot_runtime_common::paras_registrar` //! //! 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=runtime_common::paras_registrar +// --pallet=polkadot_runtime_common::paras_registrar // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -44,9 +43,9 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `runtime_common::paras_registrar`. +/// Weight functions for `polkadot_runtime_common::paras_registrar`. pub struct WeightInfo(PhantomData); -impl runtime_common::paras_registrar::WeightInfo for WeightInfo { +impl polkadot_runtime_common::paras_registrar::WeightInfo for WeightInfo { /// Storage: `Registrar::NextFreeParaId` (r:1 w:1) /// Proof: `Registrar::NextFreeParaId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Registrar::Paras` (r:1 w:1) @@ -55,11 +54,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve() -> Weight { // Proof Size summary in bytes: - // Measured: `70` - // Estimated: `3535` - // Minimum execution time: 26_406_000 picoseconds. - Weight::from_parts(26_970_000, 0) - .saturating_add(Weight::from_parts(0, 3535)) + // Measured: `97` + // Estimated: `3562` + // Minimum execution time: 24_026_000 picoseconds. + Weight::from_parts(24_775_000, 0) + .saturating_add(Weight::from_parts(0, 3562)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -83,11 +82,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `426` - // Estimated: `3891` - // Minimum execution time: 7_009_814_000 picoseconds. - Weight::from_parts(7_232_463_000, 0) - .saturating_add(Weight::from_parts(0, 3891)) + // Measured: `390` + // Estimated: `3855` + // Minimum execution time: 6_967_494_000 picoseconds. + Weight::from_parts(7_116_058_000, 0) + .saturating_add(Weight::from_parts(0, 3855)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -111,11 +110,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_register() -> Weight { // Proof Size summary in bytes: - // Measured: `316` - // Estimated: `3781` - // Minimum execution time: 7_090_311_000 picoseconds. - Weight::from_parts(7_484_403_000, 0) - .saturating_add(Weight::from_parts(0, 3781)) + // Measured: `307` + // Estimated: `3772` + // Minimum execution time: 7_017_312_000 picoseconds. + Weight::from_parts(7_143_238_000, 0) + .saturating_add(Weight::from_parts(0, 3772)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -135,11 +134,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof: `Registrar::PendingSwap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `508` - // Estimated: `3973` - // Minimum execution time: 60_714_000 picoseconds. - Weight::from_parts(64_784_000, 0) - .saturating_add(Weight::from_parts(0, 3973)) + // Measured: `504` + // Estimated: `3969` + // Minimum execution time: 49_900_000 picoseconds. + Weight::from_parts(51_920_000, 0) + .saturating_add(Weight::from_parts(0, 3969)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -159,11 +158,11 @@ impl runtime_common::paras_registrar::WeightInfo for We /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap() -> Weight { // Proof Size summary in bytes: - // Measured: `779` - // Estimated: `6719` - // Minimum execution time: 65_019_000 picoseconds. - Weight::from_parts(72_650_000, 0) - .saturating_add(Weight::from_parts(0, 6719)) + // Measured: `775` + // Estimated: `6715` + // Minimum execution time: 56_388_000 picoseconds. + Weight::from_parts(64_340_000, 0) + .saturating_add(Weight::from_parts(0, 6715)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -188,13 +187,13 @@ impl runtime_common::paras_registrar::WeightInfo for We /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `274` - // Estimated: `3739` - // Minimum execution time: 38_091_000 picoseconds. - Weight::from_parts(296_415_869, 0) - .saturating_add(Weight::from_parts(0, 3739)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(2_148, 0).saturating_mul(b.into())) + // Measured: `238` + // Estimated: `3703` + // Minimum execution time: 32_256_000 picoseconds. + Weight::from_parts(327_073_327, 0) + .saturating_add(Weight::from_parts(0, 3703)) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_801, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -205,11 +204,11 @@ impl runtime_common::paras_registrar::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_365_000 picoseconds. - Weight::from_parts(16_475_353, 0) + // Minimum execution time: 6_079_000 picoseconds. + Weight::from_parts(6_662_462, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_014, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(924, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/relay/paseo/src/weights/runtime_common_slots.rs b/relay/paseo/src/weights/runtime_common_slots.rs index 7f5ae09..e9bcadd 100644 --- a/relay/paseo/src/weights/runtime_common_slots.rs +++ b/relay/paseo/src/weights/runtime_common_slots.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 `runtime_common::slots` +//! Autogenerated weights for `polkadot_runtime_common::slots` //! //! 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=runtime_common::slots +// --pallet=polkadot_runtime_common::slots // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -44,9 +43,9 @@ use frame_support::{traits::Get, weights::Weight}; use core::marker::PhantomData; -/// Weight functions for `runtime_common::slots`. +/// Weight functions for `polkadot_runtime_common::slots`. pub struct WeightInfo(PhantomData); -impl runtime_common::slots::WeightInfo for WeightInfo { +impl polkadot_runtime_common::slots::WeightInfo for WeightInfo { /// Storage: `Slots::Leases` (r:1 w:1) /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) @@ -55,8 +54,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `561 + c * (20 ±0) + t * (234 ±0)` - // Estimated: `4032 + c * (2496 ±0) + t * (2709 ±0)` - // Minimum execution time: 800_828_000 picoseconds. - Weight::from_parts(811_708_000, 0) - .saturating_add(Weight::from_parts(0, 4032)) - // Standard Error: 97_304 - .saturating_add(Weight::from_parts(3_168_876, 0).saturating_mul(c.into())) - // Standard Error: 97_304 - .saturating_add(Weight::from_parts(9_680_121, 0).saturating_mul(t.into())) + // Measured: `557 + c * (20 ±0) + t * (234 ±0)` + // Estimated: `4028 + c * (2496 ±0) + t * (2709 ±0)` + // Minimum execution time: 700_627_000 picoseconds. + Weight::from_parts(715_807_000, 0) + .saturating_add(Weight::from_parts(0, 4028)) + // Standard Error: 86_693 + .saturating_add(Weight::from_parts(2_755_379, 0).saturating_mul(c.into())) + // Standard Error: 86_693 + .saturating_add(Weight::from_parts(8_684_523, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) @@ -101,8 +100,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo runtime_common::slots::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `554` - // Estimated: `4019` - // Minimum execution time: 29_791_000 picoseconds. - Weight::from_parts(31_842_000, 0) - .saturating_add(Weight::from_parts(0, 4019)) + // Measured: `550` + // Estimated: `4015` + // Minimum execution time: 22_626_000 picoseconds. + Weight::from_parts(24_573_000, 0) + .saturating_add(Weight::from_parts(0, 4015)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/relay/paseo/src/weights/runtime_parachains_configuration.rs b/relay/paseo/src/weights/runtime_parachains_configuration.rs index 6b8e7b4..4a11ee8 100644 --- a/relay/paseo/src/weights/runtime_parachains_configuration.rs +++ b/relay/paseo/src/weights/runtime_parachains_configuration.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 `runtime_parachains::configuration` //! //! 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=runtime_parachains::configuration // --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,11 +54,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `1644` - // Minimum execution time: 8_657_000 picoseconds. - Weight::from_parts(8_971_000, 0) - .saturating_add(Weight::from_parts(0, 1644)) + // Measured: `155` + // Estimated: `1640` + // Minimum execution time: 7_391_000 picoseconds. + Weight::from_parts(7_759_000, 0) + .saturating_add(Weight::from_parts(0, 1640)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -71,11 +70,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `1644` - // Minimum execution time: 8_829_000 picoseconds. - Weight::from_parts(9_161_000, 0) - .saturating_add(Weight::from_parts(0, 1644)) + // Measured: `155` + // Estimated: `1640` + // Minimum execution time: 7_403_000 picoseconds. + Weight::from_parts(7_686_000, 0) + .saturating_add(Weight::from_parts(0, 1640)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -87,11 +86,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `1644` - // Minimum execution time: 8_718_000 picoseconds. - Weight::from_parts(9_280_000, 0) - .saturating_add(Weight::from_parts(0, 1644)) + // Measured: `155` + // Estimated: `1640` + // Minimum execution time: 7_334_000 picoseconds. + Weight::from_parts(7_774_000, 0) + .saturating_add(Weight::from_parts(0, 1640)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,11 +112,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `1644` - // Minimum execution time: 8_758_000 picoseconds. - Weight::from_parts(9_129_000, 0) - .saturating_add(Weight::from_parts(0, 1644)) + // Measured: `155` + // Estimated: `1640` + // Minimum execution time: 7_293_000 picoseconds. + Weight::from_parts(7_627_000, 0) + .saturating_add(Weight::from_parts(0, 1640)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -129,11 +128,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_executor_params() -> Weight { // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `1644` - // Minimum execution time: 11_413_000 picoseconds. - Weight::from_parts(11_910_000, 0) - .saturating_add(Weight::from_parts(0, 1644)) + // Measured: `155` + // Estimated: `1640` + // Minimum execution time: 9_252_000 picoseconds. + Weight::from_parts(9_537_000, 0) + .saturating_add(Weight::from_parts(0, 1640)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -145,15 +144,15 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_perbill() -> Weight { // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `1644` - // Minimum execution time: 8_708_000 picoseconds. - Weight::from_parts(9_091_000, 0) - .saturating_add(Weight::from_parts(0, 1644)) + // Measured: `155` + // Estimated: `1640` + // Minimum execution time: 7_302_000 picoseconds. + Weight::from_parts(7_587_000, 0) + .saturating_add(Weight::from_parts(0, 1640)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Configuration::PendingConfigs` (r:1 w:1) + /// Storage: `Configuration::PendingConfigs` (r:1 w:1) /// Proof: `Configuration::PendingConfigs` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Configuration::BypassConsistencyCheck` (r:1 w:0) /// Proof: `Configuration::BypassConsistencyCheck` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) diff --git a/relay/paseo/src/weights/runtime_parachains_disputes.rs b/relay/paseo/src/weights/runtime_parachains_disputes.rs index 5bda195..d7c2bc4 100644 --- a/relay/paseo/src/weights/runtime_parachains_disputes.rs +++ b/relay/paseo/src/weights/runtime_parachains_disputes.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 `runtime_parachains::disputes` //! //! 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=runtime_parachains::disputes // --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 runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_407_000 picoseconds. - Weight::from_parts(2_533_000, 0) + // Minimum execution time: 1_931_000 picoseconds. + Weight::from_parts(2_089_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/relay/paseo/src/weights/runtime_parachains_disputes_slashing.rs b/relay/paseo/src/weights/runtime_parachains_disputes_slashing.rs index bd3812f..815ffe9 100644 --- a/relay/paseo/src/weights/runtime_parachains_disputes_slashing.rs +++ b/relay/paseo/src/weights/runtime_parachains_disputes_slashing.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 `runtime_parachains::disputes::slashing` //! -//! 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=runtime_parachains::disputes::slashing // --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)] @@ -75,6 +70,16 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::SpanSlash` (r:1 w:1) /// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`) + /// Storage: `Staking::Validators` (r:1 w:1) + /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) + /// Storage: `Staking::CounterForValidators` (r:1 w:1) + /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:3 w:3) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::CounterForListNodes` (r:1 w:1) + /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Staking::Nominators` (r:1 w:0) + /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Staking::OffendingValidators` (r:1 w:1) /// Proof: `Staking::OffendingValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Session::Validators` (r:1 w:0) @@ -85,18 +90,20 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Staking::UnappliedSlashes` (r:1 w:1) /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Staking::ForceEra` (r:1 w:1) + /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// The range of component `n` is `[4, 1000]`. fn report_dispute_lost(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `5913 + n * (251 ±0)` - // Estimated: `9163 + n * (254 ±0)` - // Minimum execution time: 96_660_000 picoseconds. - Weight::from_parts(158_137_349, 0) - .saturating_add(Weight::from_parts(0, 9163)) - // Standard Error: 3_296 - .saturating_add(Weight::from_parts(381_306, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(10)) - .saturating_add(Weight::from_parts(0, 254).saturating_mul(n.into())) + // Measured: `5578 + n * (220 ±0)` + // Estimated: `8877 + n * (350 ±0)` + // Minimum execution time: 78_696_000 picoseconds. + Weight::from_parts(158_454_472, 0) + .saturating_add(Weight::from_parts(0, 8877)) + // Standard Error: 2_479 + .saturating_add(Weight::from_parts(187_148, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().writes(15)) + .saturating_add(Weight::from_parts(0, 350).saturating_mul(n.into())) } } diff --git a/relay/paseo/src/weights/runtime_parachains_hrmp.rs b/relay/paseo/src/weights/runtime_parachains_hrmp.rs index 38a5feb..f659eab 100644 --- a/relay/paseo/src/weights/runtime_parachains_hrmp.rs +++ b/relay/paseo/src/weights/runtime_parachains_hrmp.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 `runtime_parachains::hrmp` //! //! 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=runtime_parachains::hrmp // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -67,8 +66,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `383` // Estimated: `3848` - // Minimum execution time: 35_516_000 picoseconds. - Weight::from_parts(36_544_000, 0) + // Minimum execution time: 31_219_000 picoseconds. + Weight::from_parts(32_032_000, 0) .saturating_add(Weight::from_parts(0, 3848)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) @@ -87,8 +86,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `373` // Estimated: `3838` - // Minimum execution time: 34_353_000 picoseconds. - Weight::from_parts(35_792_000, 0) + // Minimum execution time: 29_955_000 picoseconds. + Weight::from_parts(30_892_000, 0) .saturating_add(Weight::from_parts(0, 3838)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -107,8 +106,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `486` // Estimated: `3951` - // Minimum execution time: 35_306_000 picoseconds. - Weight::from_parts(36_284_000, 0) + // Minimum execution time: 31_156_000 picoseconds. + Weight::from_parts(31_971_000, 0) .saturating_add(Weight::from_parts(0, 3951)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -131,13 +130,13 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `231 + e * (100 ±0) + i * (100 ±0)` // Estimated: `3693 + e * (2575 ±0) + i * (2575 ±0)` - // Minimum execution time: 1_319_030_000 picoseconds. - Weight::from_parts(11_465_098, 0) + // Minimum execution time: 1_206_960_000 picoseconds. + Weight::from_parts(1_214_086_000, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 36_119 - .saturating_add(Weight::from_parts(10_672_931, 0).saturating_mul(i.into())) - // Standard Error: 36_119 - .saturating_add(Weight::from_parts(10_996_172, 0).saturating_mul(e.into())) + // Standard Error: 111_558 + .saturating_add(Weight::from_parts(4_003_489, 0).saturating_mul(i.into())) + // Standard Error: 111_558 + .saturating_add(Weight::from_parts(3_533_948, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) @@ -168,11 +167,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `459 + c * (136 ±0)` // Estimated: `1914 + c * (5086 ±0)` - // Minimum execution time: 7_014_000 picoseconds. - Weight::from_parts(7_207_000, 0) + // Minimum execution time: 5_805_000 picoseconds. + Weight::from_parts(5_935_000, 0) .saturating_add(Weight::from_parts(0, 1914)) - // Standard Error: 20_391 - .saturating_add(Weight::from_parts(23_595_515, 0).saturating_mul(c.into())) + // Standard Error: 9_326 + .saturating_add(Weight::from_parts(21_220_967, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -196,11 +195,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `302 + c * (124 ±0)` // Estimated: `1762 + c * (2600 ±0)` - // Minimum execution time: 6_259_000 picoseconds. - Weight::from_parts(11_936_094, 0) + // Minimum execution time: 4_907_000 picoseconds. + Weight::from_parts(4_991_000, 0) .saturating_add(Weight::from_parts(0, 1762)) - // Standard Error: 25_859 - .saturating_add(Weight::from_parts(14_596_365, 0).saturating_mul(c.into())) + // Standard Error: 9_039 + .saturating_add(Weight::from_parts(13_113_544, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -218,11 +217,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `993 + c * (13 ±0)` // Estimated: `4262 + c * (15 ±0)` - // Minimum execution time: 19_637_000 picoseconds. - Weight::from_parts(31_588_270, 0) + // Minimum execution time: 17_005_000 picoseconds. + Weight::from_parts(26_447_233, 0) .saturating_add(Weight::from_parts(0, 4262)) - // Standard Error: 3_343 - .saturating_add(Weight::from_parts(125_471, 0).saturating_mul(c.into())) + // Standard Error: 2_609 + .saturating_add(Weight::from_parts(161_489, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 15).saturating_mul(c.into())) @@ -236,11 +235,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `210 + c * (63 ±0)` // Estimated: `1689 + c * (2538 ±0)` - // Minimum execution time: 4_249_000 picoseconds. - Weight::from_parts(6_438_590, 0) + // Minimum execution time: 3_603_000 picoseconds. + Weight::from_parts(3_405_840, 0) .saturating_add(Weight::from_parts(0, 1689)) - // Standard Error: 10_724 - .saturating_add(Weight::from_parts(3_777_066, 0).saturating_mul(c.into())) + // Standard Error: 3_380 + .saturating_add(Weight::from_parts(3_332_975, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -272,11 +271,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `383 + c * (235 ±0)` // Estimated: `6323 + c * (235 ±0)` - // Minimum execution time: 51_673_000 picoseconds. - Weight::from_parts(53_763_742, 0) + // Minimum execution time: 45_605_000 picoseconds. + Weight::from_parts(47_241_226, 0) .saturating_add(Weight::from_parts(0, 6323)) - // Standard Error: 160_615 - .saturating_add(Weight::from_parts(14_840_857, 0).saturating_mul(c.into())) + // Standard Error: 111_463 + .saturating_add(Weight::from_parts(13_425_473, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) .saturating_add(Weight::from_parts(0, 235).saturating_mul(c.into())) @@ -305,8 +304,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `383` // Estimated: `6323` - // Minimum execution time: 51_836_000 picoseconds. - Weight::from_parts(57_392_000, 0) + // Minimum execution time: 46_515_000 picoseconds. + Weight::from_parts(47_261_000, 0) .saturating_add(Weight::from_parts(0, 6323)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) @@ -317,8 +316,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `230` // Estimated: `3695` - // Minimum execution time: 13_677_000 picoseconds. - Weight::from_parts(14_408_000, 0) + // Minimum execution time: 11_836_000 picoseconds. + Weight::from_parts(12_202_000, 0) .saturating_add(Weight::from_parts(0, 3695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/runtime_parachains_inclusion.rs b/relay/paseo/src/weights/runtime_parachains_inclusion.rs index af9e146..d27cb56 100644 --- a/relay/paseo/src/weights/runtime_parachains_inclusion.rs +++ b/relay/paseo/src/weights/runtime_parachains_inclusion.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 `runtime_parachains::inclusion` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-07, 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=runtime_parachains::inclusion // --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 runtime_parachains::inclusion::WeightInfo for Weig // Proof Size summary in bytes: // Measured: `65761` // Estimated: `69051` - // Minimum execution time: 122_963_000 picoseconds. - Weight::from_parts(126_924_000, 0) + // Minimum execution time: 110_860_000 picoseconds. + Weight::from_parts(112_319_000, 0) .saturating_add(Weight::from_parts(0, 69051)) - // Standard Error: 163_879 - .saturating_add(Weight::from_parts(117_007_192, 0).saturating_mul(i.into())) + // Standard Error: 81_457 + .saturating_add(Weight::from_parts(101_899_036, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) diff --git a/relay/paseo/src/weights/runtime_parachains_initializer.rs b/relay/paseo/src/weights/runtime_parachains_initializer.rs index f25c8c6..ccaacf9 100644 --- a/relay/paseo/src/weights/runtime_parachains_initializer.rs +++ b/relay/paseo/src/weights/runtime_parachains_initializer.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 `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-07, 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=runtime_parachains::initializer // --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,11 +53,11 @@ impl runtime_parachains::initializer::WeightInfo for We // Proof Size summary in bytes: // Measured: `0 + d * (11 ±0)` // Estimated: `1480 + d * (11 ±0)` - // Minimum execution time: 3_290_000 picoseconds. - Weight::from_parts(3_363_000, 0) + // Minimum execution time: 2_628_000 picoseconds. + Weight::from_parts(2_773_000, 0) .saturating_add(Weight::from_parts(0, 1480)) - // Standard Error: 17 - .saturating_add(Weight::from_parts(2_654, 0).saturating_mul(d.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(2_899, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/relay/paseo/src/weights/runtime_parachains_paras.rs b/relay/paseo/src/weights/runtime_parachains_paras.rs index b3526c7..c0fb616 100644 --- a/relay/paseo/src/weights/runtime_parachains_paras.rs +++ b/relay/paseo/src/weights/runtime_parachains_paras.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 `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-07, 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=runtime_parachains::paras // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -64,11 +63,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `8309` // Estimated: `11774` - // Minimum execution time: 31_059_000 picoseconds. - Weight::from_parts(309_126_899, 0) + // Minimum execution time: 26_825_000 picoseconds. + Weight::from_parts(199_932_582, 0) .saturating_add(Weight::from_parts(0, 11774)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(2_117, 0).saturating_mul(c.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(2_009, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -79,11 +78,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_003_000 picoseconds. - Weight::from_parts(3_728_417, 0) + // Minimum execution time: 5_771_000 picoseconds. + Weight::from_parts(6_333_190, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_046, 0).saturating_mul(s.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(926, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::MostRecentContext` (r:0 w:1) @@ -92,8 +91,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_773_000 picoseconds. - Weight::from_parts(4_287_000, 0) + // Minimum execution time: 2_852_000 picoseconds. + Weight::from_parts(2_998_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -118,13 +117,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8525` - // Estimated: `11990` - // Minimum execution time: 46_309_000 picoseconds. - Weight::from_parts(47_885_000, 0) - .saturating_add(Weight::from_parts(0, 11990)) - // Standard Error: 2 - .saturating_add(Weight::from_parts(2_560, 0).saturating_mul(c.into())) + // Measured: `8489` + // Estimated: `11954` + // Minimum execution time: 39_195_000 picoseconds. + Weight::from_parts(26_489_104, 0) + .saturating_add(Weight::from_parts(0, 11954)) + // Standard Error: 10 + .saturating_add(Weight::from_parts(2_287, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -141,13 +140,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `s` is `[1, 1048576]`. fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `137` - // Estimated: `3602` - // Minimum execution time: 17_026_000 picoseconds. - Weight::from_parts(30_180_591, 0) - .saturating_add(Weight::from_parts(0, 3602)) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_041, 0).saturating_mul(s.into())) + // Measured: `164` + // Estimated: `3629` + // Minimum execution time: 15_124_000 picoseconds. + Weight::from_parts(16_390_955, 0) + .saturating_add(Weight::from_parts(0, 3629)) + // Standard Error: 1 + .saturating_add(Weight::from_parts(936, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -157,11 +156,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4320` - // Estimated: `7785` - // Minimum execution time: 19_416_000 picoseconds. - Weight::from_parts(19_817_000, 0) - .saturating_add(Weight::from_parts(0, 7785)) + // Measured: `4316` + // Estimated: `7781` + // Minimum execution time: 16_625_000 picoseconds. + Weight::from_parts(17_358_000, 0) + .saturating_add(Weight::from_parts(0, 7781)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -178,11 +177,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `683` // Estimated: `4148` - // Minimum execution time: 80_626_000 picoseconds. - Weight::from_parts(93_544_508, 0) + // Minimum execution time: 73_790_000 picoseconds. + Weight::from_parts(71_425_185, 0) .saturating_add(Weight::from_parts(0, 4148)) // Standard Error: 2 - .saturating_add(Weight::from_parts(1_969, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_777, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -194,8 +193,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `28` // Estimated: `3493` - // Minimum execution time: 6_140_000 picoseconds. - Weight::from_parts(6_397_000, 0) + // Minimum execution time: 5_340_000 picoseconds. + Weight::from_parts(5_635_000, 0) .saturating_add(Weight::from_parts(0, 3493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -210,8 +209,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `26706` // Estimated: `30171` - // Minimum execution time: 109_431_000 picoseconds. - Weight::from_parts(112_062_000, 0) + // Minimum execution time: 103_303_000 picoseconds. + Weight::from_parts(108_843_000, 0) .saturating_add(Weight::from_parts(0, 30171)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -234,8 +233,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `27360` // Estimated: `30825` - // Minimum execution time: 726_414_000 picoseconds. - Weight::from_parts(738_551_000, 0) + // Minimum execution time: 692_723_000 picoseconds. + Weight::from_parts(712_899_000, 0) .saturating_add(Weight::from_parts(0, 30825)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(104)) @@ -250,8 +249,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `27338` // Estimated: `30803` - // Minimum execution time: 107_051_000 picoseconds. - Weight::from_parts(111_970_000, 0) + // Minimum execution time: 103_097_000 picoseconds. + Weight::from_parts(105_685_000, 0) .saturating_add(Weight::from_parts(0, 30803)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -270,8 +269,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `26728` // Estimated: `30193` - // Minimum execution time: 578_865_000 picoseconds. - Weight::from_parts(585_097_000, 0) + // Minimum execution time: 552_095_000 picoseconds. + Weight::from_parts(563_757_000, 0) .saturating_add(Weight::from_parts(0, 30193)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -286,8 +285,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `26706` // Estimated: `30171` - // Minimum execution time: 102_292_000 picoseconds. - Weight::from_parts(107_655_000, 0) + // Minimum execution time: 100_420_000 picoseconds. + Weight::from_parts(104_527_000, 0) .saturating_add(Weight::from_parts(0, 30171)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/runtime_parachains_paras_inherent.rs b/relay/paseo/src/weights/runtime_parachains_paras_inherent.rs index 6165f15..ef1910a 100644 --- a/relay/paseo/src/weights/runtime_parachains_paras_inherent.rs +++ b/relay/paseo/src/weights/runtime_parachains_paras_inherent.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 `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-07, 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=runtime_parachains::paras_inherent // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/ +// --output=./polkadot-weights/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -97,12 +96,16 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) + /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:0) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1) /// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::Heads` (r:0 w:1) @@ -114,14 +117,14 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `50882` - // Estimated: `56822 + v * (23 ±0)` - // Minimum execution time: 884_367_000 picoseconds. - Weight::from_parts(473_585_961, 0) - .saturating_add(Weight::from_parts(0, 56822)) - // Standard Error: 41_109 - .saturating_add(Weight::from_parts(46_494_292, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(28)) + // Measured: `51598` + // Estimated: `57538 + v * (23 ±0)` + // Minimum execution time: 857_876_000 picoseconds. + Weight::from_parts(471_641_113, 0) + .saturating_add(Weight::from_parts(0, 57538)) + // Standard Error: 15_441 + .saturating_add(Weight::from_parts(41_865_292, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(30)) .saturating_add(T::DbWeight::get().writes(16)) .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } @@ -169,12 +172,16 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) + /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:0) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaInclusion::AvailabilityBitfields` (r:0 w:1) /// Proof: `ParaInclusion::AvailabilityBitfields` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParasDisputes::Included` (r:0 w:1) @@ -189,12 +196,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enter_bitfields() -> Weight { // Proof Size summary in bytes: - // Measured: `42652` - // Estimated: `48592` - // Minimum execution time: 476_462_000 picoseconds. - Weight::from_parts(506_435_000, 0) - .saturating_add(Weight::from_parts(0, 48592)) - .saturating_add(T::DbWeight::get().reads(26)) + // Measured: `43400` + // Estimated: `49340` + // Minimum execution time: 453_770_000 picoseconds. + Weight::from_parts(480_123_000, 0) + .saturating_add(Weight::from_parts(0, 49340)) + .saturating_add(T::DbWeight::get().reads(28)) .saturating_add(T::DbWeight::get().writes(17)) } /// Storage: `ParaInherent::Included` (r:1 w:1) @@ -241,18 +248,22 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::CurrentCodeHash` (r:1 w:0) /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::ParaLifecycles` (r:1 w:0) /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`) + /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) + /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:0) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParasDisputes::Included` (r:0 w:1) /// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1) @@ -266,14 +277,14 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `42724` - // Estimated: `48664` - // Minimum execution time: 5_866_277_000 picoseconds. - Weight::from_parts(1_314_436_925, 0) - .saturating_add(Weight::from_parts(0, 48664)) - // Standard Error: 113_335 - .saturating_add(Weight::from_parts(45_889_036, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(29)) + // Measured: `43472` + // Estimated: `49412` + // Minimum execution time: 5_965_889_000 picoseconds. + Weight::from_parts(1_213_457_682, 0) + .saturating_add(Weight::from_parts(0, 49412)) + // Standard Error: 29_636 + .saturating_add(Weight::from_parts(47_432_915, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(31)) .saturating_add(T::DbWeight::get().writes(16)) } /// Storage: `ParaInherent::Included` (r:1 w:1) @@ -320,12 +331,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::CurrentCodeHash` (r:1 w:0) /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::FutureCodeHash` (r:1 w:0) @@ -336,6 +347,10 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`) + /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) + /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::DisabledValidators` (r:1 w:0) + /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParasDisputes::Included` (r:0 w:1) /// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1) @@ -348,12 +363,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `42751` - // Estimated: `48691` - // Minimum execution time: 41_220_816_000 picoseconds. - Weight::from_parts(41_992_241_000, 0) - .saturating_add(Weight::from_parts(0, 48691)) - .saturating_add(T::DbWeight::get().reads(31)) + // Measured: `43499` + // Estimated: `49439` + // Minimum execution time: 35_783_528_000 picoseconds. + Weight::from_parts(38_857_285_000, 0) + .saturating_add(Weight::from_parts(0, 49439)) + .saturating_add(T::DbWeight::get().reads(33)) .saturating_add(T::DbWeight::get().writes(16)) } } diff --git a/relay/paseo/src/weights/xcm/mod.rs b/relay/paseo/src/weights/xcm/mod.rs index 2aff001..aedf270 100644 --- a/relay/paseo/src/weights/xcm/mod.rs +++ b/relay/paseo/src/weights/xcm/mod.rs @@ -18,7 +18,6 @@ mod pallet_xcm_benchmarks_fungible; mod pallet_xcm_benchmarks_generic; use crate::Runtime; -use frame_support::weights::Weight; use sp_std::prelude::*; use xcm::{latest::prelude::*, DoubleEncoded}; @@ -55,7 +54,7 @@ impl WeighAssets for AssetFilter { match self { Self::Definite(assets) => assets .inner() - .into_iter() + .iter() .map(From::from) .map(|t| match t { AssetTypes::Balances => balances_weight, @@ -75,8 +74,8 @@ impl WeighAssets for AssetFilter { impl WeighAssets for Assets { fn weigh_multi_assets(&self, balances_weight: Weight) -> Weight { self.inner() - .into_iter() - .map(|m| >::from(m)) + .iter() + .map(>::from) .map(|t| match t { AssetTypes::Balances => balances_weight, AssetTypes::Unknown => Weight::MAX, diff --git a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs index 7438e55..ef33312 100644 --- a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs +++ b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.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_xcm_benchmarks::fungible` //! //! 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_xcm_benchmarks::fungible // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/xcm/pallet_xcm_benchmarks_fungible.rs +// --output=./polkadot-weights/xcm/pallet_xcm_benchmarks_fungible.rs // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -49,24 +48,24 @@ pub struct WeightInfo(PhantomData); impl WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub fn withdraw_asset() -> Weight { + pub(crate) fn withdraw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `101` // Estimated: `3593` - // Minimum execution time: 25_445_000 picoseconds. - Weight::from_parts(26_158_000, 0) + // Minimum execution time: 28_060_000 picoseconds. + Weight::from_parts(28_457_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub fn transfer_asset() -> Weight { + pub(crate) fn transfer_asset() -> Weight { // Proof Size summary in bytes: // Measured: `101` // Estimated: `6196` - // Minimum execution time: 50_262_000 picoseconds. - Weight::from_parts(51_195_000, 0) + // Minimum execution time: 37_623_000 picoseconds. + Weight::from_parts(38_316_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -81,19 +80,19 @@ impl WeightInfo { /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn transfer_reserve_asset() -> Weight { + pub(crate) fn transfer_reserve_asset() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `6196` - // Minimum execution time: 91_100_000 picoseconds. - Weight::from_parts(93_799_000, 0) + // Minimum execution time: 86_604_000 picoseconds. + Weight::from_parts(88_162_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn reserve_asset_deposited() -> Weight { + pub(crate) fn reserve_asset_deposited() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` @@ -111,36 +110,36 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn initiate_reserve_withdraw() -> Weight { + pub(crate) fn initiate_reserve_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 58_079_000 picoseconds. - Weight::from_parts(60_147_000, 0) + // Minimum execution time: 56_851_000 picoseconds. + Weight::from_parts(58_247_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub fn receive_teleported_asset() -> Weight { + pub(crate) fn receive_teleported_asset() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 22_177_000 picoseconds. - Weight::from_parts(22_695_000, 0) + // Minimum execution time: 27_981_000 picoseconds. + Weight::from_parts(28_770_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub fn deposit_asset() -> Weight { + pub(crate) fn deposit_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 22_590_000 picoseconds. - Weight::from_parts(23_091_000, 0) + // Minimum execution time: 21_062_000 picoseconds. + Weight::from_parts(21_725_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -155,16 +154,18 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn deposit_reserve_asset() -> Weight { + pub(crate) fn deposit_reserve_asset() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3593` - // Minimum execution time: 66_974_000 picoseconds. - Weight::from_parts(68_055_000, 0) + // Minimum execution time: 52_039_000 picoseconds. + Weight::from_parts(53_336_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) @@ -173,14 +174,12 @@ impl WeightInfo { /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub fn initiate_teleport() -> Weight { + pub(crate) fn initiate_teleport() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3593` - // Minimum execution time: 46_929_000 picoseconds. - Weight::from_parts(47_905_000, 0) + // Minimum execution time: 40_169_000 picoseconds. + Weight::from_parts(40_967_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index 5943de9..54af4b2 100644 --- a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.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_xcm_benchmarks::generic` //! //! 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_xcm_benchmarks::generic // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./paseo-weights-1.2/xcm/pallet_xcm_benchmarks_generic.rs +// --output=./polkadot-weights/xcm/pallet_xcm_benchmarks_generic.rs // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -46,7 +45,7 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm_benchmarks::generic`. pub struct WeightInfo(PhantomData); -impl WeightInfo { +impl WeightInfo { /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) @@ -57,89 +56,89 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn report_holding() -> Weight { + pub(crate) fn report_holding() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 56_491_000 picoseconds. - Weight::from_parts(60_893_000, 0) + // Minimum execution time: 54_379_000 picoseconds. + Weight::from_parts(55_446_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - pub fn buy_execution() -> Weight { + pub(crate) fn buy_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_380_000 picoseconds. - Weight::from_parts(2_799_000, 0) + // Minimum execution time: 1_320_000 picoseconds. + Weight::from_parts(1_444_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `XcmPallet::Queries` (r:1 w:0) /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn query_response() -> Weight { + pub(crate) fn query_response() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3465` - // Minimum execution time: 6_990_000 picoseconds. - Weight::from_parts(8_406_000, 0) + // Minimum execution time: 5_095_000 picoseconds. + Weight::from_parts(5_262_000, 0) .saturating_add(Weight::from_parts(0, 3465)) .saturating_add(T::DbWeight::get().reads(1)) } - pub fn transact() -> Weight { + pub(crate) fn transact() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_831_000 picoseconds. - Weight::from_parts(11_088_000, 0) + // Minimum execution time: 6_876_000 picoseconds. + Weight::from_parts(7_199_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn refund_surplus() -> Weight { + pub(crate) fn refund_surplus() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_930_000 picoseconds. - Weight::from_parts(5_592_000, 0) + // Minimum execution time: 1_667_000 picoseconds. + Weight::from_parts(1_895_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn set_error_handler() -> Weight { + pub(crate) fn set_error_handler() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_174_000 picoseconds. - Weight::from_parts(2_365_000, 0) + // Minimum execution time: 1_245_000 picoseconds. + Weight::from_parts(1_330_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn set_appendix() -> Weight { + pub(crate) fn set_appendix() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_157_000 picoseconds. - Weight::from_parts(2_491_000, 0) + // Minimum execution time: 1_245_000 picoseconds. + Weight::from_parts(1_342_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn clear_error() -> Weight { + pub(crate) fn clear_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_138_000 picoseconds. - Weight::from_parts(2_248_000, 0) + // Minimum execution time: 1_204_000 picoseconds. + Weight::from_parts(1_333_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn descend_origin() -> Weight { + pub(crate) fn descend_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_903_000 picoseconds. - Weight::from_parts(2_996_000, 0) + // Minimum execution time: 1_357_000 picoseconds. + Weight::from_parts(1_440_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn clear_origin() -> Weight { + pub(crate) fn clear_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_096_000 picoseconds. - Weight::from_parts(2_213_000, 0) + // Minimum execution time: 1_248_000 picoseconds. + Weight::from_parts(1_354_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) @@ -152,34 +151,34 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn report_error() -> Weight { + pub(crate) fn report_error() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 49_287_000 picoseconds. - Weight::from_parts(51_461_000, 0) + // Minimum execution time: 51_984_000 picoseconds. + Weight::from_parts(53_110_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) /// Proof: `XcmPallet::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn claim_asset() -> Weight { + pub(crate) fn claim_asset() -> Weight { // Proof Size summary in bytes: // Measured: `23` // Estimated: `3488` - // Minimum execution time: 11_698_000 picoseconds. - Weight::from_parts(12_310_000, 0) + // Minimum execution time: 8_243_000 picoseconds. + Weight::from_parts(8_545_000, 0) .saturating_add(Weight::from_parts(0, 3488)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - pub fn trap() -> Weight { + pub(crate) fn trap() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_183_000 picoseconds. - Weight::from_parts(2_292_000, 0) + // Minimum execution time: 1_232_000 picoseconds. + Weight::from_parts(1_309_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `XcmPallet::VersionNotifyTargets` (r:1 w:1) @@ -192,65 +191,65 @@ impl WeightInfo { /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn subscribe_version() -> Weight { + pub(crate) fn subscribe_version() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 30_260_000 picoseconds. - Weight::from_parts(31_757_000, 0) + // Minimum execution time: 24_891_000 picoseconds. + Weight::from_parts(25_385_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmPallet::VersionNotifyTargets` (r:0 w:1) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn unsubscribe_version() -> Weight { + pub(crate) fn unsubscribe_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_719_000 picoseconds. - Weight::from_parts(5_061_000, 0) + // Minimum execution time: 3_377_000 picoseconds. + Weight::from_parts(3_538_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - pub fn burn_asset() -> Weight { + pub(crate) fn burn_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_451_000 picoseconds. - Weight::from_parts(3_555_000, 0) + // Minimum execution time: 1_576_000 picoseconds. + Weight::from_parts(1_683_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn expect_asset() -> Weight { + pub(crate) fn expect_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_346_000 picoseconds. - Weight::from_parts(2_682_000, 0) + // Minimum execution time: 1_374_000 picoseconds. + Weight::from_parts(1_514_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn expect_origin() -> Weight { + pub(crate) fn expect_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_264_000 picoseconds. - Weight::from_parts(2_373_000, 0) + // Minimum execution time: 1_236_000 picoseconds. + Weight::from_parts(1_305_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn expect_error() -> Weight { + pub(crate) fn expect_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_169_000 picoseconds. - Weight::from_parts(2_290_000, 0) + // Minimum execution time: 1_234_000 picoseconds. + Weight::from_parts(1_328_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn expect_transact_status() -> Weight { + pub(crate) fn expect_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_428_000 picoseconds. - Weight::from_parts(2_564_000, 0) + // Minimum execution time: 1_411_000 picoseconds. + Weight::from_parts(1_529_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) @@ -263,22 +262,22 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn query_pallet() -> Weight { + pub(crate) fn query_pallet() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 59_381_000 picoseconds. - Weight::from_parts(61_219_000, 0) + // Minimum execution time: 59_911_000 picoseconds. + Weight::from_parts(61_081_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - pub fn expect_pallet() -> Weight { + pub(crate) fn expect_pallet() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_773_000 picoseconds. - Weight::from_parts(11_262_000, 0) + // Minimum execution time: 7_056_000 picoseconds. + Weight::from_parts(7_335_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) @@ -291,54 +290,54 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub fn report_transact_status() -> Weight { + pub(crate) fn report_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 49_706_000 picoseconds. - Weight::from_parts(56_234_000, 0) + // Minimum execution time: 52_551_000 picoseconds. + Weight::from_parts(53_741_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - pub fn clear_transact_status() -> Weight { + pub(crate) fn clear_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_171_000 picoseconds. - Weight::from_parts(3_881_000, 0) + // Minimum execution time: 1_298_000 picoseconds. + Weight::from_parts(1_415_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn set_topic() -> Weight { + pub(crate) fn set_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_116_000 picoseconds. - Weight::from_parts(2_670_000, 0) + // Minimum execution time: 1_265_000 picoseconds. + Weight::from_parts(1_328_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn clear_topic() -> Weight { + pub(crate) fn clear_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_205_000 picoseconds. - Weight::from_parts(2_500_000, 0) + // Minimum execution time: 1_245_000 picoseconds. + Weight::from_parts(1_336_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn set_fees_mode() -> Weight { + pub(crate) fn set_fees_mode() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_064_000 picoseconds. - Weight::from_parts(2_322_000, 0) + // Minimum execution time: 1_191_000 picoseconds. + Weight::from_parts(1_325_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub fn unpaid_execution() -> Weight { + pub(crate) fn unpaid_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_282_000 picoseconds. - Weight::from_parts(2_528_000, 0) + // Minimum execution time: 1_230_000 picoseconds. + Weight::from_parts(1_345_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/relay/paseo/src/xcm_config.rs b/relay/paseo/src/xcm_config.rs index 2cfb1d1..d4a18b6 100644 --- a/relay/paseo/src/xcm_config.rs +++ b/relay/paseo/src/xcm_config.rs @@ -1,20 +1,20 @@ // 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 . -//! XCM configuration for Paseo. +//! XCM configuration for Polkadot. use super::{ parachains_origin, AccountId, AllPalletsWithSystem, Balances, Dmp, FellowshipAdmin, @@ -24,17 +24,16 @@ use super::{ use frame_support::{ parameter_types, traits::{Contains, Equals, Everything, Nothing}, - weights::Weight, }; use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; -use paseo_runtime_constants::{ - currency::CENTS, system_parachain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX, -}; -use runtime_common::{ +use polkadot_runtime_common::{ xcm_sender::{ChildParachainRouter, ExponentialPrice}, ToAuthor, }; +use polkadot_runtime_constants::{ + currency::CENTS, system_parachain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX, +}; use sp_core::ConstU32; use xcm::latest::prelude::*; use xcm_builder::{ @@ -49,11 +48,11 @@ use xcm_builder::{ parameter_types! { pub const RootLocation: Location = Here.into_location(); - /// The location of the PAS token, from the context of this chain. Since this token is native to this + /// The location of the DOT token, from the context of this chain. Since this token is native to this /// chain, we make it synonymous with it and thus it is the `Here` location, which means "equivalent to /// the context". pub const TokenLocation: Location = Here.into_location(); - /// The Polkadot network ID. This is named. TODO To rename to Paseo. + /// The Polkadot network ID. This is named. pub const ThisNetwork: NetworkId = NetworkId::Polkadot; /// Our location in the universe of consensus systems. pub UniversalLocation: InteriorLocation = [GlobalConsensus(ThisNetwork::get())].into(); @@ -143,7 +142,7 @@ parameter_types! { pub const MaxAssetsIntoHolding: u32 = 64; } -/// Paseo Relay recognizes/respects AssetHub, Collectives, and BridgeHub chains as teleporters. +/// Polkadot Relay recognizes/respects AssetHub, Collectives, and BridgeHub chains as teleporters. pub type TrustedTeleporters = ( xcm_builder::Case, xcm_builder::Case, @@ -205,7 +204,7 @@ impl xcm_executor::Config for XcmConfig { type XcmSender = XcmRouter; type AssetTransactor = LocalAssetTransactor; type OriginConverter = LocalOriginConverter; - // Paseo Relay recognises no chains which act as reserves. + // Polkadot Relay recognises no chains which act as reserves. type IsReserve = (); type IsTeleporter = TrustedTeleporters; type UniversalLocation = UniversalLocation; From 7d2f0232480504231e821629defba878e73f7b13 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:24:38 +0200 Subject: [PATCH 2/7] chore(paseo-runtime): pull v1.2.4 --- relay/paseo/Cargo.toml | 17 +- relay/paseo/build.rs | 6 +- relay/paseo/constants/Cargo.toml | 2 +- relay/paseo/constants/src/lib.rs | 12 +- .../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 | 10 +- relay/paseo/src/governance/origins.rs | 8 +- relay/paseo/src/governance/tracks.rs | 8 +- relay/paseo/src/lib.rs | 91 ++-- .../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_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 | 45 +- .../src/weights/runtime_common_claims.rs | 43 +- .../src/weights/runtime_common_crowdloan.rs | 89 ++-- .../weights/runtime_common_paras_registrar.rs | 87 ++-- .../paseo/src/weights/runtime_common_slots.rs | 53 +-- .../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 ++--- .../xcm/pallet_xcm_benchmarks_fungible.rs | 69 +-- .../xcm/pallet_xcm_benchmarks_generic.rs | 185 ++++---- relay/paseo/src/xcm_config.rs | 23 +- 58 files changed, 2040 insertions(+), 1967 deletions(-) diff --git a/relay/paseo/Cargo.toml b/relay/paseo/Cargo.toml index b2cf870..c2628c2 100644 --- a/relay/paseo/Cargo.toml +++ b/relay/paseo/Cargo.toml @@ -1,8 +1,8 @@ [package] -name = "polkadot-runtime" +name = "paseo-runtime" build = "build.rs" repository.workspace = true -version.workspace = true +version = "1.2.4" authors.workspace = true edition.workspace = true license.workspace = true @@ -64,6 +64,7 @@ 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 } @@ -72,7 +73,7 @@ pallet-staking-runtime-api = { workspace = true } pallet-state-trie-migration = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } -polkadot-runtime-constants = { workspace = true } +paseo-runtime-constants = { workspace = true } pallet-timestamp = { workspace = true } pallet-treasury = { workspace = true } pallet-whitelist = { workspace = true } @@ -162,6 +163,7 @@ 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", @@ -175,9 +177,10 @@ std = [ "pallet-whitelist/std", "pallet-xcm-benchmarks?/std", "pallet-xcm/std", - "polkadot-primitives/std", - "polkadot-runtime-common/std", - "polkadot-runtime-constants/std", + "parity-scale-codec/std", + "paseo-runtime-constants/std", + "primitives/std", + "runtime-common/std", "runtime-parachains/std", "scale-info/std", "sp-api/std", @@ -234,6 +237,7 @@ 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", @@ -284,6 +288,7 @@ 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", diff --git a/relay/paseo/build.rs b/relay/paseo/build.rs index 428c971..aff44f9 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 Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. @@ -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 Polkadot. If not, see . +// along with Paseo. If not, see . use substrate_wasm_builder::WasmBuilder; diff --git a/relay/paseo/constants/Cargo.toml b/relay/paseo/constants/Cargo.toml index 81fd205..e1a781a 100644 --- a/relay/paseo/constants/Cargo.toml +++ b/relay/paseo/constants/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "polkadot-runtime-constants" +name = "paseo-runtime-constants" repository.workspace = true version.workspace = true authors.workspace = true diff --git a/relay/paseo/constants/src/lib.rs b/relay/paseo/constants/src/lib.rs index 49cc6b3..2371afd 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 Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. If not, see . #![cfg_attr(not(feature = "std"), no_std)] @@ -44,7 +44,7 @@ pub mod time { 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!(4 * HOURS, MINUTES); + pub const EPOCH_DURATION_IN_SLOTS: BlockNumber = prod_or_fast!(1 * HOURS, 1 * MINUTES); // These time units are defined in number of blocks. pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); @@ -134,7 +134,7 @@ pub mod system_parachain { pub type SystemParachains = IsChildSystemParachain; } -/// Polkadot Treasury pallet instance. +/// Paseo Treasury pallet instance. pub const TREASURY_PALLET_ID: u8 = 19; #[cfg(test)] diff --git a/relay/paseo/constants/src/weights/block_weights.rs b/relay/paseo/constants/src/weights/block_weights.rs index 9608fd5..2c644ba 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 Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. 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 fac8792..3c3aa61 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 Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. 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 f999539..7b4fafe 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: `Polkadot` +//! DATABASE: `ParityDb`, RUNTIME: `Paseo` //! 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 `Polkadot` runtime and `ParityDb`. +/// Storage DB weights for the `Paseo` 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 c5cf045..689eb65 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: `Polkadot` +//! DATABASE: `RocksDb`, RUNTIME: `Paseo` //! 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 `Polkadot` runtime and `RocksDb`. +/// Storage DB weights for the `Paseo` 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 56c764f..47f3276 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 Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. If not, see . //! Autogenerated bag thresholds. //! diff --git a/relay/paseo/src/governance/mod.rs b/relay/paseo/src/governance/mod.rs index d9b84b2..1a8e185 100644 --- a/relay/paseo/src/governance/mod.rs +++ b/relay/paseo/src/governance/mod.rs @@ -1,20 +1,20 @@ // Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. If not, see . -//! New governance configurations for the Polkadot runtime. +//! New governance configurations for the Paseo runtime. use super::*; use crate::xcm_config::CollectivesLocation; diff --git a/relay/paseo/src/governance/origins.rs b/relay/paseo/src/governance/origins.rs index f1283b5..27ffe1a 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 Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. If not, see . //! Custom origins for governance interventions. diff --git a/relay/paseo/src/governance/tracks.rs b/relay/paseo/src/governance/tracks.rs index 7ee9aec..303bbe5 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 Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. If not, see . //! Track configurations for governance. diff --git a/relay/paseo/src/lib.rs b/relay/paseo/src/lib.rs index 387727b..0abf988 100644 --- a/relay/paseo/src/lib.rs +++ b/relay/paseo/src/lib.rs @@ -1,20 +1,20 @@ // Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. If not, see . -//! The Polkadot runtime. This can be compiled with `#[no_std]`, ready for Wasm. +//! The Paseo 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. @@ -26,8 +26,8 @@ use polkadot_runtime_common::{ impls::{ DealWithFees, LocatableAssetConverter, VersionedLocatableAsset, VersionedLocationConverter, }, - paras_registrar, prod_or_fast, slots, BlockHashCount, BlockLength, CurrencyToVote, - SlowAdjustingFeeUpdate, + paras_registrar, paras_sudo_wrapper, prod_or_fast, slots, BlockHashCount, BlockLength, + CurrencyToVote, SlowAdjustingFeeUpdate, }; use runtime_parachains::{ @@ -116,7 +116,7 @@ pub use pallet_timestamp::Call as TimestampCall; pub use sp_runtime::BuildStorage; /// Constant values used within the runtime. -use polkadot_runtime_constants::{currency::*, fee::*, time::*, TREASURY_PALLET_ID}; +use paseo_runtime_constants::{currency::*, fee::*, time::*, TREASURY_PALLET_ID}; // Weights used in the runtime. mod weights; @@ -132,21 +132,20 @@ use governance::{ pub mod impls; pub mod xcm_config; -pub const LOG_TARGET: &str = "runtime::polkadot"; +pub const LOG_TARGET: &'static str = "runtime::paseo"; -use polkadot_runtime_common as runtime_common; -impl_runtime_weights!(polkadot_runtime_constants); +impl_runtime_weights!(paseo_runtime_constants); // Make the WASM binary available. #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); -// Polkadot version identifier; -/// Runtime version (Polkadot). +// Paseo version identifier; +/// Runtime version (Paseo). #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: create_runtime_str!("polkadot"), - impl_name: create_runtime_str!("parity-polkadot"), + spec_name: create_runtime_str!("paseo"), + impl_name: create_runtime_str!("paseo-testnet"), authoring_version: 0, spec_version: 1_002_004, impl_version: 0, @@ -170,7 +169,7 @@ pub fn native_version() -> NativeVersion { parameter_types! { pub const Version: RuntimeVersion = VERSION; - pub const SS58Prefix: u8 = 0; + pub const SS58Prefix: u8 = 42; } impl frame_system::Config for Runtime { @@ -213,7 +212,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) { @@ -402,7 +401,7 @@ impl pallet_beefy_mmr::Config for Runtime { } parameter_types! { - pub const TransactionByteFee: Balance = polkadot_runtime_constants::fee::TRANSACTION_BYTE_FEE; + pub const TransactionByteFee: Balance = 10 * MILLICENTS; /// 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; @@ -531,9 +530,9 @@ 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 DOT per KB of solution data. + // 0.01 PAS per KB of solution data. pub const SignedDepositByte: Balance = deposit(0, 10) / 1024; - // Each good submission will get 1 DOT as reward + // Each good submission will get 1 PAS as reward pub SignedRewardBase: Balance = UNITS; // 4 hour session, 1 hour unsigned phase, 32 offchain executions. @@ -693,7 +692,7 @@ parameter_types! { pub const MaxNominations: u32 = ::LIMIT as u32; } -/// Custom version of `runtime_commong::era_payout` somewhat tailored for Polkadot's crowdloan +/// Custom version of `runtime_commong::era_payout` somewhat tailored for Paseo's crowdloan /// unlock history. The only tweak should be /// /// ```diff @@ -1042,7 +1041,7 @@ parameter_types! { } parameter_types! { - pub Prefix: &'static [u8] = b"Pay DOTs to the Polkadot account:"; + pub Prefix: &'static [u8] = b"Pay DOTs to the Paseo account:"; } impl claims::Config for Runtime { @@ -1433,13 +1432,7 @@ 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!(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"); + pub LeasePeriod: BlockNumber = prod_or_fast!(1 * WEEKS, 1 * DAYS, "DOT_LEASE_PERIOD"); } impl slots::Config for Runtime { @@ -1447,7 +1440,7 @@ impl slots::Config for Runtime { type Currency = Balances; type Registrar = Registrar; type LeasePeriod = LeasePeriod; - type LeaseOffset = LeaseOffset; + type LeaseOffset = (); type ForceOrigin = EitherOf, LeaseAdmin>; type WeightInfo = weights::runtime_common_slots::WeightInfo; } @@ -1523,9 +1516,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 DOT to join a pool. + // 5 PAS to join a pool. pallet_nomination_pools::MinJoinBond::::put(5 * UNITS); - // 100 DOT to create a pool. + // 100 PAS to create a pool. pallet_nomination_pools::MinCreateBond::::put(100 * UNITS); // Initialize with limits for now. @@ -1628,6 +1621,14 @@ 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 { @@ -1737,6 +1738,10 @@ 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, } } @@ -1958,6 +1963,8 @@ 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] ); } @@ -2536,7 +2543,7 @@ sp_api::impl_runtime_apis! { TokenLocation::get(), ExistentialDeposit::get() ).into()); - pub AssetHubParaId: ParaId = polkadot_runtime_constants::system_parachain::ASSET_HUB_ID.into(); + pub AssetHubParaId: ParaId = paseo_runtime_constants::system_parachain::ASSET_HUB_ID.into(); pub const RandomParaId: ParaId = ParaId::new(43211234); } @@ -2618,7 +2625,7 @@ sp_api::impl_runtime_apis! { Ok(AssetHubLocation::get()) } fn worst_case_holding(_depositable_count: u32) -> Assets { - // Polkadot only knows about DOT + // Polkadot only knows about PAS vec![Asset { id: AssetId(TokenLocation::get()), fun: Fungible(1_000_000 * UNITS) }].into() } } @@ -2687,18 +2694,18 @@ sp_api::impl_runtime_apis! { } fn unlockable_asset() -> Result<(Location, Location, Asset), BenchmarkError> { - // Polkadot doesn't support asset locking + // Paseo doesn't support asset locking Err(BenchmarkError::Skip) } fn export_message_origin_and_destination( ) -> Result<(Location, NetworkId, InteriorLocation), BenchmarkError> { - // Polkadot doesn't support exporting messages + // Paseo doesn't support exporting messages Err(BenchmarkError::Skip) } fn alias_origin() -> Result<(Location, Location), BenchmarkError> { - // The XCM executor of Polkadot doesn't have a configured `Aliasers` + // The XCM executor of Paseo doesn't have a configured `Aliasers` Err(BenchmarkError::Skip) } } @@ -2912,7 +2919,7 @@ mod test { fn check_treasury_pallet_id() { assert_eq!( ::index() as u8, - polkadot_runtime_constants::TREASURY_PALLET_ID + paseo_runtime_constants::TREASURY_PALLET_ID ); } @@ -3072,7 +3079,7 @@ mod remote_tests { async fn remote_ext_test_setup() -> RemoteExternalities { let transport: Transport = - var("WS").unwrap_or("wss://rpc.polkadot.io:443".to_string()).into(); + var("WS").unwrap_or("wss://paseo.rpc.amforc.com: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 { @@ -3095,7 +3102,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(); @@ -3141,7 +3148,7 @@ mod remote_tests { #[tokio::test] async fn run_migrations() { if var("RUN_MIGRATION_TESTS").is_err() { - return + return; } sp_tracing::try_init_simple(); @@ -3154,7 +3161,7 @@ mod remote_tests { async fn try_fast_unstake_all() { sp_tracing::try_init_simple(); let transport: Transport = - var("WS").unwrap_or("wss://rpc.polkadot.io:443".to_string()).into(); + var("WS").unwrap_or("wss://paseo.rpc.amforc.com: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 { diff --git a/relay/paseo/src/weights/frame_benchmarking_baseline.rs b/relay/paseo/src/weights/frame_benchmarking_baseline.rs index 9c98b7e..2e9bb8a 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=frame_benchmarking::baseline // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,8 +52,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 175_000 picoseconds. - Weight::from_parts(214_057, 0) + // Minimum execution time: 217_000 picoseconds. + Weight::from_parts(255_139, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -60,8 +61,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 178_000 picoseconds. - Weight::from_parts(220_856, 0) + // Minimum execution time: 217_000 picoseconds. + Weight::from_parts(256_983, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -69,8 +70,8 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 179_000 picoseconds. - Weight::from_parts(213_271, 0) + // Minimum execution time: 217_000 picoseconds. + Weight::from_parts(257_680, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 1000000]`. @@ -78,16 +79,16 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 173_000 picoseconds. - Weight::from_parts(206_295, 0) + // Minimum execution time: 213_000 picoseconds. + Weight::from_parts(237_298, 0) .saturating_add(Weight::from_parts(0, 0)) } fn hashing() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 23_861_476_000 picoseconds. - Weight::from_parts(23_888_047_000, 0) + // Minimum execution time: 27_589_084_000 picoseconds. + Weight::from_parts(27_797_008_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `i` is `[0, 100]`. @@ -95,10 +96,10 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 224_000 picoseconds. - Weight::from_parts(4_903_346, 0) + // Minimum execution time: 266_000 picoseconds. + Weight::from_parts(302_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 9_407 - .saturating_add(Weight::from_parts(40_865_071, 0).saturating_mul(i.into())) + // Standard Error: 18_427 + .saturating_add(Weight::from_parts(45_459_539, 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 8fe74da..2d954e2 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=frame_election_provider_support // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -53,13 +54,13 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_127_246_000 picoseconds. - Weight::from_parts(7_308_658_000, 0) + // Minimum execution time: 7_610_967_000 picoseconds. + Weight::from_parts(7_864_879_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // 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())) + // 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())) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -68,12 +69,12 @@ impl frame_election_provider_support::WeightInfo for We // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_860_861_000 picoseconds. - Weight::from_parts(4_942_856_000, 0) + // Minimum execution time: 5_303_371_000 picoseconds. + Weight::from_parts(5_390_249_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // 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())) + // 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())) } } diff --git a/relay/paseo/src/weights/frame_system.rs b/relay/paseo/src/weights/frame_system.rs index 6db32e7..7ff1055 100644 --- a/relay/paseo/src/weights/frame_system.rs +++ b/relay/paseo/src/weights/frame_system.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=frame_system // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,22 +52,22 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_654_000 picoseconds. - Weight::from_parts(1_692_000, 0) + // Minimum execution time: 1_931_000 picoseconds. + Weight::from_parts(20_033_502, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(390, 0).saturating_mul(b.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(456, 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: 4_879_000 picoseconds. - Weight::from_parts(5_058_000, 0) + // Minimum execution time: 5_646_000 picoseconds. + Weight::from_parts(105_023_177, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_752, 0).saturating_mul(b.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(1_746, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -76,8 +77,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_054_000 picoseconds. - Weight::from_parts(3_141_000, 0) + // Minimum execution time: 3_509_000 picoseconds. + Weight::from_parts(3_659_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -90,8 +91,8 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 96_389_124_000 picoseconds. - Weight::from_parts(98_328_390_000, 0) + // Minimum execution time: 96_602_043_000 picoseconds. + Weight::from_parts(101_317_939_000, 0) .saturating_add(Weight::from_parts(0, 1485)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -103,11 +104,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_597_000 picoseconds. - Weight::from_parts(1_651_000, 0) + // Minimum execution time: 2_129_000 picoseconds. + Weight::from_parts(2_220_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_244 - .saturating_add(Weight::from_parts(759_502, 0).saturating_mul(i.into())) + // Standard Error: 2_163 + .saturating_add(Weight::from_parts(868_165, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -117,11 +118,11 @@ impl frame_system::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_597_000 picoseconds. - Weight::from_parts(1_649_000, 0) + // Minimum execution time: 2_126_000 picoseconds. + Weight::from_parts(2_305_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_094 - .saturating_add(Weight::from_parts(562_211, 0).saturating_mul(i.into())) + // Standard Error: 1_100 + .saturating_add(Weight::from_parts(640_069, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -129,13 +130,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: `75 + p * (69 ±0)` + // Measured: `78 + p * (69 ±0)` // Estimated: `79 + p * (70 ±0)` - // Minimum execution time: 3_544_000 picoseconds. - Weight::from_parts(3_596_000, 0) + // Minimum execution time: 4_196_000 picoseconds. + Weight::from_parts(4_264_000, 0) .saturating_add(Weight::from_parts(0, 79)) - // Standard Error: 2_170 - .saturating_add(Weight::from_parts(1_193_351, 0).saturating_mul(p.into())) + // Standard Error: 2_212 + .saturating_add(Weight::from_parts(1_298_379, 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())) @@ -147,7 +148,7 @@ impl frame_system::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 15_463_000 picoseconds. - Weight::from_parts(18_019_000, 0) + Weight::from_parts(23_019_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -162,7 +163,7 @@ impl frame_system::WeightInfo for WeightInfo { // Measured: `22` // Estimated: `1518` // Minimum execution time: 101_681_977_000 picoseconds. - Weight::from_parts(103_790_208_000, 0) + Weight::from_parts(134_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 2b5daff..cbe46a9 100644 --- a/relay/paseo/src/weights/mod.rs +++ b/relay/paseo/src/weights/mod.rs @@ -36,6 +36,7 @@ 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 b3650ca..bda4b11 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_asset_rate // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -52,8 +53,8 @@ impl pallet_asset_rate::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `4703` - // Minimum execution time: 9_802_000 picoseconds. - Weight::from_parts(10_390_000, 0) + // Minimum execution time: 11_466_000 picoseconds. + Weight::from_parts(11_869_000, 0) .saturating_add(Weight::from_parts(0, 4703)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -62,10 +63,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: `110` + // Measured: `111` // Estimated: `4703` - // Minimum execution time: 10_351_000 picoseconds. - Weight::from_parts(10_777_000, 0) + // Minimum execution time: 11_881_000 picoseconds. + Weight::from_parts(12_238_000, 0) .saturating_add(Weight::from_parts(0, 4703)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -74,10 +75,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: `110` + // Measured: `111` // Estimated: `4703` - // Minimum execution time: 10_916_000 picoseconds. - Weight::from_parts(11_401_000, 0) + // Minimum execution time: 12_926_000 picoseconds. + Weight::from_parts(13_136_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 e299408..5508783 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_bags_list // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -56,10 +57,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: `1685` + // Measured: `1790` // Estimated: `11506` - // Minimum execution time: 52_358_000 picoseconds. - Weight::from_parts(53_801_000, 0) + // Minimum execution time: 65_836_000 picoseconds. + Weight::from_parts(70_477_000, 0) .saturating_add(Weight::from_parts(0, 11506)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -74,10 +75,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: `1582` + // Measured: `1688` // Estimated: `8877` - // Minimum execution time: 51_216_000 picoseconds. - Weight::from_parts(53_303_000, 0) + // Minimum execution time: 65_119_000 picoseconds. + Weight::from_parts(67_901_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) @@ -94,10 +95,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: `1890` + // Measured: `1999` // Estimated: `11506` - // Minimum execution time: 59_280_000 picoseconds. - Weight::from_parts(61_413_000, 0) + // Minimum execution time: 75_061_000 picoseconds. + Weight::from_parts(81_330_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 171543e..993f1ac 100644 --- a/relay/paseo/src/weights/pallet_balances.rs +++ b/relay/paseo/src/weights/pallet_balances.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_balances // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -52,8 +53,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 44_926_000 picoseconds. - Weight::from_parts(45_581_000, 0) + // Minimum execution time: 50_722_000 picoseconds. + Weight::from_parts(52_399_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,8 +65,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 35_183_000 picoseconds. - Weight::from_parts(35_660_000, 0) + // Minimum execution time: 40_178_000 picoseconds. + Weight::from_parts(40_837_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,8 +77,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 12_773_000 picoseconds. - Weight::from_parts(13_126_000, 0) + // Minimum execution time: 14_885_000 picoseconds. + Weight::from_parts(15_494_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,8 +89,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 17_765_000 picoseconds. - Weight::from_parts(18_476_000, 0) + // Minimum execution time: 20_432_000 picoseconds. + Weight::from_parts(21_320_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -100,8 +101,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 46_041_000 picoseconds. - Weight::from_parts(47_227_000, 0) + // Minimum execution time: 51_792_000 picoseconds. + Weight::from_parts(53_046_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -112,8 +113,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 44_310_000 picoseconds. - Weight::from_parts(45_019_000, 0) + // Minimum execution time: 50_336_000 picoseconds. + Weight::from_parts(51_630_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -124,8 +125,8 @@ impl pallet_balances::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 15_663_000 picoseconds. - Weight::from_parts(16_204_000, 0) + // Minimum execution time: 17_826_000 picoseconds. + Weight::from_parts(18_196_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -137,11 +138,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: 14_732_000 picoseconds. - Weight::from_parts(14_936_000, 0) + // Minimum execution time: 17_773_000 picoseconds. + Weight::from_parts(18_026_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 16_515 - .saturating_add(Weight::from_parts(14_101_228, 0).saturating_mul(u.into())) + // Standard Error: 18_346 + .saturating_add(Weight::from_parts(16_508_683, 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())) @@ -151,7 +152,7 @@ impl pallet_balances::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 5_284_000 picoseconds. - Weight::from_parts(5_571_000, 0) + Weight::from_parts(7_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 8cea91b..d9fff8c 100644 --- a/relay/paseo/src/weights/pallet_bounties.rs +++ b/relay/paseo/src/weights/pallet_bounties.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_bounties // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -59,11 +60,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3593` - // Minimum execution time: 21_824_000 picoseconds. - Weight::from_parts(23_437_825, 0) + // Minimum execution time: 25_506_000 picoseconds. + Weight::from_parts(27_017_163, 0) .saturating_add(Weight::from_parts(0, 3593)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(637, 0).saturating_mul(d.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(846, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -75,8 +76,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `3642` - // Minimum execution time: 11_204_000 picoseconds. - Weight::from_parts(11_734_000, 0) + // Minimum execution time: 13_397_000 picoseconds. + Weight::from_parts(14_066_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -87,8 +88,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `289` // Estimated: `3642` - // Minimum execution time: 10_795_000 picoseconds. - Weight::from_parts(11_210_000, 0) + // Minimum execution time: 12_908_000 picoseconds. + Weight::from_parts(13_708_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -101,8 +102,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `465` // Estimated: `3642` - // Minimum execution time: 34_043_000 picoseconds. - Weight::from_parts(34_947_000, 0) + // Minimum execution time: 41_827_000 picoseconds. + Weight::from_parts(43_160_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -115,8 +116,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `461` // Estimated: `3642` - // Minimum execution time: 24_470_000 picoseconds. - Weight::from_parts(24_875_000, 0) + // Minimum execution time: 28_341_000 picoseconds. + Weight::from_parts(29_419_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -129,8 +130,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `368` // Estimated: `3642` - // Minimum execution time: 13_964_000 picoseconds. - Weight::from_parts(14_434_000, 0) + // Minimum execution time: 16_218_000 picoseconds. + Weight::from_parts(17_131_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -145,10 +146,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: `732` + // Measured: `695` // Estimated: `8799` - // Minimum execution time: 99_910_000 picoseconds. - Weight::from_parts(101_642_000, 0) + // Minimum execution time: 116_907_000 picoseconds. + Weight::from_parts(122_088_000, 0) .saturating_add(Weight::from_parts(0, 8799)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) @@ -165,8 +166,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `412` // Estimated: `3642` - // Minimum execution time: 35_756_000 picoseconds. - Weight::from_parts(37_193_000, 0) + // Minimum execution time: 43_184_000 picoseconds. + Weight::from_parts(44_876_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -181,10 +182,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: `648` + // Measured: `611` // Estimated: `6196` - // Minimum execution time: 67_273_000 picoseconds. - Weight::from_parts(69_165_000, 0) + // Minimum execution time: 79_960_000 picoseconds. + Weight::from_parts(82_208_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -195,8 +196,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `325` // Estimated: `3642` - // Minimum execution time: 11_562_000 picoseconds. - Weight::from_parts(12_821_000, 0) + // Minimum execution time: 13_126_000 picoseconds. + Weight::from_parts(13_899_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -212,11 +213,11 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + b * (297 ±0)` // Estimated: `1887 + b * (5206 ±0)` - // Minimum execution time: 2_835_000 picoseconds. - Weight::from_parts(2_915_000, 0) + // Minimum execution time: 3_273_000 picoseconds. + Weight::from_parts(3_381_000, 0) .saturating_add(Weight::from_parts(0, 1887)) - // Standard Error: 18_278 - .saturating_add(Weight::from_parts(32_861_747, 0).saturating_mul(b.into())) + // Standard Error: 18_194 + .saturating_add(Weight::from_parts(38_209_308, 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 31610a4..4318a48 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_child_bounties // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -61,13 +62,13 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `508` + // Measured: `471` // Estimated: `6196` - // Minimum execution time: 59_225_000 picoseconds. - Weight::from_parts(60_300_197, 0) + // Minimum execution time: 67_175_000 picoseconds. + Weight::from_parts(68_675_114, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 47 - .saturating_add(Weight::from_parts(793, 0).saturating_mul(d.into())) + // Standard Error: 5 + .saturating_add(Weight::from_parts(820, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -81,8 +82,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: `808` + // Measured: `771` // Estimated: `6196` - // Minimum execution time: 65_320_000 picoseconds. - Weight::from_parts(66_554_000, 0) + // Minimum execution time: 74_727_000 picoseconds. + Weight::from_parts(75_676_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -187,10 +188,10 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: - // Measured: `995` + // Measured: `958` // Estimated: `8799` - // Minimum execution time: 80_207_000 picoseconds. - Weight::from_parts(81_635_000, 0) + // Minimum execution time: 90_157_000 picoseconds. + Weight::from_parts(92_206_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 889b20d..50d89fd 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_conviction_voting // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,7 +52,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(329), added: 2804, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, 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) @@ -60,10 +61,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: `13480` + // Measured: `13513` // Estimated: `42428` - // Minimum execution time: 136_288_000 picoseconds. - Weight::from_parts(147_883_000, 0) + // Minimum execution time: 137_472_000 picoseconds. + Weight::from_parts(141_335_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -73,7 +74,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(329), added: 2804, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, 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) @@ -82,10 +83,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: `14201` + // Measured: `14234` // Estimated: `83866` - // Minimum execution time: 169_651_000 picoseconds. - Weight::from_parts(177_209_000, 0) + // Minimum execution time: 208_705_000 picoseconds. + Weight::from_parts(217_855_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) @@ -100,8 +101,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13919` // Estimated: `83866` - // Minimum execution time: 139_988_000 picoseconds. - Weight::from_parts(152_950_000, 0) + // Minimum execution time: 176_684_000 picoseconds. + Weight::from_parts(188_007_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -114,8 +115,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `13005` // Estimated: `30706` - // Minimum execution time: 84_340_000 picoseconds. - Weight::from_parts(89_490_000, 0) + // Minimum execution time: 72_335_000 picoseconds. + Weight::from_parts(78_755_000, 0) .saturating_add(Weight::from_parts(0, 30706)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -127,7 +128,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(329), added: 2804, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, 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) @@ -135,13 +136,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: `28987 + r * (364 ±0)` + // Measured: `29708 + r * (365 ±0)` // Estimated: `83866 + r * (3411 ±0)` - // Minimum execution time: 63_628_000 picoseconds. - Weight::from_parts(808_059_906, 0) + // Minimum execution time: 70_009_000 picoseconds. + Weight::from_parts(1_916_595_054, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 79_356 - .saturating_add(Weight::from_parts(20_224_140, 0).saturating_mul(r.into())) + // Standard Error: 177_425 + .saturating_add(Weight::from_parts(47_554_608, 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)) @@ -157,13 +158,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: `28868 + r * (364 ±0)` + // Measured: `29556 + r * (365 ±0)` // Estimated: `83866 + r * (3411 ±0)` - // Minimum execution time: 38_682_000 picoseconds. - Weight::from_parts(727_546_385, 0) + // Minimum execution time: 38_359_000 picoseconds. + Weight::from_parts(1_795_080_066, 0) .saturating_add(Weight::from_parts(0, 83866)) - // Standard Error: 54_985 - .saturating_add(Weight::from_parts(20_577_723, 0).saturating_mul(r.into())) + // Standard Error: 171_659 + .saturating_add(Weight::from_parts(47_953_466, 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)) @@ -173,17 +174,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(329), added: 2804, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(311), added: 2786, 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: `12270` + // Measured: `12285` // Estimated: `30706` - // Minimum execution time: 98_219_000 picoseconds. - Weight::from_parts(106_083_000, 0) + // Minimum execution time: 101_982_000 picoseconds. + Weight::from_parts(107_848_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 5d33cd7..544fda2 100644 --- a/relay/paseo/src/weights/pallet_election_provider_multi_phase.rs +++ b/relay/paseo/src/weights/pallet_election_provider_multi_phase.rs @@ -1,39 +1,44 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 +// 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 . -// 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 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! 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: `[]` //! 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: -// ./target/production/polkadot +// ../polkadot-sdk/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)] @@ -64,10 +69,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: `817` + // Measured: `784` // Estimated: `3481` - // Minimum execution time: 16_763_000 picoseconds. - Weight::from_parts(17_337_000, 0) + // Minimum execution time: 16_549_000 picoseconds. + Weight::from_parts(17_200_000, 0) .saturating_add(Weight::from_parts(0, 3481)) .saturating_add(T::DbWeight::get().reads(8)) } @@ -79,8 +84,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `43` // Estimated: `1528` - // Minimum execution time: 7_570_000 picoseconds. - Weight::from_parts(7_758_000, 0) + // Minimum execution time: 7_594_000 picoseconds. + Weight::from_parts(8_221_000, 0) .saturating_add(Weight::from_parts(0, 1528)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,8 +98,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `43` // Estimated: `1528` - // Minimum execution time: 8_429_000 picoseconds. - Weight::from_parts(8_648_000, 0) + // Minimum execution time: 8_584_000 picoseconds. + Weight::from_parts(8_850_000, 0) .saturating_add(Weight::from_parts(0, 1528)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -107,8 +112,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 23_333_000 picoseconds. - Weight::from_parts(23_845_000, 0) + // Minimum execution time: 22_566_000 picoseconds. + Weight::from_parts(23_092_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -119,8 +124,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 15_680_000 picoseconds. - Weight::from_parts(16_021_000, 0) + // Minimum execution time: 15_519_000 picoseconds. + Weight::from_parts(15_707_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -133,15 +138,17 @@ 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: 513_357_000 picoseconds. - Weight::from_parts(527_740_000, 0) + // Minimum execution time: 493_575_000 picoseconds. + Weight::from_parts(11_314_417, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 2_814 - .saturating_add(Weight::from_parts(409_297, 0).saturating_mul(v.into())) + // 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())) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ElectionProviderMultiPhase::SignedSubmissionIndices` (r:1 w:1) @@ -168,11 +175,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: 427_335_000 picoseconds. - Weight::from_parts(464_867_000, 0) + // Minimum execution time: 391_175_000 picoseconds. + Weight::from_parts(420_532_000, 0) .saturating_add(Weight::from_parts(0, 3818)) - // Standard Error: 6_771 - .saturating_add(Weight::from_parts(334_470, 0).saturating_mul(a.into())) + // Standard Error: 6_587 + .saturating_add(Weight::from_parts(337_502, 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())) @@ -180,8 +187,6 @@ 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) @@ -194,12 +199,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: `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)) + // 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)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `ElectionProviderMultiPhase::CurrentPhase` (r:1 w:0) @@ -224,13 +229,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: 6_164_134_000 picoseconds. - Weight::from_parts(6_299_983_000, 0) + // Minimum execution time: 5_919_627_000 picoseconds. + Weight::from_parts(6_080_024_000, 0) .saturating_add(Weight::from_parts(0, 1633)) - // 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())) + // 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())) .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())) @@ -248,19 +253,17 @@ 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: 5_201_496_000 picoseconds. - Weight::from_parts(344_942_234, 0) + // Minimum execution time: 4_807_127_000 picoseconds. + Weight::from_parts(5_070_342_000, 0) .saturating_add(Weight::from_parts(0, 1608)) - // 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())) + // 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())) .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 cf71ade..cb1c955 100644 --- a/relay/paseo/src/weights/pallet_fast_unstake.rs +++ b/relay/paseo/src/weights/pallet_fast_unstake.rs @@ -1,39 +1,44 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 +// 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 . -// 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 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! 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: `[]` //! 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: -// ./target/production/polkadot +// ../polkadot-sdk/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)] @@ -79,13 +84,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: `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())) + // 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())) .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)) @@ -104,28 +109,26 @@ 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:1 w:0) + /// Storage: `Staking::ErasStakers` (r:257 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: `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)) + // 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)) .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, 72).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 22004).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 52).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 21987).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`) @@ -159,10 +162,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: `2035` + // Measured: `2077` // Estimated: `6248` - // Minimum execution time: 110_488_000 picoseconds. - Weight::from_parts(113_880_000, 0) + // Minimum execution time: 112_231_000 picoseconds. + Weight::from_parts(116_342_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(16)) .saturating_add(T::DbWeight::get().writes(10)) @@ -179,10 +182,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: `1113` + // Measured: `1118` // Estimated: `4556` - // Minimum execution time: 35_859_000 picoseconds. - Weight::from_parts(36_714_000, 0) + // Minimum execution time: 36_887_000 picoseconds. + Weight::from_parts(38_022_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) @@ -193,8 +196,8 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_673_000 picoseconds. - Weight::from_parts(1_836_000, 0) + // Minimum execution time: 2_031_000 picoseconds. + Weight::from_parts(2_168_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 9743641..e088d06 100644 --- a/relay/paseo/src/weights/pallet_indices.rs +++ b/relay/paseo/src/weights/pallet_indices.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_indices // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -52,8 +53,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `3534` - // Minimum execution time: 18_321_000 picoseconds. - Weight::from_parts(18_937_000, 0) + // Minimum execution time: 20_989_000 picoseconds. + Weight::from_parts(21_556_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -66,8 +67,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3593` - // Minimum execution time: 28_564_000 picoseconds. - Weight::from_parts(29_320_000, 0) + // Minimum execution time: 32_716_000 picoseconds. + Weight::from_parts(33_560_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -78,8 +79,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `3534` - // Minimum execution time: 19_731_000 picoseconds. - Weight::from_parts(20_124_000, 0) + // Minimum execution time: 22_899_000 picoseconds. + Weight::from_parts(23_513_000, 0) .saturating_add(Weight::from_parts(0, 3534)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -92,8 +93,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `203` // Estimated: `3593` - // Minimum execution time: 21_213_000 picoseconds. - Weight::from_parts(21_651_000, 0) + // Minimum execution time: 24_601_000 picoseconds. + Weight::from_parts(25_218_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -104,8 +105,8 @@ impl pallet_indices::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `100` // Estimated: `3534` - // Minimum execution time: 20_386_000 picoseconds. - Weight::from_parts(20_760_000, 0) + // Minimum execution time: 23_338_000 picoseconds. + Weight::from_parts(24_087_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 1a741fe..1cc637f 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_message_queue // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -54,8 +55,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `281` // Estimated: `6050` - // Minimum execution time: 12_827_000 picoseconds. - Weight::from_parts(13_569_000, 0) + // Minimum execution time: 15_038_000 picoseconds. + Weight::from_parts(15_429_000, 0) .saturating_add(Weight::from_parts(0, 6050)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -68,8 +69,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `281` // Estimated: `6050` - // Minimum execution time: 11_740_000 picoseconds. - Weight::from_parts(12_189_000, 0) + // Minimum execution time: 13_414_000 picoseconds. + Weight::from_parts(14_058_000, 0) .saturating_add(Weight::from_parts(0, 6050)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -80,8 +81,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `42` // Estimated: `3520` - // Minimum execution time: 3_823_000 picoseconds. - Weight::from_parts(3_954_000, 0) + // Minimum execution time: 4_322_000 picoseconds. + Weight::from_parts(4_553_000, 0) .saturating_add(Weight::from_parts(0, 3520)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -92,8 +93,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `115` // Estimated: `69051` - // Minimum execution time: 5_543_000 picoseconds. - Weight::from_parts(5_717_000, 0) + // Minimum execution time: 6_405_000 picoseconds. + Weight::from_parts(6_758_000, 0) .saturating_add(Weight::from_parts(0, 69051)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -104,24 +105,19 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `115` // Estimated: `69051` - // Minimum execution time: 5_692_000 picoseconds. - Weight::from_parts(5_860_000, 0) + // Minimum execution time: 6_485_000 picoseconds. + Weight::from_parts(6_848_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: 166_812_000 picoseconds. - Weight::from_parts(169_584_000, 0) + // Minimum execution time: 102_583_000 picoseconds. + Weight::from_parts(103_741_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(6), added: 501, mode: `MaxEncodedLen`) @@ -131,8 +127,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `220` // Estimated: `3520` - // Minimum execution time: 6_333_000 picoseconds. - Weight::from_parts(6_626_000, 0) + // Minimum execution time: 7_338_000 picoseconds. + Weight::from_parts(7_519_000, 0) .saturating_add(Weight::from_parts(0, 3520)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -149,8 +145,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65714` // Estimated: `69051` - // Minimum execution time: 56_300_000 picoseconds. - Weight::from_parts(57_300_000, 0) + // Minimum execution time: 63_797_000 picoseconds. + Weight::from_parts(65_136_000, 0) .saturating_add(Weight::from_parts(0, 69051)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -167,8 +163,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65714` // Estimated: `69051` - // Minimum execution time: 70_510_000 picoseconds. - Weight::from_parts(72_758_000, 0) + // Minimum execution time: 81_308_000 picoseconds. + Weight::from_parts(83_010_000, 0) .saturating_add(Weight::from_parts(0, 69051)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -185,8 +181,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65714` // Estimated: `69051` - // Minimum execution time: 109_583_000 picoseconds. - Weight::from_parts(111_611_000, 0) + // Minimum execution time: 123_989_000 picoseconds. + Weight::from_parts(125_926_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 e2549c3..16b2a4d 100644 --- a/relay/paseo/src/weights/pallet_multisig.rs +++ b/relay/paseo/src/weights/pallet_multisig.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_multisig // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,11 +52,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_895_000 picoseconds. - Weight::from_parts(12_946_335, 0) + // Minimum execution time: 13_787_000 picoseconds. + Weight::from_parts(14_537_813, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 4 - .saturating_add(Weight::from_parts(512, 0).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(601, 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`) @@ -65,13 +66,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `267 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 39_917_000 picoseconds. - Weight::from_parts(27_599_704, 0) + // Minimum execution time: 45_042_000 picoseconds. + Weight::from_parts(32_507_276, 0) .saturating_add(Weight::from_parts(0, 6811)) - // 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())) + // 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())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,13 +84,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `286` // Estimated: `6811` - // Minimum execution time: 25_925_000 picoseconds. - Weight::from_parts(16_188_313, 0) + // Minimum execution time: 28_715_000 picoseconds. + Weight::from_parts(17_825_396, 0) .saturating_add(Weight::from_parts(0, 6811)) - // 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())) + // 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())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -103,13 +104,13 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `392 + s * (33 ±0)` // Estimated: `6811` - // Minimum execution time: 44_351_000 picoseconds. - Weight::from_parts(32_183_397, 0) + // Minimum execution time: 52_885_000 picoseconds. + Weight::from_parts(38_201_060, 0) .saturating_add(Weight::from_parts(0, 6811)) - // 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())) + // 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())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -120,11 +121,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `267 + s * (2 ±0)` // Estimated: `6811` - // Minimum execution time: 25_195_000 picoseconds. - Weight::from_parts(26_828_570, 0) + // Minimum execution time: 29_418_000 picoseconds. + Weight::from_parts(31_661_081, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_350 - .saturating_add(Weight::from_parts(145_595, 0).saturating_mul(s.into())) + // Standard Error: 3_681 + .saturating_add(Weight::from_parts(177_507, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,11 +136,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `286` // Estimated: `6811` - // Minimum execution time: 14_089_000 picoseconds. - Weight::from_parts(14_859_596, 0) + // Minimum execution time: 16_861_000 picoseconds. + Weight::from_parts(17_752_365, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 473 - .saturating_add(Weight::from_parts(107_021, 0).saturating_mul(s.into())) + // Standard Error: 2_678 + .saturating_add(Weight::from_parts(137_942, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,11 +151,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `458 + s * (1 ±0)` // Estimated: `6811` - // Minimum execution time: 27_105_000 picoseconds. - Weight::from_parts(30_158_176, 0) + // Minimum execution time: 32_291_000 picoseconds. + Weight::from_parts(41_357_681, 0) .saturating_add(Weight::from_parts(0, 6811)) - // Standard Error: 1_138 - .saturating_add(Weight::from_parts(123_246, 0).saturating_mul(s.into())) + // Standard Error: 6_747 + .saturating_add(Weight::from_parts(72_589, 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 0d448c3..8c320b4 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) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_nomination_pools // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,7 +52,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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -80,10 +81,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: `3358` + // Measured: `3531` // Estimated: `8877` - // Minimum execution time: 175_400_000 picoseconds. - Weight::from_parts(178_857_000, 0) + // Minimum execution time: 211_693_000 picoseconds. + Weight::from_parts(215_821_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(20)) .saturating_add(T::DbWeight::get().writes(13)) @@ -91,7 +92,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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -114,10 +115,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: `3368` + // Measured: `3541` // Estimated: `8877` - // Minimum execution time: 176_683_000 picoseconds. - Weight::from_parts(181_466_000, 0) + // Minimum execution time: 212_042_000 picoseconds. + Weight::from_parts(218_065_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(17)) .saturating_add(T::DbWeight::get().writes(13)) @@ -127,7 +128,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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -142,7 +143,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:2 w:2) + /// Storage: `VoterList::ListNodes` (r:3 w:3) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `VoterList::ListBags` (r:2 w:2) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) @@ -150,20 +151,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: `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)) + // 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)) } /// 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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -172,10 +173,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: `1138` + // Measured: `1137` // Estimated: `4182` - // Minimum execution time: 71_127_000 picoseconds. - Weight::from_parts(72_977_000, 0) + // Minimum execution time: 83_095_000 picoseconds. + Weight::from_parts(84_690_000, 0) .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -183,7 +184,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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -214,16 +215,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: `3548` + // Measured: `3748` // Estimated: `8877` - // Minimum execution time: 157_884_000 picoseconds. - Weight::from_parts(162_214_000, 0) + // Minimum execution time: 198_258_000 picoseconds. + Weight::from_parts(202_517_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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -239,22 +240,34 @@ 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: `1812` + // Measured: `1951` // Estimated: `4764` - // Minimum execution time: 64_097_000 picoseconds. - Weight::from_parts(65_875_601, 0) + // Minimum execution time: 83_049_000 picoseconds. + Weight::from_parts(85_094_312, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_159 - .saturating_add(Weight::from_parts(56_855, 0).saturating_mul(s.into())) + // Standard Error: 2_125 + .saturating_add(Weight::from_parts(65_947, 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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -274,15 +287,13 @@ 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: `2202` + // Measured: `2341` // Estimated: `4764` - // Minimum execution time: 123_066_000 picoseconds. - Weight::from_parts(128_330_416, 0) + // Minimum execution time: 155_545_000 picoseconds. + Weight::from_parts(165_965_902, 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)) } @@ -291,7 +302,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(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -335,13 +346,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: `2625` + // Measured: `2774` // Estimated: `8538` - // Minimum execution time: 227_796_000 picoseconds. - Weight::from_parts(235_271_199, 0) + // Minimum execution time: 275_990_000 picoseconds. + Weight::from_parts(282_952_751, 0) .saturating_add(Weight::from_parts(0, 8538)) - // Standard Error: 3_843 - .saturating_add(Weight::from_parts(12_868, 0).saturating_mul(s.into())) + // Standard Error: 3_277 + .saturating_add(Weight::from_parts(7_520, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(24)) .saturating_add(T::DbWeight::get().writes(20)) } @@ -369,6 +380,10 @@ 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) @@ -384,23 +399,21 @@ 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(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`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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: `1100` + // Measured: `1341` // Estimated: `8538` - // Minimum execution time: 165_933_000 picoseconds. - Weight::from_parts(170_178_000, 0) + // Minimum execution time: 198_752_000 picoseconds. + Weight::from_parts(202_391_000, 0) .saturating_add(Weight::from_parts(0, 8538)) - .saturating_add(T::DbWeight::get().reads(23)) + .saturating_add(T::DbWeight::get().reads(25)) .saturating_add(T::DbWeight::get().writes(17)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -426,36 +439,36 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1825` + // Measured: `1971 + n * (1 ±0)` // Estimated: `4556 + n * (2520 ±0)` - // Minimum execution time: 58_825_000 picoseconds. - Weight::from_parts(59_876_876, 0) + // Minimum execution time: 76_365_000 picoseconds. + Weight::from_parts(77_488_141, 0) .saturating_add(Weight::from_parts(0, 4556)) - // Standard Error: 8_155 - .saturating_add(Weight::from_parts(1_564_827, 0).saturating_mul(n.into())) + // Standard Error: 10_272 + .saturating_add(Weight::from_parts(1_912_300, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5)) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into())) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:1 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) fn set_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1397` + // Measured: `1503` // Estimated: `4556` - // Minimum execution time: 30_883_000 picoseconds. - Weight::from_parts(31_759_000, 0) + // Minimum execution time: 38_245_000 picoseconds. + Weight::from_parts(39_857_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) /// Storage: `NominationPools::Metadata` (r:1 w:1) /// Proof: `NominationPools::Metadata` (`max_values`: None, `max_size`: Some(270), added: 2745, mode: `MaxEncodedLen`) /// Storage: `NominationPools::CounterForMetadata` (r:1 w:1) @@ -463,13 +476,13 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `498` + // Measured: `497` // Estimated: `3735` - // Minimum execution time: 12_033_000 picoseconds. - Weight::from_parts(12_793_361, 0) + // Minimum execution time: 13_877_000 picoseconds. + Weight::from_parts(15_144_702, 0) .saturating_add(Weight::from_parts(0, 3735)) - // Standard Error: 121 - .saturating_add(Weight::from_parts(1_506, 0).saturating_mul(n.into())) + // Standard Error: 667 + .saturating_add(Weight::from_parts(2_999, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -489,25 +502,25 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_424_000 picoseconds. - Weight::from_parts(3_641_000, 0) + // Minimum execution time: 4_131_000 picoseconds. + Weight::from_parts(4_837_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) fn update_roles() -> Weight { // Proof Size summary in bytes: - // Measured: `498` - // Estimated: `3719` - // Minimum execution time: 15_568_000 picoseconds. - Weight::from_parts(16_308_000, 0) - .saturating_add(Weight::from_parts(0, 3719)) + // Measured: `497` + // Estimated: `3685` + // Minimum execution time: 18_166_000 picoseconds. + Weight::from_parts(19_987_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -526,16 +539,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `1994` + // Measured: `2225` // Estimated: `4556` - // Minimum execution time: 57_790_000 picoseconds. - Weight::from_parts(59_737_000, 0) + // Minimum execution time: 73_463_000 picoseconds. + Weight::from_parts(77_031_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -544,49 +557,37 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn set_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `3719` - // Minimum execution time: 32_539_000 picoseconds. - Weight::from_parts(33_350_000, 0) - .saturating_add(Weight::from_parts(0, 3719)) + // Measured: `736` + // Estimated: `3685` + // Minimum execution time: 37_527_000 picoseconds. + Weight::from_parts(39_710_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) /// Storage: `NominationPools::GlobalMaxCommission` (r:1 w:0) /// Proof: `NominationPools::GlobalMaxCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn set_commission_max() -> Weight { // Proof Size summary in bytes: - // Measured: `538` - // Estimated: `3719` - // Minimum execution time: 15_494_000 picoseconds. - Weight::from_parts(16_101_000, 0) - .saturating_add(Weight::from_parts(0, 3719)) + // Measured: `537` + // Estimated: `3685` + // Minimum execution time: 18_325_000 picoseconds. + Weight::from_parts(19_739_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) fn set_commission_change_rate() -> Weight { // Proof Size summary in bytes: - // Measured: `498` - // Estimated: `3719` - // Minimum execution time: 15_208_000 picoseconds. - Weight::from_parts(16_103_000, 0) - .saturating_add(Weight::from_parts(0, 3719)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `NominationPools::BondedPools` (r:1 w:1) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) - fn set_commission_claim_permission() -> Weight { - // Proof Size summary in bytes: - // Measured: `498` - // Estimated: `3719` - // Minimum execution time: 15_178_000 picoseconds. - Weight::from_parts(15_566_000, 0) - .saturating_add(Weight::from_parts(0, 3719)) + // Measured: `497` + // Estimated: `3685` + // Minimum execution time: 17_448_000 picoseconds. + Weight::from_parts(19_060_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -598,14 +599,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `508` // Estimated: `4182` - // Minimum execution time: 13_469_000 picoseconds. - Weight::from_parts(13_897_000, 0) + // Minimum execution time: 15_782_000 picoseconds. + Weight::from_parts(16_541_000, 0) .saturating_add(Weight::from_parts(0, 4182)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, 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) @@ -614,16 +615,16 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `968` - // Estimated: `3719` - // Minimum execution time: 60_633_000 picoseconds. - Weight::from_parts(62_119_000, 0) - .saturating_add(Weight::from_parts(0, 3719)) + // Measured: `934` + // Estimated: `3685` + // Minimum execution time: 70_823_000 picoseconds. + Weight::from_parts(71_850_000, 0) + .saturating_add(Weight::from_parts(0, 3685)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `NominationPools::BondedPools` (r:1 w:0) - /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(254), added: 2729, mode: `MaxEncodedLen`) + /// Proof: `NominationPools::BondedPools` (`max_values`: None, `max_size`: Some(220), added: 2695, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:1) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -632,10 +633,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) fn adjust_pool_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `947` + // Measured: `979` // Estimated: `4764` - // Minimum execution time: 66_968_000 picoseconds. - Weight::from_parts(68_138_000, 0) + // Minimum execution time: 78_655_000 picoseconds. + Weight::from_parts(82_132_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/relay/paseo/src/weights/pallet_offences.rs b/relay/paseo/src/weights/pallet_offences.rs index e469a16..f0a9d7d 100644 --- a/relay/paseo/src/weights/pallet_offences.rs +++ b/relay/paseo/src/weights/pallet_offences.rs @@ -1,39 +1,44 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 +// 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 . -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. //! Autogenerated weights for `pallet_offences` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! 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: `[]` //! 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: -// ./target/production/polkadot +// ../polkadot-sdk/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_offences // --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)] @@ -46,6 +51,67 @@ use core::marker::PhantomData; /// Weight functions for `pallet_offences`. pub struct WeightInfo(PhantomData); impl pallet_offences::WeightInfo for WeightInfo { + /// Storage: `Offences::ConcurrentReportsIndex` (r:1 w:1) + /// Proof: `Offences::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Offences::Reports` (r:100 w:100) + /// Proof: `Offences::Reports` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Staking::SlashRewardFraction` (r:1 w:0) + /// Proof: `Staking::SlashRewardFraction` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Staking::ActiveEra` (r:1 w:0) + /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`) + /// Storage: `Staking::ErasStartSessionIndex` (r:1 w:0) + /// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`) + /// Storage: `Staking::Invulnerables` (r:1 w:0) + /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Staking::ValidatorSlashInEra` (r:100 w:100) + /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Staking::SlashingSpans` (r:1700 w:1700) + /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Staking::SpanSlash` (r:1700 w:1700) + /// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`) + /// Storage: `Staking::Validators` (r:100 w:100) + /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) + /// Storage: `Staking::CounterForValidators` (r:1 w:1) + /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListNodes` (r:299 w:299) + /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) + /// Storage: `VoterList::ListBags` (r:1 w:1) + /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) + /// Storage: `VoterList::CounterForListNodes` (r:1 w:1) + /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Staking::Nominators` (r:100 w:0) + /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) + /// Storage: `Staking::OffendingValidators` (r:1 w:1) + /// Proof: `Staking::OffendingValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Session::Validators` (r:1 w:0) + /// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Staking::NominatorSlashInEra` (r:1600 w:1600) + /// Proof: `Staking::NominatorSlashInEra` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) + /// Storage: `Staking::UnappliedSlashes` (r:1 w:1) + /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `r` is `[1, 100]`. + /// The range of component `o` is `[2, 100]`. + /// The range of component `n` is `[0, 16]`. + fn report_offence_im_online(_r: u32, o: u32, n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + n * (3454 ±0) + o * (1042 ±0)` + // Estimated: `88747 + n * (157019 ±40) + o * (26384 ±6)` + // Minimum execution time: 473_782_000 picoseconds. + Weight::from_parts(479_341_000, 0) + .saturating_add(Weight::from_parts(0, 88747)) + // Standard Error: 3_762_212 + .saturating_add(Weight::from_parts(371_072_722, 0).saturating_mul(o.into())) + // Standard Error: 22_860_891 + .saturating_add(Weight::from_parts(350_723_087, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(124)) + .saturating_add(T::DbWeight::get().reads((37_u64).saturating_mul(o.into()))) + .saturating_add(T::DbWeight::get().reads((187_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(117)) + .saturating_add(T::DbWeight::get().writes((36_u64).saturating_mul(o.into()))) + .saturating_add(T::DbWeight::get().writes((187_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 157019).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(0, 26384).saturating_mul(o.into())) + } /// Storage: `Offences::ConcurrentReportsIndex` (r:1 w:1) /// Proof: `Offences::ConcurrentReportsIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Offences::Reports` (r:1 w:1) @@ -87,13 +153,13 @@ impl pallet_offences::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16]`. fn report_offence_grandpa(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1892 + n * (60 ±0)` + // Measured: `1863 + n * (60 ±0)` // Estimated: `5520 + n * (2551 ±0)` - // Minimum execution time: 78_630_000 picoseconds. - Weight::from_parts(88_665_721, 0) + // Minimum execution time: 79_320_000 picoseconds. + Weight::from_parts(88_196_115, 0) .saturating_add(Weight::from_parts(0, 5520)) - // Standard Error: 26_232 - .saturating_add(Weight::from_parts(10_390_293, 0).saturating_mul(n.into())) + // Standard Error: 30_338 + .saturating_add(Weight::from_parts(10_619_584, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(13)) @@ -141,13 +207,13 @@ impl pallet_offences::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 16]`. fn report_offence_babe(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1892 + n * (60 ±0)` + // Measured: `1863 + n * (60 ±0)` // Estimated: `5520 + n * (2551 ±0)` - // Minimum execution time: 79_484_000 picoseconds. - Weight::from_parts(88_650_780, 0) + // Minimum execution time: 78_599_000 picoseconds. + Weight::from_parts(87_677_606, 0) .saturating_add(Weight::from_parts(0, 5520)) - // Standard Error: 25_915 - .saturating_add(Weight::from_parts(10_372_668, 0).saturating_mul(n.into())) + // Standard Error: 30_607 + .saturating_add(Weight::from_parts(10_829_813, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(19)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(13)) diff --git a/relay/paseo/src/weights/pallet_preimage.rs b/relay/paseo/src/weights/pallet_preimage.rs index 65e13d7..85354c1 100644 --- a/relay/paseo/src/weights/pallet_preimage.rs +++ b/relay/paseo/src/weights/pallet_preimage.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_preimage` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_preimage // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -59,11 +60,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 41_730_000 picoseconds. - Weight::from_parts(157_307_237, 0) + // Minimum execution time: 46_369_000 picoseconds. + Weight::from_parts(212_570_052, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_961, 0).saturating_mul(s.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(2_297, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -78,11 +79,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 13_779_000 picoseconds. - Weight::from_parts(14_046_000, 0) + // Minimum execution time: 16_036_000 picoseconds. + Weight::from_parts(16_494_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_237, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(2_553, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -97,11 +98,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 13_313_000 picoseconds. - Weight::from_parts(13_419_000, 0) + // Minimum execution time: 15_461_000 picoseconds. + Weight::from_parts(15_562_000, 0) .saturating_add(Weight::from_parts(0, 3556)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(2_237, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(2_561, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,8 +118,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `244` // Estimated: `3556` - // Minimum execution time: 45_264_000 picoseconds. - Weight::from_parts(46_985_000, 0) + // Minimum execution time: 58_588_000 picoseconds. + Weight::from_parts(60_596_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -133,8 +134,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 20_724_000 picoseconds. - Weight::from_parts(22_378_000, 0) + // Minimum execution time: 28_610_000 picoseconds. + Weight::from_parts(31_195_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -147,8 +148,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3556` - // Minimum execution time: 16_684_000 picoseconds. - Weight::from_parts(18_157_000, 0) + // Minimum execution time: 23_897_000 picoseconds. + Weight::from_parts(25_658_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -161,8 +162,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 11_427_000 picoseconds. - Weight::from_parts(12_332_000, 0) + // Minimum execution time: 17_803_000 picoseconds. + Weight::from_parts(20_173_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -175,8 +176,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3556` - // Minimum execution time: 12_974_000 picoseconds. - Weight::from_parts(13_708_000, 0) + // Minimum execution time: 15_385_000 picoseconds. + Weight::from_parts(18_321_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -189,8 +190,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 9_100_000 picoseconds. - Weight::from_parts(9_521_000, 0) + // Minimum execution time: 11_583_000 picoseconds. + Weight::from_parts(12_731_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -205,8 +206,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `144` // Estimated: `3556` - // Minimum execution time: 18_493_000 picoseconds. - Weight::from_parts(19_966_000, 0) + // Minimum execution time: 24_418_000 picoseconds. + Weight::from_parts(28_639_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -219,8 +220,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 8_947_000 picoseconds. - Weight::from_parts(9_202_000, 0) + // Minimum execution time: 10_436_000 picoseconds. + Weight::from_parts(11_226_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -233,8 +234,8 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3556` - // Minimum execution time: 8_868_000 picoseconds. - Weight::from_parts(9_045_000, 0) + // Minimum execution time: 12_055_000 picoseconds. + Weight::from_parts(12_688_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -252,11 +253,11 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + n * (227 ±0)` // Estimated: `990 + n * (2603 ±0)` - // Minimum execution time: 48_132_000 picoseconds. - Weight::from_parts(48_562_000, 0) + // Minimum execution time: 54_224_000 picoseconds. + Weight::from_parts(54_836_000, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 34_704 - .saturating_add(Weight::from_parts(50_038_311, 0).saturating_mul(n.into())) + // Standard Error: 45_287 + .saturating_add(Weight::from_parts(54_812_040, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) diff --git a/relay/paseo/src/weights/pallet_proxy.rs b/relay/paseo/src/weights/pallet_proxy.rs index ac14a22..fcb7fec 100644 --- a/relay/paseo/src/weights/pallet_proxy.rs +++ b/relay/paseo/src/weights/pallet_proxy.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_proxy` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_proxy // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -53,11 +54,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 11_100_000 picoseconds. - Weight::from_parts(11_788_672, 0) + // Minimum execution time: 12_968_000 picoseconds. + Weight::from_parts(13_464_065, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_058 - .saturating_add(Weight::from_parts(33_449, 0).saturating_mul(p.into())) + // Standard Error: 862 + .saturating_add(Weight::from_parts(39_514, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) } /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -72,13 +73,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `416 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 32_576_000 picoseconds. - Weight::from_parts(32_755_307, 0) + // Minimum execution time: 37_218_000 picoseconds. + Weight::from_parts(37_392_257, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_827 - .saturating_add(Weight::from_parts(135_201, 0).saturating_mul(a.into())) - // Standard Error: 1_888 - .saturating_add(Weight::from_parts(45_136, 0).saturating_mul(p.into())) + // Standard Error: 3_183 + .saturating_add(Weight::from_parts(177_548, 0).saturating_mul(a.into())) + // Standard Error: 3_289 + .saturating_add(Weight::from_parts(29_172, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,13 +93,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `331 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 19_395_000 picoseconds. - Weight::from_parts(19_982_228, 0) + // Minimum execution time: 22_236_000 picoseconds. + Weight::from_parts(23_256_771, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_225 - .saturating_add(Weight::from_parts(142_311, 0).saturating_mul(a.into())) - // Standard Error: 2_299 - .saturating_add(Weight::from_parts(14_218, 0).saturating_mul(p.into())) + // Standard Error: 2_416 + .saturating_add(Weight::from_parts(156_426, 0).saturating_mul(a.into())) + // Standard Error: 2_497 + .saturating_add(Weight::from_parts(7_204, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -112,13 +113,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `331 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 19_939_000 picoseconds. - Weight::from_parts(19_978_151, 0) + // Minimum execution time: 22_354_000 picoseconds. + Weight::from_parts(23_242_646, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 2_187 - .saturating_add(Weight::from_parts(138_370, 0).saturating_mul(a.into())) - // Standard Error: 2_260 - .saturating_add(Weight::from_parts(17_190, 0).saturating_mul(p.into())) + // Standard Error: 2_501 + .saturating_add(Weight::from_parts(156_803, 0).saturating_mul(a.into())) + // Standard Error: 2_584 + .saturating_add(Weight::from_parts(9_249, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -134,13 +135,13 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `348 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 29_518_000 picoseconds. - Weight::from_parts(29_575_104, 0) + // Minimum execution time: 33_530_000 picoseconds. + Weight::from_parts(33_463_631, 0) .saturating_add(Weight::from_parts(0, 5698)) - // Standard Error: 1_822 - .saturating_add(Weight::from_parts(126_462, 0).saturating_mul(a.into())) - // Standard Error: 1_883 - .saturating_add(Weight::from_parts(34_795, 0).saturating_mul(p.into())) + // Standard Error: 1_571 + .saturating_add(Weight::from_parts(148_020, 0).saturating_mul(a.into())) + // Standard Error: 1_623 + .saturating_add(Weight::from_parts(40_519, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -151,11 +152,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 19_501_000 picoseconds. - Weight::from_parts(20_180_931, 0) + // Minimum execution time: 21_291_000 picoseconds. + Weight::from_parts(22_486_833, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_010 - .saturating_add(Weight::from_parts(38_586, 0).saturating_mul(p.into())) + // Standard Error: 946 + .saturating_add(Weight::from_parts(50_469, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -166,11 +167,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 19_029_000 picoseconds. - Weight::from_parts(19_985_840, 0) + // Minimum execution time: 21_750_000 picoseconds. + Weight::from_parts(22_790_023, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_465 - .saturating_add(Weight::from_parts(43_972, 0).saturating_mul(p.into())) + // Standard Error: 1_608 + .saturating_add(Weight::from_parts(46_878, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,11 +182,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `89 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_092_000 picoseconds. - Weight::from_parts(18_768_625, 0) + // Minimum execution time: 20_281_000 picoseconds. + Weight::from_parts(21_085_329, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 997 - .saturating_add(Weight::from_parts(36_217, 0).saturating_mul(p.into())) + // Standard Error: 1_072 + .saturating_add(Weight::from_parts(38_906, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -196,11 +197,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `101` // Estimated: `4706` - // Minimum execution time: 20_502_000 picoseconds. - Weight::from_parts(21_203_497, 0) + // Minimum execution time: 22_758_000 picoseconds. + Weight::from_parts(24_068_261, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 976 - .saturating_add(Weight::from_parts(5_692, 0).saturating_mul(p.into())) + // Standard Error: 18_988 + .saturating_add(Weight::from_parts(50_607, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -211,11 +212,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `126 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 18_439_000 picoseconds. - Weight::from_parts(19_470_409, 0) + // Minimum execution time: 21_325_000 picoseconds. + Weight::from_parts(21_943_167, 0) .saturating_add(Weight::from_parts(0, 4706)) - // Standard Error: 1_000 - .saturating_add(Weight::from_parts(27_772, 0).saturating_mul(p.into())) + // Standard Error: 2_386 + .saturating_add(Weight::from_parts(53_712, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/relay/paseo/src/weights/pallet_referenda.rs b/relay/paseo/src/weights/pallet_referenda.rs index 0e4e3f2..2873ce9 100644 --- a/relay/paseo/src/weights/pallet_referenda.rs +++ b/relay/paseo/src/weights/pallet_referenda.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_referenda` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_referenda // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -56,8 +57,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `186` // Estimated: `42428` - // Minimum execution time: 28_309_000 picoseconds. - Weight::from_parts(29_092_000, 0) + // Minimum execution time: 33_445_000 picoseconds. + Weight::from_parts(34_026_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -70,8 +71,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `83866` - // Minimum execution time: 40_137_000 picoseconds. - Weight::from_parts(40_975_000, 0) + // Minimum execution time: 48_969_000 picoseconds. + Weight::from_parts(50_386_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -88,8 +89,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3226` // Estimated: `42428` - // Minimum execution time: 53_644_000 picoseconds. - Weight::from_parts(54_990_000, 0) + // Minimum execution time: 64_745_000 picoseconds. + Weight::from_parts(67_145_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -106,8 +107,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3246` // Estimated: `42428` - // Minimum execution time: 53_120_000 picoseconds. - Weight::from_parts(54_303_000, 0) + // Minimum execution time: 65_590_000 picoseconds. + Weight::from_parts(69_336_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -122,8 +123,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `83866` - // Minimum execution time: 48_446_000 picoseconds. - Weight::from_parts(49_527_000, 0) + // Minimum execution time: 59_036_000 picoseconds. + Weight::from_parts(61_433_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -138,8 +139,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `83866` - // Minimum execution time: 47_170_000 picoseconds. - Weight::from_parts(48_568_000, 0) + // Minimum execution time: 58_274_000 picoseconds. + Weight::from_parts(59_966_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -150,8 +151,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `279` // Estimated: `4401` - // Minimum execution time: 22_858_000 picoseconds. - Weight::from_parts(23_535_000, 0) + // Minimum execution time: 27_728_000 picoseconds. + Weight::from_parts(29_451_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -162,8 +163,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `269` // Estimated: `4401` - // Minimum execution time: 23_093_000 picoseconds. - Weight::from_parts(23_778_000, 0) + // Minimum execution time: 27_474_000 picoseconds. + Weight::from_parts(29_482_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -176,8 +177,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `83866` - // Minimum execution time: 26_219_000 picoseconds. - Weight::from_parts(26_982_000, 0) + // Minimum execution time: 33_709_000 picoseconds. + Weight::from_parts(34_644_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -192,8 +193,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `588` // Estimated: `83866` - // Minimum execution time: 77_331_000 picoseconds. - Weight::from_parts(78_613_000, 0) + // Minimum execution time: 93_181_000 picoseconds. + Weight::from_parts(95_579_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -206,8 +207,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `102` // Estimated: `5477` - // Minimum execution time: 8_108_000 picoseconds. - Weight::from_parts(8_497_000, 0) + // Minimum execution time: 9_471_000 picoseconds. + Weight::from_parts(10_380_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -222,8 +223,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3116` // Estimated: `42428` - // Minimum execution time: 39_409_000 picoseconds. - Weight::from_parts(41_282_000, 0) + // Minimum execution time: 47_802_000 picoseconds. + Weight::from_parts(48_920_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -238,8 +239,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `3116` // Estimated: `42428` - // Minimum execution time: 42_239_000 picoseconds. - Weight::from_parts(43_303_000, 0) + // Minimum execution time: 50_732_000 picoseconds. + Weight::from_parts(52_615_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -252,8 +253,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2939` // Estimated: `5477` - // Minimum execution time: 20_393_000 picoseconds. - Weight::from_parts(20_859_000, 0) + // Minimum execution time: 25_632_000 picoseconds. + Weight::from_parts(26_486_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -266,8 +267,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2939` // Estimated: `5477` - // Minimum execution time: 20_617_000 picoseconds. - Weight::from_parts(21_626_000, 0) + // Minimum execution time: 25_251_000 picoseconds. + Weight::from_parts(26_061_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -282,8 +283,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2943` // Estimated: `5477` - // Minimum execution time: 24_457_000 picoseconds. - Weight::from_parts(25_297_000, 0) + // Minimum execution time: 29_593_000 picoseconds. + Weight::from_parts(30_508_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -298,8 +299,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `2963` // Estimated: `5477` - // Minimum execution time: 24_396_000 picoseconds. - Weight::from_parts(25_169_000, 0) + // Minimum execution time: 29_486_000 picoseconds. + Weight::from_parts(31_005_000, 0) .saturating_add(Weight::from_parts(0, 5477)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -312,8 +313,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `299` // Estimated: `42428` - // Minimum execution time: 17_827_000 picoseconds. - Weight::from_parts(18_289_000, 0) + // Minimum execution time: 22_296_000 picoseconds. + Weight::from_parts(22_960_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -326,8 +327,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `42428` - // Minimum execution time: 17_946_000 picoseconds. - Weight::from_parts(18_590_000, 0) + // Minimum execution time: 22_674_000 picoseconds. + Weight::from_parts(23_421_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -338,8 +339,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `4401` - // Minimum execution time: 11_145_000 picoseconds. - Weight::from_parts(11_686_000, 0) + // Minimum execution time: 14_256_000 picoseconds. + Weight::from_parts(14_509_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -354,8 +355,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `42428` - // Minimum execution time: 24_506_000 picoseconds. - Weight::from_parts(25_095_000, 0) + // Minimum execution time: 29_708_000 picoseconds. + Weight::from_parts(30_533_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -370,8 +371,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `42428` - // Minimum execution time: 26_090_000 picoseconds. - Weight::from_parts(26_804_000, 0) + // Minimum execution time: 31_929_000 picoseconds. + Weight::from_parts(32_813_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -384,8 +385,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `400` // Estimated: `42428` - // Minimum execution time: 24_053_000 picoseconds. - Weight::from_parts(24_870_000, 0) + // Minimum execution time: 29_116_000 picoseconds. + Weight::from_parts(30_164_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -398,8 +399,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `383` // Estimated: `42428` - // Minimum execution time: 24_788_000 picoseconds. - Weight::from_parts(25_701_000, 0) + // Minimum execution time: 29_755_000 picoseconds. + Weight::from_parts(30_477_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -412,8 +413,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `400` // Estimated: `42428` - // Minimum execution time: 23_284_000 picoseconds. - Weight::from_parts(24_258_000, 0) + // Minimum execution time: 28_942_000 picoseconds. + Weight::from_parts(29_792_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -426,8 +427,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `404` // Estimated: `42428` - // Minimum execution time: 22_230_000 picoseconds. - Weight::from_parts(23_146_000, 0) + // Minimum execution time: 27_481_000 picoseconds. + Weight::from_parts(28_376_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -442,8 +443,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `404` // Estimated: `83866` - // Minimum execution time: 33_389_000 picoseconds. - Weight::from_parts(34_560_000, 0) + // Minimum execution time: 40_430_000 picoseconds. + Weight::from_parts(41_686_000, 0) .saturating_add(Weight::from_parts(0, 83866)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -456,8 +457,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `400` // Estimated: `42428` - // Minimum execution time: 24_457_000 picoseconds. - Weight::from_parts(25_279_000, 0) + // Minimum execution time: 29_265_000 picoseconds. + Weight::from_parts(30_194_000, 0) .saturating_add(Weight::from_parts(0, 42428)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -474,8 +475,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4401` - // Minimum execution time: 16_834_000 picoseconds. - Weight::from_parts(17_424_000, 0) + // Minimum execution time: 20_280_000 picoseconds. + Weight::from_parts(21_037_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -488,8 +489,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283` // Estimated: `4401` - // Minimum execution time: 13_360_000 picoseconds. - Weight::from_parts(13_881_000, 0) + // Minimum execution time: 16_130_000 picoseconds. + Weight::from_parts(16_577_000, 0) .saturating_add(Weight::from_parts(0, 4401)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/pallet_scheduler.rs b/relay/paseo/src/weights/pallet_scheduler.rs index e2fed55..659d8bb 100644 --- a/relay/paseo/src/weights/pallet_scheduler.rs +++ b/relay/paseo/src/weights/pallet_scheduler.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_scheduler` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_scheduler // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -52,8 +53,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1489` - // Minimum execution time: 3_025_000 picoseconds. - Weight::from_parts(3_146_000, 0) + // Minimum execution time: 3_584_000 picoseconds. + Weight::from_parts(3_866_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -65,11 +66,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 3_522_000 picoseconds. - Weight::from_parts(6_101_712, 0) + // Minimum execution time: 3_953_000 picoseconds. + Weight::from_parts(8_100_985, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_305 - .saturating_add(Weight::from_parts(340_220, 0).saturating_mul(s.into())) + // Standard Error: 8_016 + .saturating_add(Weight::from_parts(812_336, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -77,8 +78,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_973_000 picoseconds. - Weight::from_parts(3_173_000, 0) + // Minimum execution time: 3_883_000 picoseconds. + Weight::from_parts(3_992_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -92,11 +93,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `179 + s * (1 ±0)` // Estimated: `3644 + s * (1 ±0)` - // Minimum execution time: 16_441_000 picoseconds. - Weight::from_parts(16_667_000, 0) + // Minimum execution time: 18_891_000 picoseconds. + Weight::from_parts(19_251_000, 0) .saturating_add(Weight::from_parts(0, 3644)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_177, 0).saturating_mul(s.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -107,8 +108,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_377_000 picoseconds. - Weight::from_parts(4_591_000, 0) + // Minimum execution time: 5_428_000 picoseconds. + Weight::from_parts(5_823_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,24 +117,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_997_000 picoseconds. - Weight::from_parts(3_243_000, 0) + // Minimum execution time: 3_889_000 picoseconds. + Weight::from_parts(4_118_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_736_000 picoseconds. - Weight::from_parts(1_859_000, 0) + // Minimum execution time: 2_442_000 picoseconds. + Weight::from_parts(2_537_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_757_000 picoseconds. - Weight::from_parts(1_871_000, 0) + // Minimum execution time: 2_464_000 picoseconds. + Weight::from_parts(2_641_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -143,11 +144,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 9_310_000 picoseconds. - Weight::from_parts(12_133_208, 0) + // Minimum execution time: 10_972_000 picoseconds. + Weight::from_parts(13_759_930, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_403 - .saturating_add(Weight::from_parts(368_667, 0).saturating_mul(s.into())) + // Standard Error: 2_034 + .saturating_add(Weight::from_parts(854_319, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -160,11 +161,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `116 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 13_005_000 picoseconds. - Weight::from_parts(12_894_212, 0) + // Minimum execution time: 16_901_000 picoseconds. + Weight::from_parts(15_198_686, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 990 - .saturating_add(Weight::from_parts(554_811, 0).saturating_mul(s.into())) + // Standard Error: 2_973 + .saturating_add(Weight::from_parts(1_567_102, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -177,11 +178,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `293 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 12_416_000 picoseconds. - Weight::from_parts(16_030_565, 0) + // Minimum execution time: 14_784_000 picoseconds. + Weight::from_parts(18_242_745, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 2_501 - .saturating_add(Weight::from_parts(408_097, 0).saturating_mul(s.into())) + // Standard Error: 2_816 + .saturating_add(Weight::from_parts(890_096, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -194,11 +195,11 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `319 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 14_832_000 picoseconds. - Weight::from_parts(15_641_458, 0) + // Minimum execution time: 18_347_000 picoseconds. + Weight::from_parts(17_353_645, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 1_737 - .saturating_add(Weight::from_parts(574_857, 0).saturating_mul(s.into())) + // Standard Error: 3_838 + .saturating_add(Weight::from_parts(1_604_878, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/relay/paseo/src/weights/pallet_session.rs b/relay/paseo/src/weights/pallet_session.rs index a066c9d..7df93c0 100644 --- a/relay/paseo/src/weights/pallet_session.rs +++ b/relay/paseo/src/weights/pallet_session.rs @@ -1,39 +1,44 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 +// 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 . -// 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_session` //! -//! 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: `[]` +//! 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: `[]` //! 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: -// ./target/production/polkadot +// ../polkadot-sdk/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_session // --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)] @@ -50,32 +55,32 @@ impl pallet_session::WeightInfo for WeightInfo { /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Session::NextKeys` (r:1 w:1) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Session::KeyOwner` (r:6 w:6) + /// Storage: `Session::KeyOwner` (r:7 w:7) /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1981` - // Estimated: `17821` - // Minimum execution time: 53_170_000 picoseconds. - Weight::from_parts(54_566_000, 0) - .saturating_add(Weight::from_parts(0, 17821)) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(7)) + // Measured: `2152` + // Estimated: `20467` + // Minimum execution time: 59_953_000 picoseconds. + Weight::from_parts(62_079_000, 0) + .saturating_add(Weight::from_parts(0, 20467)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Session::NextKeys` (r:1 w:1) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Session::KeyOwner` (r:0 w:6) + /// Storage: `Session::KeyOwner` (r:0 w:7) /// Proof: `Session::KeyOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn purge_keys() -> Weight { // Proof Size summary in bytes: - // Measured: `1781` - // Estimated: `5246` - // Minimum execution time: 39_207_000 picoseconds. - Weight::from_parts(40_234_000, 0) - .saturating_add(Weight::from_parts(0, 5246)) + // Measured: `1851` + // Estimated: `5316` + // Minimum execution time: 41_347_000 picoseconds. + Weight::from_parts(42_664_000, 0) + .saturating_add(Weight::from_parts(0, 5316)) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(8)) } } diff --git a/relay/paseo/src/weights/pallet_staking.rs b/relay/paseo/src/weights/pallet_staking.rs index d0906be..9633aa9 100644 --- a/relay/paseo/src/weights/pallet_staking.rs +++ b/relay/paseo/src/weights/pallet_staking.rs @@ -1,39 +1,44 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 +// 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 . -// 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_staking` //! -//! 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: `[]` +//! 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: `[]` //! 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: -// ./target/production/polkadot +// ../polkadot-sdk/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_staking // --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)] @@ -46,8 +51,66 @@ use core::marker::PhantomData; /// Weight functions for `pallet_staking`. pub struct WeightInfo(PhantomData); impl pallet_staking::WeightInfo for WeightInfo { + /// Storage: `Staking::Ledger` (r:1 w:0) + /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Payee` (r:1 w:1) + /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:1 w:0) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + fn update_payee() -> Weight { + // Proof Size summary in bytes: + // Measured: `1000` + // Estimated: `4556` + // Minimum execution time: 21_149_000 picoseconds. + Weight::from_parts(21_799_000, 0) + .saturating_add(Weight::from_parts(0, 4556)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Staking::Ledger` (r:5314 w:10628) + /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) + /// Storage: `Staking::Payee` (r:5314 w:0) + /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::Bonded` (r:0 w:5314) + /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// The range of component `i` is `[0, 5314]`. + fn deprecate_controller_batch(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `1375 + i * (147 ±0)` + // Estimated: `990 + i * (3566 ±0)` + // Minimum execution time: 1_616_000 picoseconds. + Weight::from_parts(1_712_000, 0) + .saturating_add(Weight::from_parts(0, 990)) + // Standard Error: 37_039 + .saturating_add(Weight::from_parts(17_023_489, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) + .saturating_add(Weight::from_parts(0, 3566).saturating_mul(i.into())) + } + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// 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: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + fn restore_ledger() -> Weight { + // Proof Size summary in bytes: + // Measured: `1014` + // Estimated: `4764` + // Minimum execution time: 40_258_000 picoseconds. + Weight::from_parts(41_210_000, 0) + .saturating_add(Weight::from_parts(0, 4764)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } /// Storage: `Staking::Bonded` (r:1 w:1) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) + /// Storage: `Staking::CurrentEra` (r:1 w:0) + /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:1 w:0) @@ -58,12 +121,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn bond() -> Weight { // Proof Size summary in bytes: - // Measured: `846` + // Measured: `813` // Estimated: `4764` - // Minimum execution time: 36_185_000 picoseconds. - Weight::from_parts(36_727_000, 0) + // Minimum execution time: 39_697_000 picoseconds. + Weight::from_parts(41_113_000, 0) .saturating_add(Weight::from_parts(0, 4764)) - .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Staking::Bonded` (r:1 w:0) @@ -80,10 +143,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn bond_extra() -> Weight { // Proof Size summary in bytes: - // Measured: `1986` + // Measured: `2024` // Estimated: `8877` - // Minimum execution time: 79_294_000 picoseconds. - Weight::from_parts(82_007_000, 0) + // Minimum execution time: 81_796_000 picoseconds. + Weight::from_parts(83_299_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) @@ -108,10 +171,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `2193` + // Measured: `2231` // Estimated: `8877` - // Minimum execution time: 84_942_000 picoseconds. - Weight::from_parts(86_219_000, 0) + // Minimum execution time: 85_496_000 picoseconds. + Weight::from_parts(89_129_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(7)) @@ -129,13 +192,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1143` + // Measured: `1148` // Estimated: `4764` - // Minimum execution time: 38_664_000 picoseconds. - Weight::from_parts(40_022_498, 0) + // Minimum execution time: 40_068_000 picoseconds. + Weight::from_parts(41_793_790, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 816 - .saturating_add(Weight::from_parts(43_304, 0).saturating_mul(s.into())) + // Standard Error: 1_207 + .saturating_add(Weight::from_parts(46_634, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -170,13 +233,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2192 + s * (4 ±0)` + // Measured: `2297 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)` - // Minimum execution time: 82_077_000 picoseconds. - Weight::from_parts(88_438_908, 0) + // Minimum execution time: 84_458_000 picoseconds. + Weight::from_parts(91_914_460, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 3_210 - .saturating_add(Weight::from_parts(1_205_633, 0).saturating_mul(s.into())) + // Standard Error: 3_231 + .saturating_add(Weight::from_parts(1_208_780, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -206,10 +269,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `1388` + // Measured: `1430` // Estimated: `4556` - // Minimum execution time: 46_278_000 picoseconds. - Weight::from_parts(47_409_000, 0) + // Minimum execution time: 47_121_000 picoseconds. + Weight::from_parts(48_717_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(5)) @@ -221,13 +284,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1209 + k * (569 ±0)` + // Measured: `1214 + k * (569 ±0)` // Estimated: `4556 + k * (3033 ±0)` - // Minimum execution time: 28_128_000 picoseconds. - Weight::from_parts(29_460_325, 0) + // Minimum execution time: 29_081_000 picoseconds. + Weight::from_parts(30_452_129, 0) .saturating_add(Weight::from_parts(0, 4556)) - // Standard Error: 6_333 - .saturating_add(Weight::from_parts(6_278_355, 0).saturating_mul(k.into())) + // Standard Error: 11_070 + .saturating_add(Weight::from_parts(6_536_178, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -258,13 +321,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1834 + n * (99 ±0)` + // Measured: `1876 + n * (99 ±0)` // Estimated: `6248 + n * (2520 ±0)` - // Minimum execution time: 58_465_000 picoseconds. - Weight::from_parts(57_323_059, 0) + // Minimum execution time: 59_956_000 picoseconds. + Weight::from_parts(59_208_949, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 20_189 - .saturating_add(Weight::from_parts(3_836_835, 0).saturating_mul(n.into())) + // Standard Error: 19_426 + .saturating_add(Weight::from_parts(3_894_458, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -286,10 +349,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `1580` + // Measured: `1685` // Estimated: `6248` - // Minimum execution time: 50_318_000 picoseconds. - Weight::from_parts(51_549_000, 0) + // Minimum execution time: 51_526_000 picoseconds. + Weight::from_parts(52_943_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -302,40 +365,24 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn set_payee() -> Weight { // Proof Size summary in bytes: - // Measured: `899` + // Measured: `904` // Estimated: `4556` - // Minimum execution time: 17_699_000 picoseconds. - Weight::from_parts(18_234_000, 0) + // Minimum execution time: 18_481_000 picoseconds. + Weight::from_parts(19_196_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Staking::Ledger` (r:1 w:0) - /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) - /// Storage: `Staking::Payee` (r:1 w:1) - /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:1 w:0) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - fn update_payee() -> Weight { - // Proof Size summary in bytes: - // Measured: `1000` - // Estimated: `4556` - // Minimum execution time: 21_149_000 picoseconds. - Weight::from_parts(21_799_000, 0) - .saturating_add(Weight::from_parts(0, 4556)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) - } /// 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:2) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) fn set_controller() -> Weight { // Proof Size summary in bytes: - // Measured: `899` + // Measured: `904` // Estimated: `4556` - // Minimum execution time: 20_738_000 picoseconds. - Weight::from_parts(21_411_000, 0) + // Minimum execution time: 21_537_000 picoseconds. + Weight::from_parts(22_584_000, 0) .saturating_add(Weight::from_parts(0, 4556)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -346,8 +393,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_949_000 picoseconds. - Weight::from_parts(2_142_000, 0) + // Minimum execution time: 2_272_000 picoseconds. + Weight::from_parts(2_445_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -357,8 +404,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_878_000 picoseconds. - Weight::from_parts(7_396_000, 0) + // Minimum execution time: 7_854_000 picoseconds. + Weight::from_parts(8_160_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,8 +415,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_095_000 picoseconds. - Weight::from_parts(7_333_000, 0) + // Minimum execution time: 7_725_000 picoseconds. + Weight::from_parts(8_052_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -379,8 +426,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_157_000 picoseconds. - Weight::from_parts(7_452_000, 0) + // Minimum execution time: 7_468_000 picoseconds. + Weight::from_parts(7_823_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -391,33 +438,13 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_143_000 picoseconds. - Weight::from_parts(2_406_182, 0) + // Minimum execution time: 2_294_000 picoseconds. + Weight::from_parts(2_668_007, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 66 - .saturating_add(Weight::from_parts(12_060, 0).saturating_mul(v.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(10_309, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Staking::Ledger` (r:5314 w:10628) - /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) - /// Storage: `Staking::Payee` (r:5314 w:0) - /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) - /// Storage: `Staking::Bonded` (r:0 w:5314) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// The range of component `i` is `[0, 5314]`. - fn deprecate_controller_batch(i: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `1375 + i * (147 ±0)` - // Estimated: `990 + i * (3566 ±0)` - // Minimum execution time: 1_616_000 picoseconds. - Weight::from_parts(1_712_000, 0) - .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 37_039 - .saturating_add(Weight::from_parts(17_023_489, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into()))) - .saturating_add(Weight::from_parts(0, 3566).saturating_mul(i.into())) - } /// Storage: `Staking::SlashingSpans` (r:1 w:1) /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::Bonded` (r:1 w:1) @@ -449,13 +476,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2192 + s * (4 ±0)` + // Measured: `2297 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)` - // Minimum execution time: 79_017_000 picoseconds. - Weight::from_parts(85_362_161, 0) + // Minimum execution time: 82_605_000 picoseconds. + Weight::from_parts(89_061_775, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 3_052 - .saturating_add(Weight::from_parts(1_209_060, 0).saturating_mul(s.into())) + // Standard Error: 3_439 + .saturating_add(Weight::from_parts(1_237_466, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(12)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -466,38 +493,32 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `66605` - // Estimated: `70070` - // Minimum execution time: 130_478_000 picoseconds. - Weight::from_parts(1_191_159_716, 0) - .saturating_add(Weight::from_parts(0, 70070)) - // Standard Error: 76_593 - .saturating_add(Weight::from_parts(6_457_182, 0).saturating_mul(s.into())) + // Measured: `66572` + // Estimated: `70037` + // Minimum execution time: 136_385_000 picoseconds. + Weight::from_parts(1_200_700_238, 0) + .saturating_add(Weight::from_parts(0, 70037)) + // Standard Error: 76_782 + .saturating_add(Weight::from_parts(6_466_005, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `Staking::CurrentEra` (r:1 w:0) + /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Staking::ErasValidatorReward` (r:1 w:0) + /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:513 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Ledger` (r:513 w:513) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasStakersClipped` (r:1 w:0) /// Proof: `Staking::ErasStakersClipped` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Staking::ErasStakersOverview` (r:1 w:0) - /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) - /// Storage: `Staking::ClaimedRewards` (r:1 w:1) - /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `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::ErasValidatorReward` (r:1 w:0) - /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:513 w:513) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Balances::Freezes` (r:513 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:513 w:513) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Staking::ErasStakersPaged` (r:1 w:0) - /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::ErasRewardPoints` (r:1 w:0) /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0) @@ -507,16 +528,16 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `58318 + n * (388 ±0)` - // Estimated: `53178 + n * (3774 ±2)` - // Minimum execution time: 144_157_000 picoseconds. - Weight::from_parts(122_185_559, 0) - .saturating_add(Weight::from_parts(0, 53178)) - // Standard Error: 17_820 - .saturating_add(Weight::from_parts(46_150_479, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(14)) + // Measured: `58213 + n * (388 ±0)` + // Estimated: `53081 + n * (3774 ±2)` + // Minimum execution time: 147_341_000 picoseconds. + Weight::from_parts(40_653_193, 0) + .saturating_add(Weight::from_parts(0, 53081)) + // Standard Error: 100_332 + .saturating_add(Weight::from_parts(51_207_677, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 3774).saturating_mul(n.into())) } @@ -535,13 +556,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1987 + l * (5 ±0)` + // Measured: `2025 + l * (5 ±0)` // Estimated: `8877` - // Minimum execution time: 76_391_000 picoseconds. - Weight::from_parts(79_140_188, 0) + // Minimum execution time: 77_847_000 picoseconds. + Weight::from_parts(81_060_295, 0) .saturating_add(Weight::from_parts(0, 8877)) - // Standard Error: 4_099 - .saturating_add(Weight::from_parts(36_645, 0).saturating_mul(l.into())) + // Standard Error: 4_191 + .saturating_add(Weight::from_parts(50_598, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -574,13 +595,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2192 + s * (4 ±0)` + // Measured: `2297 + s * (4 ±0)` // Estimated: `6248 + s * (4 ±0)` - // Minimum execution time: 87_934_000 picoseconds. - Weight::from_parts(90_382_756, 0) + // Minimum execution time: 92_710_000 picoseconds. + Weight::from_parts(94_394_878, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 3_093 - .saturating_add(Weight::from_parts(1_204_911, 0).saturating_mul(s.into())) + // Standard Error: 3_210 + .saturating_add(Weight::from_parts(1_237_728, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(11)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -608,12 +629,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::MinimumValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::CurrentEra` (r:1 w:1) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Staking::ErasStakersClipped` (r:0 w:10) + /// Proof: `Staking::ErasStakersClipped` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:10) /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Staking::ErasStakersPaged` (r:0 w:10) - /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Staking::ErasStakersOverview` (r:0 w:10) - /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`) + /// Storage: `Staking::ErasStakers` (r:0 w:10) + /// Proof: `Staking::ErasStakers` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::ErasTotalStake` (r:0 w:1) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasStartSessionIndex` (r:0 w:1) @@ -626,17 +647,17 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + n * (716 ±0) + v * (3594 ±0)` // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` - // Minimum execution time: 510_885_000 picoseconds. - Weight::from_parts(516_119_000, 0) + // Minimum execution time: 545_420_000 picoseconds. + Weight::from_parts(549_587_000, 0) .saturating_add(Weight::from_parts(0, 456136)) - // Standard Error: 2_051_919 - .saturating_add(Weight::from_parts(66_723_339, 0).saturating_mul(v.into())) - // Standard Error: 204_462 - .saturating_add(Weight::from_parts(17_965_193, 0).saturating_mul(n.into())) + // Standard Error: 2_048_437 + .saturating_add(Weight::from_parts(64_611_184, 0).saturating_mul(v.into())) + // Standard Error: 204_115 + .saturating_add(Weight::from_parts(18_936_024, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(184)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(4)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) .saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into())) .saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into())) @@ -661,15 +682,15 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3148 + n * (907 ±0) + v * (391 ±0)` + // Measured: `3190 + n * (907 ±0) + v * (391 ±0)` // Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)` - // Minimum execution time: 33_801_679_000 picoseconds. - Weight::from_parts(34_019_210_000, 0) + // Minimum execution time: 35_021_192_000 picoseconds. + Weight::from_parts(36_669_101_000, 0) .saturating_add(Weight::from_parts(0, 456136)) - // Standard Error: 375_991 - .saturating_add(Weight::from_parts(5_073_971, 0).saturating_mul(v.into())) - // Standard Error: 375_991 - .saturating_add(Weight::from_parts(3_875_876, 0).saturating_mul(n.into())) + // Standard Error: 439_600 + .saturating_add(Weight::from_parts(5_191_250, 0).saturating_mul(v.into())) + // Standard Error: 439_600 + .saturating_add(Weight::from_parts(5_153_719, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(179)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) @@ -684,13 +705,13 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `912 + v * (50 ±0)` + // Measured: `916 + v * (50 ±0)` // Estimated: `3510 + v * (2520 ±0)` - // Minimum execution time: 2_412_116_000 picoseconds. - Weight::from_parts(91_440_611, 0) + // Minimum execution time: 2_549_857_000 picoseconds. + Weight::from_parts(133_124_760, 0) .saturating_add(Weight::from_parts(0, 3510)) - // Standard Error: 7_234 - .saturating_add(Weight::from_parts(4_805_630, 0).saturating_mul(v.into())) + // Standard Error: 15_097 + .saturating_add(Weight::from_parts(5_104_432, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) .saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into())) @@ -711,8 +732,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_463_000 picoseconds. - Weight::from_parts(3_624_000, 0) + // Minimum execution time: 3_727_000 picoseconds. + Weight::from_parts(3_968_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -732,13 +753,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_183_000 picoseconds. - Weight::from_parts(3_347_000, 0) + // Minimum execution time: 3_502_000 picoseconds. + Weight::from_parts(3_706_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(6)) } - /// Storage: `Staking::Bonded` (r:1 w:0) - /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:1) @@ -761,12 +780,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill_other() -> Weight { // Proof Size summary in bytes: - // Measured: `1902` + // Measured: `1808` // Estimated: `6248` - // Minimum execution time: 64_299_000 picoseconds. - Weight::from_parts(65_949_000, 0) + // Minimum execution time: 62_630_000 picoseconds. + Weight::from_parts(64_480_000, 0) .saturating_add(Weight::from_parts(0, 6248)) - .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Staking::MinCommission` (r:1 w:0) @@ -775,10 +794,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) fn force_apply_min_commission() -> Weight { // Proof Size summary in bytes: - // Measured: `624` + // Measured: `627` // Estimated: `3510` - // Minimum execution time: 11_184_000 picoseconds. - Weight::from_parts(11_725_000, 0) + // Minimum execution time: 11_920_000 picoseconds. + Weight::from_parts(12_278_000, 0) .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -789,29 +808,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_907_000 picoseconds. - Weight::from_parts(2_079_000, 0) + // Minimum execution time: 2_124_000 picoseconds. + Weight::from_parts(2_385_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// 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: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) - fn restore_ledger() -> Weight { - // Proof Size summary in bytes: - // Measured: `1014` - // Estimated: `4764` - // Minimum execution time: 40_258_000 picoseconds. - Weight::from_parts(41_210_000, 0) - .saturating_add(Weight::from_parts(0, 4764)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) - } } diff --git a/relay/paseo/src/weights/pallet_timestamp.rs b/relay/paseo/src/weights/pallet_timestamp.rs index 8ea7a60..f5c1fa9 100644 --- a/relay/paseo/src/weights/pallet_timestamp.rs +++ b/relay/paseo/src/weights/pallet_timestamp.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_timestamp` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_timestamp // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -54,8 +55,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `173` // Estimated: `1493` - // Minimum execution time: 6_163_000 picoseconds. - Weight::from_parts(6_437_000, 0) + // Minimum execution time: 7_198_000 picoseconds. + Weight::from_parts(7_983_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -64,8 +65,8 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 3_235_000 picoseconds. - Weight::from_parts(3_378_000, 0) + // Minimum execution time: 3_718_000 picoseconds. + Weight::from_parts(3_890_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/relay/paseo/src/weights/pallet_treasury.rs b/relay/paseo/src/weights/pallet_treasury.rs index a973f9e..3b37b78 100644 --- a/relay/paseo/src/weights/pallet_treasury.rs +++ b/relay/paseo/src/weights/pallet_treasury.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_treasury // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -56,8 +57,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1887` - // Minimum execution time: 9_723_000 picoseconds. - Weight::from_parts(10_187_000, 0) + // Minimum execution time: 11_615_000 picoseconds. + Weight::from_parts(12_144_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) @@ -70,8 +71,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `143` // Estimated: `1489` - // Minimum execution time: 20_572_000 picoseconds. - Weight::from_parts(21_023_000, 0) + // Minimum execution time: 23_874_000 picoseconds. + Weight::from_parts(24_393_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -84,8 +85,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `301` // Estimated: `3593` - // Minimum execution time: 31_500_000 picoseconds. - Weight::from_parts(32_257_000, 0) + // Minimum execution time: 40_345_000 picoseconds. + Weight::from_parts(57_584_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -99,11 +100,11 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `470 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 6_910_000 picoseconds. - Weight::from_parts(8_782_990, 0) + // Minimum execution time: 8_519_000 picoseconds. + Weight::from_parts(10_766_176, 0) .saturating_add(Weight::from_parts(0, 3573)) - // Standard Error: 1_895 - .saturating_add(Weight::from_parts(105_912, 0).saturating_mul(p.into())) + // Standard Error: 1_990 + .saturating_add(Weight::from_parts(103_091, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -113,8 +114,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `127` // Estimated: `1887` - // Minimum execution time: 5_426_000 picoseconds. - Weight::from_parts(5_616_000, 0) + // Minimum execution time: 6_606_000 picoseconds. + Weight::from_parts(6_756_000, 0) .saturating_add(Weight::from_parts(0, 1887)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -132,13 +133,13 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `285 + p * (251 ±0)` + // Measured: `264 + p * (251 ±0)` // Estimated: `1887 + p * (5206 ±0)` - // Minimum execution time: 27_682_000 picoseconds. - Weight::from_parts(22_668_590, 0) + // Minimum execution time: 31_832_000 picoseconds. + Weight::from_parts(52_346_741, 0) .saturating_add(Weight::from_parts(0, 1887)) - // Standard Error: 20_024 - .saturating_add(Weight::from_parts(32_368_340, 0).saturating_mul(p.into())) + // Standard Error: 97_268 + .saturating_add(Weight::from_parts(36_035_149, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes(3)) @@ -155,8 +156,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `115` // Estimated: `4703` - // Minimum execution time: 17_122_000 picoseconds. - Weight::from_parts(17_668_000, 0) + // Minimum execution time: 19_063_000 picoseconds. + Weight::from_parts(19_687_000, 0) .saturating_add(Weight::from_parts(0, 4703)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -177,10 +178,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn payout() -> Weight { // Proof Size summary in bytes: - // Measured: `287` + // Measured: `254` // Estimated: `5318` - // Minimum execution time: 37_800_000 picoseconds. - Weight::from_parts(38_787_000, 0) + // Minimum execution time: 46_346_000 picoseconds. + Weight::from_parts(47_219_000, 0) .saturating_add(Weight::from_parts(0, 5318)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -193,8 +194,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `206` // Estimated: `5318` - // Minimum execution time: 20_219_000 picoseconds. - Weight::from_parts(20_881_000, 0) + // Minimum execution time: 23_328_000 picoseconds. + Weight::from_parts(23_734_000, 0) .saturating_add(Weight::from_parts(0, 5318)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -205,8 +206,8 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `178` // Estimated: `5318` - // Minimum execution time: 11_864_000 picoseconds. - Weight::from_parts(12_306_000, 0) + // Minimum execution time: 14_984_000 picoseconds. + Weight::from_parts(20_236_000, 0) .saturating_add(Weight::from_parts(0, 5318)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/pallet_utility.rs b/relay/paseo/src/weights/pallet_utility.rs index 37f6144..f750cb6 100644 --- a/relay/paseo/src/weights/pallet_utility.rs +++ b/relay/paseo/src/weights/pallet_utility.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_utility` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_utility // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,18 +52,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_190_000 picoseconds. - Weight::from_parts(4_374_000, 0) + // Minimum execution time: 5_027_000 picoseconds. + Weight::from_parts(5_402_145, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 727 - .saturating_add(Weight::from_parts(3_047_577, 0).saturating_mul(c.into())) + // Standard Error: 1_670 + .saturating_add(Weight::from_parts(3_798_311, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_870_000 picoseconds. - Weight::from_parts(4_062_000, 0) + // Minimum execution time: 4_798_000 picoseconds. + Weight::from_parts(4_997_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -70,18 +71,18 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_364_000 picoseconds. - Weight::from_parts(8_083_696, 0) + // Minimum execution time: 4_889_000 picoseconds. + Weight::from_parts(6_789_092, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_317 - .saturating_add(Weight::from_parts(3_261_490, 0).saturating_mul(c.into())) + // Standard Error: 1_214 + .saturating_add(Weight::from_parts(4_089_664, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_934_000 picoseconds. - Weight::from_parts(6_169_000, 0) + // Minimum execution time: 7_060_000 picoseconds. + Weight::from_parts(7_376_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// The range of component `c` is `[0, 1000]`. @@ -89,10 +90,10 @@ impl pallet_utility::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_240_000 picoseconds. - Weight::from_parts(5_168_254, 0) + // Minimum execution time: 5_061_000 picoseconds. + Weight::from_parts(5_217_000, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_284 - .saturating_add(Weight::from_parts(3_044_810, 0).saturating_mul(c.into())) + // Standard Error: 2_360 + .saturating_add(Weight::from_parts(3_821_307, 0).saturating_mul(c.into())) } } diff --git a/relay/paseo/src/weights/pallet_vesting.rs b/relay/paseo/src/weights/pallet_vesting.rs index b647387..6bc5153 100644 --- a/relay/paseo/src/weights/pallet_vesting.rs +++ b/relay/paseo/src/weights/pallet_vesting.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_vesting` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_vesting // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -56,15 +57,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348 + l * (25 ±0) + s * (36 ±0)` + // Measured: `415 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 30_457_000 picoseconds. - Weight::from_parts(30_003_923, 0) + // Minimum execution time: 34_307_000 picoseconds. + Weight::from_parts(34_499_316, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_019 - .saturating_add(Weight::from_parts(35_627, 0).saturating_mul(l.into())) - // Standard Error: 1_814 - .saturating_add(Weight::from_parts(59_288, 0).saturating_mul(s.into())) + // Standard Error: 3_136 + .saturating_add(Weight::from_parts(69_501, 0).saturating_mul(l.into())) + // Standard Error: 5_581 + .saturating_add(Weight::from_parts(93_655, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,17 +77,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_unlocked(l: u32, s: u32, ) -> Weight { + fn vest_unlocked(_l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `348 + l * (25 ±0) + s * (36 ±0)` + // Measured: `415 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 32_180_000 picoseconds. - Weight::from_parts(32_379_213, 0) + // Minimum execution time: 36_911_000 picoseconds. + Weight::from_parts(42_043_931, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_306 - .saturating_add(Weight::from_parts(32_647, 0).saturating_mul(l.into())) - // Standard Error: 2_324 - .saturating_add(Weight::from_parts(57_435, 0).saturating_mul(s.into())) + // Standard Error: 18_012 + .saturating_add(Weight::from_parts(103_456, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -100,17 +99,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. - fn vest_other_locked(l: u32, s: u32, ) -> Weight { + fn vest_other_locked(_l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `451 + l * (25 ±0) + s * (36 ±0)` + // Measured: `518 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 32_045_000 picoseconds. - Weight::from_parts(30_913_615, 0) + // Minimum execution time: 37_543_000 picoseconds. + Weight::from_parts(40_363_878, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_193 - .saturating_add(Weight::from_parts(46_337, 0).saturating_mul(l.into())) - // Standard Error: 2_123 - .saturating_add(Weight::from_parts(74_354, 0).saturating_mul(s.into())) + // Standard Error: 11_730 + .saturating_add(Weight::from_parts(72_555, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -126,15 +123,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `451 + l * (25 ±0) + s * (36 ±0)` + // Measured: `518 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 33_984_000 picoseconds. - Weight::from_parts(33_400_020, 0) + // Minimum execution time: 40_365_000 picoseconds. + Weight::from_parts(40_703_964, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_140 - .saturating_add(Weight::from_parts(38_571, 0).saturating_mul(l.into())) - // Standard Error: 2_029 - .saturating_add(Weight::from_parts(72_151, 0).saturating_mul(s.into())) + // Standard Error: 1_322 + .saturating_add(Weight::from_parts(34_551, 0).saturating_mul(l.into())) + // Standard Error: 2_353 + .saturating_add(Weight::from_parts(56_714, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -150,15 +147,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `522 + l * (25 ±0) + s * (36 ±0)` + // Measured: `593 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 63_632_000 picoseconds. - Weight::from_parts(64_542_490, 0) + // Minimum execution time: 75_521_000 picoseconds. + Weight::from_parts(76_464_371, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_960 - .saturating_add(Weight::from_parts(40_280, 0).saturating_mul(l.into())) - // Standard Error: 3_488 - .saturating_add(Weight::from_parts(86_697, 0).saturating_mul(s.into())) + // Standard Error: 3_459 + .saturating_add(Weight::from_parts(65_458, 0).saturating_mul(l.into())) + // Standard Error: 6_154 + .saturating_add(Weight::from_parts(119_871, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -174,15 +171,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `625 + l * (25 ±0) + s * (36 ±0)` + // Measured: `696 + l * (25 ±0) + s * (36 ±0)` // Estimated: `6196` - // Minimum execution time: 65_338_000 picoseconds. - Weight::from_parts(66_120_449, 0) + // Minimum execution time: 71_675_000 picoseconds. + Weight::from_parts(79_603_563, 0) .saturating_add(Weight::from_parts(0, 6196)) - // Standard Error: 2_003 - .saturating_add(Weight::from_parts(45_256, 0).saturating_mul(l.into())) - // Standard Error: 3_565 - .saturating_add(Weight::from_parts(88_738, 0).saturating_mul(s.into())) + // Standard Error: 3_461 + .saturating_add(Weight::from_parts(44_882, 0).saturating_mul(l.into())) + // Standard Error: 6_159 + .saturating_add(Weight::from_parts(132_330, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -198,15 +195,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `449 + l * (25 ±0) + s * (36 ±0)` + // Measured: `516 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 32_789_000 picoseconds. - Weight::from_parts(32_683_094, 0) + // Minimum execution time: 39_355_000 picoseconds. + Weight::from_parts(39_044_658, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 1_395 - .saturating_add(Weight::from_parts(28_000, 0).saturating_mul(l.into())) - // Standard Error: 2_577 - .saturating_add(Weight::from_parts(69_301, 0).saturating_mul(s.into())) + // Standard Error: 3_483 + .saturating_add(Weight::from_parts(64_417, 0).saturating_mul(l.into())) + // Standard Error: 6_433 + .saturating_add(Weight::from_parts(85_928, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -222,15 +219,15 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `449 + l * (25 ±0) + s * (36 ±0)` + // Measured: `516 + l * (25 ±0) + s * (36 ±0)` // Estimated: `4764` - // Minimum execution time: 35_364_000 picoseconds. - Weight::from_parts(34_412_189, 0) + // Minimum execution time: 41_979_000 picoseconds. + Weight::from_parts(40_483_006, 0) .saturating_add(Weight::from_parts(0, 4764)) - // Standard Error: 983 - .saturating_add(Weight::from_parts(41_189, 0).saturating_mul(l.into())) - // Standard Error: 1_815 - .saturating_add(Weight::from_parts(75_023, 0).saturating_mul(s.into())) + // Standard Error: 2_071 + .saturating_add(Weight::from_parts(51_964, 0).saturating_mul(l.into())) + // Standard Error: 3_825 + .saturating_add(Weight::from_parts(111_783, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/relay/paseo/src/weights/pallet_whitelist.rs b/relay/paseo/src/weights/pallet_whitelist.rs index e7b77b2..1fd2997 100644 --- a/relay/paseo/src/weights/pallet_whitelist.rs +++ b/relay/paseo/src/weights/pallet_whitelist.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_whitelist` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_whitelist // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -56,8 +57,8 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `118` // Estimated: `3556` - // Minimum execution time: 15_543_000 picoseconds. - Weight::from_parts(16_305_000, 0) + // Minimum execution time: 18_953_000 picoseconds. + Weight::from_parts(19_477_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -72,8 +73,8 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3556` - // Minimum execution time: 15_172_000 picoseconds. - Weight::from_parts(15_806_000, 0) + // Minimum execution time: 18_282_000 picoseconds. + Weight::from_parts(18_890_000, 0) .saturating_add(Weight::from_parts(0, 3556)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -91,11 +92,11 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `323 + n * (1 ±0)` // Estimated: `3787 + n * (1 ±0)` - // Minimum execution time: 25_100_000 picoseconds. - Weight::from_parts(25_253_000, 0) + // Minimum execution time: 29_612_000 picoseconds. + Weight::from_parts(30_370_000, 0) .saturating_add(Weight::from_parts(0, 3787)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_212, 0).saturating_mul(n.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_411, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -111,11 +112,11 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3556` - // Minimum execution time: 18_677_000 picoseconds. - Weight::from_parts(19_237_053, 0) + // Minimum execution time: 21_620_000 picoseconds. + Weight::from_parts(23_153_767, 0) .saturating_add(Weight::from_parts(0, 3556)) // Standard Error: 3 - .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_685, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/relay/paseo/src/weights/pallet_xcm.rs b/relay/paseo/src/weights/pallet_xcm.rs index ac7a8eb..6c33a8c 100644 --- a/relay/paseo/src/weights/pallet_xcm.rs +++ b/relay/paseo/src/weights/pallet_xcm.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_xcm` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_xcm // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -58,71 +59,27 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 23_939_000 picoseconds. - Weight::from_parts(24_804_000, 0) + // Minimum execution time: 32_136_000 picoseconds. + Weight::from_parts(33_002_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) fn teleport_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `76` - // Estimated: `3593` - // Minimum execution time: 105_483_000 picoseconds. - Weight::from_parts(109_412_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 19_647_000 picoseconds. + Weight::from_parts(20_378_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `128` - // Estimated: `3593` - // Minimum execution time: 102_331_000 picoseconds. - Weight::from_parts(105_076_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) - /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) - /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) - /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn transfer_assets() -> Weight { - // Proof Size summary in bytes: - // Measured: `76` - // Estimated: `3593` - // Minimum execution time: 107_526_000 picoseconds. - Weight::from_parts(110_724_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 19_592_000 picoseconds. + Weight::from_parts(20_704_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -140,8 +97,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_811_000 picoseconds. - Weight::from_parts(7_150_000, 0) + // Minimum execution time: 8_181_000 picoseconds. + Weight::from_parts(8_993_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -149,8 +106,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_862_000 picoseconds. - Weight::from_parts(2_001_000, 0) + // Minimum execution time: 2_428_000 picoseconds. + Weight::from_parts(2_970_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `XcmPallet::VersionNotifiers` (r:1 w:1) @@ -171,8 +128,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 29_672_000 picoseconds. - Weight::from_parts(30_201_000, 0) + // Minimum execution time: 36_498_000 picoseconds. + Weight::from_parts(42_989_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -193,8 +150,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `256` // Estimated: `3721` - // Minimum execution time: 35_212_000 picoseconds. - Weight::from_parts(36_585_000, 0) + // Minimum execution time: 43_722_000 picoseconds. + Weight::from_parts(46_331_000, 0) .saturating_add(Weight::from_parts(0, 3721)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -205,45 +162,45 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_873_000 picoseconds. - Weight::from_parts(2_053_000, 0) + // Minimum execution time: 2_399_000 picoseconds. + Weight::from_parts(2_884_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::SupportedVersion` (r:5 w:2) + /// Storage: `XcmPallet::SupportedVersion` (r:4 w:2) /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `22` - // Estimated: `13387` - // Minimum execution time: 16_018_000 picoseconds. - Weight::from_parts(16_715_000, 0) - .saturating_add(Weight::from_parts(0, 13387)) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `26` + // Estimated: `10916` + // Minimum execution time: 16_545_000 picoseconds. + Weight::from_parts(17_859_000, 0) + .saturating_add(Weight::from_parts(0, 10916)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifiers` (r:5 w:2) + /// Storage: `XcmPallet::VersionNotifiers` (r:4 w:2) /// Proof: `XcmPallet::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `26` - // Estimated: `13391` - // Minimum execution time: 16_097_000 picoseconds. - Weight::from_parts(16_593_000, 0) - .saturating_add(Weight::from_parts(0, 13391)) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `30` + // Estimated: `10920` + // Minimum execution time: 16_469_000 picoseconds. + Weight::from_parts(20_206_000, 0) + .saturating_add(Weight::from_parts(0, 10920)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:6 w:0) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:0) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `40` - // Estimated: `15880` - // Minimum execution time: 18_387_000 picoseconds. - Weight::from_parts(19_014_000, 0) - .saturating_add(Weight::from_parts(0, 15880)) - .saturating_add(T::DbWeight::get().reads(6)) + // Estimated: `13405` + // Minimum execution time: 18_272_000 picoseconds. + Weight::from_parts(19_124_000, 0) + .saturating_add(Weight::from_parts(0, 13405)) + .saturating_add(T::DbWeight::get().reads(5)) } /// Storage: `XcmPallet::VersionNotifyTargets` (r:2 w:1) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -259,36 +216,36 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `112` // Estimated: `6052` - // Minimum execution time: 29_105_000 picoseconds. - Weight::from_parts(29_638_000, 0) + // Minimum execution time: 34_095_000 picoseconds. + Weight::from_parts(36_733_000, 0) .saturating_add(Weight::from_parts(0, 6052)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:4 w:0) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:3 w:0) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `69` - // Estimated: `10959` - // Minimum execution time: 11_734_000 picoseconds. - Weight::from_parts(12_307_000, 0) - .saturating_add(Weight::from_parts(0, 10959)) - .saturating_add(T::DbWeight::get().reads(4)) + // Estimated: `8484` + // Minimum execution time: 17_917_000 picoseconds. + Weight::from_parts(19_221_000, 0) + .saturating_add(Weight::from_parts(0, 8484)) + .saturating_add(T::DbWeight::get().reads(3)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:2) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:4 w:2) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `33` - // Estimated: `13398` - // Minimum execution time: 16_801_000 picoseconds. - Weight::from_parts(17_073_000, 0) - .saturating_add(Weight::from_parts(0, 13398)) - .saturating_add(T::DbWeight::get().reads(5)) + // Measured: `37` + // Estimated: `10927` + // Minimum execution time: 18_222_000 picoseconds. + Weight::from_parts(29_405_000, 0) + .saturating_add(Weight::from_parts(0, 10927)) + .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::VersionNotifyTargets` (r:5 w:2) + /// Storage: `XcmPallet::VersionNotifyTargets` (r:4 w:2) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -300,15 +257,35 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `112` - // Estimated: `13477` - // Minimum execution time: 38_223_000 picoseconds. - Weight::from_parts(38_972_000, 0) - .saturating_add(Weight::from_parts(0, 13477)) - .saturating_add(T::DbWeight::get().reads(9)) + // Measured: `116` + // Estimated: `11006` + // Minimum execution time: 64_491_000 picoseconds. + Weight::from_parts(68_128_000, 0) + .saturating_add(Weight::from_parts(0, 11006)) + .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) + /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) + /// Proof: `XcmPallet::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueues` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) + /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `3593` + // Minimum execution time: 107_526_000 picoseconds. + Weight::from_parts(110_724_000, 0) + .saturating_add(Weight::from_parts(0, 3593)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `XcmPallet::QueryCounter` (r:1 w:1) /// Proof: `XcmPallet::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `XcmPallet::Queries` (r:0 w:1) /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -322,7 +299,7 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `XcmPallet::Queries` (r:1 w:1) + /// Storage: `XcmPallet::Queries` (r:1 w:1) /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: @@ -334,7 +311,7 @@ impl pallet_xcm::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) + /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) /// Proof: `XcmPallet::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_assets() -> Weight { // Proof Size summary in bytes: diff --git a/relay/paseo/src/weights/runtime_common_auctions.rs b/relay/paseo/src/weights/runtime_common_auctions.rs index fe653e9..4b06a42 100644 --- a/relay/paseo/src/weights/runtime_common_auctions.rs +++ b/relay/paseo/src/weights/runtime_common_auctions.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `polkadot_runtime_common::auctions` + +//! Autogenerated weights for `runtime_common::auctions` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=polkadot_runtime_common::auctions // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -54,8 +55,8 @@ impl polkadot_runtime_common::auctions::WeightInfo for // Proof Size summary in bytes: // Measured: `4` // Estimated: `1493` - // Minimum execution time: 7_458_000 picoseconds. - Weight::from_parts(7_787_000, 0) + // Minimum execution time: 8_502_000 picoseconds. + Weight::from_parts(8_765_000, 0) .saturating_add(Weight::from_parts(0, 1493)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -76,10 +77,10 @@ impl polkadot_runtime_common::auctions::WeightInfo for /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn bid() -> Weight { // Proof Size summary in bytes: - // Measured: `695` + // Measured: `696` // Estimated: `6060` - // Minimum execution time: 70_772_000 picoseconds. - Weight::from_parts(75_661_000, 0) + // Minimum execution time: 83_346_000 picoseconds. + Weight::from_parts(90_294_000, 0) .saturating_add(Weight::from_parts(0, 6060)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(4)) @@ -98,7 +99,7 @@ impl polkadot_runtime_common::auctions::WeightInfo for /// Proof: `Auctions::ReservedAmounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:36 w:36) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Slots::Leases` (r:7 w:7) + /// Storage: `Slots::Leases` (r:6 w:6) /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::ParaLifecycles` (r:1 w:1) /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -108,13 +109,13 @@ impl polkadot_runtime_common::auctions::WeightInfo for /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn on_initialize() -> Weight { // Proof Size summary in bytes: - // Measured: `6946955` + // Measured: `6946927` // Estimated: `15822990` - // Minimum execution time: 6_948_283_000 picoseconds. - Weight::from_parts(7_035_598_000, 0) + // Minimum execution time: 7_730_025_000 picoseconds. + Weight::from_parts(7_855_156_000, 0) .saturating_add(Weight::from_parts(0, 15822990)) - .saturating_add(T::DbWeight::get().reads(3687)) - .saturating_add(T::DbWeight::get().writes(3682)) + .saturating_add(T::DbWeight::get().reads(3686)) + .saturating_add(T::DbWeight::get().writes(3681)) } /// Storage: `Auctions::ReservedAmounts` (r:37 w:36) /// Proof: `Auctions::ReservedAmounts` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) @@ -126,10 +127,10 @@ impl polkadot_runtime_common::auctions::WeightInfo for /// Proof: `Auctions::AuctionInfo` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn cancel_auction() -> Weight { // Proof Size summary in bytes: - // Measured: `177732` + // Measured: `177699` // Estimated: `15822990` - // Minimum execution time: 5_341_439_000 picoseconds. - Weight::from_parts(5_525_245_000, 0) + // Minimum execution time: 5_906_078_000 picoseconds. + Weight::from_parts(6_300_077_000, 0) .saturating_add(Weight::from_parts(0, 15822990)) .saturating_add(T::DbWeight::get().reads(3673)) .saturating_add(T::DbWeight::get().writes(3673)) diff --git a/relay/paseo/src/weights/runtime_common_claims.rs b/relay/paseo/src/weights/runtime_common_claims.rs index 6a79828..a464774 100644 --- a/relay/paseo/src/weights/runtime_common_claims.rs +++ b/relay/paseo/src/weights/runtime_common_claims.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `polkadot_runtime_common::claims` + +//! Autogenerated weights for `runtime_common::claims` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=polkadot_runtime_common::claims // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -64,10 +65,10 @@ impl polkadot_runtime_common::claims::WeightInfo for We /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn claim() -> Weight { // Proof Size summary in bytes: - // Measured: `578` + // Measured: `645` // Estimated: `4764` - // Minimum execution time: 180_418_000 picoseconds. - Weight::from_parts(185_081_000, 0) + // Minimum execution time: 218_392_000 picoseconds. + Weight::from_parts(241_809_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -84,8 +85,8 @@ impl polkadot_runtime_common::claims::WeightInfo for We // Proof Size summary in bytes: // Measured: `182` // Estimated: `1667` - // Minimum execution time: 12_513_000 picoseconds. - Weight::from_parts(13_303_000, 0) + // Minimum execution time: 13_592_000 picoseconds. + Weight::from_parts(14_464_000, 0) .saturating_add(Weight::from_parts(0, 1667)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(4)) @@ -108,10 +109,10 @@ impl polkadot_runtime_common::claims::WeightInfo for We /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn claim_attest() -> Weight { // Proof Size summary in bytes: - // Measured: `578` + // Measured: `645` // Estimated: `4764` - // Minimum execution time: 173_579_000 picoseconds. - Weight::from_parts(185_432_000, 0) + // Minimum execution time: 220_986_000 picoseconds. + Weight::from_parts(248_588_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(6)) @@ -136,10 +137,10 @@ impl polkadot_runtime_common::claims::WeightInfo for We /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `MaxEncodedLen`) fn attest() -> Weight { // Proof Size summary in bytes: - // Measured: `652` + // Measured: `719` // Estimated: `4764` - // Minimum execution time: 76_235_000 picoseconds. - Weight::from_parts(83_315_000, 0) + // Minimum execution time: 105_284_000 picoseconds. + Weight::from_parts(127_864_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) @@ -156,8 +157,8 @@ impl polkadot_runtime_common::claims::WeightInfo for We // Proof Size summary in bytes: // Measured: `406` // Estimated: `3871` - // Minimum execution time: 29_916_000 picoseconds. - Weight::from_parts(33_642_000, 0) + // Minimum execution time: 34_522_000 picoseconds. + Weight::from_parts(36_256_000, 0) .saturating_add(Weight::from_parts(0, 3871)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(7)) diff --git a/relay/paseo/src/weights/runtime_common_crowdloan.rs b/relay/paseo/src/weights/runtime_common_crowdloan.rs index 6dea796..481e9cc 100644 --- a/relay/paseo/src/weights/runtime_common_crowdloan.rs +++ b/relay/paseo/src/weights/runtime_common_crowdloan.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `polkadot_runtime_common::crowdloan` + +//! Autogenerated weights for `runtime_common::crowdloan` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=polkadot_runtime_common::crowdloan // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -58,11 +59,11 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `438` - // Estimated: `3903` - // Minimum execution time: 45_563_000 picoseconds. - Weight::from_parts(47_336_000, 0) - .saturating_add(Weight::from_parts(0, 3903)) + // Measured: `415` + // Estimated: `3880` + // Minimum execution time: 56_501_000 picoseconds. + Weight::from_parts(60_012_000, 0) + .saturating_add(Weight::from_parts(0, 3880)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -82,11 +83,11 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for /// Proof: UNKNOWN KEY `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn contribute() -> Weight { // Proof Size summary in bytes: - // Measured: `498` - // Estimated: `3963` - // Minimum execution time: 130_830_000 picoseconds. - Weight::from_parts(136_431_000, 0) - .saturating_add(Weight::from_parts(0, 3963)) + // Measured: `497` + // Estimated: `3962` + // Minimum execution time: 167_589_000 picoseconds. + Weight::from_parts(171_834_000, 0) + .saturating_add(Weight::from_parts(0, 3962)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -98,10 +99,10 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for /// Proof: UNKNOWN KEY `0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0` (r:1 w:1) fn withdraw() -> Weight { // Proof Size summary in bytes: - // Measured: `688` + // Measured: `687` // Estimated: `6196` - // Minimum execution time: 71_018_000 picoseconds. - Weight::from_parts(75_765_000, 0) + // Minimum execution time: 85_046_000 picoseconds. + Weight::from_parts(88_100_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -111,13 +112,13 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `126 + k * (189 ±0)` - // Estimated: `139 + k * (189 ±0)` - // Minimum execution time: 49_261_000 picoseconds. - Weight::from_parts(50_392_000, 0) - .saturating_add(Weight::from_parts(0, 139)) - // Standard Error: 20_583 - .saturating_add(Weight::from_parts(38_956_828, 0).saturating_mul(k.into())) + // Measured: `91 + k * (189 ±0)` + // Estimated: `111 + k * (189 ±0)` + // Minimum execution time: 65_904_000 picoseconds. + Weight::from_parts(68_085_000, 0) + .saturating_add(Weight::from_parts(0, 111)) + // Standard Error: 33_485 + .saturating_add(Weight::from_parts(44_913_715, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2)) @@ -132,8 +133,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `515` // Estimated: `6196` - // Minimum execution time: 40_953_000 picoseconds. - Weight::from_parts(42_919_000, 0) + // Minimum execution time: 54_265_000 picoseconds. + Weight::from_parts(58_466_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -144,8 +145,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `235` // Estimated: `3700` - // Minimum execution time: 16_052_000 picoseconds. - Weight::from_parts(18_047_000, 0) + // Minimum execution time: 22_635_000 picoseconds. + Weight::from_parts(24_434_000, 0) .saturating_add(Weight::from_parts(0, 3700)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -156,11 +157,11 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for /// Proof: UNKNOWN KEY `0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291` (r:1 w:1) fn add_memo() -> Weight { // Proof Size summary in bytes: - // Measured: `413` - // Estimated: `3878` - // Minimum execution time: 29_747_000 picoseconds. - Weight::from_parts(32_387_000, 0) - .saturating_add(Weight::from_parts(0, 3878)) + // Measured: `412` + // Estimated: `3877` + // Minimum execution time: 36_417_000 picoseconds. + Weight::from_parts(39_514_000, 0) + .saturating_add(Weight::from_parts(0, 3877)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -172,8 +173,8 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for // Proof Size summary in bytes: // Measured: `239` // Estimated: `3704` - // Minimum execution time: 20_860_000 picoseconds. - Weight::from_parts(22_016_000, 0) + // Minimum execution time: 22_509_000 picoseconds. + Weight::from_parts(24_516_000, 0) .saturating_add(Weight::from_parts(0, 3704)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -201,13 +202,13 @@ impl polkadot_runtime_common::crowdloan::WeightInfo for /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `164 + n * (356 ±0)` + // Measured: `145 + n * (356 ±0)` // Estimated: `5385 + n * (2832 ±0)` - // Minimum execution time: 116_218_000 picoseconds. - Weight::from_parts(118_983_000, 0) + // Minimum execution time: 137_702_000 picoseconds. + Weight::from_parts(3_328_621, 0) .saturating_add(Weight::from_parts(0, 5385)) - // Standard Error: 51_433 - .saturating_add(Weight::from_parts(51_500_825, 0).saturating_mul(n.into())) + // Standard Error: 72_267 + .saturating_add(Weight::from_parts(60_053_231, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/relay/paseo/src/weights/runtime_common_paras_registrar.rs b/relay/paseo/src/weights/runtime_common_paras_registrar.rs index 8b8bcaf..3b06002 100644 --- a/relay/paseo/src/weights/runtime_common_paras_registrar.rs +++ b/relay/paseo/src/weights/runtime_common_paras_registrar.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `polkadot_runtime_common::paras_registrar` + +//! Autogenerated weights for `runtime_common::paras_registrar` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=polkadot_runtime_common::paras_registrar // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -54,11 +55,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve() -> Weight { // Proof Size summary in bytes: - // Measured: `97` - // Estimated: `3562` - // Minimum execution time: 24_026_000 picoseconds. - Weight::from_parts(24_775_000, 0) - .saturating_add(Weight::from_parts(0, 3562)) + // Measured: `70` + // Estimated: `3535` + // Minimum execution time: 26_406_000 picoseconds. + Weight::from_parts(26_970_000, 0) + .saturating_add(Weight::from_parts(0, 3535)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,11 +83,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn /// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `390` - // Estimated: `3855` - // Minimum execution time: 6_967_494_000 picoseconds. - Weight::from_parts(7_116_058_000, 0) - .saturating_add(Weight::from_parts(0, 3855)) + // Measured: `426` + // Estimated: `3891` + // Minimum execution time: 7_009_814_000 picoseconds. + Weight::from_parts(7_232_463_000, 0) + .saturating_add(Weight::from_parts(0, 3891)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -110,11 +111,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn /// Proof: `Paras::UpcomingParasGenesis` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_register() -> Weight { // Proof Size summary in bytes: - // Measured: `307` - // Estimated: `3772` - // Minimum execution time: 7_017_312_000 picoseconds. - Weight::from_parts(7_143_238_000, 0) - .saturating_add(Weight::from_parts(0, 3772)) + // Measured: `316` + // Estimated: `3781` + // Minimum execution time: 7_090_311_000 picoseconds. + Weight::from_parts(7_484_403_000, 0) + .saturating_add(Weight::from_parts(0, 3781)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -134,11 +135,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn /// Proof: `Registrar::PendingSwap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn deregister() -> Weight { // Proof Size summary in bytes: - // Measured: `504` - // Estimated: `3969` - // Minimum execution time: 49_900_000 picoseconds. - Weight::from_parts(51_920_000, 0) - .saturating_add(Weight::from_parts(0, 3969)) + // Measured: `508` + // Estimated: `3973` + // Minimum execution time: 60_714_000 picoseconds. + Weight::from_parts(64_784_000, 0) + .saturating_add(Weight::from_parts(0, 3973)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -158,11 +159,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn /// Proof: `Slots::Leases` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap() -> Weight { // Proof Size summary in bytes: - // Measured: `775` - // Estimated: `6715` - // Minimum execution time: 56_388_000 picoseconds. - Weight::from_parts(64_340_000, 0) - .saturating_add(Weight::from_parts(0, 6715)) + // Measured: `779` + // Estimated: `6719` + // Minimum execution time: 65_019_000 picoseconds. + Weight::from_parts(72_650_000, 0) + .saturating_add(Weight::from_parts(0, 6719)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(8)) } @@ -187,13 +188,13 @@ impl polkadot_runtime_common::paras_registrar::WeightIn /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `238` - // Estimated: `3703` - // Minimum execution time: 32_256_000 picoseconds. - Weight::from_parts(327_073_327, 0) - .saturating_add(Weight::from_parts(0, 3703)) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_801, 0).saturating_mul(b.into())) + // Measured: `274` + // Estimated: `3739` + // Minimum execution time: 38_091_000 picoseconds. + Weight::from_parts(296_415_869, 0) + .saturating_add(Weight::from_parts(0, 3739)) + // Standard Error: 13 + .saturating_add(Weight::from_parts(2_148, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -204,11 +205,11 @@ impl polkadot_runtime_common::paras_registrar::WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_079_000 picoseconds. - Weight::from_parts(6_662_462, 0) + // Minimum execution time: 7_365_000 picoseconds. + Weight::from_parts(16_475_353, 0) .saturating_add(Weight::from_parts(0, 0)) // Standard Error: 1 - .saturating_add(Weight::from_parts(924, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_014, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/relay/paseo/src/weights/runtime_common_slots.rs b/relay/paseo/src/weights/runtime_common_slots.rs index e9bcadd..421823c 100644 --- a/relay/paseo/src/weights/runtime_common_slots.rs +++ b/relay/paseo/src/weights/runtime_common_slots.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `polkadot_runtime_common::slots` + +//! Autogenerated weights for `runtime_common::slots` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=polkadot_runtime_common::slots // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -54,8 +55,8 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `254` // Estimated: `3719` - // Minimum execution time: 25_946_000 picoseconds. - Weight::from_parts(26_840_000, 0) + // Minimum execution time: 30_591_000 picoseconds. + Weight::from_parts(31_815_000, 0) .saturating_add(Weight::from_parts(0, 3719)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -74,15 +75,15 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei /// The range of component `t` is `[0, 100]`. fn manage_lease_period_start(c: u32, t: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `557 + c * (20 ±0) + t * (234 ±0)` - // Estimated: `4028 + c * (2496 ±0) + t * (2709 ±0)` - // Minimum execution time: 700_627_000 picoseconds. - Weight::from_parts(715_807_000, 0) - .saturating_add(Weight::from_parts(0, 4028)) - // Standard Error: 86_693 - .saturating_add(Weight::from_parts(2_755_379, 0).saturating_mul(c.into())) - // Standard Error: 86_693 - .saturating_add(Weight::from_parts(8_684_523, 0).saturating_mul(t.into())) + // Measured: `561 + c * (20 ±0) + t * (234 ±0)` + // Estimated: `4032 + c * (2496 ±0) + t * (2709 ±0)` + // Minimum execution time: 800_828_000 picoseconds. + Weight::from_parts(811_708_000, 0) + .saturating_add(Weight::from_parts(0, 4032)) + // Standard Error: 97_304 + .saturating_add(Weight::from_parts(3_168_876, 0).saturating_mul(c.into())) + // Standard Error: 97_304 + .saturating_add(Weight::from_parts(9_680_121, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) @@ -100,8 +101,8 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei // Proof Size summary in bytes: // Measured: `2726` // Estimated: `21814` - // Minimum execution time: 120_009_000 picoseconds. - Weight::from_parts(124_741_000, 0) + // Minimum execution time: 143_482_000 picoseconds. + Weight::from_parts(148_948_000, 0) .saturating_add(Weight::from_parts(0, 21814)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(9)) @@ -116,11 +117,11 @@ impl polkadot_runtime_common::slots::WeightInfo for Wei /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn trigger_onboard() -> Weight { // Proof Size summary in bytes: - // Measured: `550` - // Estimated: `4015` - // Minimum execution time: 22_626_000 picoseconds. - Weight::from_parts(24_573_000, 0) - .saturating_add(Weight::from_parts(0, 4015)) + // Measured: `554` + // Estimated: `4019` + // Minimum execution time: 29_791_000 picoseconds. + Weight::from_parts(31_842_000, 0) + .saturating_add(Weight::from_parts(0, 4019)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/relay/paseo/src/weights/runtime_parachains_configuration.rs b/relay/paseo/src/weights/runtime_parachains_configuration.rs index 4a11ee8..6b8e7b4 100644 --- a/relay/paseo/src/weights/runtime_parachains_configuration.rs +++ b/relay/paseo/src/weights/runtime_parachains_configuration.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `runtime_parachains::configuration` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=runtime_parachains::configuration // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -54,11 +55,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_block_number() -> Weight { // Proof Size summary in bytes: - // Measured: `155` - // Estimated: `1640` - // Minimum execution time: 7_391_000 picoseconds. - Weight::from_parts(7_759_000, 0) - .saturating_add(Weight::from_parts(0, 1640)) + // Measured: `159` + // Estimated: `1644` + // Minimum execution time: 8_657_000 picoseconds. + Weight::from_parts(8_971_000, 0) + .saturating_add(Weight::from_parts(0, 1644)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -70,11 +71,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `155` - // Estimated: `1640` - // Minimum execution time: 7_403_000 picoseconds. - Weight::from_parts(7_686_000, 0) - .saturating_add(Weight::from_parts(0, 1640)) + // Measured: `159` + // Estimated: `1644` + // Minimum execution time: 8_829_000 picoseconds. + Weight::from_parts(9_161_000, 0) + .saturating_add(Weight::from_parts(0, 1644)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -86,11 +87,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_option_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `155` - // Estimated: `1640` - // Minimum execution time: 7_334_000 picoseconds. - Weight::from_parts(7_774_000, 0) - .saturating_add(Weight::from_parts(0, 1640)) + // Measured: `159` + // Estimated: `1644` + // Minimum execution time: 8_718_000 picoseconds. + Weight::from_parts(9_280_000, 0) + .saturating_add(Weight::from_parts(0, 1644)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -112,11 +113,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `155` - // Estimated: `1640` - // Minimum execution time: 7_293_000 picoseconds. - Weight::from_parts(7_627_000, 0) - .saturating_add(Weight::from_parts(0, 1640)) + // Measured: `159` + // Estimated: `1644` + // Minimum execution time: 8_758_000 picoseconds. + Weight::from_parts(9_129_000, 0) + .saturating_add(Weight::from_parts(0, 1644)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -128,11 +129,11 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_executor_params() -> Weight { // Proof Size summary in bytes: - // Measured: `155` - // Estimated: `1640` - // Minimum execution time: 9_252_000 picoseconds. - Weight::from_parts(9_537_000, 0) - .saturating_add(Weight::from_parts(0, 1640)) + // Measured: `159` + // Estimated: `1644` + // Minimum execution time: 11_413_000 picoseconds. + Weight::from_parts(11_910_000, 0) + .saturating_add(Weight::from_parts(0, 1644)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,15 +145,15 @@ impl runtime_parachains::configuration::WeightInfo for /// Proof: `ParasShared::CurrentSessionIndex` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn set_config_with_perbill() -> Weight { // Proof Size summary in bytes: - // Measured: `155` - // Estimated: `1640` - // Minimum execution time: 7_302_000 picoseconds. - Weight::from_parts(7_587_000, 0) - .saturating_add(Weight::from_parts(0, 1640)) + // Measured: `159` + // Estimated: `1644` + // Minimum execution time: 8_708_000 picoseconds. + Weight::from_parts(9_091_000, 0) + .saturating_add(Weight::from_parts(0, 1644)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Configuration::PendingConfigs` (r:1 w:1) + /// Storage: `Configuration::PendingConfigs` (r:1 w:1) /// Proof: `Configuration::PendingConfigs` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Configuration::BypassConsistencyCheck` (r:1 w:0) /// Proof: `Configuration::BypassConsistencyCheck` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) diff --git a/relay/paseo/src/weights/runtime_parachains_disputes.rs b/relay/paseo/src/weights/runtime_parachains_disputes.rs index d7c2bc4..5bda195 100644 --- a/relay/paseo/src/weights/runtime_parachains_disputes.rs +++ b/relay/paseo/src/weights/runtime_parachains_disputes.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `runtime_parachains::disputes` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=runtime_parachains::disputes // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -52,8 +53,8 @@ impl runtime_parachains::disputes::WeightInfo for Weigh // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_931_000 picoseconds. - Weight::from_parts(2_089_000, 0) + // Minimum execution time: 2_407_000 picoseconds. + Weight::from_parts(2_533_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/relay/paseo/src/weights/runtime_parachains_disputes_slashing.rs b/relay/paseo/src/weights/runtime_parachains_disputes_slashing.rs index 815ffe9..bd3812f 100644 --- a/relay/paseo/src/weights/runtime_parachains_disputes_slashing.rs +++ b/relay/paseo/src/weights/runtime_parachains_disputes_slashing.rs @@ -1,39 +1,44 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md -// for a list of specific contributors. -// SPDX-License-Identifier: Apache-2.0 +// 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 . -// 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 `runtime_parachains::disputes::slashing` //! -//! 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: `[]` +//! 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: `[]` //! 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: -// ./target/production/polkadot +// ../polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json -// --steps=50 -// --repeat=20 +// --chain=../polkadot-chain-spec.json +// --steps +// 50 +// --repeat +// 20 // --pallet=runtime_parachains::disputes::slashing // --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)] @@ -70,16 +75,6 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Staking::SpanSlash` (r:1 w:1) /// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`) - /// Storage: `Staking::Validators` (r:1 w:1) - /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) - /// Storage: `Staking::CounterForValidators` (r:1 w:1) - /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `VoterList::ListNodes` (r:3 w:3) - /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) - /// Storage: `VoterList::CounterForListNodes` (r:1 w:1) - /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Staking::Nominators` (r:1 w:0) - /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Staking::OffendingValidators` (r:1 w:1) /// Proof: `Staking::OffendingValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Session::Validators` (r:1 w:0) @@ -90,20 +85,18 @@ impl runtime_parachains::disputes::slashing::WeightInfo /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Staking::UnappliedSlashes` (r:1 w:1) /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Staking::ForceEra` (r:1 w:1) - /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// The range of component `n` is `[4, 1000]`. fn report_dispute_lost(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `5578 + n * (220 ±0)` - // Estimated: `8877 + n * (350 ±0)` - // Minimum execution time: 78_696_000 picoseconds. - Weight::from_parts(158_454_472, 0) - .saturating_add(Weight::from_parts(0, 8877)) - // Standard Error: 2_479 - .saturating_add(Weight::from_parts(187_148, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(23)) - .saturating_add(T::DbWeight::get().writes(15)) - .saturating_add(Weight::from_parts(0, 350).saturating_mul(n.into())) + // Measured: `5913 + n * (251 ±0)` + // Estimated: `9163 + n * (254 ±0)` + // Minimum execution time: 96_660_000 picoseconds. + Weight::from_parts(158_137_349, 0) + .saturating_add(Weight::from_parts(0, 9163)) + // Standard Error: 3_296 + .saturating_add(Weight::from_parts(381_306, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(10)) + .saturating_add(Weight::from_parts(0, 254).saturating_mul(n.into())) } } diff --git a/relay/paseo/src/weights/runtime_parachains_hrmp.rs b/relay/paseo/src/weights/runtime_parachains_hrmp.rs index f659eab..38a5feb 100644 --- a/relay/paseo/src/weights/runtime_parachains_hrmp.rs +++ b/relay/paseo/src/weights/runtime_parachains_hrmp.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `runtime_parachains::hrmp` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=runtime_parachains::hrmp // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -66,8 +67,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `383` // Estimated: `3848` - // Minimum execution time: 31_219_000 picoseconds. - Weight::from_parts(32_032_000, 0) + // Minimum execution time: 35_516_000 picoseconds. + Weight::from_parts(36_544_000, 0) .saturating_add(Weight::from_parts(0, 3848)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) @@ -86,8 +87,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `373` // Estimated: `3838` - // Minimum execution time: 29_955_000 picoseconds. - Weight::from_parts(30_892_000, 0) + // Minimum execution time: 34_353_000 picoseconds. + Weight::from_parts(35_792_000, 0) .saturating_add(Weight::from_parts(0, 3838)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -106,8 +107,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `486` // Estimated: `3951` - // Minimum execution time: 31_156_000 picoseconds. - Weight::from_parts(31_971_000, 0) + // Minimum execution time: 35_306_000 picoseconds. + Weight::from_parts(36_284_000, 0) .saturating_add(Weight::from_parts(0, 3951)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -130,13 +131,13 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `231 + e * (100 ±0) + i * (100 ±0)` // Estimated: `3693 + e * (2575 ±0) + i * (2575 ±0)` - // Minimum execution time: 1_206_960_000 picoseconds. - Weight::from_parts(1_214_086_000, 0) + // Minimum execution time: 1_319_030_000 picoseconds. + Weight::from_parts(11_465_098, 0) .saturating_add(Weight::from_parts(0, 3693)) - // Standard Error: 111_558 - .saturating_add(Weight::from_parts(4_003_489, 0).saturating_mul(i.into())) - // Standard Error: 111_558 - .saturating_add(Weight::from_parts(3_533_948, 0).saturating_mul(e.into())) + // Standard Error: 36_119 + .saturating_add(Weight::from_parts(10_672_931, 0).saturating_mul(i.into())) + // Standard Error: 36_119 + .saturating_add(Weight::from_parts(10_996_172, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into()))) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(e.into()))) @@ -167,11 +168,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `459 + c * (136 ±0)` // Estimated: `1914 + c * (5086 ±0)` - // Minimum execution time: 5_805_000 picoseconds. - Weight::from_parts(5_935_000, 0) + // Minimum execution time: 7_014_000 picoseconds. + Weight::from_parts(7_207_000, 0) .saturating_add(Weight::from_parts(0, 1914)) - // Standard Error: 9_326 - .saturating_add(Weight::from_parts(21_220_967, 0).saturating_mul(c.into())) + // Standard Error: 20_391 + .saturating_add(Weight::from_parts(23_595_515, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -195,11 +196,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `302 + c * (124 ±0)` // Estimated: `1762 + c * (2600 ±0)` - // Minimum execution time: 4_907_000 picoseconds. - Weight::from_parts(4_991_000, 0) + // Minimum execution time: 6_259_000 picoseconds. + Weight::from_parts(11_936_094, 0) .saturating_add(Weight::from_parts(0, 1762)) - // Standard Error: 9_039 - .saturating_add(Weight::from_parts(13_113_544, 0).saturating_mul(c.into())) + // Standard Error: 25_859 + .saturating_add(Weight::from_parts(14_596_365, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -217,11 +218,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `993 + c * (13 ±0)` // Estimated: `4262 + c * (15 ±0)` - // Minimum execution time: 17_005_000 picoseconds. - Weight::from_parts(26_447_233, 0) + // Minimum execution time: 19_637_000 picoseconds. + Weight::from_parts(31_588_270, 0) .saturating_add(Weight::from_parts(0, 4262)) - // Standard Error: 2_609 - .saturating_add(Weight::from_parts(161_489, 0).saturating_mul(c.into())) + // Standard Error: 3_343 + .saturating_add(Weight::from_parts(125_471, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 15).saturating_mul(c.into())) @@ -235,11 +236,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `210 + c * (63 ±0)` // Estimated: `1689 + c * (2538 ±0)` - // Minimum execution time: 3_603_000 picoseconds. - Weight::from_parts(3_405_840, 0) + // Minimum execution time: 4_249_000 picoseconds. + Weight::from_parts(6_438_590, 0) .saturating_add(Weight::from_parts(0, 1689)) - // Standard Error: 3_380 - .saturating_add(Weight::from_parts(3_332_975, 0).saturating_mul(c.into())) + // Standard Error: 10_724 + .saturating_add(Weight::from_parts(3_777_066, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -271,11 +272,11 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `383 + c * (235 ±0)` // Estimated: `6323 + c * (235 ±0)` - // Minimum execution time: 45_605_000 picoseconds. - Weight::from_parts(47_241_226, 0) + // Minimum execution time: 51_673_000 picoseconds. + Weight::from_parts(53_763_742, 0) .saturating_add(Weight::from_parts(0, 6323)) - // Standard Error: 111_463 - .saturating_add(Weight::from_parts(13_425_473, 0).saturating_mul(c.into())) + // Standard Error: 160_615 + .saturating_add(Weight::from_parts(14_840_857, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) .saturating_add(Weight::from_parts(0, 235).saturating_mul(c.into())) @@ -304,8 +305,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `383` // Estimated: `6323` - // Minimum execution time: 46_515_000 picoseconds. - Weight::from_parts(47_261_000, 0) + // Minimum execution time: 51_836_000 picoseconds. + Weight::from_parts(57_392_000, 0) .saturating_add(Weight::from_parts(0, 6323)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(8)) @@ -316,8 +317,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Proof Size summary in bytes: // Measured: `230` // Estimated: `3695` - // Minimum execution time: 11_836_000 picoseconds. - Weight::from_parts(12_202_000, 0) + // Minimum execution time: 13_677_000 picoseconds. + Weight::from_parts(14_408_000, 0) .saturating_add(Weight::from_parts(0, 3695)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/runtime_parachains_inclusion.rs b/relay/paseo/src/weights/runtime_parachains_inclusion.rs index d27cb56..af9e146 100644 --- a/relay/paseo/src/weights/runtime_parachains_inclusion.rs +++ b/relay/paseo/src/weights/runtime_parachains_inclusion.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `runtime_parachains::inclusion` //! //! 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: `[]` +//! DATE: 2024-05-07, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=runtime_parachains::inclusion // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -59,11 +60,11 @@ impl runtime_parachains::inclusion::WeightInfo for Weig // Proof Size summary in bytes: // Measured: `65761` // Estimated: `69051` - // Minimum execution time: 110_860_000 picoseconds. - Weight::from_parts(112_319_000, 0) + // Minimum execution time: 122_963_000 picoseconds. + Weight::from_parts(126_924_000, 0) .saturating_add(Weight::from_parts(0, 69051)) - // Standard Error: 81_457 - .saturating_add(Weight::from_parts(101_899_036, 0).saturating_mul(i.into())) + // Standard Error: 163_879 + .saturating_add(Weight::from_parts(117_007_192, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) diff --git a/relay/paseo/src/weights/runtime_parachains_initializer.rs b/relay/paseo/src/weights/runtime_parachains_initializer.rs index ccaacf9..f25c8c6 100644 --- a/relay/paseo/src/weights/runtime_parachains_initializer.rs +++ b/relay/paseo/src/weights/runtime_parachains_initializer.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `runtime_parachains::initializer` //! //! 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: `[]` +//! DATE: 2024-05-07, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=runtime_parachains::initializer // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -53,11 +54,11 @@ impl runtime_parachains::initializer::WeightInfo for We // Proof Size summary in bytes: // Measured: `0 + d * (11 ±0)` // Estimated: `1480 + d * (11 ±0)` - // Minimum execution time: 2_628_000 picoseconds. - Weight::from_parts(2_773_000, 0) + // Minimum execution time: 3_290_000 picoseconds. + Weight::from_parts(3_363_000, 0) .saturating_add(Weight::from_parts(0, 1480)) - // Standard Error: 19 - .saturating_add(Weight::from_parts(2_899, 0).saturating_mul(d.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(2_654, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 11).saturating_mul(d.into())) diff --git a/relay/paseo/src/weights/runtime_parachains_paras.rs b/relay/paseo/src/weights/runtime_parachains_paras.rs index c0fb616..b3526c7 100644 --- a/relay/paseo/src/weights/runtime_parachains_paras.rs +++ b/relay/paseo/src/weights/runtime_parachains_paras.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `runtime_parachains::paras` //! //! 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: `[]` +//! DATE: 2024-05-07, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=runtime_parachains::paras // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -63,11 +64,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `8309` // Estimated: `11774` - // Minimum execution time: 26_825_000 picoseconds. - Weight::from_parts(199_932_582, 0) + // Minimum execution time: 31_059_000 picoseconds. + Weight::from_parts(309_126_899, 0) .saturating_add(Weight::from_parts(0, 11774)) - // Standard Error: 12 - .saturating_add(Weight::from_parts(2_009, 0).saturating_mul(c.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(2_117, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -78,11 +79,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_771_000 picoseconds. - Weight::from_parts(6_333_190, 0) + // Minimum execution time: 7_003_000 picoseconds. + Weight::from_parts(3_728_417, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 0 - .saturating_add(Weight::from_parts(926, 0).saturating_mul(s.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(1_046, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Paras::MostRecentContext` (r:0 w:1) @@ -91,8 +92,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_852_000 picoseconds. - Weight::from_parts(2_998_000, 0) + // Minimum execution time: 3_773_000 picoseconds. + Weight::from_parts(4_287_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -117,13 +118,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8489` - // Estimated: `11954` - // Minimum execution time: 39_195_000 picoseconds. - Weight::from_parts(26_489_104, 0) - .saturating_add(Weight::from_parts(0, 11954)) - // Standard Error: 10 - .saturating_add(Weight::from_parts(2_287, 0).saturating_mul(c.into())) + // Measured: `8525` + // Estimated: `11990` + // Minimum execution time: 46_309_000 picoseconds. + Weight::from_parts(47_885_000, 0) + .saturating_add(Weight::from_parts(0, 11990)) + // Standard Error: 2 + .saturating_add(Weight::from_parts(2_560, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -140,13 +141,13 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// The range of component `s` is `[1, 1048576]`. fn force_note_new_head(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `164` - // Estimated: `3629` - // Minimum execution time: 15_124_000 picoseconds. - Weight::from_parts(16_390_955, 0) - .saturating_add(Weight::from_parts(0, 3629)) - // Standard Error: 1 - .saturating_add(Weight::from_parts(936, 0).saturating_mul(s.into())) + // Measured: `137` + // Estimated: `3602` + // Minimum execution time: 17_026_000 picoseconds. + Weight::from_parts(30_180_591, 0) + .saturating_add(Weight::from_parts(0, 3602)) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_041, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -156,11 +157,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn /// Proof: `Paras::ActionsQueue` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_queue_action() -> Weight { // Proof Size summary in bytes: - // Measured: `4316` - // Estimated: `7781` - // Minimum execution time: 16_625_000 picoseconds. - Weight::from_parts(17_358_000, 0) - .saturating_add(Weight::from_parts(0, 7781)) + // Measured: `4320` + // Estimated: `7785` + // Minimum execution time: 19_416_000 picoseconds. + Weight::from_parts(19_817_000, 0) + .saturating_add(Weight::from_parts(0, 7785)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -177,11 +178,11 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `683` // Estimated: `4148` - // Minimum execution time: 73_790_000 picoseconds. - Weight::from_parts(71_425_185, 0) + // Minimum execution time: 80_626_000 picoseconds. + Weight::from_parts(93_544_508, 0) .saturating_add(Weight::from_parts(0, 4148)) // Standard Error: 2 - .saturating_add(Weight::from_parts(1_777, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_969, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -193,8 +194,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `28` // Estimated: `3493` - // Minimum execution time: 5_340_000 picoseconds. - Weight::from_parts(5_635_000, 0) + // Minimum execution time: 6_140_000 picoseconds. + Weight::from_parts(6_397_000, 0) .saturating_add(Weight::from_parts(0, 3493)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -209,8 +210,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `26706` // Estimated: `30171` - // Minimum execution time: 103_303_000 picoseconds. - Weight::from_parts(108_843_000, 0) + // Minimum execution time: 109_431_000 picoseconds. + Weight::from_parts(112_062_000, 0) .saturating_add(Weight::from_parts(0, 30171)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -233,8 +234,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `27360` // Estimated: `30825` - // Minimum execution time: 692_723_000 picoseconds. - Weight::from_parts(712_899_000, 0) + // Minimum execution time: 726_414_000 picoseconds. + Weight::from_parts(738_551_000, 0) .saturating_add(Weight::from_parts(0, 30825)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(104)) @@ -249,8 +250,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `27338` // Estimated: `30803` - // Minimum execution time: 103_097_000 picoseconds. - Weight::from_parts(105_685_000, 0) + // Minimum execution time: 107_051_000 picoseconds. + Weight::from_parts(111_970_000, 0) .saturating_add(Weight::from_parts(0, 30803)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -269,8 +270,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `26728` // Estimated: `30193` - // Minimum execution time: 552_095_000 picoseconds. - Weight::from_parts(563_757_000, 0) + // Minimum execution time: 578_865_000 picoseconds. + Weight::from_parts(585_097_000, 0) .saturating_add(Weight::from_parts(0, 30193)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) @@ -285,8 +286,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `26706` // Estimated: `30171` - // Minimum execution time: 100_420_000 picoseconds. - Weight::from_parts(104_527_000, 0) + // Minimum execution time: 102_292_000 picoseconds. + Weight::from_parts(107_655_000, 0) .saturating_add(Weight::from_parts(0, 30171)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) diff --git a/relay/paseo/src/weights/runtime_parachains_paras_inherent.rs b/relay/paseo/src/weights/runtime_parachains_paras_inherent.rs index ef1910a..6165f15 100644 --- a/relay/paseo/src/weights/runtime_parachains_paras_inherent.rs +++ b/relay/paseo/src/weights/runtime_parachains_paras_inherent.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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 `runtime_parachains::paras_inherent` //! //! 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: `[]` +//! DATE: 2024-05-07, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=runtime_parachains::paras_inherent // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/ +// --output=./paseo-weights-1.2/ // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -96,16 +97,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Registrar::Paras` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) - /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Session::DisabledValidators` (r:1 w:0) - /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1) /// Proof: `Hrmp::HrmpWatermarks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::Heads` (r:0 w:1) @@ -117,14 +114,14 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `51598` - // Estimated: `57538 + v * (23 ±0)` - // Minimum execution time: 857_876_000 picoseconds. - Weight::from_parts(471_641_113, 0) - .saturating_add(Weight::from_parts(0, 57538)) - // Standard Error: 15_441 - .saturating_add(Weight::from_parts(41_865_292, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(30)) + // Measured: `50882` + // Estimated: `56822 + v * (23 ±0)` + // Minimum execution time: 884_367_000 picoseconds. + Weight::from_parts(473_585_961, 0) + .saturating_add(Weight::from_parts(0, 56822)) + // Standard Error: 41_109 + .saturating_add(Weight::from_parts(46_494_292, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(28)) .saturating_add(T::DbWeight::get().writes(16)) .saturating_add(Weight::from_parts(0, 23).saturating_mul(v.into())) } @@ -172,16 +169,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) - /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Session::DisabledValidators` (r:1 w:0) - /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaInclusion::AvailabilityBitfields` (r:0 w:1) /// Proof: `ParaInclusion::AvailabilityBitfields` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParasDisputes::Included` (r:0 w:1) @@ -196,12 +189,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enter_bitfields() -> Weight { // Proof Size summary in bytes: - // Measured: `43400` - // Estimated: `49340` - // Minimum execution time: 453_770_000 picoseconds. - Weight::from_parts(480_123_000, 0) - .saturating_add(Weight::from_parts(0, 49340)) - .saturating_add(T::DbWeight::get().reads(28)) + // Measured: `42652` + // Estimated: `48592` + // Minimum execution time: 476_462_000 picoseconds. + Weight::from_parts(506_435_000, 0) + .saturating_add(Weight::from_parts(0, 48592)) + .saturating_add(T::DbWeight::get().reads(26)) .saturating_add(T::DbWeight::get().writes(17)) } /// Storage: `ParaInherent::Included` (r:1 w:1) @@ -248,22 +241,18 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::CurrentCodeHash` (r:1 w:0) /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::ParaLifecycles` (r:1 w:0) /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`) - /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) - /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Session::DisabledValidators` (r:1 w:0) - /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParasDisputes::Included` (r:0 w:1) /// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1) @@ -277,14 +266,14 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `43472` - // Estimated: `49412` - // Minimum execution time: 5_965_889_000 picoseconds. - Weight::from_parts(1_213_457_682, 0) - .saturating_add(Weight::from_parts(0, 49412)) - // Standard Error: 29_636 - .saturating_add(Weight::from_parts(47_432_915, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(31)) + // Measured: `42724` + // Estimated: `48664` + // Minimum execution time: 5_866_277_000 picoseconds. + Weight::from_parts(1_314_436_925, 0) + .saturating_add(Weight::from_parts(0, 48664)) + // Standard Error: 113_335 + .saturating_add(Weight::from_parts(45_889_036, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(29)) .saturating_add(T::DbWeight::get().writes(16)) } /// Storage: `ParaInherent::Included` (r:1 w:1) @@ -331,12 +320,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `ParasDisputes::Disputes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::SessionStartBlock` (r:1 w:0) /// Proof: `ParaScheduler::SessionStartBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) + /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParaScheduler::ValidatorGroups` (r:1 w:0) /// Proof: `ParaScheduler::ValidatorGroups` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::Parachains` (r:1 w:0) /// Proof: `Paras::Parachains` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `ParaScheduler::ClaimQueue` (r:1 w:1) - /// Proof: `ParaScheduler::ClaimQueue` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Paras::CurrentCodeHash` (r:1 w:0) /// Proof: `Paras::CurrentCodeHash` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Paras::FutureCodeHash` (r:1 w:0) @@ -347,10 +336,6 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Paras::ParaLifecycles` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(55), added: 2530, mode: `MaxEncodedLen`) - /// Storage: `ParasShared::ActiveValidatorIndices` (r:1 w:0) - /// Proof: `ParasShared::ActiveValidatorIndices` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Session::DisabledValidators` (r:1 w:0) - /// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParasDisputes::Included` (r:0 w:1) /// Proof: `ParasDisputes::Included` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Hrmp::HrmpWatermarks` (r:0 w:1) @@ -363,12 +348,12 @@ impl runtime_parachains::paras_inherent::WeightInfo for /// Proof: `Paras::MostRecentContext` (`max_values`: None, `max_size`: None, mode: `Measured`) fn enter_backed_candidate_code_upgrade() -> Weight { // Proof Size summary in bytes: - // Measured: `43499` - // Estimated: `49439` - // Minimum execution time: 35_783_528_000 picoseconds. - Weight::from_parts(38_857_285_000, 0) - .saturating_add(Weight::from_parts(0, 49439)) - .saturating_add(T::DbWeight::get().reads(33)) + // Measured: `42751` + // Estimated: `48691` + // Minimum execution time: 41_220_816_000 picoseconds. + Weight::from_parts(41_992_241_000, 0) + .saturating_add(Weight::from_parts(0, 48691)) + .saturating_add(T::DbWeight::get().reads(31)) .saturating_add(T::DbWeight::get().writes(16)) } } diff --git a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs index ef33312..7438e55 100644 --- a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs +++ b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_xcm_benchmarks::fungible` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_xcm_benchmarks::fungible // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/xcm/pallet_xcm_benchmarks_fungible.rs +// --output=./paseo-weights-1.2/xcm/pallet_xcm_benchmarks_fungible.rs // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -48,24 +49,24 @@ pub struct WeightInfo(PhantomData); impl WeightInfo { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub(crate) fn withdraw_asset() -> Weight { + pub fn withdraw_asset() -> Weight { // Proof Size summary in bytes: // Measured: `101` // Estimated: `3593` - // Minimum execution time: 28_060_000 picoseconds. - Weight::from_parts(28_457_000, 0) + // Minimum execution time: 25_445_000 picoseconds. + Weight::from_parts(26_158_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub(crate) fn transfer_asset() -> Weight { + pub fn transfer_asset() -> Weight { // Proof Size summary in bytes: // Measured: `101` // Estimated: `6196` - // Minimum execution time: 37_623_000 picoseconds. - Weight::from_parts(38_316_000, 0) + // Minimum execution time: 50_262_000 picoseconds. + Weight::from_parts(51_195_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -80,19 +81,19 @@ impl WeightInfo { /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn transfer_reserve_asset() -> Weight { + pub fn transfer_reserve_asset() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `6196` - // Minimum execution time: 86_604_000 picoseconds. - Weight::from_parts(88_162_000, 0) + // Minimum execution time: 91_100_000 picoseconds. + Weight::from_parts(93_799_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn reserve_asset_deposited() -> Weight { + pub fn reserve_asset_deposited() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` @@ -110,36 +111,36 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn initiate_reserve_withdraw() -> Weight { + pub fn initiate_reserve_withdraw() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 56_851_000 picoseconds. - Weight::from_parts(58_247_000, 0) + // Minimum execution time: 58_079_000 picoseconds. + Weight::from_parts(60_147_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub(crate) fn receive_teleported_asset() -> Weight { + pub fn receive_teleported_asset() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 27_981_000 picoseconds. - Weight::from_parts(28_770_000, 0) + // Minimum execution time: 22_177_000 picoseconds. + Weight::from_parts(22_695_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - pub(crate) fn deposit_asset() -> Weight { + pub fn deposit_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 21_062_000 picoseconds. - Weight::from_parts(21_725_000, 0) + // Minimum execution time: 22_590_000 picoseconds. + Weight::from_parts(23_091_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -154,18 +155,16 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn deposit_reserve_asset() -> Weight { + pub fn deposit_reserve_asset() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3593` - // Minimum execution time: 52_039_000 picoseconds. - Weight::from_parts(53_336_000, 0) + // Minimum execution time: 66_974_000 picoseconds. + Weight::from_parts(68_055_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) @@ -174,12 +173,14 @@ impl WeightInfo { /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn initiate_teleport() -> Weight { + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + pub fn initiate_teleport() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3593` - // Minimum execution time: 40_169_000 picoseconds. - Weight::from_parts(40_967_000, 0) + // Minimum execution time: 46_929_000 picoseconds. + Weight::from_parts(47_905_000, 0) .saturating_add(Weight::from_parts(0, 3593)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) diff --git a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs index 54af4b2..5943de9 100644 --- a/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs +++ b/relay/paseo/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -1,4 +1,4 @@ -// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// Copyright (C) Paseo and the various Paseo contributors, see Contributions.md // for a list of specific contributors. // SPDX-License-Identifier: Apache-2.0 @@ -13,26 +13,27 @@ // 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_xcm_benchmarks::generic` //! //! 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: `[]` +//! DATE: 2024-05-06, 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 +//! 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 // Executed Command: -// ./target/production/polkadot +// ./polkadot-sdk/target/production/polkadot // benchmark // pallet -// --chain=./polkadot-chain-spec.json +// --chain=./runtimes/paseo-chain-spec.json // --steps=50 // --repeat=20 // --pallet=pallet_xcm_benchmarks::generic // --extrinsic=* // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-weights/xcm/pallet_xcm_benchmarks_generic.rs +// --output=./paseo-weights-1.2/xcm/pallet_xcm_benchmarks_generic.rs // --header=./file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] @@ -45,7 +46,7 @@ use core::marker::PhantomData; /// Weight functions for `pallet_xcm_benchmarks::generic`. pub struct WeightInfo(PhantomData); -impl WeightInfo { +impl WeightInfo { /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) /// Proof: `Dmp::DeliveryFeeFactor` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `XcmPallet::SupportedVersion` (r:1 w:0) @@ -56,89 +57,89 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn report_holding() -> Weight { + pub fn report_holding() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 54_379_000 picoseconds. - Weight::from_parts(55_446_000, 0) + // Minimum execution time: 56_491_000 picoseconds. + Weight::from_parts(60_893_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - pub(crate) fn buy_execution() -> Weight { + pub fn buy_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_320_000 picoseconds. - Weight::from_parts(1_444_000, 0) + // Minimum execution time: 2_380_000 picoseconds. + Weight::from_parts(2_799_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `XcmPallet::Queries` (r:1 w:0) /// Proof: `XcmPallet::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn query_response() -> Weight { + pub fn query_response() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3465` - // Minimum execution time: 5_095_000 picoseconds. - Weight::from_parts(5_262_000, 0) + // Minimum execution time: 6_990_000 picoseconds. + Weight::from_parts(8_406_000, 0) .saturating_add(Weight::from_parts(0, 3465)) .saturating_add(T::DbWeight::get().reads(1)) } - pub(crate) fn transact() -> Weight { + pub fn transact() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_876_000 picoseconds. - Weight::from_parts(7_199_000, 0) + // Minimum execution time: 9_831_000 picoseconds. + Weight::from_parts(11_088_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn refund_surplus() -> Weight { + pub fn refund_surplus() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_667_000 picoseconds. - Weight::from_parts(1_895_000, 0) + // Minimum execution time: 4_930_000 picoseconds. + Weight::from_parts(5_592_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn set_error_handler() -> Weight { + pub fn set_error_handler() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_245_000 picoseconds. - Weight::from_parts(1_330_000, 0) + // Minimum execution time: 2_174_000 picoseconds. + Weight::from_parts(2_365_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn set_appendix() -> Weight { + pub fn set_appendix() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_245_000 picoseconds. - Weight::from_parts(1_342_000, 0) + // Minimum execution time: 2_157_000 picoseconds. + Weight::from_parts(2_491_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn clear_error() -> Weight { + pub fn clear_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_204_000 picoseconds. - Weight::from_parts(1_333_000, 0) + // Minimum execution time: 2_138_000 picoseconds. + Weight::from_parts(2_248_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn descend_origin() -> Weight { + pub fn descend_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_357_000 picoseconds. - Weight::from_parts(1_440_000, 0) + // Minimum execution time: 2_903_000 picoseconds. + Weight::from_parts(2_996_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn clear_origin() -> Weight { + pub fn clear_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_248_000 picoseconds. - Weight::from_parts(1_354_000, 0) + // Minimum execution time: 2_096_000 picoseconds. + Weight::from_parts(2_213_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) @@ -151,34 +152,34 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn report_error() -> Weight { + pub fn report_error() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 51_984_000 picoseconds. - Weight::from_parts(53_110_000, 0) + // Minimum execution time: 49_287_000 picoseconds. + Weight::from_parts(51_461_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmPallet::AssetTraps` (r:1 w:1) /// Proof: `XcmPallet::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn claim_asset() -> Weight { + pub fn claim_asset() -> Weight { // Proof Size summary in bytes: // Measured: `23` // Estimated: `3488` - // Minimum execution time: 8_243_000 picoseconds. - Weight::from_parts(8_545_000, 0) + // Minimum execution time: 11_698_000 picoseconds. + Weight::from_parts(12_310_000, 0) .saturating_add(Weight::from_parts(0, 3488)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - pub(crate) fn trap() -> Weight { + pub fn trap() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_232_000 picoseconds. - Weight::from_parts(1_309_000, 0) + // Minimum execution time: 2_183_000 picoseconds. + Weight::from_parts(2_292_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `XcmPallet::VersionNotifyTargets` (r:1 w:1) @@ -191,65 +192,65 @@ impl WeightInfo { /// Proof: `Dmp::DownwardMessageQueues` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn subscribe_version() -> Weight { + pub fn subscribe_version() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `3541` - // Minimum execution time: 24_891_000 picoseconds. - Weight::from_parts(25_385_000, 0) + // Minimum execution time: 30_260_000 picoseconds. + Weight::from_parts(31_757_000, 0) .saturating_add(Weight::from_parts(0, 3541)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } /// Storage: `XcmPallet::VersionNotifyTargets` (r:0 w:1) /// Proof: `XcmPallet::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn unsubscribe_version() -> Weight { + pub fn unsubscribe_version() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_377_000 picoseconds. - Weight::from_parts(3_538_000, 0) + // Minimum execution time: 4_719_000 picoseconds. + Weight::from_parts(5_061_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - pub(crate) fn burn_asset() -> Weight { + pub fn burn_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_576_000 picoseconds. - Weight::from_parts(1_683_000, 0) + // Minimum execution time: 3_451_000 picoseconds. + Weight::from_parts(3_555_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn expect_asset() -> Weight { + pub fn expect_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_374_000 picoseconds. - Weight::from_parts(1_514_000, 0) + // Minimum execution time: 2_346_000 picoseconds. + Weight::from_parts(2_682_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn expect_origin() -> Weight { + pub fn expect_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_236_000 picoseconds. - Weight::from_parts(1_305_000, 0) + // Minimum execution time: 2_264_000 picoseconds. + Weight::from_parts(2_373_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn expect_error() -> Weight { + pub fn expect_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_234_000 picoseconds. - Weight::from_parts(1_328_000, 0) + // Minimum execution time: 2_169_000 picoseconds. + Weight::from_parts(2_290_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn expect_transact_status() -> Weight { + pub fn expect_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_411_000 picoseconds. - Weight::from_parts(1_529_000, 0) + // Minimum execution time: 2_428_000 picoseconds. + Weight::from_parts(2_564_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) @@ -262,22 +263,22 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn query_pallet() -> Weight { + pub fn query_pallet() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 59_911_000 picoseconds. - Weight::from_parts(61_081_000, 0) + // Minimum execution time: 59_381_000 picoseconds. + Weight::from_parts(61_219_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - pub(crate) fn expect_pallet() -> Weight { + pub fn expect_pallet() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_056_000 picoseconds. - Weight::from_parts(7_335_000, 0) + // Minimum execution time: 10_773_000 picoseconds. + Weight::from_parts(11_262_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Dmp::DeliveryFeeFactor` (r:1 w:0) @@ -290,54 +291,54 @@ impl WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Dmp::DownwardMessageQueueHeads` (r:1 w:1) /// Proof: `Dmp::DownwardMessageQueueHeads` (`max_values`: None, `max_size`: None, mode: `Measured`) - pub(crate) fn report_transact_status() -> Weight { + pub fn report_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `177` // Estimated: `3642` - // Minimum execution time: 52_551_000 picoseconds. - Weight::from_parts(53_741_000, 0) + // Minimum execution time: 49_706_000 picoseconds. + Weight::from_parts(56_234_000, 0) .saturating_add(Weight::from_parts(0, 3642)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } - pub(crate) fn clear_transact_status() -> Weight { + pub fn clear_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_298_000 picoseconds. - Weight::from_parts(1_415_000, 0) + // Minimum execution time: 2_171_000 picoseconds. + Weight::from_parts(3_881_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn set_topic() -> Weight { + pub fn set_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_265_000 picoseconds. - Weight::from_parts(1_328_000, 0) + // Minimum execution time: 2_116_000 picoseconds. + Weight::from_parts(2_670_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn clear_topic() -> Weight { + pub fn clear_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_245_000 picoseconds. - Weight::from_parts(1_336_000, 0) + // Minimum execution time: 2_205_000 picoseconds. + Weight::from_parts(2_500_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn set_fees_mode() -> Weight { + pub fn set_fees_mode() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_191_000 picoseconds. - Weight::from_parts(1_325_000, 0) + // Minimum execution time: 2_064_000 picoseconds. + Weight::from_parts(2_322_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - pub(crate) fn unpaid_execution() -> Weight { + pub fn unpaid_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_230_000 picoseconds. - Weight::from_parts(1_345_000, 0) + // Minimum execution time: 2_282_000 picoseconds. + Weight::from_parts(2_528_000, 0) .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/relay/paseo/src/xcm_config.rs b/relay/paseo/src/xcm_config.rs index d4a18b6..3f69572 100644 --- a/relay/paseo/src/xcm_config.rs +++ b/relay/paseo/src/xcm_config.rs @@ -1,20 +1,20 @@ // Copyright (C) Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of Paseo. -// Polkadot is free software: you can redistribute it and/or modify +// 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. -// Polkadot is distributed in the hope that it will be useful, +// 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 Polkadot. If not, see . +// along with Paseo. If not, see . -//! XCM configuration for Polkadot. +//! XCM configuration for Paseo. use super::{ parachains_origin, AccountId, AllPalletsWithSystem, Balances, Dmp, FellowshipAdmin, @@ -27,7 +27,10 @@ use frame_support::{ }; use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; -use polkadot_runtime_common::{ +use paseo_runtime_constants::{ + currency::CENTS, system_parachain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX, +}; +use runtime_common::{ xcm_sender::{ChildParachainRouter, ExponentialPrice}, ToAuthor, }; @@ -48,11 +51,11 @@ use xcm_builder::{ parameter_types! { pub const RootLocation: Location = Here.into_location(); - /// The location of the DOT token, from the context of this chain. Since this token is native to this + /// The location of the PAS token, from the context of this chain. Since this token is native to this /// chain, we make it synonymous with it and thus it is the `Here` location, which means "equivalent to /// the context". pub const TokenLocation: Location = Here.into_location(); - /// The Polkadot network ID. This is named. + /// The Polkadot network ID. This is named. TODO To rename to Paseo. pub const ThisNetwork: NetworkId = NetworkId::Polkadot; /// Our location in the universe of consensus systems. pub UniversalLocation: InteriorLocation = [GlobalConsensus(ThisNetwork::get())].into(); @@ -142,7 +145,7 @@ parameter_types! { pub const MaxAssetsIntoHolding: u32 = 64; } -/// Polkadot Relay recognizes/respects AssetHub, Collectives, and BridgeHub chains as teleporters. +/// Paseo Relay recognizes/respects AssetHub, Collectives, and BridgeHub chains as teleporters. pub type TrustedTeleporters = ( xcm_builder::Case, xcm_builder::Case, @@ -204,7 +207,7 @@ impl xcm_executor::Config for XcmConfig { type XcmSender = XcmRouter; type AssetTransactor = LocalAssetTransactor; type OriginConverter = LocalOriginConverter; - // Polkadot Relay recognises no chains which act as reserves. + // Paseo Relay recognises no chains which act as reserves. type IsReserve = (); type IsTeleporter = TrustedTeleporters; type UniversalLocation = UniversalLocation; From 0ae9157330426190a55bac7675b1d3088dc11d95 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:45:03 +0200 Subject: [PATCH 3/7] fix(paseo): Cargo workspace deps v1.2.4 --- Cargo.toml | 126 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 103 insertions(+), 23 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6442003..0572976 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,17 +1,28 @@ [workspace.package] version = "1.0.0" -authors = ["Paseo Core Team"] +authors = ["Polkadot Fellowship"] edition = "2021" -repository = "https://github.com/paseo-network/runtimes.git" -license = "Apache License v2" # TODO +repository = "https://github.com/polkadot-fellows/runtimes.git" +license = "GPL-3.0-only" # TODO [workspace.dependencies] assert_matches = { version = "1.5.0" } +asset-hub-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama" } +asset-hub-kusama-runtime = { path = "system-parachains/asset-hubs/asset-hub-kusama" } +asset-hub-polkadot-emulated-chain = { path = "integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot" } +asset-hub-polkadot-runtime = { path = "system-parachains/asset-hubs/asset-hub-polkadot" } asset-test-utils = { version = "8.0.1" } assets-common = { version = "0.8.0", default-features = false } +authority-discovery-primitives = { version = "27.0.0", default-features = false, package = "sp-authority-discovery" } +babe-primitives = { version = "0.33.0", default-features = false, package = "sp-consensus-babe" } +beefy-primitives = { version = "14.0.0", default-features = false, package = "sp-consensus-beefy" } binary-merkle-tree = { version = "14.0.0", default-features = false } +bp-asset-hub-kusama = { path = "system-parachains/asset-hubs/asset-hub-kusama/primitives", default-features = false } +bp-asset-hub-polkadot = { path = "system-parachains/asset-hubs/asset-hub-polkadot/primitives", default-features = false } bp-bridge-hub-cumulus = { version = "0.8.0", default-features = false } -bp-header-chain = { version = "0.8.0", default-features = false } +bp-bridge-hub-kusama = { path = "system-parachains/bridge-hubs/bridge-hub-kusama/primitives", default-features = false } +bp-bridge-hub-polkadot = { path = "system-parachains/bridge-hubs/bridge-hub-polkadot/primitives", default-features = false } +bp-header-chain = { version = "0.8.1", default-features = false } bp-kusama = { version = "0.6.0", default-features = false } bp-messages = { version = "0.8.0", default-features = false } bp-parachains = { version = "0.8.0", default-features = false } @@ -21,9 +32,18 @@ bp-relayers = { version = "0.8.0", default-features = false } bp-runtime = { version = "0.8.0", default-features = false } bp-xcm-bridge-hub-router = { version = "0.7.0", default-features = false } bridge-hub-common = { version = "0.1.0", default-features = false } +bridge-hub-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama" } +bridge-hub-kusama-runtime = { path = "system-parachains/bridge-hubs/bridge-hub-kusama" } +bridge-hub-polkadot-emulated-chain = { path = "integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot" } +bridge-hub-polkadot-runtime = { path = "system-parachains/bridge-hubs/bridge-hub-polkadot" } bridge-hub-test-utils = { version = "0.8.0" } bridge-runtime-common = { version = "0.8.0", default-features = false } clap = { version = "4.5.0" } +codec = { package = "parity-scale-codec", version = "3.6.9", default-features = false } +collectives-polkadot-emulated-chain = { path = "integration-tests/emulated/chains/parachains/collectives/collectives-polkadot" } +collectives-polkadot-runtime = { path = "system-parachains/collectives/collectives-polkadot" } +collectives-polkadot-runtime-constants = { path = "system-parachains/collectives/collectives-polkadot/constants" } +coretime-kusama-runtime = { path = "system-parachains/coretime/coretime-kusama" } cumulus-pallet-aura-ext = { version = "0.8.0", default-features = false } cumulus-pallet-dmp-queue = { version = "0.8.0", default-features = false } cumulus-pallet-parachain-system = { version = "0.8.1", default-features = false } @@ -34,17 +54,28 @@ cumulus-primitives-aura = { version = "0.8.0", default-features = false } cumulus-primitives-core = { version = "0.8.0", default-features = false } cumulus-primitives-utility = { version = "0.8.1", default-features = false } emulated-integration-tests-common = { version = "4.0.0" } +encointer-balances-tx-payment = { version = "~6.1.0", default-features = false } +encointer-balances-tx-payment-rpc-runtime-api = { version = "~6.1.0", default-features = false } +encointer-kusama-runtime = { path = "system-parachains/encointer" } +encointer-primitives = { version = "~6.1.0", default-features = false } enumflags2 = { version = "0.7.7" } frame-benchmarking = { version = "29.0.0", default-features = false } frame-election-provider-support = { version = "29.0.0", default-features = false } frame-executive = { version = "29.0.0", default-features = false } -frame-remote-externalities = { version = "0.36.0" } frame-support = { version = "29.0.2", default-features = false } frame-system = { version = "29.0.0", default-features = false } frame-system-benchmarking = { version = "29.0.0", default-features = false } frame-system-rpc-runtime-api = { version = "27.0.0", default-features = false } frame-try-runtime = { version = "0.35.0", default-features = false } +glutton-kusama-runtime = { path = "system-parachains/gluttons/glutton-kusama" } +grandpa = { version = "0.20.0", package = "sc-consensus-grandpa" } hex-literal = { version = "0.4.1" } +integration-tests-helpers = { path = "integration-tests/emulated/helpers" } +kusama-emulated-chain = { path = "integration-tests/emulated/chains/relays/kusama" } +kusama-polkadot-system-emulated-network = { path = "integration-tests/emulated/networks/kusama-polkadot-system" } +kusama-runtime = { path = "relay/kusama", package = "staging-kusama-runtime" } +kusama-runtime-constants = { path = "relay/kusama/constants", default-features = false } +kusama-system-emulated-network = { path = "integration-tests/emulated/networks/kusama-system" } log = { version = "0.4.20", default-features = false } pallet-alliance = { version = "28.0.0", default-features = false } pallet-asset-conversion = { version = "11.0.0", default-features = false } @@ -65,14 +96,24 @@ pallet-bridge-grandpa = { version = "0.8.0", default-features = false } pallet-bridge-messages = { version = "0.8.0", default-features = false } pallet-bridge-parachains = { version = "0.8.0", default-features = false } pallet-bridge-relayers = { version = "0.8.0", default-features = false } -pallet-broker = { version = "0.7.0", default-features = false } +pallet-broker = { version = "0.7.1", default-features = false } pallet-child-bounties = { version = "28.0.0", default-features = false } -pallet-collator-selection = { version = "10.0.0", default-features = false } +pallet-collator-selection = { version = "10.0.2", default-features = false } pallet-collective = { version = "29.0.0", default-features = false } pallet-conviction-voting = { version = "29.0.0", default-features = false } pallet-core-fellowship = { version = "13.0.0", default-features = false } pallet-election-provider-multi-phase = { version = "28.0.0", default-features = false } pallet-election-provider-support-benchmarking = { version = "28.0.0", default-features = false } +pallet-encointer-balances = { version = "~6.1.0", default-features = false } +pallet-encointer-bazaar = { version = "~6.1.0", default-features = false } +pallet-encointer-bazaar-rpc-runtime-api = { version = "~6.1.0", default-features = false } +pallet-encointer-ceremonies = { version = "~6.1.0", default-features = false } +pallet-encointer-ceremonies-rpc-runtime-api = { version = "~6.1.0", default-features = false } +pallet-encointer-communities = { version = "~6.1.0", default-features = false } +pallet-encointer-communities-rpc-runtime-api = { version = "~6.1.0", default-features = false } +pallet-encointer-faucet = { version = "~6.1.0", default-features = false } +pallet-encointer-reputation-commitments = { version = "~6.1.0", default-features = false } +pallet-encointer-scheduler = { version = "~6.1.0", default-features = false } pallet-fast-unstake = { version = "28.0.0", default-features = false } pallet-glutton = { version = "15.0.0", default-features = false } pallet-grandpa = { version = "29.0.0", default-features = false } @@ -116,23 +157,30 @@ pallet-uniques = { version = "29.0.0", default-features = false } pallet-utility = { version = "29.0.0", default-features = false } pallet-vesting = { version = "29.0.0", default-features = false } pallet-whitelist = { version = "28.0.0", default-features = false } -pallet-xcm = { version = "8.0.4", default-features = false } +pallet-xcm = { version = "8.0.5", default-features = false } pallet-xcm-benchmarks = { version = "8.0.2", default-features = false } pallet-xcm-bridge-hub = { version = "0.3.0", default-features = false } pallet-xcm-bridge-hub-router = { version = "0.6.0", default-features = false } +parachain-info = { version = "0.8.0", default-features = false, package = "staging-parachain-info" } parachains-common = { version = "8.0.0", default-features = false } parachains-runtimes-test-utils = { version = "8.0.0" } -parity-scale-codec = { version = "3.6.9", default-features = false } paste = { version = "1.0.14" } +penpal-emulated-chain = { path = "integration-tests/emulated/chains/parachains/testing/penpal" } penpal-runtime = { version = "0.15.1" } +people-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/people/people-kusama" } +people-kusama-runtime = { path = "system-parachains/people/people-kusama" } polkadot-core-primitives = { version = "8.0.0", default-features = false } +polkadot-emulated-chain = { path = "integration-tests/emulated/chains/relays/polkadot" } polkadot-parachain-primitives = { version = "7.0.0", default-features = false } polkadot-primitives = { version = "8.0.1", default-features = false } +polkadot-runtime = { path = "relay/polkadot" } polkadot-runtime-common = { version = "8.0.1", default-features = false } -polkadot-runtime-parachains = { version = "8.0.1", default-features = false } +polkadot-runtime-constants = { path = "relay/polkadot/constants", default-features = false } +polkadot-system-emulated-network = { path = "integration-tests/emulated/networks/polkadot-system" } primitive-types = { version = "0.12.2", default-features = false } +remote-externalities = { version = "0.36.0", package = "frame-remote-externalities" } +runtime-parachains = { version = "8.0.1", default-features = false, package = "polkadot-runtime-parachains" } sc-chain-spec = { version = "28.0.0" } -sc-consensus-grandpa = { version = "0.20.0" } scale-info = { version = "2.10.0", default-features = false } separator = { version = "0.4.1" } serde = { version = "1.0.196" } @@ -141,7 +189,7 @@ smallvec = { version = "1.13.1" } snowbridge-beacon-primitives = { version = "0.1.0", default-features = false } snowbridge-core = { version = "0.1.1", default-features = false } snowbridge-outbound-queue-runtime-api = { version = "0.1.1", default-features = false } -snowbridge-pallet-ethereum-client = { version = "0.1.1", default-features = false } +snowbridge-pallet-ethereum-client = { version = "0.1.2", default-features = false } snowbridge-pallet-inbound-queue = { version = "0.1.1", default-features = false } snowbridge-pallet-inbound-queue-fixtures = { version = "0.9.0" } snowbridge-pallet-outbound-queue = { version = "0.1.1", default-features = false } @@ -153,11 +201,8 @@ snowbridge-system-runtime-api = { version = "0.1.0", default-features = false } sp-api = { version = "27.0.0", default-features = false } sp-application-crypto = { version = "31.0.0", default-features = false } sp-arithmetic = { version = "24.0.0", default-features = false } -sp-authority-discovery = { version = "27.0.0", default-features = false } sp-block-builder = { version = "27.0.0", default-features = false } sp-consensus-aura = { version = "0.33.0", default-features = false } -sp-consensus-babe = { version = "0.33.0", default-features = false } -sp-consensus-beefy = { version = "14.0.0", default-features = false } sp-core = { version = "29.0.0", default-features = false } sp-debug-derive = { version = "14.0.0", default-features = false } sp-genesis-builder = { version = "0.8.0", default-features = false } @@ -176,23 +221,58 @@ sp-transaction-pool = { version = "27.0.0", default-features = false } sp-trie = { version = "30.0.0" } sp-version = { version = "30.0.0", default-features = false } sp-weights = { version = "28.0.0", default-features = false } -staging-parachain-info = { version = "0.8.0", default-features = false } -staging-xcm = { version = "8.0.1", default-features = false } -staging-xcm-builder = { version = "8.0.1", default-features = false } -staging-xcm-executor = { version = "8.0.1", default-features = false } static_assertions = { version = "1.1.0" } substrate-wasm-builder = { version = "18.0.0" } +system-parachains-constants = { path = "system-parachains/constants", default-features = false } tokio = { version = "1.36.0" } +xcm = { version = "8.0.1", default-features = false, package = "staging-xcm" } +xcm-builder = { version = "8.0.1", default-features = false, package = "staging-xcm-builder" } xcm-emulator = { version = "0.6.0" } -paseo-runtime-constants = { package = "paseo-runtime-constants", path = "relay/paseo/constants", default-features = false } +xcm-executor = { version = "8.0.1", default-features = false, package = "staging-xcm-executor" } [workspace] resolver = "2" members = [ "chain-spec-generator", - "relay/paseo", - "relay/paseo/constants" + "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama", + "integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot", + "integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama", + "integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot", + "integration-tests/emulated/chains/parachains/collectives/collectives-polkadot", + "integration-tests/emulated/chains/parachains/people/people-kusama", + "integration-tests/emulated/chains/parachains/testing/penpal", + "integration-tests/emulated/chains/relays/kusama", + "integration-tests/emulated/chains/relays/polkadot", + "integration-tests/emulated/helpers", + "integration-tests/emulated/networks/kusama-polkadot-system", + "integration-tests/emulated/networks/kusama-system", + "integration-tests/emulated/networks/polkadot-system", + "integration-tests/emulated/tests/assets/asset-hub-kusama", + "integration-tests/emulated/tests/assets/asset-hub-polkadot", + "integration-tests/emulated/tests/bridges/bridge-hub-kusama", + "integration-tests/emulated/tests/bridges/bridge-hub-polkadot", + "integration-tests/emulated/tests/collectives/collectives-polkadot", + "integration-tests/emulated/tests/people/people-kusama", + "relay/kusama", + "relay/kusama/constants", + "relay/polkadot", + "relay/polkadot/constants", + "system-parachains/asset-hubs/asset-hub-kusama", + "system-parachains/asset-hubs/asset-hub-kusama/primitives", + "system-parachains/asset-hubs/asset-hub-polkadot", + "system-parachains/asset-hubs/asset-hub-polkadot/primitives", + "system-parachains/bridge-hubs/bridge-hub-kusama", + "system-parachains/bridge-hubs/bridge-hub-kusama/primitives", + "system-parachains/bridge-hubs/bridge-hub-polkadot", + "system-parachains/bridge-hubs/bridge-hub-polkadot/primitives", + "system-parachains/collectives/collectives-polkadot", + "system-parachains/collectives/collectives-polkadot/constants", + "system-parachains/constants", + "system-parachains/coretime/coretime-kusama", + "system-parachains/encointer", + "system-parachains/gluttons/glutton-kusama", + "system-parachains/people/people-kusama", ] [profile.release] @@ -203,4 +283,4 @@ opt-level = 3 [profile.production] inherits = "release" lto = true -codegen-units = 1 +codegen-units = 1 \ No newline at end of file From 30af342eaf6e20490caa6b045f498570e5ecf0ee Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:10:53 +0200 Subject: [PATCH 4/7] chore(paseo-runtime): update workspace Cargo --- Cargo.toml | 105 +++-------------------------------------------------- 1 file changed, 5 insertions(+), 100 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0572976..54434db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,27 +1,19 @@ [workspace.package] version = "1.0.0" -authors = ["Polkadot Fellowship"] +authors = ["Paseo Core Team"] edition = "2021" -repository = "https://github.com/polkadot-fellows/runtimes.git" -license = "GPL-3.0-only" # TODO +repository = "https://github.com/paseo-network/runtimes.git" +license = "GPL-3.0-only" [workspace.dependencies] assert_matches = { version = "1.5.0" } -asset-hub-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama" } -asset-hub-kusama-runtime = { path = "system-parachains/asset-hubs/asset-hub-kusama" } -asset-hub-polkadot-emulated-chain = { path = "integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot" } -asset-hub-polkadot-runtime = { path = "system-parachains/asset-hubs/asset-hub-polkadot" } asset-test-utils = { version = "8.0.1" } assets-common = { version = "0.8.0", default-features = false } authority-discovery-primitives = { version = "27.0.0", default-features = false, package = "sp-authority-discovery" } babe-primitives = { version = "0.33.0", default-features = false, package = "sp-consensus-babe" } beefy-primitives = { version = "14.0.0", default-features = false, package = "sp-consensus-beefy" } binary-merkle-tree = { version = "14.0.0", default-features = false } -bp-asset-hub-kusama = { path = "system-parachains/asset-hubs/asset-hub-kusama/primitives", default-features = false } -bp-asset-hub-polkadot = { path = "system-parachains/asset-hubs/asset-hub-polkadot/primitives", default-features = false } bp-bridge-hub-cumulus = { version = "0.8.0", default-features = false } -bp-bridge-hub-kusama = { path = "system-parachains/bridge-hubs/bridge-hub-kusama/primitives", default-features = false } -bp-bridge-hub-polkadot = { path = "system-parachains/bridge-hubs/bridge-hub-polkadot/primitives", default-features = false } bp-header-chain = { version = "0.8.1", default-features = false } bp-kusama = { version = "0.6.0", default-features = false } bp-messages = { version = "0.8.0", default-features = false } @@ -32,18 +24,10 @@ bp-relayers = { version = "0.8.0", default-features = false } bp-runtime = { version = "0.8.0", default-features = false } bp-xcm-bridge-hub-router = { version = "0.7.0", default-features = false } bridge-hub-common = { version = "0.1.0", default-features = false } -bridge-hub-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama" } -bridge-hub-kusama-runtime = { path = "system-parachains/bridge-hubs/bridge-hub-kusama" } -bridge-hub-polkadot-emulated-chain = { path = "integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot" } -bridge-hub-polkadot-runtime = { path = "system-parachains/bridge-hubs/bridge-hub-polkadot" } bridge-hub-test-utils = { version = "0.8.0" } bridge-runtime-common = { version = "0.8.0", default-features = false } clap = { version = "4.5.0" } codec = { package = "parity-scale-codec", version = "3.6.9", default-features = false } -collectives-polkadot-emulated-chain = { path = "integration-tests/emulated/chains/parachains/collectives/collectives-polkadot" } -collectives-polkadot-runtime = { path = "system-parachains/collectives/collectives-polkadot" } -collectives-polkadot-runtime-constants = { path = "system-parachains/collectives/collectives-polkadot/constants" } -coretime-kusama-runtime = { path = "system-parachains/coretime/coretime-kusama" } cumulus-pallet-aura-ext = { version = "0.8.0", default-features = false } cumulus-pallet-dmp-queue = { version = "0.8.0", default-features = false } cumulus-pallet-parachain-system = { version = "0.8.1", default-features = false } @@ -54,10 +38,6 @@ cumulus-primitives-aura = { version = "0.8.0", default-features = false } cumulus-primitives-core = { version = "0.8.0", default-features = false } cumulus-primitives-utility = { version = "0.8.1", default-features = false } emulated-integration-tests-common = { version = "4.0.0" } -encointer-balances-tx-payment = { version = "~6.1.0", default-features = false } -encointer-balances-tx-payment-rpc-runtime-api = { version = "~6.1.0", default-features = false } -encointer-kusama-runtime = { path = "system-parachains/encointer" } -encointer-primitives = { version = "~6.1.0", default-features = false } enumflags2 = { version = "0.7.7" } frame-benchmarking = { version = "29.0.0", default-features = false } frame-election-provider-support = { version = "29.0.0", default-features = false } @@ -67,15 +47,8 @@ frame-system = { version = "29.0.0", default-features = false } frame-system-benchmarking = { version = "29.0.0", default-features = false } frame-system-rpc-runtime-api = { version = "27.0.0", default-features = false } frame-try-runtime = { version = "0.35.0", default-features = false } -glutton-kusama-runtime = { path = "system-parachains/gluttons/glutton-kusama" } grandpa = { version = "0.20.0", package = "sc-consensus-grandpa" } hex-literal = { version = "0.4.1" } -integration-tests-helpers = { path = "integration-tests/emulated/helpers" } -kusama-emulated-chain = { path = "integration-tests/emulated/chains/relays/kusama" } -kusama-polkadot-system-emulated-network = { path = "integration-tests/emulated/networks/kusama-polkadot-system" } -kusama-runtime = { path = "relay/kusama", package = "staging-kusama-runtime" } -kusama-runtime-constants = { path = "relay/kusama/constants", default-features = false } -kusama-system-emulated-network = { path = "integration-tests/emulated/networks/kusama-system" } log = { version = "0.4.20", default-features = false } pallet-alliance = { version = "28.0.0", default-features = false } pallet-asset-conversion = { version = "11.0.0", default-features = false } @@ -102,18 +75,6 @@ pallet-collator-selection = { version = "10.0.2", default-features = false } pallet-collective = { version = "29.0.0", default-features = false } pallet-conviction-voting = { version = "29.0.0", default-features = false } pallet-core-fellowship = { version = "13.0.0", default-features = false } -pallet-election-provider-multi-phase = { version = "28.0.0", default-features = false } -pallet-election-provider-support-benchmarking = { version = "28.0.0", default-features = false } -pallet-encointer-balances = { version = "~6.1.0", default-features = false } -pallet-encointer-bazaar = { version = "~6.1.0", default-features = false } -pallet-encointer-bazaar-rpc-runtime-api = { version = "~6.1.0", default-features = false } -pallet-encointer-ceremonies = { version = "~6.1.0", default-features = false } -pallet-encointer-ceremonies-rpc-runtime-api = { version = "~6.1.0", default-features = false } -pallet-encointer-communities = { version = "~6.1.0", default-features = false } -pallet-encointer-communities-rpc-runtime-api = { version = "~6.1.0", default-features = false } -pallet-encointer-faucet = { version = "~6.1.0", default-features = false } -pallet-encointer-reputation-commitments = { version = "~6.1.0", default-features = false } -pallet-encointer-scheduler = { version = "~6.1.0", default-features = false } pallet-fast-unstake = { version = "28.0.0", default-features = false } pallet-glutton = { version = "15.0.0", default-features = false } pallet-grandpa = { version = "29.0.0", default-features = false } @@ -165,18 +126,10 @@ parachain-info = { version = "0.8.0", default-features = false, package = "stagi parachains-common = { version = "8.0.0", default-features = false } parachains-runtimes-test-utils = { version = "8.0.0" } paste = { version = "1.0.14" } -penpal-emulated-chain = { path = "integration-tests/emulated/chains/parachains/testing/penpal" } -penpal-runtime = { version = "0.15.1" } -people-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/people/people-kusama" } -people-kusama-runtime = { path = "system-parachains/people/people-kusama" } polkadot-core-primitives = { version = "8.0.0", default-features = false } -polkadot-emulated-chain = { path = "integration-tests/emulated/chains/relays/polkadot" } polkadot-parachain-primitives = { version = "7.0.0", default-features = false } polkadot-primitives = { version = "8.0.1", default-features = false } -polkadot-runtime = { path = "relay/polkadot" } polkadot-runtime-common = { version = "8.0.1", default-features = false } -polkadot-runtime-constants = { path = "relay/polkadot/constants", default-features = false } -polkadot-system-emulated-network = { path = "integration-tests/emulated/networks/polkadot-system" } primitive-types = { version = "0.12.2", default-features = false } remote-externalities = { version = "0.36.0", package = "frame-remote-externalities" } runtime-parachains = { version = "8.0.1", default-features = false, package = "polkadot-runtime-parachains" } @@ -186,18 +139,6 @@ separator = { version = "0.4.1" } serde = { version = "1.0.196" } serde_json = { version = "1.0.113" } smallvec = { version = "1.13.1" } -snowbridge-beacon-primitives = { version = "0.1.0", default-features = false } -snowbridge-core = { version = "0.1.1", default-features = false } -snowbridge-outbound-queue-runtime-api = { version = "0.1.1", default-features = false } -snowbridge-pallet-ethereum-client = { version = "0.1.2", default-features = false } -snowbridge-pallet-inbound-queue = { version = "0.1.1", default-features = false } -snowbridge-pallet-inbound-queue-fixtures = { version = "0.9.0" } -snowbridge-pallet-outbound-queue = { version = "0.1.1", default-features = false } -snowbridge-pallet-system = { version = "0.1.1", default-features = false } -snowbridge-router-primitives = { version = "0.1.0", default-features = false } -snowbridge-runtime-common = { version = "0.1.0", default-features = false } -snowbridge-runtime-test-common = { version = "0.1.0" } -snowbridge-system-runtime-api = { version = "0.1.0", default-features = false } sp-api = { version = "27.0.0", default-features = false } sp-application-crypto = { version = "31.0.0", default-features = false } sp-arithmetic = { version = "24.0.0", default-features = false } @@ -235,44 +176,8 @@ resolver = "2" members = [ "chain-spec-generator", - "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama", - "integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot", - "integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama", - "integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot", - "integration-tests/emulated/chains/parachains/collectives/collectives-polkadot", - "integration-tests/emulated/chains/parachains/people/people-kusama", - "integration-tests/emulated/chains/parachains/testing/penpal", - "integration-tests/emulated/chains/relays/kusama", - "integration-tests/emulated/chains/relays/polkadot", - "integration-tests/emulated/helpers", - "integration-tests/emulated/networks/kusama-polkadot-system", - "integration-tests/emulated/networks/kusama-system", - "integration-tests/emulated/networks/polkadot-system", - "integration-tests/emulated/tests/assets/asset-hub-kusama", - "integration-tests/emulated/tests/assets/asset-hub-polkadot", - "integration-tests/emulated/tests/bridges/bridge-hub-kusama", - "integration-tests/emulated/tests/bridges/bridge-hub-polkadot", - "integration-tests/emulated/tests/collectives/collectives-polkadot", - "integration-tests/emulated/tests/people/people-kusama", - "relay/kusama", - "relay/kusama/constants", - "relay/polkadot", - "relay/polkadot/constants", - "system-parachains/asset-hubs/asset-hub-kusama", - "system-parachains/asset-hubs/asset-hub-kusama/primitives", - "system-parachains/asset-hubs/asset-hub-polkadot", - "system-parachains/asset-hubs/asset-hub-polkadot/primitives", - "system-parachains/bridge-hubs/bridge-hub-kusama", - "system-parachains/bridge-hubs/bridge-hub-kusama/primitives", - "system-parachains/bridge-hubs/bridge-hub-polkadot", - "system-parachains/bridge-hubs/bridge-hub-polkadot/primitives", - "system-parachains/collectives/collectives-polkadot", - "system-parachains/collectives/collectives-polkadot/constants", - "system-parachains/constants", - "system-parachains/coretime/coretime-kusama", - "system-parachains/encointer", - "system-parachains/gluttons/glutton-kusama", - "system-parachains/people/people-kusama", + "relay/paseo", + "relay/paseo/constants" ] [profile.release] From 1e856fd41b2629ffad3b327e929d36b1dde758f5 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:55:36 +0200 Subject: [PATCH 5/7] fix(paseo-runtime): resolve conflicts --- Cargo.lock | 1332 ++++++++--------- Cargo.toml | 6 + chain-spec-generator/Cargo.toml | 12 +- chain-spec-generator/src/relay_chain_specs.rs | 10 +- .../src/system_parachains_specs.rs | 2 +- relay/paseo/Cargo.toml | 6 +- relay/paseo/src/xcm_config.rs | 7 +- .../asset-hub-paseo/tests/tests.rs | 2 +- 8 files changed, 657 insertions(+), 720 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 043a94f..fbe544d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,11 +23,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ - "gimli 0.28.1", + "gimli 0.29.0", ] [[package]] @@ -77,19 +77,19 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.15", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.8" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.12", + "getrandom 0.2.15", "once_cell", "version_check", "zerocopy", @@ -97,18 +97,18 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] [[package]] name = "allocator-api2" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "android-tzdata" @@ -136,47 +136,48 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.13" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -184,9 +185,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.79" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "approx" @@ -208,7 +209,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -348,9 +349,9 @@ checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" [[package]] name = "array-bytes" -version = "6.2.2" +version = "6.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" +checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" @@ -358,12 +359,6 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -428,18 +423,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.1" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" +checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" dependencies = [ - "async-lock 3.3.0", + "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", "futures-lite", "parking", "polling", - "rustix 0.38.31", + "rustix 0.38.34", "slab", "tracing", "windows-sys 0.52.0", @@ -456,24 +451,24 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 4.0.3", + "event-listener 5.3.1", "event-listener-strategy", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "async-trait" -version = "0.1.77" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -486,27 +481,27 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "autocfg" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11" dependencies = [ - "addr2line 0.21.0", + "addr2line 0.22.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.32.2", + "object 0.35.0", "rustc-demangle", ] @@ -595,9 +590,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.2" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "bitvec" @@ -640,22 +635,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec", "constant_time_eq", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" @@ -674,15 +657,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "bounded-collections" version = "0.2.0" @@ -703,9 +677,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bs58" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ "tinyvec", ] @@ -721,9 +695,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -739,9 +713,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.14.3" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2ef034f05691a48569bd920a96c81b9d91bbad1ab5ac7c4616c1f6ef36cb79f" +checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" [[package]] name = "byteorder" @@ -751,9 +725,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "c2-chacha" @@ -767,18 +741,18 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.6" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -791,7 +765,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.21", + "semver 1.0.23", "serde", "serde_json", "thiserror", @@ -799,19 +773,20 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.83" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" dependencies = [ "jobserver", "libc", + "once_cell", ] [[package]] name = "cfg-expr" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" dependencies = [ "smallvec", ] @@ -882,16 +857,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.34" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.52.0", + "windows-targets 0.52.5", ] [[package]] @@ -925,9 +900,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.2" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", "clap_derive", @@ -947,14 +922,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.0" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ - "heck", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -975,9 +950,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" [[package]] name = "common-path" @@ -987,9 +962,9 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" dependencies = [ "crossbeam-utils", ] @@ -1015,9 +990,9 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const-random" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" dependencies = [ "const-random-macro", ] @@ -1028,7 +1003,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.15", "once_cell", "tiny-keccak", ] @@ -1194,9 +1169,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.4.0" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] @@ -1222,9 +1197,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crunchy" @@ -1333,19 +1308,6 @@ dependencies = [ "staging-xcm-executor", ] -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle 2.5.0", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "3.2.0" @@ -1384,14 +1346,14 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "cxx" -version = "1.0.116" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8aff472b83efd22bfc0176aa8ba34617dd5c17364670eb201a5f06d339b8abf7" +checksum = "8194f089b6da4751d6c1da1ef37c17255df51f9346cdb160f8b096562ae4a85c" dependencies = [ "cc", "cxxbridge-flags", @@ -1401,9 +1363,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.116" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcf6e7a52c19013a9a0ec421c7d9c2d1125faf333551227e0a017288d71b47c3" +checksum = "1e8df9a089caae66634d754672d5f909395f30f38af6ff19366980d8a8b57501" dependencies = [ "cc", "codespan-reporting", @@ -1411,37 +1373,37 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "cxxbridge-flags" -version = "1.0.116" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589e83d02fc1d4fb78f5ad56ca08835341e23499d086d2821315869426d618dc" +checksum = "25290be4751803672a70b98c68b51c1e7d0a640ab5a4377f240f9d2e70054cd1" [[package]] name = "cxxbridge-macro" -version = "1.0.116" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2cb1fd8ffae4230c7cfbbaf3698dbeaf750fa8c5dadf7ed897df581b9b572a5" +checksum = "b8cb317cb13604b4752416783bb25070381c36e844743e4146b7f8e55de7d140" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "data-encoding-macro" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" +checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -1449,9 +1411,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" +checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" dependencies = [ "data-encoding", "syn 1.0.109", @@ -1459,9 +1421,9 @@ dependencies = [ [[package]] name = "der" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid", "zeroize", @@ -1512,6 +1474,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-syn-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -1590,33 +1563,33 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "docify" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", - "derive-syn-parse", + "derive-syn-parse 0.2.0", "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.48", + "syn 2.0.66", "termcolor", - "toml 0.8.12", + "toml 0.8.14", "walkdir", ] @@ -1655,9 +1628,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "ecdsa" @@ -1714,9 +1687,9 @@ dependencies = [ [[package]] name = "either" -version = "1.10.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" +checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" [[package]] name = "elliptic-curve" @@ -1749,7 +1722,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 1.0.109", @@ -1772,7 +1745,7 @@ checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -1783,7 +1756,7 @@ checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -1813,9 +1786,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -1829,44 +1802,39 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "4.0.3" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "event-listener-strategy" -version = "0.4.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ - "event-listener 4.0.3", - "pin-project-lite 0.2.13", + "event-listener 5.3.1", + "pin-project-lite 0.2.14", ] [[package]] name = "expander" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" dependencies = [ "blake2 0.10.6", "fs-err", + "prettier-please", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fallible-iterator" version = "0.2.0" @@ -1875,9 +1843,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "2.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "ff" @@ -1891,9 +1859,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.6" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] name = "file-per-thread-logger" @@ -1929,7 +1897,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "scale-info", ] @@ -1953,9 +1921,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" dependencies = [ "crc32fast", "libz-sys", @@ -2036,7 +2004,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -2118,7 +2086,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e52c84b611d2049d9253f83a62ab0f093e4be5c42a7ef42ea5bb16d6611e32" dependencies = [ "aquamarine", - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bitflags 1.3.2", "docify", "environmental", @@ -2161,7 +2129,7 @@ checksum = "3bf1d648c4007d421b9677b3c893256913498fff159dc2d85022cdd9cc432f3c" dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse", + "derive-syn-parse 0.1.5", "expander", "frame-support-procedural-tools", "itertools 0.10.5", @@ -2170,7 +2138,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -2183,7 +2151,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -2194,7 +2162,7 @@ checksum = "68672b9ec6fe72d259d3879dc212c5e42e977588cdac830c76f54d9f492aeb58" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -2323,12 +2291,12 @@ checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-lite" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba" +checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -2339,7 +2307,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -2367,9 +2335,9 @@ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" @@ -2384,7 +2352,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "pin-utils", "slab", ] @@ -2431,9 +2399,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.12" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -2452,11 +2420,11 @@ dependencies = [ [[package]] name = "ghash" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" dependencies = [ - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "polyval", ] @@ -2473,9 +2441,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "group" @@ -2490,9 +2458,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.24" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -2500,7 +2468,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.2.3", + "indexmap 2.2.6", "slab", "tokio", "tokio-util", @@ -2537,16 +2505,16 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", ] [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "allocator-api2", ] @@ -2556,7 +2524,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" dependencies = [ - "hashbrown 0.14.3", + "hashbrown 0.14.5", ] [[package]] @@ -2565,11 +2533,17 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" -version = "0.3.6" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd5256b483761cd23699d0da46cc6fd2ee3be420bbe6d020ae4a091e70b7e9fd" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -2654,9 +2628,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -2671,7 +2645,7 @@ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -2694,9 +2668,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "f361cde2f109281a220d4307746cdfd5ee3f410da58a70377762396775634b33" dependencies = [ "bytes", "futures-channel", @@ -2708,8 +2682,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.5.5", + "pin-project-lite 0.2.14", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -2726,7 +2700,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.21.10", + "rustls 0.21.12", "rustls-native-certs", "tokio", "tokio-rustls", @@ -2866,12 +2840,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.3" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.14.5", ] [[package]] @@ -2898,9 +2872,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ "cfg-if", ] @@ -2937,7 +2911,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.5", + "socket2 0.5.7", "widestring", "windows-sys 0.48.0", "winreg", @@ -2960,6 +2934,12 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + [[package]] name = "itertools" version = "0.10.5" @@ -2971,33 +2951,33 @@ dependencies = [ [[package]] name = "itertools" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.28" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" +checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.68" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ "wasm-bindgen", ] @@ -3052,7 +3032,7 @@ dependencies = [ "futures-util", "hyper", "jsonrpsee-types", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "rustc-hash", "serde", @@ -3089,8 +3069,8 @@ version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29110019693a4fa2dbda04876499d098fa16d70eba06b1e6e2b3f1b251419515" dependencies = [ - "heck", - "proc-macro-crate 1.3.1", + "heck 0.4.1", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", "syn 1.0.109", @@ -3191,9 +3171,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.153" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libm" @@ -3210,7 +3190,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.12", + "getrandom 0.2.15", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -3275,7 +3255,7 @@ dependencies = [ "multihash", "multistream-select", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand", @@ -3295,7 +3275,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "smallvec", "trust-dns-resolver", ] @@ -3346,7 +3326,7 @@ version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "arrayvec 0.7.4", + "arrayvec", "asynchronous-codec", "bytes", "either", @@ -3457,7 +3437,7 @@ dependencies = [ "libp2p-identity", "libp2p-tls", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "quinn-proto", "rand", "rustls 0.20.9", @@ -3508,7 +3488,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "heck", + "heck 0.4.1", "quote", "syn 1.0.109", ] @@ -3573,7 +3553,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "quicksink", "rw-stream-sink", "soketto", @@ -3596,13 +3576,12 @@ dependencies = [ [[package]] name = "libredox" -version = "0.0.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.4.2", + "bitflags 2.5.0", "libc", - "redox_syscall 0.4.1", ] [[package]] @@ -3655,9 +3634,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.15" +version = "1.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "037731f5d3aaa87a5675e895b63ddff1a87624bc29f77004ea829809654e48f6" +checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" dependencies = [ "cc", "pkg-config", @@ -3705,9 +3684,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lioness" @@ -3723,9 +3702,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -3733,9 +3712,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" @@ -3773,7 +3752,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -3783,11 +3762,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", - "derive-syn-parse", + "derive-syn-parse 0.1.5", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -3798,7 +3777,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -3809,7 +3788,7 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -3851,9 +3830,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.1" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "memfd" @@ -3861,7 +3840,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.31", + "rustix 0.38.34", ] [[package]] @@ -3891,18 +3870,6 @@ dependencies = [ "hash-db", ] -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "merlin" version = "3.0.0" @@ -3923,18 +3890,18 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -3948,7 +3915,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec", "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", @@ -3957,7 +3924,7 @@ dependencies = [ "hashlink", "lioness", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "rand_chacha 0.3.1", "rand_distr", @@ -4036,11 +4003,11 @@ dependencies = [ [[package]] name = "multihash-derive" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" +checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 1.1.3", "proc-macro-error", "proc-macro2", "quote", @@ -4070,9 +4037,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.3" +version = "0.32.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" dependencies = [ "approx", "matrixmultiply", @@ -4150,9 +4117,9 @@ dependencies = [ [[package]] name = "netlink-sys" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" +checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ "bytes", "futures", @@ -4196,20 +4163,19 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" dependencies = [ - "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-complex" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ "num-traits", ] @@ -4226,7 +4192,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec", "itoa", ] @@ -4241,20 +4207,19 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ - "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-traits" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", "libm", @@ -4290,9 +4255,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e" dependencies = [ "memchr", ] @@ -4320,9 +4285,9 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "opaque-debug" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl-probe" @@ -4483,9 +4448,9 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "29.0.1" +version = "29.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27946a57494d7c6231ae8909275bbd3cb5460ee3d27b7a5774a8b8e64d3ab92" +checksum = "a9a54b5d0c7c4c3731883d6b1ac18aff44db20c3d0a3470c8861001a17afdc85" dependencies = [ "docify", "frame-benchmarking", @@ -4525,7 +4490,7 @@ version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d334f24d3c0c016d16aa87d069485847d622e8ebebace18ec5cf56609ca3a67" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "binary-merkle-tree", "frame-support", "frame-system", @@ -4566,14 +4531,15 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.7.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd8cfe04e8c3f9ca8342ac785f2b1aee6140e1809546fc6f3a99fad20a8dfbf9" +checksum = "574c52fd629191c374c24a18036acac008ea92142309e5dd05e7f03149a667c3" dependencies = [ "bitvec", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-arithmetic", @@ -4726,9 +4692,9 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "29.0.0" +version = "29.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9e1cae19e30e7dc822c419988b30bb1318d79a8d5da92733822d0e84fe760ca" +checksum = "452bba25325b7f0148eeecbde13e7c26dfb677ad46b3f160b359d7643b44c94b" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4840,9 +4806,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "26.0.0" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f14519c1c613d2f8c95c27015864c11a37969a23deeba9f6dbaff4276e1b81c" +checksum = "b62091305ec7426e71c3da2b0944c2df5a804109ee4d2e8f4fe34865e049f8ac" dependencies = [ "frame-support", "frame-system", @@ -5050,9 +5016,9 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "29.0.2" +version = "29.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668b7d28c499f0d9f295fad26cf6c342472e21842e3b13bcaaac8536358b2d6c" +checksum = "061b00814eb794a40df4eca7972a7c67b26473cd85cc7c54f5816ae49ad6e11b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5081,7 +5047,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -5096,9 +5062,9 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "15.0.0" +version = "15.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "237d7b5a10cb6cba727c3e957fb241776302aa3cce589e6759ba53f50129c1a5" +checksum = "e47c73850103db30b61ef170107afe1ef0dab6905c495bd6dfb57b3c1dd81bc7" dependencies = [ "parity-scale-codec", "sp-api", @@ -5163,9 +5129,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "29.0.0" +version = "29.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39f690f5c287ad34b28ca951ef7fae80b08cc9218d970723b7a70e4d29396872" +checksum = "0b0c408252aefe10cff96af1e54f06f45cb0dd184b4e450e9a2ecf837dfe506e" dependencies = [ "frame-support", "frame-system", @@ -5193,9 +5159,9 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "28.0.0" +version = "28.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1605eb5083a2cd172544f33c6e59eca2e23ac49f02f13d1562b1b8a409df9c60" +checksum = "3eca44990d0d759213744f2d1f6fe1fadec1079a3e4e4da40556d6b4e42abbcd" dependencies = [ "docify", "frame-benchmarking", @@ -5262,9 +5228,9 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "8.0.4" +version = "8.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c13f5c598737e84294880333170d1df3868a11ad7ee79d0b1d1af37365e1c277" +checksum = "ba9138b04168b07b1aff4a2079f5514753c31dddba40e5fb471b9cda7da27ad6" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -5338,11 +5304,11 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "arrayvec 0.7.4", + "arrayvec", "bitvec", "byte-slice-cast", "bytes", @@ -5353,11 +5319,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", @@ -5394,12 +5360,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.10", ] [[package]] @@ -5418,15 +5384,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", + "redox_syscall 0.5.1", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.52.5", ] [[package]] @@ -5437,7 +5403,7 @@ checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" [[package]] name = "paseo-runtime" -version = "1.0.0" +version = "1.2.4" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -5551,9 +5517,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pbkdf2" @@ -5581,32 +5547,32 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "petgraph" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.2.3", + "indexmap 2.2.6", ] [[package]] name = "pin-project" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -5617,9 +5583,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -5645,9 +5611,9 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "platforms" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "polkadot-core-primitives" @@ -5710,9 +5676,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "8.0.1" +version = "8.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06afbb3bd10245ad1907242a98ddffc3c0c1e209738b8382bc5bcfc1f28c0429" +checksum = "d815f0ff0a69dce7235d42c6e7d5e2b8b7429cba1252b4802ddc7879e2e74d4a" dependencies = [ "bitvec", "frame-benchmarking", @@ -5766,7 +5732,7 @@ version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3566c6fd0c21b5dd555309427c984cf506f875ee90f710acea295b478fecbe0" dependencies = [ - "bs58 0.5.0", + "bs58 0.5.1", "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", @@ -5776,9 +5742,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "8.0.1" +version = "8.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bcfd672be236fd1c38c702e7e99fe3f3e54df0ddb8127e542423221d1f50669" +checksum = "b8d37cd3e014b06daf396d1483b5327782a0ebadc816423419665166b75b3e3e" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -5827,14 +5793,15 @@ dependencies = [ [[package]] name = "polling" -version = "3.4.0" +version = "3.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30054e72317ab98eddd8561db0f6524df3367636884b7b21b703e4b280a84a14" +checksum = "5e6a007746f34ed64099e88783b0ae369eaa3da6392868ba262e2af9b8fbaea1" dependencies = [ "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", - "rustix 0.38.31", + "hermit-abi", + "pin-project-lite 0.2.14", + "rustix 0.38.34", "tracing", "windows-sys 0.52.0", ] @@ -5846,19 +5813,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "universal-hash", ] [[package]] name = "polyval" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if", "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "universal-hash", ] @@ -5910,11 +5877,21 @@ dependencies = [ "termtree", ] +[[package]] +name = "prettier-please" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" +dependencies = [ + "proc-macro2", + "syn 2.0.66", +] + [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" dependencies = [ "proc-macro2", "syn 1.0.109", @@ -5935,21 +5912,12 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit 0.19.15", -] - -[[package]] -name = "proc-macro-crate" -version = "2.0.0" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "toml_edit 0.20.2", + "thiserror", + "toml 0.5.11", ] [[package]] @@ -5993,29 +5961,29 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" +checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" dependencies = [ "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "thiserror", ] @@ -6027,7 +5995,7 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "prometheus-client-derive-encode", ] @@ -6039,7 +6007,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -6054,12 +6022,12 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.4" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", - "prost-derive 0.12.4", + "prost-derive 0.12.6", ] [[package]] @@ -6069,7 +6037,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", - "heck", + "heck 0.4.1", "itertools 0.10.5", "lazy_static", "log", @@ -6099,15 +6067,15 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.4" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -6187,9 +6155,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -6246,7 +6214,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.15", ] [[package]] @@ -6267,9 +6235,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.8.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", @@ -6315,35 +6283,44 @@ dependencies = [ "bitflags 1.3.2", ] +[[package]] +name = "redox_syscall" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +dependencies = [ + "bitflags 2.5.0", +] + [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ - "getrandom 0.2.12", + "getrandom 0.2.15", "libredox", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -6360,14 +6337,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.3" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.5", - "regex-syntax 0.8.2", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] @@ -6381,13 +6358,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.8.3", ] [[package]] @@ -6398,9 +6375,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "resolv-conf" @@ -6439,16 +6416,17 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", - "getrandom 0.2.12", + "cfg-if", + "getrandom 0.2.15", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -6474,9 +6452,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -6496,7 +6474,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.21", + "semver 1.0.23", ] [[package]] @@ -6524,14 +6502,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.31" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.4.2", + "bitflags 2.5.0", "errno", "libc", - "linux-raw-sys 0.4.13", + "linux-raw-sys 0.4.14", "windows-sys 0.52.0", ] @@ -6549,12 +6527,12 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.10" +version = "0.21.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.17.7", + "ring 0.17.8", "rustls-webpki", "sct", ] @@ -6586,15 +6564,15 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "rw-stream-sink" @@ -6609,9 +6587,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "safe_arch" @@ -6665,7 +6643,7 @@ version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f73880050f8b04fed7f6301279ef3899df13a3891bd06156d56f9a1c50fefba" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "docify", "log", "memmap2", @@ -6695,7 +6673,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -6708,7 +6686,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -6738,7 +6716,7 @@ dependencies = [ "libp2p-identity", "log", "mockall", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-utils", "serde", @@ -6758,8 +6736,8 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ae91e5b5a120be4d13a59eaf94fd85d7c7af528482b8e21d861fa1167df3083" dependencies = [ - "ahash 0.8.8", - "array-bytes 6.2.2", + "ahash 0.8.11", + "array-bytes 6.2.3", "async-trait", "dyn-clone", "finality-grandpa", @@ -6768,7 +6746,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "sc-block-builder", "sc-chain-spec", @@ -6803,7 +6781,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa2ac6c356538d67987bbb867e11a12a84ba87250c70fd50005b6d74f570a4f7" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-executor-common", "sc-executor-wasmtime", "schnellru", @@ -6842,7 +6820,7 @@ dependencies = [ "cfg-if", "libc", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rustix 0.36.17", "sc-allocator", "sc-executor-common", @@ -6858,7 +6836,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45fb213c15679fe5b87c383815d7fb758c70d3e7c573948bd7fe26ff344d2272" dependencies = [ "array-bytes 4.2.0", - "arrayvec 0.7.4", + "arrayvec", "blake2 0.10.6", "bytes", "futures", @@ -6868,7 +6846,7 @@ dependencies = [ "mixnet", "multiaddr", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-network", "sc-transaction-pool-api", @@ -6887,7 +6865,7 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f231c7d5e749ec428b4cfa669d759ae76cd3da4f50d7352a2d711acdc7532891" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "async-channel", "async-trait", "asynchronous-codec", @@ -6902,7 +6880,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "partial_sort", "pin-project", "rand", @@ -6949,7 +6927,7 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dad02cf809c34b53614fa61377e3289064edf6c78eb11df071d11fbf7546d7e9" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "futures", "futures-timer", "libp2p", @@ -6969,7 +6947,7 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9aa9377059deece4e7d419d9ec456f657268c0c603e1cf98df4a920f6da83461" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "async-channel", "async-trait", "fork-tree", @@ -6979,7 +6957,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost 0.12.4", + "prost 0.12.6", "prost-build", "sc-client-api", "sc-consensus", @@ -7031,7 +7009,7 @@ dependencies = [ "futures", "libp2p", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand", "sc-utils", @@ -7069,16 +7047,16 @@ dependencies = [ "futures-timer", "lazy_static", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "prometheus", "sp-arithmetic", ] [[package]] name = "scale-info" -version = "2.10.0" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", @@ -7090,11 +7068,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", @@ -7111,31 +7089,15 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] -[[package]] -name = "schnorrkel" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "merlin 2.0.1", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle 2.5.0", - "zeroize", -] - [[package]] name = "schnorrkel" version = "0.11.4" @@ -7144,10 +7106,10 @@ checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ "aead", "arrayref", - "arrayvec 0.7.4", + "arrayvec", "curve25519-dalek 4.1.2", "getrandom_or_panic", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "serde_bytes", "sha2 0.10.8", @@ -7173,7 +7135,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -7220,11 +7182,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.2" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.5.0", "core-foundation", "core-foundation-sys", "libc", @@ -7233,9 +7195,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" dependencies = [ "core-foundation-sys", "libc", @@ -7252,9 +7214,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -7273,9 +7235,9 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5" [[package]] name = "serde" -version = "1.0.196" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" dependencies = [ "serde_derive", ] @@ -7291,20 +7253,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.196" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "serde_json" -version = "1.0.113" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -7313,9 +7275,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" dependencies = [ "serde", ] @@ -7330,19 +7292,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", -] - -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", + "opaque-debug 0.3.1", ] [[package]] @@ -7355,7 +7305,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -7447,9 +7397,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "snow" @@ -7462,7 +7412,7 @@ dependencies = [ "chacha20poly1305", "curve25519-dalek 4.1.2", "rand_core 0.6.4", - "ring 0.17.7", + "ring 0.17.8", "rustc_version", "sha2 0.10.8", "subtle 2.5.0", @@ -7480,12 +7430,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -7507,9 +7457,9 @@ dependencies = [ [[package]] name = "sp-api" -version = "27.0.0" +version = "27.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ef42aa652381ade883c14ffbbb5c0fec36d382d2217b5bace01b8a0e8634778" +checksum = "2e4f8702afd77f14a32733e2b589c02694bf79d0b3a641963c508016208724d0" dependencies = [ "hash-db", "log", @@ -7529,9 +7479,9 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "15.0.0" +version = "15.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0694be2891593450916d6b53a274d234bccbc86bcbada36ba23fc356989070c7" +checksum = "0301e2f77afb450fbf2b093f8b324c7ad88cc82e5e69bd5dc8658a1f068b2a96" dependencies = [ "Inflector", "blake2 0.10.6", @@ -7539,7 +7489,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -7606,7 +7556,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "schnellru", "sp-api", "sp-consensus", @@ -7729,12 +7679,12 @@ version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c33c7a1568175250628567d50c4e1c54a6ac5bc1190413b9be29a9e810cbe73" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", - "bs58 0.5.0", + "bs58 0.5.1", "dyn-clonable", "ed25519-zebra", "futures", @@ -7744,14 +7694,14 @@ dependencies = [ "itertools 0.10.5", "libsecp256k1", "log", - "merlin 3.0.0", + "merlin", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "paste", "primitive-types", "rand", "scale-info", - "schnorrkel 0.11.4", + "schnorrkel", "secp256k1", "secrecy", "serde", @@ -7791,7 +7741,7 @@ checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -7801,7 +7751,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "722cbecdbf5b94578137dbd07feb51e95f7de221be0c1ff4dcfe0bb4cd986929" dependencies = [ "kvdb", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] @@ -7812,7 +7762,7 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -7898,7 +7848,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444f2d53968b1ce5e908882710ff1f3873fcf3e95f59d57432daf685bbacb959" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sp-core", "sp-externalities", "thiserror", @@ -8061,7 +8011,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -8104,7 +8054,7 @@ dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "smallvec", "sp-core", @@ -8206,13 +8156,13 @@ version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eed48dfd05081e8b36741b10ce4eb686c135a2952227a11fe71caec89890ddbb" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "hash-db", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "scale-info", "schnellru", @@ -8252,7 +8202,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -8320,9 +8270,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.46.0" +version = "1.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1114ee5900b8569bbc8b1a014a942f937b752af4b44f4607430b5f86cedaac0" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" dependencies = [ "Inflector", "num-format", @@ -8360,7 +8310,7 @@ version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48fa328b87de3466bc38cc9a07244c42c647b7755b81115e1dfeb47cc13fc6e6" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bounded-collections", "derivative", "environmental", @@ -8375,9 +8325,9 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "8.0.1" +version = "8.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f6cfc27c1d45f9a67e20ed3f7e60296299688825350291606add10bf3bbff2" +checksum = "988d765ad5ab3b5cc90bb1dd143153ebdbe2b7600e10d5ef3a7f3e8df1bdac5d" dependencies = [ "frame-support", "frame-system", @@ -8398,9 +8348,9 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "8.0.1" +version = "8.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a638f4c8735cc04b5c93920a1f59e679f48b131315a07d146798e0decebf7720" +checksum = "74b5c5f2a1d610c5e20e5fae2680c9a28380f305afafeed62f341bfbce57b79a" dependencies = [ "environmental", "frame-benchmarking", @@ -8426,9 +8376,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "strsim" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" @@ -8445,7 +8395,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -8454,13 +8404,13 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" dependencies = [ "hmac 0.11.0", "pbkdf2", - "schnorrkel 0.9.1", + "schnorrkel", "sha2 0.9.9", "zeroize", ] @@ -8494,9 +8444,9 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "18.0.0" +version = "18.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "511bbc2df035f5fe2556d855369a1bbb45df620360391a1f6e3fa1a1d64af79a" +checksum = "4a39a20e17c24ede36b5bd5e7543a4cef8d8a0daf6e1a046dc31832b837a54a0" dependencies = [ "build-helper", "cargo_metadata", @@ -8506,7 +8456,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.8.12", + "toml 0.8.14", "walkdir", "wasm-opt", ] @@ -8536,9 +8486,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.48" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -8586,19 +8536,19 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.13" +version = "0.12.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tempfile" -version = "3.10.0" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", "fastrand", - "rustix 0.38.31", + "rustix 0.38.34", "windows-sys 0.52.0", ] @@ -8619,29 +8569,29 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.57" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.57" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "thread_local" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ "cfg-if", "once_cell", @@ -8649,9 +8599,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", @@ -8670,9 +8620,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", @@ -8704,31 +8654,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.36.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", "libc", "mio", "num_cpus", - "parking_lot 0.12.1", - "pin-project-lite 0.2.13", - "socket2 0.5.5", + "parking_lot 0.12.3", + "pin-project-lite 0.2.14", + "socket2 0.5.7", "tokio-macros", "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -8748,34 +8698,33 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.10", + "rustls 0.21.12", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tokio", ] [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tokio", - "tracing", ] [[package]] @@ -8789,69 +8738,47 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.12" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.9", + "toml_edit 0.22.14", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" dependencies = [ "serde", ] -[[package]] -name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap 2.2.3", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" -dependencies = [ - "indexmap 2.2.3", - "toml_datetime", - "winnow 0.5.40", -] - [[package]] name = "toml_edit" version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.2.3", + "indexmap 2.2.6", "toml_datetime", "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.22.9" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ - "indexmap 2.2.3", + "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.6", + "winnow 0.6.11", ] [[package]] @@ -8863,7 +8790,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tower-layer", "tower-service", "tracing", @@ -8888,7 +8815,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tracing-attributes", "tracing-core", ] @@ -8901,7 +8828,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -9016,7 +8943,7 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "resolv-conf", "smallvec", "thiserror", @@ -9090,9 +9017,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" @@ -9177,9 +9104,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -9201,9 +9128,9 @@ dependencies = [ [[package]] name = "walkdir" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -9232,9 +9159,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.91" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -9242,24 +9169,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.91" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.41" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" dependencies = [ "cfg-if", "js-sys", @@ -9269,9 +9196,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.91" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -9279,22 +9206,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.91" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.91" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasm-instrument" @@ -9307,9 +9234,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.116.0" +version = "0.116.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc942673e7684671f0c5708fc18993569d184265fd5223bb51fc8e5b9b6cfd52" +checksum = "2fd87a4c135535ffed86123b6fb0f0a5a0bc89e50416c942c5f0662c645f679c" dependencies = [ "anyhow", "libc", @@ -9567,9 +9494,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.68" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ "js-sys", "wasm-bindgen", @@ -9581,7 +9508,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -9603,14 +9530,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.31", + "rustix 0.38.34", ] [[package]] name = "wide" -version = "0.7.15" +version = "0.7.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89beec544f246e679fc25490e3f8e08003bc4bf612068f325120dad4cea02c1c" +checksum = "1134eff459f1063780b94cc78b704e2212cac12abd554e4268f5b8f9dfcc1883" dependencies = [ "bytemuck", "safe_arch", @@ -9618,9 +9545,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" +checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" [[package]] name = "winapi" @@ -9640,11 +9567,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.6" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -9678,7 +9605,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.5", ] [[package]] @@ -9705,7 +9632,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.5", ] [[package]] @@ -9740,17 +9667,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", ] [[package]] @@ -9767,9 +9695,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" [[package]] name = "windows_aarch64_msvc" @@ -9785,9 +9713,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" [[package]] name = "windows_i686_gnu" @@ -9803,9 +9731,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" [[package]] name = "windows_i686_msvc" @@ -9821,9 +9755,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" [[package]] name = "windows_x86_64_gnu" @@ -9839,9 +9773,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" [[package]] name = "windows_x86_64_gnullvm" @@ -9857,9 +9791,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" [[package]] name = "windows_x86_64_msvc" @@ -9875,9 +9809,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" [[package]] name = "winnow" @@ -9890,9 +9824,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.6" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" +checksum = "56c52728401e1dc672a56e81e593e912aa54c78f40246869f78359a2bf24d29d" dependencies = [ "memchr", ] @@ -9966,7 +9900,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -9978,7 +9912,7 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "static_assertions", ] @@ -9994,29 +9928,29 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] @@ -10029,7 +9963,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.66", ] [[package]] @@ -10072,9 +10006,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.10+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 54434db..3263314 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,6 +75,8 @@ pallet-collator-selection = { version = "10.0.2", default-features = false } pallet-collective = { version = "29.0.0", default-features = false } pallet-conviction-voting = { version = "29.0.0", default-features = false } pallet-core-fellowship = { version = "13.0.0", default-features = false } +pallet-election-provider-multi-phase = { version = "28.0.0", default-features = false } +pallet-election-provider-support-benchmarking = { version = "28.0.0", default-features = false } pallet-fast-unstake = { version = "28.0.0", default-features = false } pallet-glutton = { version = "15.0.0", default-features = false } pallet-grandpa = { version = "29.0.0", default-features = false } @@ -171,6 +173,10 @@ xcm-builder = { version = "8.0.1", default-features = false, package = "staging- xcm-emulator = { version = "0.6.0" } xcm-executor = { version = "8.0.1", default-features = false, package = "staging-xcm-executor" } +# Local dependencies + +paseo-runtime-constants = { package = "paseo-runtime-constants", path = "relay/paseo/constants", default-features = false } + [workspace] resolver = "2" diff --git a/chain-spec-generator/Cargo.toml b/chain-spec-generator/Cargo.toml index ed497a8..976dff2 100644 --- a/chain-spec-generator/Cargo.toml +++ b/chain-spec-generator/Cargo.toml @@ -15,15 +15,15 @@ paseo-runtime = { path = "../relay/paseo" } paseo-runtime-constants = { path = "../relay/paseo/constants", default-features = true } sc-chain-spec = { workspace = true } -polkadot-runtime-parachains = { workspace = true, default-features = true } +runtime-parachains = { workspace = true, default-features = true } polkadot-primitives = { workspace = true, default-features = true } -sp-consensus-babe = { workspace = true, default-features = true } -sp-authority-discovery = { workspace = true, default-features = true } +babe-primitives = { workspace = true, default-features = true } +authority-discovery-primitives = { workspace = true, default-features = true } sp-core = { workspace = true, default-features = true } pallet-staking = { workspace = true, default-features = true } -sc-consensus-grandpa = { workspace = true } +grandpa = { workspace = true } sp-runtime = { workspace = true, default-features = true } -sp-consensus-beefy = { workspace = true, default-features = true } +beefy-primitives = { workspace = true, default-features = true } xcm = { package = "staging-xcm", version = "8.0.1" } parachains-common = { workspace = true, default-features = true } cumulus-primitives-core = { workspace = true, default-features = true } @@ -38,6 +38,6 @@ runtime-benchmarks = [ "pallet-staking/runtime-benchmarks", "parachains-common/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", - "polkadot-runtime-parachains/runtime-benchmarks", + "runtime-parachains/runtime-benchmarks", "sp-runtime/runtime-benchmarks" ] diff --git a/chain-spec-generator/src/relay_chain_specs.rs b/chain-spec-generator/src/relay_chain_specs.rs index bcce2cf..72d4ea4 100644 --- a/chain-spec-generator/src/relay_chain_specs.rs +++ b/chain-spec-generator/src/relay_chain_specs.rs @@ -18,12 +18,12 @@ use pallet_staking::Forcing; use paseo_runtime_constants::currency::UNITS as DOT; use polkadot_primitives::{AccountId, AccountPublic, AssignmentId, ValidatorId}; -use polkadot_runtime_parachains::configuration::HostConfiguration; +use runtime_parachains::configuration::HostConfiguration; use sc_chain_spec::{ChainSpec, ChainType, NoExtension}; -use sc_consensus_grandpa::AuthorityId as GrandpaId; -use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; -use sp_consensus_babe::AuthorityId as BabeId; -use sp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId; +use grandpa::AuthorityId as GrandpaId; +use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; +use babe_primitives::AuthorityId as BabeId; +use beefy_primitives::ecdsa_crypto::AuthorityId as BeefyId; use sp_core::{sr25519, Pair, Public}; use sp_runtime::{traits::IdentifyAccount, Perbill}; diff --git a/chain-spec-generator/src/system_parachains_specs.rs b/chain-spec-generator/src/system_parachains_specs.rs index 3c2f0c4..c069e66 100644 --- a/chain-spec-generator/src/system_parachains_specs.rs +++ b/chain-spec-generator/src/system_parachains_specs.rs @@ -401,7 +401,7 @@ fn bridge_hub_polkadot_genesis( }, "ethereumSystem": bridge_hub_polkadot_runtime::EthereumSystemConfig { para_id: id, - asset_hub_para_id: polkadot_runtime_constants::system_parachain::ASSET_HUB_ID.into(), + asset_hub_para_id: paseo_runtime_constants::system_parachain::ASSET_HUB_ID.into(), ..Default::default() }, // no need to pass anything to aura, in fact it will panic if we do. Session will take care diff --git a/relay/paseo/Cargo.toml b/relay/paseo/Cargo.toml index c2628c2..ad9f629 100644 --- a/relay/paseo/Cargo.toml +++ b/relay/paseo/Cargo.toml @@ -177,10 +177,10 @@ std = [ "pallet-whitelist/std", "pallet-xcm-benchmarks?/std", "pallet-xcm/std", - "parity-scale-codec/std", + "codec/std", "paseo-runtime-constants/std", - "primitives/std", - "runtime-common/std", + "polkadot-primitives/std", + "polkadot-runtime-common/std", "runtime-parachains/std", "scale-info/std", "sp-api/std", diff --git a/relay/paseo/src/xcm_config.rs b/relay/paseo/src/xcm_config.rs index 3f69572..769ec96 100644 --- a/relay/paseo/src/xcm_config.rs +++ b/relay/paseo/src/xcm_config.rs @@ -27,14 +27,11 @@ use frame_support::{ }; use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; -use paseo_runtime_constants::{ - currency::CENTS, system_parachain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX, -}; -use runtime_common::{ +use polkadot_runtime_common::{ xcm_sender::{ChildParachainRouter, ExponentialPrice}, ToAuthor, }; -use polkadot_runtime_constants::{ +use paseo_runtime_constants::{ currency::CENTS, system_parachain::*, xcm::body::FELLOWSHIP_ADMIN_INDEX, }; use sp_core::ConstU32; diff --git a/system-parachains/asset-hub-paseo/tests/tests.rs b/system-parachains/asset-hub-paseo/tests/tests.rs index dde5eb7..5d915d8 100644 --- a/system-parachains/asset-hub-paseo/tests/tests.rs +++ b/system-parachains/asset-hub-paseo/tests/tests.rs @@ -82,7 +82,7 @@ fn test_ed_is_one_hundredth_of_relay() { )]) .build() .execute_with(|| { - let relay_ed = polkadot_runtime_constants::currency::EXISTENTIAL_DEPOSIT; + let relay_ed = paseo_runtime_constants::currency::EXISTENTIAL_DEPOSIT; let asset_hub_ed = ExistentialDeposit::get(); assert_eq!(relay_ed / 100, asset_hub_ed); }); From 96de83c92001818e1d245981b3fb2c30308e4194 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:55:59 +0200 Subject: [PATCH 6/7] fix(paseo-runtime): sudo weights --- relay/paseo/src/weights/pallet_sudo.rs | 96 ++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 relay/paseo/src/weights/pallet_sudo.rs diff --git a/relay/paseo/src/weights/pallet_sudo.rs b/relay/paseo/src/weights/pallet_sudo.rs new file mode 100644 index 0000000..dea14fc --- /dev/null +++ b/relay/paseo/src/weights/pallet_sudo.rs @@ -0,0 +1,96 @@ +// Copyright (C) Paseo and the various Paseo 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_sudo` +//! +//! 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: `[]` +//! 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 + +// Executed Command: +// ./polkadot-sdk/target/production/polkadot +// benchmark +// pallet +// --chain=./runtimes/paseo-chain-spec.json +// --steps=50 +// --repeat=20 +// --pallet=pallet_sudo +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=./paseo-weights-1.2/ +// --header=./file_header.txt + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_sudo`. +pub struct WeightInfo(PhantomData); +impl pallet_sudo::WeightInfo for WeightInfo { + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn set_key() -> Weight { + // Proof Size summary in bytes: + // Measured: `132` + // Estimated: `1517` + // Minimum execution time: 9_313_000 picoseconds. + Weight::from_parts(9_780_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn sudo() -> Weight { + // Proof Size summary in bytes: + // Measured: `132` + // Estimated: `1517` + // Minimum execution time: 10_388_000 picoseconds. + Weight::from_parts(10_816_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Sudo::Key` (r:1 w:0) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn sudo_as() -> Weight { + // Proof Size summary in bytes: + // Measured: `132` + // Estimated: `1517` + // Minimum execution time: 9_819_000 picoseconds. + Weight::from_parts(10_458_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + } + /// Storage: `Sudo::Key` (r:1 w:1) + /// Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + fn remove_key() -> Weight { + // Proof Size summary in bytes: + // Measured: `132` + // Estimated: `1517` + // Minimum execution time: 7_374_000 picoseconds. + Weight::from_parts(7_702_000, 0) + .saturating_add(Weight::from_parts(0, 1517)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} \ No newline at end of file From 4453c04ce2d9e8bc0dc21ec8e0e0b98221003d6a Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Thu, 6 Jun 2024 18:43:21 +0200 Subject: [PATCH 7/7] fix(paseo-runtime): fix runtime build --- Cargo.lock | 1318 +++++++++-------- chain-spec-generator/src/relay_chain_specs.rs | 2 +- relay/paseo/src/lib.rs | 1 + 3 files changed, 694 insertions(+), 627 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fbe544d..faf3408 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,11 +23,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.22.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.29.0", + "gimli 0.28.1", ] [[package]] @@ -77,19 +77,19 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.12", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.11" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" dependencies = [ "cfg-if", - "getrandom 0.2.15", + "getrandom 0.2.12", "once_cell", "version_check", "zerocopy", @@ -97,18 +97,18 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] [[package]] name = "allocator-api2" -version = "0.2.18" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "android-tzdata" @@ -136,48 +136,47 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" -version = "0.2.4" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -185,9 +184,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "approx" @@ -209,7 +208,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -349,9 +348,9 @@ checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" [[package]] name = "array-bytes" -version = "6.2.3" +version = "6.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" +checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" [[package]] name = "arrayref" @@ -359,6 +358,12 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +[[package]] +name = "arrayvec" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" + [[package]] name = "arrayvec" version = "0.7.4" @@ -423,18 +428,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.3" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" +checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" dependencies = [ - "async-lock 3.4.0", + "async-lock 3.3.0", "cfg-if", "concurrent-queue", "futures-io", "futures-lite", "parking", "polling", - "rustix 0.38.34", + "rustix 0.38.31", "slab", "tracing", "windows-sys 0.52.0", @@ -451,24 +456,24 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.4.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ - "event-listener 5.3.1", + "event-listener 4.0.3", "event-listener-strategy", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", ] [[package]] name = "async-trait" -version = "0.1.80" +version = "0.1.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -481,27 +486,27 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", ] [[package]] name = "autocfg" -version = "1.3.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.72" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ - "addr2line 0.22.0", + "addr2line 0.21.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.35.0", + "object 0.32.2", "rustc-demangle", ] @@ -590,9 +595,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.5.0" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bitvec" @@ -635,10 +640,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec", + "arrayvec 0.7.4", "constant_time_eq", ] +[[package]] +name = "block-buffer" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" +dependencies = [ + "block-padding", + "byte-tools", + "byteorder", + "generic-array 0.12.4", +] + [[package]] name = "block-buffer" version = "0.9.0" @@ -657,6 +674,15 @@ dependencies = [ "generic-array 0.14.7", ] +[[package]] +name = "block-padding" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" +dependencies = [ + "byte-tools", +] + [[package]] name = "bounded-collections" version = "0.2.0" @@ -677,9 +703,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bs58" -version = "0.5.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" dependencies = [ "tinyvec", ] @@ -695,9 +721,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byte-slice-cast" @@ -713,9 +739,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.16.0" +version = "1.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" +checksum = "a2ef034f05691a48569bd920a96c81b9d91bbad1ab5ac7c4616c1f6ef36cb79f" [[package]] name = "byteorder" @@ -725,9 +751,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.6.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" [[package]] name = "c2-chacha" @@ -741,18 +767,18 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.7" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.8" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" dependencies = [ "serde", ] @@ -765,7 +791,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.23", + "semver 1.0.21", "serde", "serde_json", "thiserror", @@ -773,20 +799,19 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.98" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ "jobserver", "libc", - "once_cell", ] [[package]] name = "cfg-expr" -version = "0.15.8" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d" dependencies = [ "smallvec", ] @@ -857,16 +882,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.52.5", + "windows-targets 0.52.0", ] [[package]] @@ -900,9 +925,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.4" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +checksum = "b230ab84b0ffdf890d5a10abdbc8b83ae1c4918275daea1ab8801f71536b2651" dependencies = [ "clap_builder", "clap_derive", @@ -922,14 +947,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.4" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -950,9 +975,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "common-path" @@ -962,9 +987,9 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "concurrent-queue" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" dependencies = [ "crossbeam-utils", ] @@ -990,9 +1015,9 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const-random" -version = "0.1.18" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" dependencies = [ "const-random-macro", ] @@ -1003,7 +1028,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.12", "once_cell", "tiny-keccak", ] @@ -1169,9 +1194,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ "cfg-if", ] @@ -1197,9 +1222,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.20" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "crunchy" @@ -1308,6 +1333,19 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "curve25519-dalek" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" +dependencies = [ + "byteorder", + "digest 0.8.1", + "rand_core 0.5.1", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "curve25519-dalek" version = "3.2.0" @@ -1346,14 +1384,14 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "cxx" -version = "1.0.123" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8194f089b6da4751d6c1da1ef37c17255df51f9346cdb160f8b096562ae4a85c" +checksum = "8aff472b83efd22bfc0176aa8ba34617dd5c17364670eb201a5f06d339b8abf7" dependencies = [ "cc", "cxxbridge-flags", @@ -1363,9 +1401,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.123" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e8df9a089caae66634d754672d5f909395f30f38af6ff19366980d8a8b57501" +checksum = "bcf6e7a52c19013a9a0ec421c7d9c2d1125faf333551227e0a017288d71b47c3" dependencies = [ "cc", "codespan-reporting", @@ -1373,37 +1411,37 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "cxxbridge-flags" -version = "1.0.123" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25290be4751803672a70b98c68b51c1e7d0a640ab5a4377f240f9d2e70054cd1" +checksum = "589e83d02fc1d4fb78f5ad56ca08835341e23499d086d2821315869426d618dc" [[package]] name = "cxxbridge-macro" -version = "1.0.123" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8cb317cb13604b4752416783bb25070381c36e844743e4146b7f8e55de7d140" +checksum = "e2cb1fd8ffae4230c7cfbbaf3698dbeaf750fa8c5dadf7ed897df581b9b572a5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "data-encoding" -version = "2.6.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" +checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "data-encoding-macro" -version = "0.1.15" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" +checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -1411,9 +1449,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.13" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" +checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" dependencies = [ "data-encoding", "syn 1.0.109", @@ -1421,9 +1459,9 @@ dependencies = [ [[package]] name = "der" -version = "0.7.9" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" +checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" dependencies = [ "const-oid", "zeroize", @@ -1474,17 +1512,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "derive-syn-parse" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.66", -] - [[package]] name = "derive_more" version = "0.99.17" @@ -1563,33 +1590,33 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "docify" -version = "0.2.8" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" +checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.8" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" +checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" dependencies = [ "common-path", - "derive-syn-parse 0.2.0", + "derive-syn-parse", "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.66", + "syn 2.0.48", "termcolor", - "toml 0.8.14", + "toml 0.8.12", "walkdir", ] @@ -1628,9 +1655,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.17" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" [[package]] name = "ecdsa" @@ -1687,9 +1714,9 @@ dependencies = [ [[package]] name = "either" -version = "1.12.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "elliptic-curve" @@ -1722,7 +1749,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ - "heck 0.4.1", + "heck", "proc-macro2", "quote", "syn 1.0.109", @@ -1745,7 +1772,7 @@ checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -1756,7 +1783,7 @@ checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -1786,9 +1813,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.9" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ "libc", "windows-sys 0.52.0", @@ -1802,39 +1829,44 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "5.3.1" +version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", ] [[package]] name = "event-listener-strategy" -version = "0.5.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ - "event-listener 5.3.1", - "pin-project-lite 0.2.14", + "event-listener 4.0.3", + "pin-project-lite 0.2.13", ] [[package]] name = "expander" -version = "2.1.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" +checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" dependencies = [ "blake2 0.10.6", "fs-err", - "prettier-please", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] +[[package]] +name = "fake-simd" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" + [[package]] name = "fallible-iterator" version = "0.2.0" @@ -1843,9 +1875,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "2.1.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "ff" @@ -1859,9 +1891,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.9" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" [[package]] name = "file-per-thread-logger" @@ -1897,7 +1929,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "scale-info", ] @@ -1921,9 +1953,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.30" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "libz-sys", @@ -2004,7 +2036,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -2086,7 +2118,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e52c84b611d2049d9253f83a62ab0f093e4be5c42a7ef42ea5bb16d6611e32" dependencies = [ "aquamarine", - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bitflags 1.3.2", "docify", "environmental", @@ -2129,7 +2161,7 @@ checksum = "3bf1d648c4007d421b9677b3c893256913498fff159dc2d85022cdd9cc432f3c" dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse 0.1.5", + "derive-syn-parse", "expander", "frame-support-procedural-tools", "itertools 0.10.5", @@ -2138,7 +2170,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -2151,7 +2183,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -2162,7 +2194,7 @@ checksum = "68672b9ec6fe72d259d3879dc212c5e42e977588cdac830c76f54d9f492aeb58" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -2291,12 +2323,12 @@ checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-lite" -version = "2.3.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" +checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba" dependencies = [ "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", ] [[package]] @@ -2307,7 +2339,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -2335,9 +2367,9 @@ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.3" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" +checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" @@ -2352,7 +2384,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", "pin-utils", "slab", ] @@ -2399,9 +2431,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" dependencies = [ "cfg-if", "libc", @@ -2420,11 +2452,11 @@ dependencies = [ [[package]] name = "ghash" -version = "0.5.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" dependencies = [ - "opaque-debug 0.3.1", + "opaque-debug 0.3.0", "polyval", ] @@ -2441,9 +2473,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.29.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "group" @@ -2458,9 +2490,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.26" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" dependencies = [ "bytes", "fnv", @@ -2468,7 +2500,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.2.6", + "indexmap 2.2.3", "slab", "tokio", "tokio-util", @@ -2505,16 +2537,16 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", ] [[package]] name = "hashbrown" -version = "0.14.5" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "allocator-api2", ] @@ -2524,7 +2556,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.14.3", ] [[package]] @@ -2533,17 +2565,11 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - [[package]] name = "hermit-abi" -version = "0.3.9" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +checksum = "bd5256b483761cd23699d0da46cc6fd2ee3be420bbe6d020ae4a091e70b7e9fd" [[package]] name = "hex" @@ -2628,9 +2654,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.12" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" dependencies = [ "bytes", "fnv", @@ -2645,7 +2671,7 @@ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", ] [[package]] @@ -2668,9 +2694,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.29" +version = "0.14.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f361cde2f109281a220d4307746cdfd5ee3f410da58a70377762396775634b33" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" dependencies = [ "bytes", "futures-channel", @@ -2682,8 +2708,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.14", - "socket2 0.5.7", + "pin-project-lite 0.2.13", + "socket2 0.5.5", "tokio", "tower-service", "tracing", @@ -2700,7 +2726,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.21.12", + "rustls 0.21.10", "rustls-native-certs", "tokio", "tokio-rustls", @@ -2840,12 +2866,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.14.3", ] [[package]] @@ -2872,9 +2898,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.13" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" dependencies = [ "cfg-if", ] @@ -2911,7 +2937,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.7", + "socket2 0.5.5", "widestring", "windows-sys 0.48.0", "winreg", @@ -2934,12 +2960,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "is_terminal_polyfill" -version = "1.70.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" - [[package]] name = "itertools" version = "0.10.5" @@ -2951,33 +2971,33 @@ dependencies = [ [[package]] name = "itertools" -version = "0.12.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" dependencies = [ "either", ] [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "jobserver" -version = "0.1.31" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" +checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.69" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" dependencies = [ "wasm-bindgen", ] @@ -3032,7 +3052,7 @@ dependencies = [ "futures-util", "hyper", "jsonrpsee-types", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "rand", "rustc-hash", "serde", @@ -3069,8 +3089,8 @@ version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29110019693a4fa2dbda04876499d098fa16d70eba06b1e6e2b3f1b251419515" dependencies = [ - "heck 0.4.1", - "proc-macro-crate 1.1.3", + "heck", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -3171,9 +3191,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libm" @@ -3190,7 +3210,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.15", + "getrandom 0.2.12", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -3255,7 +3275,7 @@ dependencies = [ "multihash", "multistream-select", "once_cell", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "pin-project", "quick-protobuf", "rand", @@ -3275,7 +3295,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "smallvec", "trust-dns-resolver", ] @@ -3326,7 +3346,7 @@ version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "arrayvec", + "arrayvec 0.7.4", "asynchronous-codec", "bytes", "either", @@ -3437,7 +3457,7 @@ dependencies = [ "libp2p-identity", "libp2p-tls", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "quinn-proto", "rand", "rustls 0.20.9", @@ -3488,7 +3508,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "heck 0.4.1", + "heck", "quote", "syn 1.0.109", ] @@ -3553,7 +3573,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "quicksink", "rw-stream-sink", "soketto", @@ -3576,12 +3596,13 @@ dependencies = [ [[package]] name = "libredox" -version = "0.1.3" +version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.4.2", "libc", + "redox_syscall 0.4.1", ] [[package]] @@ -3634,9 +3655,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.18" +version = "1.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" +checksum = "037731f5d3aaa87a5675e895b63ddff1a87624bc29f77004ea829809654e48f6" dependencies = [ "cc", "pkg-config", @@ -3684,9 +3705,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lioness" @@ -3702,9 +3723,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" dependencies = [ "autocfg", "scopeguard", @@ -3712,9 +3733,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "lru" @@ -3752,7 +3773,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -3762,11 +3783,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", - "derive-syn-parse 0.1.5", + "derive-syn-parse", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -3777,7 +3798,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -3788,7 +3809,7 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -3830,9 +3851,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.2" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memfd" @@ -3840,7 +3861,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.31", ] [[package]] @@ -3870,6 +3891,18 @@ dependencies = [ "hash-db", ] +[[package]] +name = "merlin" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.5.1", + "zeroize", +] + [[package]] name = "merlin" version = "3.0.0" @@ -3890,18 +3923,18 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.3" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.11" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -3915,7 +3948,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" dependencies = [ "arrayref", - "arrayvec", + "arrayvec 0.7.4", "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", @@ -3924,7 +3957,7 @@ dependencies = [ "hashlink", "lioness", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "rand", "rand_chacha 0.3.1", "rand_distr", @@ -4003,11 +4036,11 @@ dependencies = [ [[package]] name = "multihash-derive" -version = "0.8.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" +checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 1.3.1", "proc-macro-error", "proc-macro2", "quote", @@ -4037,9 +4070,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.5" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" dependencies = [ "approx", "matrixmultiply", @@ -4117,9 +4150,9 @@ dependencies = [ [[package]] name = "netlink-sys" -version = "0.8.6" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" +checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" dependencies = [ "bytes", "futures", @@ -4163,19 +4196,20 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num-bigint" -version = "0.4.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ + "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-complex" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" dependencies = [ "num-traits", ] @@ -4192,7 +4226,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec", + "arrayvec 0.7.4", "itoa", ] @@ -4207,19 +4241,20 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.2" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" dependencies = [ + "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-traits" -version = "0.2.19" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", "libm", @@ -4255,9 +4290,9 @@ dependencies = [ [[package]] name = "object" -version = "0.35.0" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] @@ -4285,9 +4320,9 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "opaque-debug" -version = "0.3.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl-probe" @@ -4490,7 +4525,7 @@ version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d334f24d3c0c016d16aa87d069485847d622e8ebebace18ec5cf56609ca3a67" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "binary-merkle-tree", "frame-support", "frame-system", @@ -4531,15 +4566,14 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.7.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "574c52fd629191c374c24a18036acac008ea92142309e5dd05e7f03149a667c3" +checksum = "fd8cfe04e8c3f9ca8342ac785f2b1aee6140e1809546fc6f3a99fad20a8dfbf9" dependencies = [ "bitvec", "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-arithmetic", @@ -4692,9 +4726,9 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "29.0.1" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "452bba25325b7f0148eeecbde13e7c26dfb677ad46b3f160b359d7643b44c94b" +checksum = "e9e1cae19e30e7dc822c419988b30bb1318d79a8d5da92733822d0e84fe760ca" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4806,9 +4840,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "26.0.1" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b62091305ec7426e71c3da2b0944c2df5a804109ee4d2e8f4fe34865e049f8ac" +checksum = "0f14519c1c613d2f8c95c27015864c11a37969a23deeba9f6dbaff4276e1b81c" dependencies = [ "frame-support", "frame-system", @@ -5016,9 +5050,9 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "29.0.3" +version = "29.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061b00814eb794a40df4eca7972a7c67b26473cd85cc7c54f5816ae49ad6e11b" +checksum = "668b7d28c499f0d9f295fad26cf6c342472e21842e3b13bcaaac8536358b2d6c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5047,7 +5081,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -5062,9 +5096,9 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "15.0.1" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e47c73850103db30b61ef170107afe1ef0dab6905c495bd6dfb57b3c1dd81bc7" +checksum = "237d7b5a10cb6cba727c3e957fb241776302aa3cce589e6759ba53f50129c1a5" dependencies = [ "parity-scale-codec", "sp-api", @@ -5129,9 +5163,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "29.0.1" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b0c408252aefe10cff96af1e54f06f45cb0dd184b4e450e9a2ecf837dfe506e" +checksum = "39f690f5c287ad34b28ca951ef7fae80b08cc9218d970723b7a70e4d29396872" dependencies = [ "frame-support", "frame-system", @@ -5159,9 +5193,9 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "28.0.1" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eca44990d0d759213744f2d1f6fe1fadec1079a3e4e4da40556d6b4e42abbcd" +checksum = "1605eb5083a2cd172544f33c6e59eca2e23ac49f02f13d1562b1b8a409df9c60" dependencies = [ "docify", "frame-benchmarking", @@ -5304,11 +5338,11 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" dependencies = [ - "arrayvec", + "arrayvec 0.7.4", "bitvec", "byte-slice-cast", "bytes", @@ -5319,11 +5353,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -5360,12 +5394,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.9", ] [[package]] @@ -5384,15 +5418,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.1", + "redox_syscall 0.4.1", "smallvec", - "windows-targets 0.52.5", + "windows-targets 0.48.5", ] [[package]] @@ -5517,9 +5551,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.15" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pbkdf2" @@ -5547,32 +5581,32 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "petgraph" -version = "0.6.5" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap 2.2.3", ] [[package]] name = "pin-project" -version = "1.1.5" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.5" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -5583,9 +5617,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.14" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" [[package]] name = "pin-utils" @@ -5611,9 +5645,9 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "platforms" -version = "3.4.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" +checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" [[package]] name = "polkadot-core-primitives" @@ -5676,9 +5710,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "8.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d815f0ff0a69dce7235d42c6e7d5e2b8b7429cba1252b4802ddc7879e2e74d4a" +checksum = "06afbb3bd10245ad1907242a98ddffc3c0c1e209738b8382bc5bcfc1f28c0429" dependencies = [ "bitvec", "frame-benchmarking", @@ -5732,7 +5766,7 @@ version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3566c6fd0c21b5dd555309427c984cf506f875ee90f710acea295b478fecbe0" dependencies = [ - "bs58 0.5.1", + "bs58 0.5.0", "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", @@ -5742,9 +5776,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "8.0.3" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8d37cd3e014b06daf396d1483b5327782a0ebadc816423419665166b75b3e3e" +checksum = "9bcfd672be236fd1c38c702e7e99fe3f3e54df0ddb8127e542423221d1f50669" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -5793,15 +5827,14 @@ dependencies = [ [[package]] name = "polling" -version = "3.7.1" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6a007746f34ed64099e88783b0ae369eaa3da6392868ba262e2af9b8fbaea1" +checksum = "30054e72317ab98eddd8561db0f6524df3367636884b7b21b703e4b280a84a14" dependencies = [ "cfg-if", "concurrent-queue", - "hermit-abi", - "pin-project-lite 0.2.14", - "rustix 0.38.34", + "pin-project-lite 0.2.13", + "rustix 0.38.31", "tracing", "windows-sys 0.52.0", ] @@ -5813,19 +5846,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", - "opaque-debug 0.3.1", + "opaque-debug 0.3.0", "universal-hash", ] [[package]] name = "polyval" -version = "0.6.2" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" dependencies = [ "cfg-if", "cpufeatures", - "opaque-debug 0.3.1", + "opaque-debug 0.3.0", "universal-hash", ] @@ -5877,21 +5910,11 @@ dependencies = [ "termtree", ] -[[package]] -name = "prettier-please" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" -dependencies = [ - "proc-macro2", - "syn 2.0.66", -] - [[package]] name = "prettyplease" -version = "0.1.11" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" +checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" dependencies = [ "proc-macro2", "syn 1.0.109", @@ -5912,12 +5935,21 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.1.3" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ - "thiserror", - "toml 0.5.11", + "once_cell", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +dependencies = [ + "toml_edit 0.20.2", ] [[package]] @@ -5961,29 +5993,29 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "proc-macro2" -version = "1.0.85" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus" -version = "0.13.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" +checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" dependencies = [ "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "thiserror", ] @@ -5995,7 +6027,7 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "prometheus-client-derive-encode", ] @@ -6007,7 +6039,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -6022,12 +6054,12 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.6" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" dependencies = [ "bytes", - "prost-derive 0.12.6", + "prost-derive 0.12.4", ] [[package]] @@ -6037,7 +6069,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", - "heck 0.4.1", + "heck", "itertools 0.10.5", "lazy_static", "log", @@ -6067,15 +6099,15 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.6" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" dependencies = [ "anyhow", - "itertools 0.12.1", + "itertools 0.11.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -6155,9 +6187,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -6214,7 +6246,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.12", ] [[package]] @@ -6235,9 +6267,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.10.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +checksum = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" dependencies = [ "either", "rayon-core", @@ -6283,44 +6315,35 @@ dependencies = [ "bitflags 1.3.2", ] -[[package]] -name = "redox_syscall" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" -dependencies = [ - "bitflags 2.5.0", -] - [[package]] name = "redox_users" -version = "0.4.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.12", "libredox", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.23" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" +checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.23" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" +checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -6337,14 +6360,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.4" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", + "regex-automata 0.4.5", + "regex-syntax 0.8.2", ] [[package]] @@ -6358,13 +6381,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.3", + "regex-syntax 0.8.2", ] [[package]] @@ -6375,9 +6398,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.3" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "resolv-conf" @@ -6416,17 +6439,16 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.8" +version = "0.17.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" dependencies = [ "cc", - "cfg-if", - "getrandom 0.2.15", + "getrandom 0.2.12", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] @@ -6452,9 +6474,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustc-hash" @@ -6474,7 +6496,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.23", + "semver 1.0.21", ] [[package]] @@ -6502,14 +6524,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.4.2", "errno", "libc", - "linux-raw-sys 0.4.14", + "linux-raw-sys 0.4.13", "windows-sys 0.52.0", ] @@ -6527,12 +6549,12 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.12" +version = "0.21.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" +checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", - "ring 0.17.8", + "ring 0.17.7", "rustls-webpki", "sct", ] @@ -6564,15 +6586,15 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.8", + "ring 0.17.7", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.17" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "rw-stream-sink" @@ -6587,9 +6609,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "safe_arch" @@ -6643,7 +6665,7 @@ version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f73880050f8b04fed7f6301279ef3899df13a3891bd06156d56f9a1c50fefba" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "docify", "log", "memmap2", @@ -6673,7 +6695,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -6686,7 +6708,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -6716,7 +6738,7 @@ dependencies = [ "libp2p-identity", "log", "mockall", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "sc-client-api", "sc-utils", "serde", @@ -6736,8 +6758,8 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ae91e5b5a120be4d13a59eaf94fd85d7c7af528482b8e21d861fa1167df3083" dependencies = [ - "ahash 0.8.11", - "array-bytes 6.2.3", + "ahash 0.8.8", + "array-bytes 6.2.2", "async-trait", "dyn-clone", "finality-grandpa", @@ -6746,7 +6768,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "rand", "sc-block-builder", "sc-chain-spec", @@ -6781,7 +6803,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa2ac6c356538d67987bbb867e11a12a84ba87250c70fd50005b6d74f570a4f7" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "sc-executor-common", "sc-executor-wasmtime", "schnellru", @@ -6820,7 +6842,7 @@ dependencies = [ "cfg-if", "libc", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "rustix 0.36.17", "sc-allocator", "sc-executor-common", @@ -6836,7 +6858,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45fb213c15679fe5b87c383815d7fb758c70d3e7c573948bd7fe26ff344d2272" dependencies = [ "array-bytes 4.2.0", - "arrayvec", + "arrayvec 0.7.4", "blake2 0.10.6", "bytes", "futures", @@ -6846,7 +6868,7 @@ dependencies = [ "mixnet", "multiaddr", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "sc-client-api", "sc-network", "sc-transaction-pool-api", @@ -6865,7 +6887,7 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f231c7d5e749ec428b4cfa669d759ae76cd3da4f50d7352a2d711acdc7532891" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-channel", "async-trait", "asynchronous-codec", @@ -6880,7 +6902,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "partial_sort", "pin-project", "rand", @@ -6927,7 +6949,7 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dad02cf809c34b53614fa61377e3289064edf6c78eb11df071d11fbf7546d7e9" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "futures", "futures-timer", "libp2p", @@ -6947,7 +6969,7 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9aa9377059deece4e7d419d9ec456f657268c0c603e1cf98df4a920f6da83461" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-channel", "async-trait", "fork-tree", @@ -6957,7 +6979,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost 0.12.6", + "prost 0.12.4", "prost-build", "sc-client-api", "sc-consensus", @@ -7009,7 +7031,7 @@ dependencies = [ "futures", "libp2p", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "pin-project", "rand", "sc-utils", @@ -7047,16 +7069,16 @@ dependencies = [ "futures-timer", "lazy_static", "log", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "prometheus", "sp-arithmetic", ] [[package]] name = "scale-info" -version = "2.11.3" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" dependencies = [ "bitvec", "cfg-if", @@ -7068,11 +7090,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.3" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -7089,15 +7111,31 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" +checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "cfg-if", "hashbrown 0.13.2", ] +[[package]] +name = "schnorrkel" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" +dependencies = [ + "arrayref", + "arrayvec 0.5.2", + "curve25519-dalek 2.1.3", + "merlin 2.0.1", + "rand_core 0.5.1", + "sha2 0.8.2", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "schnorrkel" version = "0.11.4" @@ -7106,10 +7144,10 @@ checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ "aead", "arrayref", - "arrayvec", + "arrayvec 0.7.4", "curve25519-dalek 4.1.2", "getrandom_or_panic", - "merlin", + "merlin 3.0.0", "rand_core 0.6.4", "serde_bytes", "sha2 0.10.8", @@ -7135,7 +7173,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.8", + "ring 0.17.7", "untrusted 0.9.0", ] @@ -7182,11 +7220,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.11.0" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" dependencies = [ - "bitflags 2.5.0", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -7195,9 +7233,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.0" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" dependencies = [ "core-foundation-sys", "libc", @@ -7214,9 +7252,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.23" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" dependencies = [ "serde", ] @@ -7235,9 +7273,9 @@ checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5" [[package]] name = "serde" -version = "1.0.203" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" +checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" dependencies = [ "serde_derive", ] @@ -7253,20 +7291,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.203" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" +checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" dependencies = [ "itoa", "ryu", @@ -7275,9 +7313,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" dependencies = [ "serde", ] @@ -7292,7 +7330,19 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.1", + "opaque-debug 0.3.0", +] + +[[package]] +name = "sha2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" +dependencies = [ + "block-buffer 0.7.3", + "digest 0.8.1", + "fake-simd", + "opaque-debug 0.2.3", ] [[package]] @@ -7305,7 +7355,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.1", + "opaque-debug 0.3.0", ] [[package]] @@ -7397,9 +7447,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.13.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "snow" @@ -7412,7 +7462,7 @@ dependencies = [ "chacha20poly1305", "curve25519-dalek 4.1.2", "rand_core 0.6.4", - "ring 0.17.8", + "ring 0.17.7", "rustc_version", "sha2 0.10.8", "subtle 2.5.0", @@ -7430,12 +7480,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.7" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] @@ -7457,9 +7507,9 @@ dependencies = [ [[package]] name = "sp-api" -version = "27.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e4f8702afd77f14a32733e2b589c02694bf79d0b3a641963c508016208724d0" +checksum = "6ef42aa652381ade883c14ffbbb5c0fec36d382d2217b5bace01b8a0e8634778" dependencies = [ "hash-db", "log", @@ -7479,9 +7529,9 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "15.0.1" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0301e2f77afb450fbf2b093f8b324c7ad88cc82e5e69bd5dc8658a1f068b2a96" +checksum = "0694be2891593450916d6b53a274d234bccbc86bcbada36ba23fc356989070c7" dependencies = [ "Inflector", "blake2 0.10.6", @@ -7489,7 +7539,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -7556,7 +7606,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "schnellru", "sp-api", "sp-consensus", @@ -7679,12 +7729,12 @@ version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c33c7a1568175250628567d50c4e1c54a6ac5bc1190413b9be29a9e810cbe73" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", - "bs58 0.5.1", + "bs58 0.5.0", "dyn-clonable", "ed25519-zebra", "futures", @@ -7694,14 +7744,14 @@ dependencies = [ "itertools 0.10.5", "libsecp256k1", "log", - "merlin", + "merlin 3.0.0", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "paste", "primitive-types", "rand", "scale-info", - "schnorrkel", + "schnorrkel 0.11.4", "secp256k1", "secrecy", "serde", @@ -7741,7 +7791,7 @@ checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -7751,7 +7801,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "722cbecdbf5b94578137dbd07feb51e95f7de221be0c1ff4dcfe0bb4cd986929" dependencies = [ "kvdb", - "parking_lot 0.12.3", + "parking_lot 0.12.1", ] [[package]] @@ -7762,7 +7812,7 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -7848,7 +7898,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444f2d53968b1ce5e908882710ff1f3873fcf3e95f59d57432daf685bbacb959" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "sp-core", "sp-externalities", "thiserror", @@ -8011,7 +8061,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -8054,7 +8104,7 @@ dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "rand", "smallvec", "sp-core", @@ -8156,13 +8206,13 @@ version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eed48dfd05081e8b36741b10ce4eb686c135a2952227a11fe71caec89890ddbb" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "hash-db", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "rand", "scale-info", "schnellru", @@ -8202,7 +8252,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -8270,9 +8320,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.47.0" +version = "1.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +checksum = "b1114ee5900b8569bbc8b1a014a942f937b752af4b44f4607430b5f86cedaac0" dependencies = [ "Inflector", "num-format", @@ -8310,7 +8360,7 @@ version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48fa328b87de3466bc38cc9a07244c42c647b7755b81115e1dfeb47cc13fc6e6" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bounded-collections", "derivative", "environmental", @@ -8325,9 +8375,9 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "8.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "988d765ad5ab3b5cc90bb1dd143153ebdbe2b7600e10d5ef3a7f3e8df1bdac5d" +checksum = "a8f6cfc27c1d45f9a67e20ed3f7e60296299688825350291606add10bf3bbff2" dependencies = [ "frame-support", "frame-system", @@ -8376,9 +8426,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "strsim" -version = "0.11.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "strum" @@ -8395,7 +8445,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck 0.4.1", + "heck", "proc-macro2", "quote", "rustversion", @@ -8404,13 +8454,13 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" +checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" dependencies = [ "hmac 0.11.0", "pbkdf2", - "schnorrkel", + "schnorrkel 0.9.1", "sha2 0.9.9", "zeroize", ] @@ -8444,9 +8494,9 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "18.0.1" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a39a20e17c24ede36b5bd5e7543a4cef8d8a0daf6e1a046dc31832b837a54a0" +checksum = "511bbc2df035f5fe2556d855369a1bbb45df620360391a1f6e3fa1a1d64af79a" dependencies = [ "build-helper", "cargo_metadata", @@ -8456,7 +8506,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.8.14", + "toml 0.8.12", "walkdir", "wasm-opt", ] @@ -8486,9 +8536,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.66" +version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ "proc-macro2", "quote", @@ -8536,19 +8586,19 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.14" +version = "0.12.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" +checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" [[package]] name = "tempfile" -version = "3.10.1" +version = "3.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" dependencies = [ "cfg-if", "fastrand", - "rustix 0.38.34", + "rustix 0.38.31", "windows-sys 0.52.0", ] @@ -8569,29 +8619,29 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.61" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.61" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ "cfg-if", "once_cell", @@ -8599,9 +8649,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.36" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ "deranged", "itoa", @@ -8620,9 +8670,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ "num-conv", "time-core", @@ -8654,31 +8704,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" dependencies = [ "backtrace", "bytes", "libc", "mio", "num_cpus", - "parking_lot 0.12.3", - "pin-project-lite 0.2.14", - "socket2 0.5.7", + "parking_lot 0.12.1", + "pin-project-lite 0.2.13", + "socket2 0.5.5", "tokio-macros", "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -8698,33 +8748,34 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.12", + "rustls 0.21.10", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", "tokio", ] [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", "tokio", + "tracing", ] [[package]] @@ -8738,47 +8789,69 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.14" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.14", + "toml_edit 0.22.9", ] [[package]] name = "toml_datetime" -version = "0.6.6" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.2.3", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +dependencies = [ + "indexmap 2.2.3", + "toml_datetime", + "winnow 0.5.40", +] + [[package]] name = "toml_edit" version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.2.3", "toml_datetime", "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.22.14" +version = "0.22.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" +checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.2.3", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.11", + "winnow 0.6.6", ] [[package]] @@ -8790,7 +8863,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", "tower-layer", "tower-service", "tracing", @@ -8815,7 +8888,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.13", "tracing-attributes", "tracing-core", ] @@ -8828,7 +8901,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -8943,7 +9016,7 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "resolv-conf", "smallvec", "thiserror", @@ -9017,9 +9090,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.13" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" @@ -9104,9 +9177,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.4" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" +checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -9128,9 +9201,9 @@ dependencies = [ [[package]] name = "walkdir" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" dependencies = [ "same-file", "winapi-util", @@ -9159,9 +9232,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -9169,24 +9242,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.92" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.42" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" dependencies = [ "cfg-if", "js-sys", @@ -9196,9 +9269,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -9206,22 +9279,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" [[package]] name = "wasm-instrument" @@ -9234,9 +9307,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.116.1" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd87a4c135535ffed86123b6fb0f0a5a0bc89e50416c942c5f0662c645f679c" +checksum = "fc942673e7684671f0c5708fc18993569d184265fd5223bb51fc8e5b9b6cfd52" dependencies = [ "anyhow", "libc", @@ -9494,9 +9567,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.69" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" dependencies = [ "js-sys", "wasm-bindgen", @@ -9508,7 +9581,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.8", + "ring 0.17.7", "untrusted 0.9.0", ] @@ -9530,14 +9603,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.34", + "rustix 0.38.31", ] [[package]] name = "wide" -version = "0.7.23" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1134eff459f1063780b94cc78b704e2212cac12abd554e4268f5b8f9dfcc1883" +checksum = "89beec544f246e679fc25490e3f8e08003bc4bf612068f325120dad4cea02c1c" dependencies = [ "bytemuck", "safe_arch", @@ -9545,9 +9618,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.1.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" +checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" [[package]] name = "winapi" @@ -9567,11 +9640,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.8" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ - "windows-sys 0.52.0", + "winapi", ] [[package]] @@ -9605,7 +9678,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.0", ] [[package]] @@ -9632,7 +9705,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.0", ] [[package]] @@ -9667,18 +9740,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", ] [[package]] @@ -9695,9 +9767,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" [[package]] name = "windows_aarch64_msvc" @@ -9713,9 +9785,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" [[package]] name = "windows_i686_gnu" @@ -9731,15 +9803,9 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" [[package]] name = "windows_i686_msvc" @@ -9755,9 +9821,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" [[package]] name = "windows_x86_64_gnu" @@ -9773,9 +9839,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" [[package]] name = "windows_x86_64_gnullvm" @@ -9791,9 +9857,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" [[package]] name = "windows_x86_64_msvc" @@ -9809,9 +9875,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.5" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" @@ -9824,9 +9890,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.11" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c52728401e1dc672a56e81e593e912aa54c78f40246869f78359a2bf24d29d" +checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" dependencies = [ "memchr", ] @@ -9900,7 +9966,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -9912,7 +9978,7 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.3", + "parking_lot 0.12.1", "rand", "static_assertions", ] @@ -9928,29 +9994,29 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.34" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.34" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" dependencies = [ "zeroize_derive", ] @@ -9963,7 +10029,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.66", + "syn 2.0.48", ] [[package]] @@ -10006,9 +10072,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" +version = "2.0.9+zstd.1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" dependencies = [ "cc", "pkg-config", diff --git a/chain-spec-generator/src/relay_chain_specs.rs b/chain-spec-generator/src/relay_chain_specs.rs index 72d4ea4..f48ca93 100644 --- a/chain-spec-generator/src/relay_chain_specs.rs +++ b/chain-spec-generator/src/relay_chain_specs.rs @@ -44,7 +44,7 @@ pub fn paseo_chain_spec_properties() -> serde_json::map::Map HostConfiguration { use polkadot_primitives::{MAX_CODE_SIZE, MAX_POV_SIZE}; - polkadot_runtime_parachains::configuration::HostConfiguration { + runtime_parachains::configuration::HostConfiguration { validation_upgrade_cooldown: 2u32, validation_upgrade_delay: 2, code_retention_period: 1200, diff --git a/relay/paseo/src/lib.rs b/relay/paseo/src/lib.rs index 0abf988..0590fed 100644 --- a/relay/paseo/src/lib.rs +++ b/relay/paseo/src/lib.rs @@ -134,6 +134,7 @@ pub mod xcm_config; pub const LOG_TARGET: &'static str = "runtime::paseo"; +use polkadot_runtime_common as runtime_common; impl_runtime_weights!(paseo_runtime_constants); // Make the WASM binary available.