Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Runtime] Replace Randomness implementation to Babe's variant #241

Open
sea212 opened this issue Jul 23, 2021 · 0 comments
Open

[Runtime] Replace Randomness implementation to Babe's variant #241

sea212 opened this issue Jul 23, 2021 · 0 comments
Labels
l:M Solving the issue takes days p:high High priority, prioritize the resolution of this issue t:enhancement The issue described an enhancement

Comments

@sea212
Copy link
Member

sea212 commented Jul 23, 2021

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 sea212 added p:high High priority, prioritize the resolution of this issue t:maintenance The issue describes necessary maintenance labels Jul 23, 2021
@sea212 sea212 added t:enhancement The issue described an enhancement l:M Solving the issue takes days and removed t:maintenance The issue describes necessary maintenance labels Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l:M Solving the issue takes days p:high High priority, prioritize the resolution of this issue t:enhancement The issue described an enhancement
Projects
None yet
Development

No branches or pull requests

1 participant