-
Notifications
You must be signed in to change notification settings - Fork 26
feat: fee algo performance metrics #215
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
base: master
Are you sure you want to change the base?
Conversation
@@ -1,267 +1,5 @@ | |||
use std::time::Duration; |
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.
Mostly moved into a separate file.
@@ -0,0 +1,200 @@ | |||
use std::num::NonZeroU64; |
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.
Nothing much changed, mostly just moved from the parent mod.
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 is very neat!
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.
Nothing shocked me and I was able to understand easily the high level design
Related to: #214
Before updating the price algo I decided to update the simulator so we can get actual numbers of saved eth against which to compare the new algo.
You can now configure how big a bundle is (eg 3600 fuel blocks), how many blobs that is (eg 3 eth blob) and how long does it take for one eth tx to finalize (eg 5 mins). When ran on the last month of eth pricing data:

This is good enough for now, but ideally we'd want a tool that can connect to the prod db and give insight into expected vs realized fees, as these can differ depending on time to inclusion.