Skip to content

eth_feeHistory support#1126

Merged
tgmichel merged 10 commits intomasterfrom
tgm-fee-history
Jan 3, 2022
Merged

eth_feeHistory support#1126
tgmichel merged 10 commits intomasterfrom
tgm-fee-history

Conversation

@tgmichel
Copy link
Contributor

What does it do?

A followup of #1006, eth_feeHistory rpc method.

What important points reviewers should know?

BaseFee pallet is added to moonbeam and moonriver runtimes. This is required by a new Ethereum Runtime Api version, which makes use of it. In both Moonbeam and Moonriver runtimes the pallet is set to inactive, meaning for both runtimes we still use the fixed gas price model.

Once we decide to enable it, we will need to change the IsActive associated type value in both runtimes which is used in the pallet's on_runtime_upgrade and use BaseFee as the pallet-evm's FeeCalculator.

@tgmichel tgmichel added A0-pleasereview Pull request needs code review. B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes labels Dec 28, 2021
Copy link
Collaborator

@librelois librelois left a comment

Choose a reason for hiding this comment

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

LGTM

@tgmichel tgmichel merged commit bcba09b into master Jan 3, 2022
@tgmichel tgmichel deleted the tgm-fee-history branch January 3, 2022 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A0-pleasereview Pull request needs code review. B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes 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.

2 participants