-
Notifications
You must be signed in to change notification settings - Fork 17
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
improve(GasPriceOracle): Remove eip1559Bad and lineaEthers adapters #819
Conversation
These are the default adapters today but in production we use the more accurate eip1559Raw and lineaViem variants. These were always designed to be set as the defaults following testing. The benefit is we can remove the `GAS_PRICE_EIP1559_RAW_` and `NEW_GAS_PRICE_ORACLE_` environment variables
* @param chainId Chain ID of the provider instance. | ||
* @returns Promise of gas price estimate object. | ||
*/ | ||
export async function eip1559Bad( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a dumb question, but we don't currently use this anywhere? No chain relies on it?
Totally fine with reversing the default, but want to make sure we're not breaking anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in production no, we do not use it at all
Note to self: before releasing this into the relayer repo we should update the default scaler values in order to acknowledge that users of the relayer might not have set these "new" or "raw" oracles and they might see unexpected fees as a result of the bump |
These are the default adapters today but in production we use the more accurate eip1559Raw and lineaViem variants. These were always designed to be set as the defaults following testing.
The benefit is we can remove the
GAS_PRICE_EIP1559_RAW_
andNEW_GAS_PRICE_ORACLE_
environment variablesFixes ACX-3602