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

Switch to relay chain's babe randomness #1391

Closed
JoshOrndorff opened this issue Apr 4, 2022 · 4 comments
Closed

Switch to relay chain's babe randomness #1391

JoshOrndorff opened this issue Apr 4, 2022 · 4 comments

Comments

@JoshOrndorff
Copy link
Contributor

Now that paritytech/cumulus#1083 landed, it should be possible to use the relay chain's randomness beacon instead of the parachain's collective flip (which should be removed).

cc @4meta5

@4meta5
Copy link
Contributor

4meta5 commented Apr 4, 2022

I think we still need paritytech/cumulus#1135 to read the BABE randomness from the relay state proof. We do have the proof in parachain-system storage now.

@librelois
Copy link
Collaborator

librelois commented Sep 1, 2022

@4meta5 this is something that is still relevant to do, do we have a JIRA issue for this?

@4meta5
Copy link
Contributor

4meta5 commented Sep 3, 2022

Yes, it is open -- MOON-1812

From that ticket:

randomness-collective-flip is low entropy. If we replace it, we need something similarly low entropy. Relay chain's epoch randomness is low entropy but only changes once per epoch. Parachain's per-block VRF randomness changes every block but is high entropy.

Combining them somehow may be suitable, this might be a good place to discuss how that ought to be done

@crystalin
Copy link
Collaborator

This can finally be closed since we moved to our own randomness #1956 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants