Skip to content

Remove separation of key fields from value during marshalling #3233

Closed
@rigelrozanski

Description

As per several discussions, to simplify the code we should allow for duplicate fields to be stored in both the key and value of a key value pair, this is already the case in most places I believe, however we'd started decoupling these within staking. For example a validator's key uses the the validators operating address, which is also a field in the Validator object and thus also included in the value... decoupling this creates extra code maintenance (and possibility of errors) as these structs change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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