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

Conditionally set tx gasPrice based on EIP-1559 support #460

Merged
merged 4 commits into from
Aug 18, 2021
Merged

Conversation

jtrein
Copy link
Contributor

@jtrein jtrein commented Aug 18, 2021

Fixes #458

🥳 Adds

  • test/web3Responses/fixtures
  • isEIP1559Compatible web3 helper

Updates

  • adds new option for useETHGasPrice to not run if EIP-1559 support
  • various file updates following on from London Hardfork: Removes gasPrice from transactions #457
  • If gasPrice is used tx's will use the average (from fast) gas price. Due to Ethereum network changes, they may pay far more than they wanted to.

🐞 Bugs squashed

  • Trezor and Ledger wallets should now work with MetaMask as they do not support EIP-1559, yet.

@jtrein jtrein self-assigned this Aug 18, 2021
@jtrein jtrein merged commit 7ee8746 into main Aug 18, 2021
@jtrein jtrein deleted the issue-458 branch August 18, 2021 16:20
github-actions bot pushed a commit that referenced this pull request Aug 18, 2021
* adds `test/web3Responses/fixtures`

* adds `isEIP1559Compatible` web3 helper

* adds new option `useETHGasPrice` to not run if EIP-1559 support

* adds conditional `gasPrice` to tx based on EIP-1559 support 7ee8746
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detect network EIP-1559 support; conditionally add gasPrice
1 participant