-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Implement fee oracle for EIP-1559 to estimate priority fees #20469
Labels
bug
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Android
Fixes related to Android browser functionality
OS/Desktop
OS/iOS
Fixes related to iOS browser functionality
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass - Android ARM
QA Pass - Android Tab
QA Pass-macOS
QA/Test-All-Device-Types
QA/Test-Plan-Specified
QA/Yes
release-notes/include
Milestone
Comments
onyb
added
bug
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Desktop
labels
Jan 12, 2022
bbondy
added
the
priority/P2
A bad problem. We might uplift this to the next planned release.
label
Jan 12, 2022
onyb
added a commit
to brave/brave-core
that referenced
this issue
Jan 24, 2022
Our current EIP-1559 gas oracle queries the Etherscan API, which only supports Ethereum mainnet. As a result, priority fee estimations on custom networks use results for Ethereum mainnet, which can either result in transactions being stuck in the mempool forever, or in over-payment of gas fees. This commit will be reverted in brave/brave-browser#20469.
This was referenced Jan 24, 2022
onyb
added a commit
to brave/brave-core
that referenced
this issue
Jan 25, 2022
Our current EIP-1559 gas oracle queries the Etherscan API, which only supports Ethereum mainnet. As a result, priority fee estimations on custom networks use results for Ethereum mainnet, which can either result in transactions being stuck in the mempool forever, or in over-payment of gas fees. This commit will be reverted in brave/brave-browser#20469.
onyb
added a commit
to brave/brave-core
that referenced
this issue
Jan 25, 2022
Our current EIP-1559 gas oracle queries the Etherscan API, which only supports Ethereum mainnet. As a result, priority fee estimations on custom networks use results for Ethereum mainnet, which can either result in transactions being stuck in the mempool forever, or in over-payment of gas fees. This commit will be reverted in brave/brave-browser#20469.
onyb
added a commit
to brave/brave-core
that referenced
this issue
Jan 25, 2022
Our current EIP-1559 gas oracle queries the Etherscan API, which only supports Ethereum mainnet. As a result, priority fee estimations on custom networks use results for Ethereum mainnet, which can either result in transactions being stuck in the mempool forever, or in over-payment of gas fees. This commit will be reverted in brave/brave-browser#20469.
onyb
added a commit
to brave/brave-core
that referenced
this issue
Jan 25, 2022
Our current EIP-1559 gas oracle queries the Etherscan API, which only supports Ethereum mainnet. As a result, priority fee estimations on custom networks use results for Ethereum mainnet, which can either result in transactions being stuck in the mempool forever, or in over-payment of gas fees. This commit will be reverted in brave/brave-browser#20469.
onyb
added a commit
to brave/brave-core
that referenced
this issue
Jan 27, 2022
Our current EIP-1559 gas oracle queries the Etherscan API, which only supports Ethereum mainnet. As a result, priority fee estimations on custom networks use results for Ethereum mainnet, which can either result in transactions being stuck in the mempool forever, or in over-payment of gas fees. This commit will be reverted in brave/brave-browser#20469.
onyb
added a commit
to brave/brave-core
that referenced
this issue
Jan 27, 2022
Our current EIP-1559 gas oracle queries the Etherscan API, which only supports Ethereum mainnet. As a result, priority fee estimations on custom networks use results for Ethereum mainnet, which can either result in transactions being stuck in the mempool forever, or in over-payment of gas fees. This commit will be reverted in brave/brave-browser#20469.
25 tasks
bbondy
added
OS/Android
Fixes related to Android browser functionality
OS/iOS
Fixes related to iOS browser functionality
labels
Feb 3, 2022
This was referenced Mar 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Android
Fixes related to Android browser functionality
OS/Desktop
OS/iOS
Fixes related to iOS browser functionality
priority/P2
A bad problem. We might uplift this to the next planned release.
QA Pass - Android ARM
QA Pass - Android Tab
QA Pass-macOS
QA/Test-All-Device-Types
QA/Test-Plan-Specified
QA/Yes
release-notes/include
Avalanche has migrated to EIP-1559, and now supports Type-2 transactions. Polygon has also made the switch on their Mumbai testnet, so it's expected to go live on mainnet very soon.
This poses a problem for us, since we rely on Etherscan API for priority fee estimates (slow/average/fast) and keep track of the
BASEFEE
. This API supports Ethereum only at the moment, which means on other EVM networks users are over paying fees by a lot. Here's a user complaining about it: https://community.brave.com/t/adjust-fee-mechanism-calculation/320507.This issue proposes to implement a fee oracle independent of Etherscan API, using the
eth_feeHistory
RPC. Here's the reference implementation in ethereum-remote-client: https://github.com/brave/ethereum-remote-client/blob/master/app/scripts/controllers/network/eip1559FeeOracle.js. I have not researched the latest and greatest fee oracle out there, but this one used to work quite reliably.The text was updated successfully, but these errors were encountered: