Repository navigation
Own the full-stack USDC environment and remove deployment coupling - #54
Merged
Merged
Conversation
Replace the external full-stack launcher and demo preparer with Oracle-owned prepare, start, flow, inspect, stop and clean commands. Delegate witnessed issuance and presentation to the Verifier fixture CLI and contract construction to Comply's validated JSON deployment command; pin both qualified tooling revisions in one manifest used by CI. Retain the sole two-service USDC scenario and all balance, nonce, retry, restart, replacement and exact-retirement checks. Remove copied issuer code, private Verifier test imports and the runtime deployment-log parser. Focused receiver tests now own their signing fixtures; producer completion-gap assertions move to Verifier. Validation: the new real witnessed paired scenario passed, nine focused checkout/lifecycle cases passed, and focused receiver tests passed. Full fresh installed-wheel qualification is running. Tooling and application code remain separate, with explicit source snapshots, process ownership, retained logs and documented resource lifetimes.
Advance the Verifier fixture pin and retain installed tool versions plus recursive source/submodule fingerprints. Keep ignored state excluded when a checkout supplies tooling for an explicit wheel. Fail early on missing local executables and stop the Verifier-owned witness session if its preparation controller fails or times out. Preserve original failure diagnostics while reporting cleanup failures. Validation: 59 fresh installed-wheel Oracle cases passed with no Verifier package in the base test environment; all 15 focused receiver, checkout and lifecycle cases passed. The witnessed paired flow and full stack stop/start also passed.
Add real process-boundary checks for missing prerequisites and readiness timeout. Require early failure without a run directory, preserve startup diagnostics, and prove an unrelated sentinel survives owned-process shutdown. Bound Git dependency fetch and recursive submodule initialization and disable terminal credential prompts. Keep retained artifact and version declarations consistently formatted. Validation: all 12 focused environment/checkout cases passed, and all six checkout cases passed again after the bounded network change. The full installed-wheel suite previously passed 59 cases; the two new cases bring final collection to 61.
This was referenced Nov 1, 2026
Share the isolated Comply checkout between deployment and ABI/calldata conformance tests. The exact identity ABI assertion now reads newly compiled output from that checkout instead of relying on an ignored build artifact in the selected source directory. CI exposed this remaining consumer after deployment isolation; pre-existing local build output had masked it. Preserve every ABI and calldata assertion, remove the neighboring-checkout fallback, and keep the original source untouched. Validation: the focused conformance case passed against a fresh isolated snapshot with no copied out directory. The installed-wheel CI suite will rerun all 61 cases.
Refuse an Oracle run nested within any selected source checkout and reject overlapping snapshot destinations before writing. This prevents generated stores and wheels from recursively becoming source inputs. Document the external-run requirement and pin the matching Verifier boundary change. Validation: all eight environment cases passed, including Git/wheel overlap rejection, missing executables, readiness timeout, foreign listener/sentinel preservation and literal paths. The complete installed-wheel CI suite reruns all 63 Oracle cases.
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.
Oracle now owns the full-stack local environment and the sole maintained USDC scenario. The former Comply launcher, Oracle demo preparer, copied issuer code, private Verifier test imports and runtime deployment-log parser are removed.
Preparation installs fresh wheels and selects exact dependency revisions from one manifest consumed by CI. Verifier fixture commands own witnessed issuance and presentation; Comply owns constructors and validated JSON deployment output. CLI dispatch, source/artifact handling, process ownership, contract deployment and lost-ACK fault injection have separate responsibilities and documented lifetimes.
The scenario preserves real witnessed trust, two-wallet balances, nonce rejection, identical-byte retry, independent restart, replacement and exact revocation withdrawal. Focused producer completion-gap tests live in Verifier. Oracle receiver tests sign their own post-verification facts. Contract conformance reads freshly compiled output from the actual isolated deployment checkout, preserving exact ABI/calldata assertions.
Validation: full installed-wheel CI passed all 63 Oracle cases outside the checkout. All 233 Verifier cases and 28 Forge cases passed in their companion PRs. The default-pin six-witness flow and manual stop/start/clean paths passed. Operational tests cover foreign listeners/processes, readiness failure, missing executables, literal paths, ignored state and source/destination overlap.
Merge compatible GLEIF-IT/eoa-verifier#24 and GLEIF-IT/vlei-comply#15 before this cutover. No application-policy change, extra database locking, or architecture/docs check scripts/gates are included. Empty-policy fail-closed behavior remains separate.