-
Notifications
You must be signed in to change notification settings - Fork 383
Enable 10 Mb PoV for moonbase and moonriver #3228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WASM runtime size check:Compared to target branchMoonbase runtime: 2424 KB (no changes) 🚨 Moonbeam runtime: 2404 KB (+4 KB) 🚨 Moonriver runtime: 2396 KB (no changes) ✅ Compared to latest release (runtime-3501)Moonbase runtime: 2424 KB (+472 KB compared to latest release) 🚨 Moonbeam runtime: 2404 KB (+464 KB compared to latest release) 🚨 Moonriver runtime: 2396 KB (+456 KB compared to latest release) |
Coverage Report@@ Coverage Diff @@
## master rq/increase-moonbase-max-pov +/- ##
===============================================================
Coverage 74.27% 74.27% 0.00%
Files 383 383
Lines 97131 97131
===============================================================
Hits 72137 72137
Misses 24994 24994
|
manuelmauro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
What does it do?
Follow up of polkadot-fellows/runtimes#553
The changes contained in this PR centralize the
MAX_POV_SIZEin a single constant and enables 10 MB PoV formoonbaseandmoonriverruntimes.Also includes the following polkadot-sdk changes:
What important points should reviewers know?
gas per PoV ratiois now expected to be half, resulting in cheaper ethereum transactions when (PoV gas is the effective gas).proof_sizeworst case scenario inpallet-ethereum-xcmextrinsics has now doubled, because ofGasWeightMapping::gas_to_weight, which computes the proof size in the following way:let proof_size = gas.saturating_div(ratio). This is a worst case scenario which needs to be accounted since PoV gas is now cheaper.