Skip to content

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

Merged
RomarQ merged 27 commits intomasterfrom
tarekkma/fix-fee-treasury-propotion
Nov 15, 2024
Merged

Apply FeesTreasuryProportion to Substate-based txs tips and Ethereum-based transactions fees.#3043
RomarQ merged 27 commits intomasterfrom
tarekkma/fix-fee-treasury-propotion

Conversation

@TarekkMA
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Contributor

RomarQ commented Nov 12, 2024

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

@TarekkMA
Copy link
Copy Markdown
Contributor Author

We still needs tests for it

@github-actions
Copy link
Copy Markdown
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 and others added 5 commits November 13, 2024 12:36
…mness.ts

Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com>
…mness.ts

Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com>
@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
@RomarQ RomarQ merged commit 2faa570 into master Nov 15, 2024
@RomarQ RomarQ deleted the tarekkma/fix-fee-treasury-propotion branch November 15, 2024 11:16
@stiiifff stiiifff changed the title fix: FeesTreasuryProportion is only applied to substrate based tx only Apply FeesTreasuryProportion to Substate-based txs tips and Ethereum-based transactions fees. Dec 5, 2024
@TarekkMA TarekkMA mentioned this pull request Dec 27, 2024
6 tasks
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.

4 participants