Feat/deterministic pseudorandomness abstraction (#558)#693
Open
Chucks1093 wants to merge 3 commits intoJagadeeshftw:masterfrom
Open
Feat/deterministic pseudorandomness abstraction (#558)#693Chucks1093 wants to merge 3 commits intoJagadeeshftw:masterfrom
Chucks1093 wants to merge 3 commits intoJagadeeshftw:masterfrom
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 |
- Expanded traits.rs: added PauseInterface and FeeInterface with full doc comments referencing Grainlify internal spec - BountyEscrowContract now formally implements all four traits (EscrowInterface, UpgradeInterface, PauseInterface, FeeInterface) - soroban/contracts/escrow: added local EscrowInterface + UpgradeInterface trait definitions and implementations; added get_balance and get_escrow_info to satisfy standard surface - grainlify-core: added local UpgradeInterface trait and impl for GrainlifyContract (feature-gated to match existing contract gate) - contracts/view-facade: implemented ViewFacade contract with register/deregister/list/get_contract for cross-contract discovery
d25f62b to
ba255b3
Compare
Contributor
Author
|
@Jagadeeshftw please merge this |
Owner
|
@Chucks1093 Can you please resolve the conflicts? |
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