Universal Dividend periods should be handled in time directly (not number of blocks)
We shoud:
- impl trait
OnTimestampSet
to pallet universal dividend - change Handler
OnTimestampSet
in pallet_config, to something like:type OnTimestampSet = (Babe, UniversalDividend);
The hard part is that this require a migration to handle the "conversion" from old behavior.
Edited by Éloïs