Skip to content

Max PoV size 10mb for Kusama Asset Hub and People chains#718

Closed
muharem wants to merge 9 commits intopolkadot-fellows:mainfrom
muharem:muharem-pov-10mb
Closed

Max PoV size 10mb for Kusama Asset Hub and People chains#718
muharem wants to merge 9 commits intopolkadot-fellows:mainfrom
muharem:muharem-pov-10mb

Conversation

@muharem
Copy link
Copy Markdown
Contributor

@muharem muharem commented May 7, 2025

Max PoV size 10mb for Kusama Asset Hub and People chains.

The Kusama and Polkadot Relay Chains have recently increased their max PoV size to 10 MB. Parachain runtime configurations will be updated accordingly through the upcoming SDK release and its integration, which includes this PR: paritytech/polkadot-sdk#5884.

However, this update will not be available before the planned migration. In this PR, I propose updating the block size configuration for Asset Hub ahead of that SDK release to ensure the extra capacity is available for the migration.

This PR updates the proof size specifically for runtimes with async backing enabled (Asset Hub and People chains) to support the upcoming Asset Hub migration. Currently, only Asset Hub is updated - along with the People chain, as it shares constants from the async backing module - since this change is part of the ongoing migration effort.

Comment thread system-parachains/constants/src/lib.rs
Copy link
Copy Markdown
Contributor

@s0me0ne-unkn0wn s0me0ne-unkn0wn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that the NORMAL_DISPATCH_RATIO is 85% for this runtime, so we shouldn't overshoot even in the worst case, LGTM.

pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(85);

/// Maximum PoV size.
// TODO: This value is copied from the recent update of the `polkadot_primitives::MAX_POV_SIZE`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure it's recorded in the style guide, but generally a TODO item in comments requires a corresponding Github issue

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@muharem muharem changed the title Max PoV size 10mb for Kusama Asset Hub Max PoV size 10mb for Kusama Asset Hub and People Chains May 7, 2025
@muharem muharem changed the title Max PoV size 10mb for Kusama Asset Hub and People Chains Max PoV size 10mb for Kusama Asset Hub and People chains May 7, 2025
Comment thread CHANGELOG.md

### Changed

- Max PoV size 10mb for Kusama Asset Hub and People chains ([polkadot-fellows/runtimes/pull/718](https://github.com/polkadot-fellows/runtimes/pull/718))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only these chains?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update for all

@muharem muharem changed the title Max PoV size 10mb for Kusama Asset Hub and People chains Max PoV size 10mb for System Parachains May 7, 2025
@muharem muharem requested a review from s0me0ne-unkn0wn May 7, 2025 11:08
@muharem
Copy link
Copy Markdown
Contributor Author

muharem commented May 7, 2025

@s0me0ne-unkn0wn I have updated it for all System Parachains. please check this again

@muharem muharem requested a review from joepetrowski May 7, 2025 13:02
@muharem muharem changed the title Max PoV size 10mb for System Parachains Max PoV size 10mb for Kusama Asset Hub and People chains May 7, 2025
@muharem
Copy link
Copy Markdown
Contributor Author

muharem commented May 9, 2025

I will open a new PR for this

@muharem muharem closed this May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants