-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature: Add tests to ensure the field layout in ValidatorHistoryEntry never changes #7
Comments
buffalu
changed the title
Feature: Add tests to ensure the layout of fields in ValidatorHistoryEntry never changes
Feature: Add tests to ensure the field layout in ValidatorHistoryEntry never changes
Dec 19, 2023
@buffalu gib issue |
Update -> Adding assert fields in the test but getting error "no rules expected this token in macro call" mod layout_tests {
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
During a previous refactor, the engineers of this program accidentally re-arranged fields in the ValidatorHistoryEntry and corrupted data. It was fixed, but easy to do again in the future.
Describe the solution you'd like
Add tests to ensure the field layout of the ValidatorHistoryAccount doesn't change if fields are added, removed, or changed.
The text was updated successfully, but these errors were encountered: