Skip to content
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

Make rewardsFileVersion type to encapsulate version range checks. Make errors more user friendly #448

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

jshufro
Copy link
Contributor

@jshufro jshufro commented Feb 17, 2024

Main goal is to print a more verbose error message when a rewards file has a version in excess of the binary's maximum- we should just tell the user to update smartnode in the error message rather than having them file into support:

image

Secondary goal is to improve the parse implementation. Merges the parsing of the header into a single function, adds a function that rangechecks the version.

The package interface is unchanged.

@0xfornax 0xfornax merged commit 17423ea into rocket-pool:master Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants