serai/substrate/validator-sets
Luke Parker 8cc0adf281
Don't allow immediate deallocations for active validators even if the key shares remain the same
There's an exploit where the prior set improperly mints coins, the new set
occurs (resetting the oracle), and they immediately deallocate 49.9% of their
coins (which is more than enough to achieve profitability).

Now, anyone in set must wait until after the next set completes to perform any
deallocation, enabling time to halt upon improper mints.
2023-12-05 09:36:41 -05:00
..
pallet Don't allow immediate deallocations for active validators even if the key shares remain the same 2023-12-05 09:36:41 -05:00
primitives DKG Removals (#467) 2023-12-04 07:04:44 -05:00