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

fix: FeesTreasuryProportion is only applied to substrate based tx only #3043

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

TarekkMA
Copy link
Contributor

@TarekkMA TarekkMA commented Nov 12, 2024

What does it do?

Apply FeesTreasuryProportion to Substate-based txs tips, and Ethereum-based transactions fees.

  • Changes have been applied to all runtimes.
  • Tests for all Eth txs, and substrate txs (with and without tip) have been introduced for different FeesTreasuryProportion values.
  • Parameters test refactorings

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

@TarekkMA TarekkMA added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D9-needsaudit👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited not-breaking Does not need to be mentioned in breaking changes labels Nov 12, 2024
Copy link
Contributor

github-actions bot commented Nov 12, 2024

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2264 KB (no changes) ✅

Moonbeam runtime: 2228 KB (no changes) ✅

Moonriver runtime: 2232 KB (no changes) ✅

Compared to latest release (runtime-3300)

Moonbase runtime: 2264 KB (+236 KB compared to latest release) ⚠️

Moonbeam runtime: 2228 KB (+232 KB compared to latest release) ⚠️

Moonriver runtime: 2232 KB (+240 KB compared to latest release) ⚠️

@RomarQ
Copy link
Contributor

RomarQ commented Nov 12, 2024

Hi @TarekkMA,
Please add a description to the issue.

@TarekkMA
Copy link
Contributor Author

We still needs tests for it

Copy link
Contributor

github-actions bot commented Nov 12, 2024

Coverage Report

@@                          Coverage Diff                           @@
##           master   tarekkma/fix-fee-treasury-propotion     +/-   ##
======================================================================
  Coverage   79.00%                                79.00%   0.00%     
  Files         305                                   305             
+ Lines       88458                                 88470     +12     
======================================================================
+ Hits        69878                                 69890     +12     
  Misses      18580                                 18580             
Files Changed Coverage
/runtime/moonbase/src/lib.rs 52.85% (+0.30%) 🔼
/runtime/moonbeam/src/lib.rs 47.11% (+0.33%) 🔼
/runtime/moonriver/src/lib.rs 47.34% (+0.34%) 🔼

Coverage generated Thu Nov 14 20:04:13 UTC 2024

@TarekkMA TarekkMA marked this pull request as draft November 13, 2024 11:50
@TarekkMA TarekkMA marked this pull request as ready for review November 14, 2024 11:56
@TarekkMA TarekkMA requested a review from RomarQ November 14, 2024 12:33
RomarQ
RomarQ previously approved these changes Nov 14, 2024
@TarekkMA TarekkMA marked this pull request as draft November 14, 2024 19:07
@TarekkMA TarekkMA marked this pull request as ready for review November 14, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D9-needsaudit👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants