Skip to content

Author priority fees fix#1528

Merged
tgmichel merged 6 commits intomasterfrom
tgm-author-priority-fees-fix
May 24, 2022
Merged

Author priority fees fix#1528
tgmichel merged 6 commits intomasterfrom
tgm-author-priority-fees-fix

Conversation

@tgmichel
Copy link
Copy Markdown
Contributor

@tgmichel tgmichel commented May 20, 2022

What does it do?

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

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

What value does it bring to the blockchain users?

@tgmichel tgmichel added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. labels May 20, 2022
@tgmichel tgmichel mentioned this pull request May 20, 2022
21 tasks
Comment thread runtime/moonbase/tests/integration_test.rs
>>::correct_and_deposit_fee(who, corrected_fee, already_withdrawn)
}

fn pay_priority_fee(_tip: U256) {}
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.

It amuses me how subtle this is in code...

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.

Is it necessary to add some docs about this?

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.

@AsceticBear PTAL to polkadot-evm/frontier#700

I thought about it this past days, and decided to slightly modify the approach in Frontier. I think splitting both base fee and priority fee handling offers the most flexibility in terms of how each chain wants to deals with them.

@tgmichel tgmichel added D9-needsaudit👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited and removed D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. labels May 23, 2022
@tgmichel tgmichel merged commit 511b255 into master May 24, 2022
@tgmichel tgmichel deleted the tgm-author-priority-fees-fix branch May 24, 2022 09:32
@notlesh notlesh added D1-audited👍 PR contains changes to fund-managing logic that has been properly reviewed and externally audited and removed D9-needsaudit👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited labels Jul 27, 2022
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 D1-audited👍 PR contains changes to fund-managing logic that has been properly reviewed and externally audited

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants