Skip to content
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

Account for proof size when checking fee multiplier changes #3214

Merged
merged 3 commits into from
Mar 13, 2025

Conversation

snowmead
Copy link
Contributor

What does it do?

Fixes dynamic-fees smoke test which was previously only assuming that ref time was being used by the TargetedFeeAdjustment from pallet transaction-payment to determine the NextFeeMultiplier.

Unifies weight validation between ref time and proof size, taking the limiting dimension to compare with the targetWeight (known before as targetFillPermill).

@snowmead snowmead requested a review from RomarQ March 12, 2025 16:16
Copy link
Contributor

github-actions bot commented Mar 12, 2025

Coverage Report

@@                           Coverage Diff                           @@
##           master   snowmead/fix-dynamic-fees-smoke-test     +/-   ##
=======================================================================
  Coverage   74.35%                                 74.35%   0.00%     
  Files         384                                    384             
  Lines       97090                                  97090             
=======================================================================
  Hits        72190                                  72190             
  Misses      24900                                  24900             
Files Changed Coverage

Coverage generated Wed Mar 12 20:09:05 UTC 2025

@RomarQ RomarQ added B0-silent Changes should not be mentioned in any release notes I4-tests 🎯 Tests need fixing, improving or augmenting. D2-notlive PR doesn't change runtime code (so can't be audited) labels Mar 12, 2025
Copy link
Contributor

github-actions bot commented Mar 12, 2025

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2428 KB (+8 KB) 🚨

Moonbeam runtime: 2404 KB (+4 KB) 🚨

Moonriver runtime: 2408 KB (-4 KB) 🚨

Compared to latest release (runtime-3501)

Moonbase runtime: 2428 KB (+476 KB compared to latest release) 🚨

Moonbeam runtime: 2404 KB (+464 KB compared to latest release) 🚨

Moonriver runtime: 2408 KB (+468 KB compared to latest release) 🚨

@snowmead snowmead force-pushed the snowmead/fix-dynamic-fees-smoke-test branch from 3cc78d7 to d611a1d Compare March 12, 2025 19:13
@RomarQ RomarQ merged commit d91c966 into master Mar 13, 2025
37 checks passed
@RomarQ RomarQ deleted the snowmead/fix-dynamic-fees-smoke-test branch March 13, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D2-notlive PR doesn't change runtime code (so can't be audited) I4-tests 🎯 Tests need fixing, improving or augmenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants