Skip to content

Add a live-Anvil E2E runner that doubles as the demo#29

Open
heijiLee wants to merge 5 commits into
feature/rfq-integration-scenariosfrom
feature/anvil-e2e
Open

Add a live-Anvil E2E runner that doubles as the demo#29
heijiLee wants to merge 5 commits into
feature/rfq-integration-scenariosfrom
feature/anvil-e2e

Conversation

@heijiLee

@heijiLee heijiLee commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Stacked on #28. Closes the E2E-automation gap (E2E-001) and provides the stakeholder demo vehicle.

  • script/DeployStack.s.sol: full-stack live deployment (registries, engine, router, factory, 11 elements, recipes, AMM MockPool + RFQ venues, real ERC-3643/OnchainID via the extracted test/fixtures/TREXCore.sol)
  • script/DemoScenarios.s.sol: 7-scenario narrated suite — onboarding, compliant trade, live A-02 rejection with off-chain reason-code recompute, suspend/resume, RFQ fill + unapproved-maker rejection, surveillance flag, router-bypass rejection. Any FAIL → nonzero exit
  • scripts/e2e-anvil.sh (--port, --keep for interactive demos), docs/demo.md runbook

No src/ changes; tools/deploy-v3 untouched (real v3 pool = documented follow-up). Suite 238/238; e2e verified 7/7 PASS across three fresh runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant