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

Add PREVRANDAO alternative to Chainlink VRF on Ethereum #5

Open
emo-eth opened this issue Sep 22, 2022 · 0 comments
Open

Add PREVRANDAO alternative to Chainlink VRF on Ethereum #5

emo-eth opened this issue Sep 22, 2022 · 0 comments

Comments

@emo-eth
Copy link
Owner

emo-eth commented Sep 22, 2022

Post-merge, PREVRANDAO is an acceptable source of randomness, and would simplify the randomness process.

Constructor of a PREVRANDAO-based source of randomness should revert if chain associated with block.chainid does not have the PREVRANDAO opcode (ie, is not 1)

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

1 participant