-
Notifications
You must be signed in to change notification settings - Fork 2
Random oracle contracts #307
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
Merged
Merged
Conversation
This file contains hidden or 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
Deploying happychain with
|
| Latest commit: |
d6eaecb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://37bc8364.happychain.pages.dev |
| Branch Preview URL: | https://gabriel-drand-contract.happychain.pages.dev |
This was referenced Dec 13, 2024
Merged
Contributor
Author
10 tasks
HAPPY-243 Drand Contract
Currently, we have only created the Random contract, which is used to submit random commitments. Now, we need to create the Drand contract, which is designed to submit randomness generated by https://drand.love. This randomness will then be combined with the submitted random commitments to produce a random number every two seconds |
not-reed
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
aodhgan
reviewed
Dec 16, 2024
AryanGodara
reviewed
Dec 17, 2024
AryanGodara
reviewed
Dec 17, 2024
AryanGodara
reviewed
Dec 17, 2024
aodhgan
reviewed
Dec 17, 2024
0fe444b to
5fceae2
Compare
ee38780 to
984cfaa
Compare
5fceae2 to
e7e47a1
Compare
This was referenced Feb 5, 2025
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Linked Issues
Description
This PR aims to add the remaining logic to make the Random oracle contracts fully functional. The pending logic includes the submission of DRAND randomness and the implementation of a mechanism to combine our commitment/reveal contract with DRAND randomness.
More context:
Key changes:
Drandverification contract.Randomcontract to combineDrandandRandomCommitmentfunctionalities.Randomcontract toRandomCommitment.RandomCommitmentnow uses blocks instead of timestampsRandomCommitmentandDrandare abstract contracts, which are extended by theRandomcontract.Toggle Checklist
Checklist
Basics
norswap/build-system-caching).Correctness
C1. Builds and passes tests.
C2. The code is properly parameterized & compatible with different environments (e.g. local,
testnet, mainnet, standalone wallet, ...).
C3. I have manually tested my changes & connected features.
C4. I have performed a thorough self-review of my code after submitting the PR,
and updated the code & comments accordingly.
Architecture & Documentation
(2) commenting these boundaries correctly, (3) adding inline comments for context when needed.
comments.
in a Markdown document.