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 randomness and ChainStore randomness #415

Merged
merged 14 commits into from
May 27, 2020
Merged

Runtime randomness and ChainStore randomness #415

merged 14 commits into from
May 27, 2020

Conversation

ec2
Copy link
Member

@ec2 ec2 commented May 14, 2020

Summary of changes
Changes introduced in this pull request:

  • Introduced deriving (pseudo)randomness in the Runtime and ChainStore.

Reference issue to close (if applicable)

Closes
#344, #162

Other information and links

@ec2
Copy link
Member Author

ec2 commented May 14, 2020

Worth noting that the methods that are descibed in #162 might be outdated. I couldn't find them in Lotus... So I've only implemented the randomness method i could find in the chainstore and the runtime

blockchain/chain/src/store/chain_store.rs Outdated Show resolved Hide resolved
vm/interpreter/src/default_runtime.rs Outdated Show resolved Hide resolved
blockchain/chain/src/store/chain_store.rs Outdated Show resolved Hide resolved
blockchain/chain/src/store/chain_store.rs Show resolved Hide resolved
vm/interpreter/src/default_runtime.rs Outdated Show resolved Hide resolved
vm/interpreter/src/vm.rs Outdated Show resolved Hide resolved
@ec2 ec2 requested a review from austinabell May 27, 2020 14:08
@ec2 ec2 merged commit fc34b44 into master May 27, 2020
@ec2 ec2 deleted the ec2/randomness branch May 27, 2020 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants