docs(chain138): Phase 4b runbook for EnhancedSwapRouterV2 + adapters #19
Reference in New Issue
Block a user
Delete Branch "devin/1777471106-phase4b-v2-runbook"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds the operational runbook for the upcoming Phase 4b deploy of
EnhancedSwapRouterV2+ 6IRouteExecutorAdaptercontracts on Chain 138, mirroring the structure of the Phase 3 / Phase 3j runbooks. Companion to PR #1 onOrder-of-Hospitallers/smom-dbis-138("deploy(EnhancedSwapRouterV2): register 3 cBTC DODO pools (Phase 3j parity)") which is deploy-script-only.Files:
docs/bridge/trustless/PHASE4B_V2_DEPLOY_RUNBOOK.md— V1 vs V2 differences, step-by-step pre-flight + dry-run + broadcast + verification commands, hand-back format, scope-reminder for what V2 does NOT do (no dApp wiring, no V1 changes, no Balancer pool ids yet).docs/11-references/ADDRESS_MATRIX_AND_STATUS.md§1.6 — flagsEnhancedSwapRouterV2as "Pending — Phase 4b", points at the runbook + the smom-dbis-138 PR.docs/11-references/PMM_DEX_ROUTING_STATUS.md§2.1 — same flag with a one-paragraph context for routing reviewers.V2 is parallel infra. It does not touch the deployed V1 router (
0xE6Cc7643…) or the dApp's route registry. The dApp continues to use V1 + the existing?useEnhancedRouter=1per-leg dispatch path until a separate Phase 4c PR opts traffic into V2 behind a feature flag.The Paris-only constraint (Chain 138 / Besu rejects
PUSH0) is honored viaFOUNDRY_PROFILE=chain138_legacy+--evm-version parisin the runbook commands. Same root cause as the V1 broadcast OOG that we fixed in the prior session.Review & Testing Checklist for Human
PHASE4B_V2_DEPLOY_RUNBOOK.mdend-to-end and confirm the env-var set + post-deploy verification reads match what your LAN dotenv actually exposes (in particularRPC_URL_138,PRIVATE_KEY,DODO_PMM_PROVIDER_ADDRESS).smom-dbis-138PR #1) registers the same 11 DODO pairs as V1 (8 originals + 3 cBTC pools added Phase 3j). Spot-check 2–3 pool addresses in the runbook againstchain138-tokens-and-pmm.mdc.BALANCER_WETH_USDT_POOL_ID/BALANCER_WETH_USDC_POOL_IDenv vars before broadcast, or defer Balancer until pool ids are discovered.Recommended test plan: this PR is doc-only. The actual deploy is a follow-up — after merging this PR (and
smom-dbis-138PR #1), run the steps inPHASE4B_V2_DEPLOY_RUNBOOK.mdfrom a LAN host. Hand back the 8 deployed addresses + the 4 verification reads.Notes
~/test-plans/phase4b-cursor-lan-prompt.mdon the Devin VM (same content; the in-repo runbook is the canonical archived copy).Claude encountered an error —— View job
I'll analyze this and get back to you.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.