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

Adds calculation for priorityFee #1753

Merged
merged 6 commits into from
Jun 7, 2022
Merged

Adds calculation for priorityFee #1753

merged 6 commits into from
Jun 7, 2022

Conversation

mathewmeconry
Copy link
Contributor

With the London fork priority fees are introduced. Web3.js doesn't calculate them according to the network but rather uses a fixed amount of 2.5 gwei.
This pull introduces a calculation for the priority fee based on the eth_feeHistory RPC call.

Copy link
Contributor

@WissenIstNacht WissenIstNacht left a comment

Choose a reason for hiding this comment

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

Thanks!

src/onboarding/Create/Create.js Outdated Show resolved Hide resolved
src/onboarding/Create/Create.js Outdated Show resolved Hide resolved
@githubdoramon githubdoramon merged commit e9cfcd9 into develop Jun 7, 2022
@githubdoramon githubdoramon deleted the f/priorityFee branch June 7, 2022 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants