-
Notifications
You must be signed in to change notification settings - Fork 43
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
Test: Add gas costs to /gas-prices endpoint #1349
Conversation
Signed-off-by: nicholaspai <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Number(chainId) | ||
); | ||
return relayerFeeCalculatorQueries.getGasCosts( | ||
buildDepositForSimulation(depositArgs), |
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.
This should parallel how the /iimits endpoint computes the gasFeePercent
today:
- Passes the
gasPrice
computed usinggetMaxFeePerGas
and thegasUnits
passed from agetGasCosts()
call withomitMarkup = true
into getRelayerFeeDetails which ultimately calls the SDK'sgetGasCosts
function
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.
proactively throwing a "request change" to ensure this doesn't get merged
…gas prices Gas prices will be more accurate for OP stack chains and also for Zora which was mistakenly removed from the OPStack family prior to this SDK bump
This PR is not designed to be merged. I only want to print out the current gas fee computation components on the production API to compare against those with #1339
Signed-off-by: nicholaspai [email protected]