Feat/deterministic pseudorandomness abstraction (#558)#693
Merged
Jagadeeshftw merged 2 commits intoJagadeeshftw:masterfrom Mar 5, 2026
Merged
Conversation
|
@Chucks1093 is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
@Chucks1093 please resolve the conflicts |
d25f62b to
ba255b3
Compare
Contributor
Author
|
@Jagadeeshftw please merge this |
Owner
|
@Chucks1093 Can you please resolve the conflicts? |
Contributor
Author
|
@Jagadeeshftw why did you close this? I wasn't given drips point for my PRs and decided to hault because something is wrong with the drips bot |
Contributor
Author
|
@Jagadeeshftw am working on this now |
ba255b3 to
d54f07f
Compare
Contributor
Author
|
@Jagadeeshftw pls merge this and reopen #696 thank you |
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
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.
Closes #558
Changes
contracts/grainlify-core/src/pseudo_randomness.rsBytesN<32>)contracts/grainlify-core/src/lib.rspub mod pseudo_randomness.contracts/bounty_escrow/contracts/escrow/src/lib.rsderive_claim_ticket_winner_index(...)derive_claim_ticket_winner(...)issue_claim_ticket_deterministic(...)contracts/bounty_escrow/contracts/escrow/src/events.rsDeterministicSelectionDerivedevent for verifiable auditability of:contracts/bounty_escrow/contracts/escrow/src/test_deterministic_randomness.rsTesting
contracts/grainlify-corecargo test --lib✅contracts/bounty_escrow/contracts/escrowcargo fmt --check --all✅cargo test test_deterministic_randomness -- --nocapture✅cargo test --lib✅cargo test --lib invariant_checker_ci✅Notes