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

feat(randomness): use BABE's AuthorVRF as a randomness source #633

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

jmg-duarte
Copy link
Collaborator

@jmg-duarte jmg-duarte commented Dec 12, 2024

Description

Rewrites pallet-randomness to use BABE's AuthorVRF as a partial randomness source.

When running random(subject) it will pick up the latest AuthorVRF randomness value and hash it along with the subject.

Closes #458

Checklist

  • Make sure that you described what this change does.
  • Have you tested this solution?
  • Were there any alternative implementations considered?
  • Did you document new (or modified) APIs?

@jmg-duarte jmg-duarte self-assigned this Dec 12, 2024
@jmg-duarte jmg-duarte changed the title docs: randomness research rfc feat(randomness): use BABE's AuthorVRF as a randomness source Dec 13, 2024
@jmg-duarte jmg-duarte marked this pull request as ready for review December 13, 2024 12:09
@jmg-duarte jmg-duarte added the ready for review Review is needed label Dec 13, 2024
@jmg-duarte jmg-duarte enabled auto-merge (squash) December 13, 2024 12:09
@jmg-duarte jmg-duarte added ready for review Review is needed and removed ready for review Review is needed labels Dec 13, 2024
@jmg-duarte jmg-duarte added this to the Phase 3 milestone Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Review is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Substrate: Use secure randomness
1 participant