Skip to content

Run mint.BeginBlocker before distr.BeginBlocker #2967

@cwgoes

Description

@cwgoes

Presently we run distr.BeginBlocker before mint.BeginBlocker - this means that if a large-stake validator unbonds, inflationary rewards proportional to their stake will be paid at the start of the next block (since they're just added to the collected fees in x/mint, not yet distributed). Can we swap the ordering so said validator will be able to withdraw the fees (which they deserve, since they signed the block)?

Any problems with doing this (other than needing to change a few invariants) @rigelrozanski?

Metadata

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