-
Notifications
You must be signed in to change notification settings - Fork 302
test(fortuna): add unit tests for eth_gas_oracle functions #2699
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
Conversation
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
| assert_eq!( | ||
| max_priority_fee, | ||
| U256::from(EIP1559_FEE_ESTIMATION_DEFAULT_PRIORITY_FEE) | ||
| ); |
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.
please add a test for the case where max_priority_fee is computed using estimate_priority_fee
…riority_fee Co-Authored-By: Jayant Krishnamurthy <[email protected]>
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
|
Closing due to inactivity for more than 7 days. |
Add unit tests for Fortuna's gas oracle functions
This PR adds unit tests for two gas oracle functions in Fortuna:
estimate_priority_feefunction that calculates priority fees from reward dataeip1559_default_estimatorfunction that calculates max fee and priority feeTests added:
Link to Devin run: https://app.devin.ai/sessions/83a15de209384e5db56d9851213ba148
Requested by: Jayant Krishnamurthy ([email protected])