galacticcouncil / galacticcouncil/hydration-node

investigate governance locks

Open
#1,447 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
208
Forks
109
Avg merge
6d 3h
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.