Skip to content

investigate governance locks #1447

@lolmcshizz

Description

@lolmcshizz

Governance locks can get "overlocked" with prior lock handling - if you have multiple prior locks it takes the max amount and max duration of these locks.

For example, you can do 6x conviction lock with 1 HDX and 1x conviction lock with 1M HDX and it could end up with a (prior) lock of 6x lock on 1M HDX

Image

documented in the pallet here as overlocking: https://docs.rs/pallet-conviction-voting/latest/src/pallet_conviction_voting/lib.rs.html#369

Image

The overlocking is caused when votes are removed before the lock has ended

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions