zeitgeist icon indicating copy to clipboard operation
zeitgeist copied to clipboard

[Runtime] Replace Randomness implementation to Babe's variant

Open sea212 opened this issue 3 years ago • 0 comments

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.

sea212 avatar Jul 23 '21 13:07 sea212