This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
more clear randomness API for BABE #8180
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
336dbee
more clear randomness API for BABE
rphmeier 8bfc45b
babe: move randomness utilities to its own file
andresilva 8d33861
node: use babe::RandomnessFromOneEpochAgo in random_seed implementation
andresilva 1de444e
frame-support: annotate randomness trait with block number
andresilva 7149999
pallet-randomness-collective-flip: fix for new randomness trait
andresilva d6855d6
pallet-society: fix randomness usage
andresilva 7790a9e
pallet-lottery: fix randomness usage
andresilva 1ce1e9d
pallet-contracts: fix randomness usage
andresilva d71b4e4
pallet-babe: fix randomness usage
andresilva 90e959d
node: fix random_seed
andresilva 9204b60
node-template: fix random_seed
andresilva e582f61
Merge branch 'master' into rh-babe-randomness-api
andresilva 92b2009
frame-support: extend docs
andresilva 922e0d5
babe: add test for epoch starting block number tracking
andresilva c059cd6
babe: fix epoch randomness docs
andresilva e787baa
frame: add todos for dealing with randomness api changes
andresilva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
pallet-randomness-collective-flip: fix for new randomness trait
- Loading branch information
commit 71499993de32cc204e9bdc62e91f9617a15e84b9
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit tricky but I think it's the safest thing we can ensure here.