-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Bug/fix gas price metadata sync #2056
Conversation
Added |
Some(BlockHeight::new(next_height)) | ||
); | ||
let view = recovered_database.gas_price().latest_view().unwrap(); | ||
let previous_metadata = view |
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.
Why is previous metadata expected to be none?
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.
Because there shouldn't be any entries before the one we just added.
Checklist
Before requesting review
Limit the amount of syncing the gas price updater can do with max value #2057
After merging, notify other teams
[Add or remove entries as needed]