Skip to content

Staking invariant: Check to make sure power store key aligns with validator power #2669

Closed
@sunnya97

Description

Replacement to #2620 as checking that validator power is >0 is a somewhat self-referential check as you have to filter by the validators whose power >0 first.

Sub-components:

  • delete old invariant check power greater than 0
  • add the new invariant check, that the PowerIndexCheck is correct

Arose out of discussions with @jaekwon and @rigelrozanski

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions