galacticcouncil / galacticcouncil/hydration-node
investigate governance locks
Open
- 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
documented in the pallet here as overlocking: https://docs.rs/pallet-conviction-voting/latest/src/pallet_conviction_voting/lib.rs.html#369
The overlocking is caused when votes are removed before the lock has ended
Contributor guide
Assessment
This issue has not been assessed yet.