-
Notifications
You must be signed in to change notification settings - Fork 8
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
Refactor the Warning
type
#278
base: master
Are you sure you want to change the base?
Conversation
Dude f*** the MSRV. I can't use |
Thought about it for a second. While the last commit would be useful, the |
33e5c8a
to
bb934c3
Compare
@@ -1641,7 +1641,7 @@ dependencies = [ | |||
|
|||
[[package]] | |||
name = "kyoto-cbf" | |||
version = "0.7.0" | |||
version = "0.8.0" |
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.
Is this some leftovers?
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.
ACK bb934c3
Closes #277
Cleaning up the
Warning
type here to resolve a typo, refactor to clearer names, and add additional context to warnings so the developer might act on them. Also adding some additional context to aHeaderPersistenceError
.Each refactor is broken down commit by commit so it should be okay to review. Only context needed is in the
CannotLocateHistory
variant, which throws if the user configures a checkpoint that is at a height lower than what is stored in the SQL database on start up. This prevents the user from going backwards if they have already synced before, which is a pretty soft requirement. For the first sync one can start from anywhere. @nyonson