-
Notifications
You must be signed in to change notification settings - Fork 644
Compute gas price based on multiple constraints #3872
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
The new gas constraints try to keep each backlog under the given target over the given period. Close NIT-4022
✅ All tests successful. No failed tests were found. 📣 Thoughts on this report? Let Codecov know! | Powered by Codecov |
Necessary so it can be retrieved later by a precompile.
// Ensure the period is at least 1 | ||
period = 1 | ||
} | ||
return ps.AddConstraint(target, period) |
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.
Probably this is the right place to transfer legacy backlog. I can do it in my PR
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.
Yeah, my idea is to call SetConstraintsFromLegacy when upgrading to Arbos50 here.
Close NIT-4023