Skip to content

Feature: Add tests to ensure the field layout in ValidatorHistoryEntry never changes #7

@buffalu

Description

@buffalu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions