From ec08cf596137e84484ceb11aee627f7751439170 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 17 Oct 2024 16:27:41 +0100 Subject: [PATCH 01/12] Release 1.3.4 Signed-off-by: Oliver Tale-Yazdi --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d9cbc5dfd..d4f8f3c415 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Changelog for the runtimes governed by the Polkadot Fellowship. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [Unreleased] +## [1.3.4] 17.10.2024 ### Changed From 642cbd82abaa16d41ef22d70db4b2e98d177de98 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Fri, 18 Oct 2024 17:38:18 +0100 Subject: [PATCH 02/12] Bump all specs to 1.3.4 Signed-off-by: Oliver Tale-Yazdi --- relay/kusama/src/lib.rs | 2 +- relay/polkadot/src/lib.rs | 2 +- system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs | 4 ++-- system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs | 2 +- system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs | 2 +- system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs | 2 +- system-parachains/collectives/collectives-polkadot/src/lib.rs | 2 +- system-parachains/coretime/coretime-kusama/src/lib.rs | 2 +- system-parachains/coretime/coretime-polkadot/src/lib.rs | 2 +- system-parachains/encointer/src/lib.rs | 2 +- system-parachains/gluttons/glutton-kusama/src/lib.rs | 2 +- system-parachains/people/people-kusama/src/lib.rs | 2 +- system-parachains/people/people-polkadot/src/lib.rs | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 13d0bfbbda..bc5e038611 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -174,7 +174,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 26, diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 2ee7fdd5c7..d6f6be9e01 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -160,7 +160,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 26, diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs index 141b693afe..72bc11d72f 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs @@ -121,7 +121,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, @@ -137,7 +137,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_003_000, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 87bcd43d17..84cc8d0bea 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -155,7 +155,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemint"), impl_name: create_runtime_str!("statemint"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs index 44574b27e6..d1c4c20366 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs @@ -186,7 +186,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-kusama"), impl_name: create_runtime_str!("bridge-hub-kusama"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 5, diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs index a9285f44e6..36d7b6b145 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs @@ -169,7 +169,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-polkadot"), impl_name: create_runtime_str!("bridge-hub-polkadot"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/system-parachains/collectives/collectives-polkadot/src/lib.rs b/system-parachains/collectives/collectives-polkadot/src/lib.rs index eccb696614..3aef2cecfc 100644 --- a/system-parachains/collectives/collectives-polkadot/src/lib.rs +++ b/system-parachains/collectives/collectives-polkadot/src/lib.rs @@ -125,7 +125,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("collectives"), impl_name: create_runtime_str!("collectives"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 7, diff --git a/system-parachains/coretime/coretime-kusama/src/lib.rs b/system-parachains/coretime/coretime-kusama/src/lib.rs index ceddd02ac9..efb7b6f8b1 100644 --- a/system-parachains/coretime/coretime-kusama/src/lib.rs +++ b/system-parachains/coretime/coretime-kusama/src/lib.rs @@ -145,7 +145,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("coretime-kusama"), impl_name: create_runtime_str!("coretime-kusama"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/system-parachains/coretime/coretime-polkadot/src/lib.rs b/system-parachains/coretime/coretime-polkadot/src/lib.rs index 6ae37db720..33e19b7ffd 100644 --- a/system-parachains/coretime/coretime-polkadot/src/lib.rs +++ b/system-parachains/coretime/coretime-polkadot/src/lib.rs @@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("coretime-polkadot"), impl_name: create_runtime_str!("coretime-polkadot"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, diff --git a/system-parachains/encointer/src/lib.rs b/system-parachains/encointer/src/lib.rs index db28814684..776f38cd6d 100644 --- a/system-parachains/encointer/src/lib.rs +++ b/system-parachains/encointer/src/lib.rs @@ -131,7 +131,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("encointer-parachain"), impl_name: create_runtime_str!("encointer-parachain"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/system-parachains/gluttons/glutton-kusama/src/lib.rs b/system-parachains/gluttons/glutton-kusama/src/lib.rs index db5027baae..dacc08794c 100644 --- a/system-parachains/gluttons/glutton-kusama/src/lib.rs +++ b/system-parachains/gluttons/glutton-kusama/src/lib.rs @@ -91,7 +91,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("glutton"), impl_name: create_runtime_str!("glutton"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/system-parachains/people/people-kusama/src/lib.rs b/system-parachains/people/people-kusama/src/lib.rs index 3cc6c85e53..82c4a12f25 100644 --- a/system-parachains/people/people-kusama/src/lib.rs +++ b/system-parachains/people/people-kusama/src/lib.rs @@ -177,7 +177,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("people-kusama"), impl_name: create_runtime_str!("people-kusama"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/system-parachains/people/people-polkadot/src/lib.rs b/system-parachains/people/people-polkadot/src/lib.rs index 4dd70c027b..db0f124097 100644 --- a/system-parachains/people/people-polkadot/src/lib.rs +++ b/system-parachains/people/people-polkadot/src/lib.rs @@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("people-polkadot"), impl_name: create_runtime_str!("people-polkadot"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, From 48466dab8664c2a24d0fc62ba3861e8f58c48c13 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 23 Oct 2024 12:31:40 +0200 Subject: [PATCH 03/12] Only modify Polkadot spec version Signed-off-by: Oliver Tale-Yazdi --- relay/kusama/src/lib.rs | 20 ++++++++++--------- .../asset-hubs/asset-hub-kusama/src/lib.rs | 17 +++++++++------- .../asset-hubs/asset-hub-polkadot/src/lib.rs | 15 ++++++++------ .../bridge-hubs/bridge-hub-kusama/src/lib.rs | 2 +- .../bridge-hub-polkadot/src/lib.rs | 2 +- .../collectives-polkadot/src/lib.rs | 6 ++++-- .../coretime/coretime-kusama/src/lib.rs | 2 +- .../coretime/coretime-polkadot/src/lib.rs | 9 +++++---- .../gluttons/glutton-kusama/src/lib.rs | 2 +- .../people/people-kusama/src/lib.rs | 9 +++++---- .../people/people-polkadot/src/lib.rs | 2 +- 11 files changed, 49 insertions(+), 37 deletions(-) diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index bc5e038611..a29936ec5e 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -174,7 +174,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 26, @@ -1213,7 +1213,8 @@ impl InstanceFilter for ProxyType { matches!( c, RuntimeCall::Staking(..) | - RuntimeCall::Session(..) | RuntimeCall::Utility(..) | + RuntimeCall::Session(..) | + RuntimeCall::Utility(..) | RuntimeCall::FastUnstake(..) | RuntimeCall::VoterList(..) | RuntimeCall::NominationPools(..) @@ -1617,8 +1618,10 @@ impl pallet_nomination_pools::Config for Runtime { } /// The [frame_support::traits::tokens::ConversionFromAssetBalance] implementation provided by the -/// `AssetRate` pallet instance, with additional decoration to identify different IDs/locations of -/// native asset and provide a one-to-one balance conversion for them. +/// `AssetRate` pallet instance. +/// +/// With additional decoration to identify different IDs/locations of native asset and provide a +/// one-to-one balance conversion for them. pub type AssetRateWithNative = UnityOrOuterConversion< ContainsLocationParts< FromContains< @@ -1828,10 +1831,10 @@ pub mod migrations { /// /// It consists of: /// * Call into `pallet_staking::Pallet::::restore_ledger` with: -/// * Root origin; -/// * Default `None` paramters. +/// * Root origin; +/// * Default `None` paramters. /// * Forces unstake of recovered ledger if the final restored ledger has higher stake than the -/// stash's free balance. +/// stash's free balance. /// /// The stashes associated with corrupted ledgers that will be "migrated" are set in /// [`CorruptedStashes`]. @@ -1914,14 +1917,13 @@ pub(crate) mod restore_corrupted_ledgers { stash_account.clone(), slashing_spans, ) - .map_err(|err| { + .inspect_err(|err| { log::error!( target: LOG_TARGET, "migrations::corrupted_ledgers: error force unstaking ledger, unexpected. {:?}", err ); err_migration += 1; - err }); log::info!( diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs index 72bc11d72f..ec92b587f7 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs @@ -121,7 +121,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, @@ -137,7 +137,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, @@ -431,10 +431,12 @@ parameter_types! { pub const ForeignAssetsMetadataDepositPerByte: Balance = MetadataDepositPerByte::get(); } -/// Assets managed by some foreign location. Note: we do not declare a `ForeignAssetsCall` type, as -/// this type is used in proxy definitions. We assume that a foreign location would not want to set -/// an individual, local account as a proxy for the issuance of their assets. This issuance should -/// be managed by the foreign location's governance. +/// Assets managed by some foreign location. +/// +/// Note: we do not declare a `ForeignAssetsCall` type, as this type is used in proxy definitions. +/// We assume that a foreign location would not want to set an individual, local account as a proxy +/// for the issuance of their assets. This issuance should be managed by the foreign location's +/// governance. pub type ForeignAssetsInstance = pallet_assets::Instance2; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -568,7 +570,8 @@ impl InstanceFilter for ProxyType { RuntimeCall::Utility { .. } | RuntimeCall::Multisig { .. } | RuntimeCall::NftFractionalization { .. } | - RuntimeCall::Nfts { .. } | RuntimeCall::Uniques { .. } + RuntimeCall::Nfts { .. } | + RuntimeCall::Uniques { .. } ) }, ProxyType::AssetOwner => matches!( diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 84cc8d0bea..2a8764ee48 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -155,7 +155,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemint"), impl_name: create_runtime_str!("statemint"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, @@ -352,10 +352,12 @@ parameter_types! { pub const ForeignAssetsMetadataDepositPerByte: Balance = MetadataDepositPerByte::get(); } -/// Assets managed by some foreign location. Note: we do not declare a `ForeignAssetsCall` type, as -/// this type is used in proxy definitions. We assume that a foreign location would not want to set -/// an individual, local account as a proxy for the issuance of their assets. This issuance should -/// be managed by the foreign location's governance. +/// Assets managed by some foreign location. +/// +/// Note: we do not declare a `ForeignAssetsCall` type, as this type is used in proxy definitions. +/// We assume that a foreign location would not want to set an individual, local account as a proxy +/// for the issuance of their assets. This issuance should be managed by the foreign location's +/// governance. pub type ForeignAssetsInstance = pallet_assets::Instance2; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -492,7 +494,8 @@ impl InstanceFilter for ProxyType { RuntimeCall::Assets { .. } | RuntimeCall::Utility { .. } | RuntimeCall::Multisig { .. } | - RuntimeCall::Nfts { .. } | RuntimeCall::Uniques { .. } + RuntimeCall::Nfts { .. } | + RuntimeCall::Uniques { .. } ) }, ProxyType::AssetOwner => matches!( diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs index d1c4c20366..44574b27e6 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs @@ -186,7 +186,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-kusama"), impl_name: create_runtime_str!("bridge-hub-kusama"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 5, diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs index 36d7b6b145..a9285f44e6 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs @@ -169,7 +169,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bridge-hub-polkadot"), impl_name: create_runtime_str!("bridge-hub-polkadot"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4, diff --git a/system-parachains/collectives/collectives-polkadot/src/lib.rs b/system-parachains/collectives/collectives-polkadot/src/lib.rs index 3aef2cecfc..c8ccd42bd3 100644 --- a/system-parachains/collectives/collectives-polkadot/src/lib.rs +++ b/system-parachains/collectives/collectives-polkadot/src/lib.rs @@ -125,7 +125,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("collectives"), impl_name: create_runtime_str!("collectives"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 7, @@ -653,7 +653,9 @@ impl pallet_preimage::Config for Runtime { } /// The [frame_support::traits::tokens::ConversionFromAssetBalance] implementation provided by the -/// `AssetRate` pallet instance, with additional decoration to identify different IDs/locations of +/// `AssetRate` pallet instance. +/// +/// With additional decoration to identify different IDs/locations of /// native asset and provide a one-to-one balance conversion for them. pub type AssetRateWithNative = UnityOrOuterConversion< ContainsLocationParts< diff --git a/system-parachains/coretime/coretime-kusama/src/lib.rs b/system-parachains/coretime/coretime-kusama/src/lib.rs index efb7b6f8b1..ceddd02ac9 100644 --- a/system-parachains/coretime/coretime-kusama/src/lib.rs +++ b/system-parachains/coretime/coretime-kusama/src/lib.rs @@ -145,7 +145,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("coretime-kusama"), impl_name: create_runtime_str!("coretime-kusama"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/system-parachains/coretime/coretime-polkadot/src/lib.rs b/system-parachains/coretime/coretime-polkadot/src/lib.rs index 33e19b7ffd..41c30ac263 100644 --- a/system-parachains/coretime/coretime-polkadot/src/lib.rs +++ b/system-parachains/coretime/coretime-polkadot/src/lib.rs @@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("coretime-polkadot"), impl_name: create_runtime_str!("coretime-polkadot"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, @@ -180,9 +180,10 @@ parameter_types! { pub const SS58Prefix: u8 = 0; } -/// Filter out credit purchase calls until the credit system is implemented. Otherwise, users -/// may have chance of locking their funds forever on purchased credits they cannot use. -/// Also filter the interlace call until the relay can support this fully. +/// Filter out credit purchase calls until the credit system is implemented. +/// +/// Otherwise, users may have chance of locking their funds forever on purchased credits they cannot +/// use. Also filter the interlace call until the relay can support this fully. pub struct IsFilteredBrokerCall; impl Contains for IsFilteredBrokerCall { fn contains(c: &RuntimeCall) -> bool { diff --git a/system-parachains/gluttons/glutton-kusama/src/lib.rs b/system-parachains/gluttons/glutton-kusama/src/lib.rs index dacc08794c..db5027baae 100644 --- a/system-parachains/gluttons/glutton-kusama/src/lib.rs +++ b/system-parachains/gluttons/glutton-kusama/src/lib.rs @@ -91,7 +91,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("glutton"), impl_name: create_runtime_str!("glutton"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/system-parachains/people/people-kusama/src/lib.rs b/system-parachains/people/people-kusama/src/lib.rs index 82c4a12f25..619cd0422d 100644 --- a/system-parachains/people/people-kusama/src/lib.rs +++ b/system-parachains/people/people-kusama/src/lib.rs @@ -84,9 +84,10 @@ use xcm_runtime_apis::{ fees::Error as XcmPaymentApiError, }; -/// This determines the average expected block time that we are targeting. Blocks will be -/// produced at a minimum duration defined by `SLOT_DURATION`. `SLOT_DURATION` is picked up by -/// `pallet_timestamp`, which is in turn picked up by `pallet_aura` to implement `fn +/// This determines the average expected block time that we are targeting. +/// +/// Blocks will be produced at a minimum duration defined by `SLOT_DURATION`. `SLOT_DURATION` is +/// picked up by `pallet_timestamp`, which is in turn picked up by `pallet_aura` to implement `fn /// slot_duration()`. /// /// Change this to adjust the block time. @@ -177,7 +178,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("people-kusama"), impl_name: create_runtime_str!("people-kusama"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/system-parachains/people/people-polkadot/src/lib.rs b/system-parachains/people/people-polkadot/src/lib.rs index db0f124097..4dd70c027b 100644 --- a/system-parachains/people/people-polkadot/src/lib.rs +++ b/system-parachains/people/people-polkadot/src/lib.rs @@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("people-polkadot"), impl_name: create_runtime_str!("people-polkadot"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, From 2cb997de32a42efd3b7387eeffd7069546f3092a Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 23 Oct 2024 12:34:18 +0200 Subject: [PATCH 04/12] Dont modify encointer Signed-off-by: Oliver Tale-Yazdi --- system-parachains/encointer/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-parachains/encointer/src/lib.rs b/system-parachains/encointer/src/lib.rs index 60f1054172..f93906d02e 100644 --- a/system-parachains/encointer/src/lib.rs +++ b/system-parachains/encointer/src/lib.rs @@ -131,7 +131,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("encointer-parachain"), impl_name: create_runtime_str!("encointer-parachain"), authoring_version: 1, - spec_version: 1_003_004, + spec_version: 1_003_003, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 4, From 4d7d09816944857c2b67d25446891695295e3c21 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 23 Oct 2024 12:35:06 +0200 Subject: [PATCH 05/12] Bump release date Signed-off-by: Oliver Tale-Yazdi --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4f8f3c415..9aa250be0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Changelog for the runtimes governed by the Polkadot Fellowship. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [1.3.4] 17.10.2024 +## [1.3.4] 23.10.2024 ### Changed From 5fd68396c617bd6d7b44b60c9c948c5b467784fd Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 31 Oct 2024 11:01:27 +0100 Subject: [PATCH 06/12] Update pallet-message-queue Signed-off-by: Oliver Tale-Yazdi --- Cargo.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ef1c6afbbb..a5789d7b41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4604,9 +4604,9 @@ dependencies = [ [[package]] name = "frame-system" -version = "36.0.1" +version = "36.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d19f388280c14dbabcee2a817e1123c59c55847c6d07a5b5ca901b34a5910093" +checksum = "64d6a0e7bb6503facdcc6f8e19c83cd0bfc8bbbd268522b1a50e107dfc6b972d" dependencies = [ "cfg-if", "docify", @@ -8559,9 +8559,9 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "39.0.0" +version = "39.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e65a37881d1998546254a5e50a1f768b3f82deabe774e750f4ea95aba8030c" +checksum = "8bb779dbfd58b3a4e6a84245392fe9d8c31a746ff7c6db414e91c012663859c3" dependencies = [ "environmental", "frame-benchmarking", @@ -9374,7 +9374,7 @@ checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", "rand", - "rand_core 0.6.4", + "rand_core 0.5.1", "serde", "unicode-normalization", ] From ae264a8ef42a436457ed91a9a7e93d1298a71fef Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 31 Oct 2024 11:54:31 +0100 Subject: [PATCH 07/12] Bump Encointer to 1.3.4 Signed-off-by: Oliver Tale-Yazdi --- system-parachains/encointer/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-parachains/encointer/src/lib.rs b/system-parachains/encointer/src/lib.rs index f93906d02e..60f1054172 100644 --- a/system-parachains/encointer/src/lib.rs +++ b/system-parachains/encointer/src/lib.rs @@ -131,7 +131,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("encointer-parachain"), impl_name: create_runtime_str!("encointer-parachain"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 4, From 4f309f312219deb850c58cfb2b9fd13346fe2b2c Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 31 Oct 2024 11:54:35 +0100 Subject: [PATCH 08/12] Bump AHK to 1.3.4 Signed-off-by: Oliver Tale-Yazdi --- system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs index 0ef1e15ccb..82e8113d34 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs @@ -121,7 +121,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, @@ -137,7 +137,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, From 3270e37b0b783dae96c41dc092c20759c40f184b Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 31 Oct 2024 11:56:49 +0100 Subject: [PATCH 09/12] Update release date Signed-off-by: Oliver Tale-Yazdi --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa49f3a2fd..f01c0fa951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Changelog for the runtimes governed by the Polkadot Fellowship. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [1.3.4] 23.10.2024 +## [1.3.4] 31.10.2024 ### Changed From 380bf4197bee1cc5a2505e8b1fde3953c82e5476 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 31 Oct 2024 20:04:28 +0100 Subject: [PATCH 10/12] Bump PAH to 1.3.4 Signed-off-by: Oliver Tale-Yazdi --- system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 6c42ceac92..e6760f29b0 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -155,7 +155,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemint"), impl_name: create_runtime_str!("statemint"), authoring_version: 1, - spec_version: 1_003_003, + spec_version: 1_003_004, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 15, From 30961d3022fc7cdaacff9f70ec798b2a06c37cbd Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 31 Oct 2024 21:34:51 +0100 Subject: [PATCH 11/12] =?UTF-8?q?[P,=20PAH,=20PAK]=C2=A0Update=20MQ=20weig?= =?UTF-8?q?hts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oliver Tale-Yazdi --- .../src/weights/pallet_message_queue.rs | 61 +++++++++--------- .../src/weights/pallet_message_queue.rs | 63 +++++++++---------- .../src/weights/pallet_message_queue.rs | 63 +++++++++---------- 3 files changed, 91 insertions(+), 96 deletions(-) diff --git a/relay/polkadot/src/weights/pallet_message_queue.rs b/relay/polkadot/src/weights/pallet_message_queue.rs index c604fe4ce2..1dec0176ac 100644 --- a/relay/polkadot/src/weights/pallet_message_queue.rs +++ b/relay/polkadot/src/weights/pallet_message_queue.rs @@ -17,24 +17,21 @@ //! Autogenerated weights for `pallet_message_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-08-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-10-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./polkadot-chain-spec.json")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=./polkadot-chain-spec.json -// --steps=50 -// --repeat=20 -// --pallet=pallet_message_queue -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./polkadot-weights/ -// --header=./file_header.txt +// --runtime=target/production/wbuild/polkadot-runtime/polkadot_runtime.compact.compressed.wasm +// --pallet=pallet-message-queue +// --extrinsic= +// --output=relay/polkadot/src/weights/pallet_message_queue.rs +// --header=.github/scripts/cmd/file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,8 +52,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `281` // Estimated: `6050` - // Minimum execution time: 15_420_000 picoseconds. - Weight::from_parts(15_900_000, 0) + // Minimum execution time: 21_260_000 picoseconds. + Weight::from_parts(21_820_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 +66,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `281` // Estimated: `6050` - // Minimum execution time: 13_910_000 picoseconds. - Weight::from_parts(14_340_000, 0) + // Minimum execution time: 19_380_000 picoseconds. + Weight::from_parts(19_750_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 +78,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `42` // Estimated: `3520` - // Minimum execution time: 4_780_000 picoseconds. - Weight::from_parts(4_961_000, 0) + // Minimum execution time: 6_360_000 picoseconds. + Weight::from_parts(6_590_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 +90,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `115` // Estimated: `69051` - // Minimum execution time: 7_030_000 picoseconds. - Weight::from_parts(7_180_000, 0) + // Minimum execution time: 9_390_000 picoseconds. + Weight::from_parts(9_580_000, 0) .saturating_add(Weight::from_parts(0, 69051)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -105,8 +102,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `115` // Estimated: `69051` - // Minimum execution time: 7_170_000 picoseconds. - Weight::from_parts(7_410_000, 0) + // Minimum execution time: 9_660_000 picoseconds. + Weight::from_parts(9_900_000, 0) .saturating_add(Weight::from_parts(0, 69051)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -119,8 +116,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 155_692_000 picoseconds. - Weight::from_parts(156_952_000, 0) + // Minimum execution time: 158_210_000 picoseconds. + Weight::from_parts(159_351_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,8 +129,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `220` // Estimated: `3520` - // Minimum execution time: 7_620_000 picoseconds. - Weight::from_parts(7_960_000, 0) + // Minimum execution time: 11_020_000 picoseconds. + Weight::from_parts(11_390_000, 0) .saturating_add(Weight::from_parts(0, 3520)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,8 +147,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65714` // Estimated: `69051` - // Minimum execution time: 54_301_000 picoseconds. - Weight::from_parts(54_911_000, 0) + // Minimum execution time: 63_110_000 picoseconds. + Weight::from_parts(63_761_000, 0) .saturating_add(Weight::from_parts(0, 69051)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -168,8 +165,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65714` // Estimated: `69051` - // Minimum execution time: 71_631_000 picoseconds. - Weight::from_parts(72_511_000, 0) + // Minimum execution time: 82_140_000 picoseconds. + Weight::from_parts(82_801_000, 0) .saturating_add(Weight::from_parts(0, 69051)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(4)) @@ -186,8 +183,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65714` // Estimated: `69051` - // Minimum execution time: 106_751_000 picoseconds. - Weight::from_parts(107_831_000, 0) + // Minimum execution time: 118_451_000 picoseconds. + Weight::from_parts(119_610_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/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_message_queue.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_message_queue.rs index 258a5dfeb5..5e33b485b5 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_message_queue.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_message_queue.rs @@ -17,24 +17,23 @@ //! Autogenerated weights for `pallet_message_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-08-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-10-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./asset-hub-kusama-chain-spec.json")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=./asset-hub-kusama-chain-spec.json -// --steps=50 -// --repeat=20 -// --pallet=pallet_message_queue -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./asset-hub-kusama-weights/ -// --header=./file_header.txt +// --runtime +// target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.compact.compressed.wasm +// --pallet=pallet-message-queue +// --extrinsic= +// --output +// system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_message_queue.rs +// --header=.github/scripts/cmd/file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,8 +54,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `260` // Estimated: `6044` - // Minimum execution time: 14_921_000 picoseconds. - Weight::from_parts(15_280_000, 0) + // Minimum execution time: 19_600_000 picoseconds. + Weight::from_parts(19_990_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .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: `255` // Estimated: `6044` - // Minimum execution time: 13_091_000 picoseconds. - Weight::from_parts(13_520_000, 0) + // Minimum execution time: 17_850_000 picoseconds. + Weight::from_parts(18_260_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .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: `3517` - // Minimum execution time: 5_960_000 picoseconds. - Weight::from_parts(6_170_000, 0) + // Minimum execution time: 7_840_000 picoseconds. + Weight::from_parts(8_040_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .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: `109` // Estimated: `69050` - // Minimum execution time: 8_190_000 picoseconds. - Weight::from_parts(8_551_000, 0) + // Minimum execution time: 10_580_000 picoseconds. + Weight::from_parts(10_980_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -105,8 +104,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `109` // Estimated: `69050` - // Minimum execution time: 8_320_000 picoseconds. - Weight::from_parts(8_631_000, 0) + // Minimum execution time: 10_830_000 picoseconds. + Weight::from_parts(11_060_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -119,8 +118,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 161_211_000 picoseconds. - Weight::from_parts(162_281_000, 0) + // Minimum execution time: 157_500_000 picoseconds. + Weight::from_parts(158_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,8 +131,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `208` // Estimated: `3517` - // Minimum execution time: 8_820_000 picoseconds. - Weight::from_parts(9_020_000, 0) + // Minimum execution time: 12_260_000 picoseconds. + Weight::from_parts(12_650_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,8 +145,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 59_711_000 picoseconds. - Weight::from_parts(60_361_000, 0) + // Minimum execution time: 61_701_000 picoseconds. + Weight::from_parts(62_380_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -160,8 +159,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 76_311_000 picoseconds. - Weight::from_parts(77_140_000, 0) + // Minimum execution time: 81_110_000 picoseconds. + Weight::from_parts(81_580_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,8 +173,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 111_441_000 picoseconds. - Weight::from_parts(112_271_000, 0) + // Minimum execution time: 114_360_000 picoseconds. + Weight::from_parts(115_500_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_message_queue.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_message_queue.rs index 949dddb347..08a007669a 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_message_queue.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_message_queue.rs @@ -17,24 +17,23 @@ //! Autogenerated weights for `pallet_message_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-08-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-10-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ggwpez-ref-hw`, CPU: `AMD EPYC 7232P 8-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("./asset-hub-polkadot-chain-spec.json")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot-parachain +// frame-omni-bencher +// v1 // benchmark // pallet -// --chain=./asset-hub-polkadot-chain-spec.json -// --steps=50 -// --repeat=20 -// --pallet=pallet_message_queue -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --output=./asset-hub-polkadot-weights/ -// --header=./file_header.txt +// --runtime +// target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.compact.compressed.wasm +// --pallet=pallet-message-queue +// --extrinsic= +// --output +// system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_message_queue.rs +// --header=.github/scripts/cmd/file_header.txt #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,8 +54,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `260` // Estimated: `6044` - // Minimum execution time: 14_740_000 picoseconds. - Weight::from_parts(15_120_000, 0) + // Minimum execution time: 19_870_000 picoseconds. + Weight::from_parts(20_150_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .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: `255` // Estimated: `6044` - // Minimum execution time: 13_030_000 picoseconds. - Weight::from_parts(13_470_000, 0) + // Minimum execution time: 18_080_000 picoseconds. + Weight::from_parts(18_301_000, 0) .saturating_add(Weight::from_parts(0, 6044)) .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: `3517` - // Minimum execution time: 5_920_000 picoseconds. - Weight::from_parts(6_130_000, 0) + // Minimum execution time: 7_820_000 picoseconds. + Weight::from_parts(8_070_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .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: `109` // Estimated: `69050` - // Minimum execution time: 8_230_000 picoseconds. - Weight::from_parts(8_490_000, 0) + // Minimum execution time: 10_530_000 picoseconds. + Weight::from_parts(10_820_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -105,8 +104,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `109` // Estimated: `69050` - // Minimum execution time: 8_340_000 picoseconds. - Weight::from_parts(8_600_000, 0) + // Minimum execution time: 10_650_000 picoseconds. + Weight::from_parts(11_050_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -119,8 +118,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 156_191_000 picoseconds. - Weight::from_parts(157_371_000, 0) + // Minimum execution time: 161_831_000 picoseconds. + Weight::from_parts(162_761_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -132,8 +131,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `208` // Estimated: `3517` - // Minimum execution time: 8_661_000 picoseconds. - Weight::from_parts(8_900_000, 0) + // Minimum execution time: 12_210_000 picoseconds. + Weight::from_parts(12_511_000, 0) .saturating_add(Weight::from_parts(0, 3517)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,8 +145,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 53_740_000 picoseconds. - Weight::from_parts(54_180_000, 0) + // Minimum execution time: 66_210_000 picoseconds. + Weight::from_parts(66_961_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -160,8 +159,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 71_451_000 picoseconds. - Weight::from_parts(72_250_000, 0) + // Minimum execution time: 85_680_000 picoseconds. + Weight::from_parts(86_270_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,8 +173,8 @@ impl pallet_message_queue::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `65704` // Estimated: `69050` - // Minimum execution time: 106_120_000 picoseconds. - Weight::from_parts(107_530_000, 0) + // Minimum execution time: 119_101_000 picoseconds. + Weight::from_parts(120_431_000, 0) .saturating_add(Weight::from_parts(0, 69050)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) From 0dcfec6c332c1953085b72e06eb0d32be372fab8 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Fri, 1 Nov 2024 16:43:24 +0100 Subject: [PATCH 12/12] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dónal Murray --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f01c0fa951..f72568f6ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Changelog for the runtimes governed by the Polkadot Fellowship. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [1.3.4] 31.10.2024 +## [1.3.4] 01.11.2024 ### Changed