zeitgeist
zeitgeist copied to clipboard
[Runtime] Replace Randomness implementation to Babe's variant
Currently Zeitgeist uses the Randomness Collective Coin Flip Pallet to generate randomness. This is a somewhat insecure way to generate entropy and ideally should only be used in tests.
The Randomness source should be replaced for any security-relevant functionality, like selection of court jurors, with a better implementation. Moonbeam provides a randomness pallet, that could serve as a potential candidate. It can use VRFs provided by the Zeitgeist client (available since v0.3.6) or BABE's randomness provided by the relay chain.