-
Notifications
You must be signed in to change notification settings - Fork 4
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 Cadence random in range & commit-reveal helper contract + Cadence tests #23
Conversation
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.
Mostly just comments about error messages. Let me know if you disagree with any of them
Co-authored-by: Joshua Hannan <[email protected]>
Thanks for all the suggestions @joshuahannan! |
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.
Very useful examples, thanks for adding them 🙏🏼
I left minor comments below
Co-authored-by: Tarak Ben Youssef <[email protected]>
Closes: #2
Description
RandomConsumer.cdc
contract for generic commit-reveal support & random in rangeCadenceRandomConsumer.sol
including public random in range util functions.RandomConsumer.cdc
contract.CoinToss.cdc
to implement the newRandomConsumer.cdc
contract and its defined constructs