From 06108e1308d3d7aaa5ebb2f88230d7f89db78515 Mon Sep 17 00:00:00 2001 From: Dmitry Sinyavin Date: Tue, 1 Oct 2024 11:05:14 +0200 Subject: [PATCH 1/4] Set PoV size limit to 10 Mb --- polkadot/primitives/src/v8/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/primitives/src/v8/mod.rs b/polkadot/primitives/src/v8/mod.rs index a51ee0bd99bf..e516a5905aac 100644 --- a/polkadot/primitives/src/v8/mod.rs +++ b/polkadot/primitives/src/v8/mod.rs @@ -426,7 +426,7 @@ pub const MAX_HEAD_DATA_SIZE: u32 = 1 * 1024 * 1024; /// * checking updates to this stored runtime configuration do not exceed this limit /// * when detecting a PoV decompression bomb in the client // NOTE: This value is used in the runtime so be careful when changing it. -pub const MAX_POV_SIZE: u32 = 5 * 1024 * 1024; +pub const MAX_POV_SIZE: u32 = 10 * 1024 * 1024; /// Default queue size we use for the on-demand order book. /// From f88331e05141e2bcd836ebdc98be76f8a5f81c48 Mon Sep 17 00:00:00 2001 From: Dmitry Sinyavin Date: Fri, 29 Nov 2024 13:02:45 +0100 Subject: [PATCH 2/4] Fix bridges --- .../bridge-hub-rococo/src/bridge_to_westend_config.rs | 2 +- .../bridge-hub-westend/src/bridge_to_rococo_config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_westend_config.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_westend_config.rs index 2710d033d64b..7ef2818f6583 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_westend_config.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_westend_config.rs @@ -60,7 +60,7 @@ parameter_types! { // see the `FEE_BOOST_PER_PARACHAIN_HEADER` constant get the meaning of this value pub PriorityBoostPerParachainHeader: u64 = 1_396_340_903_540_903; // see the `FEE_BOOST_PER_MESSAGE` constant to get the meaning of this value - pub PriorityBoostPerMessage: u64 = 182_044_444_444_444; + pub PriorityBoostPerMessage: u64 = 364_088_888_888_888; pub BridgeHubWestendLocation: Location = Location::new( 2, diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/bridge_to_rococo_config.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/bridge_to_rococo_config.rs index cd3465513144..1df9f310c37c 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/bridge_to_rococo_config.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/bridge_to_rococo_config.rs @@ -67,7 +67,7 @@ parameter_types! { // see the `FEE_BOOST_PER_PARACHAIN_HEADER` constant get the meaning of this value pub PriorityBoostPerParachainHeader: u64 = 1_396_340_903_540_903; // see the `FEE_BOOST_PER_MESSAGE` constant to get the meaning of this value - pub PriorityBoostPerMessage: u64 = 182_044_444_444_444; + pub PriorityBoostPerMessage: u64 = 364_088_888_888_888; pub BridgeHubRococoLocation: Location = Location::new( 2, From 15e91e72c24e467c70fc624fce3ecef6822948a1 Mon Sep 17 00:00:00 2001 From: Dmitry Sinyavin Date: Sun, 8 Dec 2024 00:32:21 +0100 Subject: [PATCH 3/4] Fix bridges more --- .../bridge-hub-rococo/src/bridge_to_bulletin_config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_bulletin_config.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_bulletin_config.rs index 1e733503f43b..0231e3bcf389 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_bulletin_config.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_bulletin_config.rs @@ -70,7 +70,7 @@ parameter_types! { /// /// It is determined semi-automatically - see `FEE_BOOST_PER_MESSAGE` constant to get the /// meaning of this value. - pub PriorityBoostPerMessage: u64 = 182_044_444_444_444; + pub PriorityBoostPerMessage: u64 = 364_088_888_888_888; /// PeopleRococo location pub PeopleRococoLocation: Location = Location::new(1, [Parachain(rococo_runtime_constants::system_parachain::PEOPLE_ID)]); From 3095f7fe88009d3ec8b0fe3e610a4ec6d154fade Mon Sep 17 00:00:00 2001 From: Dmitry Sinyavin Date: Wed, 11 Dec 2024 11:39:26 +0100 Subject: [PATCH 4/4] Restore lost feature propagation --- cumulus/polkadot-omni-node/Cargo.toml | 3 +++ cumulus/polkadot-omni-node/lib/Cargo.toml | 3 +++ cumulus/polkadot-parachain/Cargo.toml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/cumulus/polkadot-omni-node/Cargo.toml b/cumulus/polkadot-omni-node/Cargo.toml index 8b46bc882868..4637823b00e0 100644 --- a/cumulus/polkadot-omni-node/Cargo.toml +++ b/cumulus/polkadot-omni-node/Cargo.toml @@ -23,6 +23,9 @@ substrate-build-script-utils = { workspace = true, default-features = true } [features] default = [] +full-pov-size = [ + "polkadot-omni-node-lib/full-pov-size", +] runtime-benchmarks = [ "polkadot-omni-node-lib/runtime-benchmarks", ] diff --git a/cumulus/polkadot-omni-node/lib/Cargo.toml b/cumulus/polkadot-omni-node/lib/Cargo.toml index cca4ac3b2b69..1b90b3b0e148 100644 --- a/cumulus/polkadot-omni-node/lib/Cargo.toml +++ b/cumulus/polkadot-omni-node/lib/Cargo.toml @@ -96,6 +96,9 @@ wait-timeout = { workspace = true } [features] default = [] +full-pov-size = [ + "cumulus-client-consensus-aura/full-pov-size", +] rococo-native = [ "polkadot-cli/rococo-native", ] diff --git a/cumulus/polkadot-parachain/Cargo.toml b/cumulus/polkadot-parachain/Cargo.toml index f5ce040bb530..934d586aa72d 100644 --- a/cumulus/polkadot-parachain/Cargo.toml +++ b/cumulus/polkadot-parachain/Cargo.toml @@ -59,6 +59,9 @@ substrate-build-script-utils = { workspace = true, default-features = true } [features] default = [] +full-pov-size = [ + "polkadot-omni-node-lib/full-pov-size", +] runtime-benchmarks = [ "cumulus-primitives-core/runtime-benchmarks", "parachains-common/runtime-benchmarks",