From 3b18d942c766c7f358da50608b44edbe218284a4 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Fri, 1 Nov 2024 18:25:38 +0100 Subject: [PATCH 1/2] Release 1.3.4 (#486) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release for the updated inflation formula from https://github.com/polkadot-fellows/runtimes/pull/471 This release only affects the Polkadot runtime. --------- Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Dónal Murray --- CHANGELOG.md | 2 +- Cargo.lock | 10 +-- relay/polkadot/src/lib.rs | 2 +- .../src/weights/pallet_message_queue.rs | 61 +++++++++--------- .../asset-hubs/asset-hub-kusama/src/lib.rs | 4 +- .../src/weights/pallet_message_queue.rs | 63 +++++++++---------- .../asset-hubs/asset-hub-polkadot/src/lib.rs | 2 +- .../src/weights/pallet_message_queue.rs | 63 +++++++++---------- system-parachains/encointer/src/lib.rs | 2 +- 9 files changed, 102 insertions(+), 107 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdcf47ef85..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/). -## [Unreleased] +## [1.3.4] 01.11.2024 ### Changed 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", ] diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 9e6064e5c7..7f12e15f38 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/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/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, 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/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, 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)) 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 20822000a0f29e3c355f3a8df9f862b89ada5493 Mon Sep 17 00:00:00 2001 From: Karim Date: Fri, 15 Nov 2024 16:30:57 +0100 Subject: [PATCH 2/2] Lower Parachain and Data Deposits to Encourage Experimentation on Kusama (#501) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chaos is a ladder, this PR proposes bringing the rungs a tad bit closer to make it easier to climb. In other words, this PR aims to lower the barriers for experimentation and innovation within the Polkadot ecosystem. We're reducing both the `ParaDeposit` and `DataDepositPerByte` to encourage more developers and projects to deploy and test their ideas on Kusama. The changes: - Reduced ParaDeposit from 40 UNITS to 4 UNITS - Lowered DataDepositPerByte from 1 CENT to 0.1 CENTS These adjustments will make it more accessible for teams to register a blockchain and get started. I think that making things accessible starts with making them affordable, this aims to do just that. This aligns with Kusama's role as a canary network, where we can push the boundaries of what's possible. While we're lowering the initial costs, it's worth noting that this change **doesn't implement an adaptive fee structure** that would increase costs if too much code is registered too quickly. Such a mechanism could be considered for future implementations, potentially as a Polkadot-ready solution. Kusama is the playground for radical innovation. With these lowered deposits, we're inviting chaos – controlled chaos that drives progress. Expect the unexpected, and let's see what comes out the other end. :) --- CHANGELOG.md | 1 + relay/kusama/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f72568f6ba..11953cd12b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Change Polkadot inflation to 120M DOT per year ([polkadot-fellows/runtimes#471](https://github.com/polkadot-fellows/runtimes/pull/471)) - Update foreign asset ids in Asset Hub Polkadot and Asset Hub Kusama from v3 to v4 locations ([polkadot-fellows/runtimes#472](https://github.com/polkadot-fellows/runtimes/pull/472)) +- Lower Parachain and Data Deposits to Encourage Experimentation on Kusama ([polkadot-fellows/runtimes#501](https://github.com/polkadot-fellows/runtimes/pull/501)) ## [1.3.3] 01.10.2024 diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index a29936ec5e..0737a219c3 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -830,7 +830,7 @@ parameter_types! { pub const TipCountdown: BlockNumber = DAYS; pub const TipFindersFee: Percent = Percent::from_percent(20); pub const TipReportDepositBase: Balance = 100 * CENTS; - pub const DataDepositPerByte: Balance = CENTS; + pub const DataDepositPerByte: Balance = CENTS / 10; pub const MaxApprovals: u32 = 100; pub const MaxAuthorities: u32 = 100_000; pub const MaxKeys: u32 = 10_000; @@ -1468,7 +1468,7 @@ impl parachains_slashing::Config for Runtime { } parameter_types! { - pub const ParaDeposit: Balance = 40 * UNITS; + pub const ParaDeposit: Balance = 4 * UNITS; } impl paras_registrar::Config for Runtime {