Skip to content

Bond intra-tx counter not correctly set on stake.InitGenesis #1839

Closed
@cwgoes

Description

Caught on https://github.com/cosmos/cosmos-sdk/tree/8cacb9658402d7c800e24e3f9f93f7d9576a1d75, will write an isolating testcase.

edit: Finally traced to an error with stake genesis initialization. Bond intra-tx counter was set correctly for the power store record but not for the validator record, so when we wrote a new power store record later we left the old record in when we should have deleted it.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions