[Epic] Hybrid implementation (post-ADR) #59

Closed
opened 2026-04-09 03:23:33 +00:00 by PlasticDigits · 12 comments
PlasticDigits commented 2026-04-09 03:23:33 +00:00 (Migrated from gitlab.com)

Summary

Implementation after architecture ADR (not open-ended design).

Evidence

  • Router simulation ignores hybrid: smartcontracts/contracts/router/src/contract.rs (~428–497)
  • docs/reviews/20260409T030009Z/SECURITY_REVIEW.md SC-02

Rationale

Separates design (Epic 1) from code delivery.

Dependencies

  • Epic 1 / ADR issues should be resolved or explicitly superseded before closing this epic.

Acceptance criteria

  • ADR-backed implementation or approved interim disclosure-only path
  • Tests from child issues passing

Launch blockers

  • blocker:hybrid
## Summary **Implementation** after architecture ADR (not open-ended design). ## Evidence - Router simulation ignores `hybrid`: `smartcontracts/contracts/router/src/contract.rs` (~428–497) - `docs/reviews/20260409T030009Z/SECURITY_REVIEW.md` SC-02 ## Rationale Separates design (Epic 1) from code delivery. ## Dependencies - Epic 1 / ADR issues should be resolved or explicitly superseded before closing this epic. ## Acceptance criteria - [ ] ADR-backed implementation or approved interim disclosure-only path - [ ] Tests from child issues passing ## Launch blockers - `blocker:hybrid`
PlasticDigits commented 2026-04-09 03:23:33 +00:00 (Migrated from gitlab.com)

marked this issue as related to #56

marked this issue as related to #56
PlasticDigits commented 2026-04-09 03:24:02 +00:00 (Migrated from gitlab.com)

marked this issue as related to #75

marked this issue as related to #75
PlasticDigits commented 2026-04-09 03:24:02 +00:00 (Migrated from gitlab.com)

mentioned in issue #75

mentioned in issue #75
PlasticDigits commented 2026-04-09 03:24:04 +00:00 (Migrated from gitlab.com)

marked this issue as related to #76

marked this issue as related to #76
PlasticDigits commented 2026-04-09 03:24:04 +00:00 (Migrated from gitlab.com)

mentioned in issue #76

mentioned in issue #76
PlasticDigits commented 2026-04-09 03:24:06 +00:00 (Migrated from gitlab.com)

mentioned in issue #77

mentioned in issue #77
PlasticDigits commented 2026-04-09 03:24:06 +00:00 (Migrated from gitlab.com)

marked this issue as related to #77

marked this issue as related to #77
PlasticDigits commented 2026-04-09 03:24:09 +00:00 (Migrated from gitlab.com)

marked this issue as related to #78

marked this issue as related to #78
PlasticDigits commented 2026-04-09 03:24:09 +00:00 (Migrated from gitlab.com)

mentioned in issue #78

mentioned in issue #78
PlasticDigits commented 2026-04-09 03:24:11 +00:00 (Migrated from gitlab.com)

mentioned in issue #79

mentioned in issue #79
PlasticDigits commented 2026-04-09 03:24:11 +00:00 (Migrated from gitlab.com)

marked this issue as related to #79

marked this issue as related to #79
PlasticDigits commented 2026-04-13 04:48:48 +00:00 (Migrated from gitlab.com)

Epic 59 integration summary: Child issues #75–#79 are addressed on main via ADR/docs updates, indexer POST /api/v1/route/solve, frontend hybrid estimate + disclosure, strengthened contract tests (hybrid_pool_and_book_legs_one_swap, router_two_hop_first_leg_hybrid_matches_simulate), and Playwright hybrid-swap.spec.ts. Verification: cargo test (smartcontracts filters as needed), cargo test --test api_route_solve (indexer + Postgres), vitest run for touched frontend tests, Playwright hybrid spec when LCD is up. @brouie please verify each sub-issue (#75–#79) before closing this epic; confirm end-to-end indexer + LCD + dApp hybrid quote path on staging if deployed.

**Epic 59 integration summary:** Child issues **#75–#79** are addressed on `main` via ADR/docs updates, indexer **POST /api/v1/route/solve**, frontend hybrid estimate + disclosure, strengthened contract tests (`hybrid_pool_and_book_legs_one_swap`, `router_two_hop_first_leg_hybrid_matches_simulate`), and Playwright `hybrid-swap.spec.ts`. Verification: `cargo test` (smartcontracts filters as needed), `cargo test --test api_route_solve` (indexer + Postgres), `vitest run` for touched frontend tests, Playwright hybrid spec when LCD is up. @brouie please verify each sub-issue (#75–#79) before closing this epic; confirm end-to-end indexer + LCD + dApp hybrid quote path on staging if deployed.
PlasticDigits (Migrated from gitlab.com) closed this issue 2026-04-23 03:08:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic#59
No description provided.