Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Staking should identify validators by stash, not controller #2085

Description

@gavofyork

Currently validators are keyed by controller AccountId in each of the Validators, Nominators and Stakers items. This is problematic since controller account id can change abruptly. Stash account, however, never changes, so they should instead be keyed by that.

Activity

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

Metadata

Metadata

Labels

I7-refactorCode needs refactoring.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions