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

Add DefaultBaseFeePerGas to runtimes #1233

Merged
merged 2 commits into from
Jan 31, 2022
Merged

Add DefaultBaseFeePerGas to runtimes #1233

merged 2 commits into from
Jan 31, 2022

Conversation

tgmichel
Copy link
Contributor

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 A0-pleasereview Pull request needs code review. B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes labels Jan 31, 2022
@librelois librelois mentioned this pull request Jan 31, 2022
32 tasks
@crystalin crystalin added A8-mergeoncegreen Pull request is reviewed well. and removed A0-pleasereview Pull request needs code review. labels Jan 31, 2022
@@ -1659,6 +1659,7 @@ impl pallet_proxy_genesis_companion::Config for Runtime {
parameter_types! {
// Tells `pallet_base_fee` whether to calculate a new BaseFee `on_finalize` or not.
pub IsActive: bool = false;
pub DefaultBaseFeePerGas: U256 = (1 * currency::GIGAWEI * currency::SUPPLY_FACTOR).into();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make sense to define this in currency since it's also used for min_gas_price(). But maybe not since this will change soon (?)

@tgmichel tgmichel merged commit a7124ac into master Jan 31, 2022
@tgmichel tgmichel deleted the tgm-frontier-562 branch January 31, 2022 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A8-mergeoncegreen Pull request is reviewed well. B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants