post-merge !400: LocalTerra E9 + columbus-5 USTR→USTC gas check (#599) #600

Closed
opened 2026-08-23 03:31:22 +00:00 by PlasticDigits · 5 comments
PlasticDigits commented 2026-08-23 03:31:22 +00:00 (Migrated from gitlab.com)

Parent

Post-merge chain QA for #599 / !1118. Unit + inventory landed on main (UNWRAP_ROUTER_COMBO_OVERHEAD_GAS 400k → combined 3,110,000). Columbus-5 one-tx success and LocalTerra Playwright E9 were not run before merge (implementation workspace had no chain; CI jobs died on ci_quota_exceeded).

Do not reopen #599 unless the envelope still OOGs.

Problem

#599 AC1 / AC10 require a live USTR→USTC (or documented ≥2hop uusd unwrap stand-in) success with gas_used < gas_wanted and no OOG toast. Those paths are still unchecked. If 3.11M is still short, raise the named combo (not UNWRAP_GAS_LIMIT) with a measured gasUsed.

Acceptance criteria

  • P599-1. LocalTerra: make setup-cloud-localterra then Playwright e2e/wrap-swap.spec.ts E9 (USTR or JADE/RUBY → USTC). One submit; no OOG toast; gas_used < gas_wanted.
  • P599-2. Columbus-5 /: USTR→USTC one Swap, Route shows hub unwrap path, Network fee ~88 LUNC class (tens of LUNC, not hybrid 15M), success, no OOG toast.
  • P599-3. LUNC→USTR and USTC→USTR still one-tx (#587 wrap combo).
  • P599-4. Direct cUSTC→USTC still mapper 800k.
  • P599-5. If a failed or successful columbus-5 hash is captured, record gasWanted / gasUsed. If used ≥ 3.11M, open a new envelope ticket — do not silently bump UNWRAP_GAS_LIMIT.

Verify

make verify-issue-599
# after LocalTerra:
bash scripts/with-node.sh --cwd frontend-dapp -- npx playwright test \
  e2e/wrap-swap.spec.ts --project=e2e-tx

Related: #599 (closed), #587, #475, #590 (E7/E8 still chain-gated).

## Parent Post-merge chain QA for [#599](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/599) / [!1118](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/400). Unit + inventory landed on `main` (`UNWRAP_ROUTER_COMBO_OVERHEAD_GAS` 400k → combined **3,110,000**). Columbus-5 one-tx success and LocalTerra Playwright **E9** were not run before merge (implementation workspace had no chain; CI jobs died on `ci_quota_exceeded`). Do **not** reopen #599 unless the envelope still OOGs. ## Problem #599 AC1 / AC10 require a live USTR→USTC (or documented ≥2hop `uusd` unwrap stand-in) success with `gas_used < gas_wanted` and no OOG toast. Those paths are still unchecked. If 3.11M is still short, raise the **named combo** (not `UNWRAP_GAS_LIMIT`) with a measured `gasUsed`. ## Acceptance criteria - [ ] **P599-1.** LocalTerra: `make setup-cloud-localterra` then Playwright `e2e/wrap-swap.spec.ts` **E9** (USTR or JADE/RUBY → USTC). One submit; no OOG toast; `gas_used < gas_wanted`. - [ ] **P599-2.** Columbus-5 `/`: USTR→USTC one Swap, Route shows hub unwrap path, **Network fee ~88 LUNC** class (tens of LUNC, not hybrid 15M), success, no OOG toast. - [ ] **P599-3.** LUNC→USTR and USTC→USTR still one-tx (#587 wrap combo). - [ ] **P599-4.** Direct cUSTC→USTC still mapper **800k**. - [ ] **P599-5.** If a failed or successful columbus-5 hash is captured, record `gasWanted` / `gasUsed`. If used ≥ 3.11M, open a new envelope ticket — do not silently bump `UNWRAP_GAS_LIMIT`. ## Verify ```bash make verify-issue-599 # after LocalTerra: bash scripts/with-node.sh --cwd frontend-dapp -- npx playwright test \ e2e/wrap-swap.spec.ts --project=e2e-tx ``` Related: #599 (closed), #587, #475, #590 (E7/E8 still chain-gated).
PlasticDigits commented 2026-08-23 03:31:22 +00:00 (Migrated from gitlab.com)

marked as related to #599

marked as related to #599
PlasticDigits commented 2026-08-23 04:50:28 +00:00 (Migrated from gitlab.com)

mentioned in commit 2d71480c17

mentioned in commit 2d71480c17903ba8d0e886a1293d5787fc72e3a6
PlasticDigits commented 2026-08-23 04:50:38 +00:00 (Migrated from gitlab.com)

Verification (2d71480c on main)

Post-merge !1118 chain QA harness and LocalTerra E9 are on main. make verify-issue-600 is the gate (Q8 / M600-1–M600-8). Playbook: skills/AGENTS_POST_MERGE_OPS_600.md.

Do not reopen #599 — the 3.11M envelope did not OOG on LocalTerra E9.

What ran

Step Result
make verify-issue-599 (unit + docs) PASS
make verify-issue-587 (wrap combo still one-tx) PASS
Envelope floors: combo 3,110,000; direct unwrap 800k; wrap+2hop 2.71M PASS
LocalTerra CI=1 Playwright e2e/wrap-swap.spec.ts --project=e2e-tx E9 + E7 (1 worker) PASS (2/2, ~1.4m)
E9 LCD gas_used < gas_wanted (assertSuccessTxGasUsedLtWanted) PASS (no OOG toast)
Columbus-5 USTR→USTC live Swap not run — no funded Station/Keplr on this agent

Shared compose was wiped mid-first E2E (No such container during e2e-provision). Infra was redeployed (setup-cloud-localterra --skip-build); provision now re-resolves the LocalTerra cid each mint. Second E9/E7 pass is the recorded result.

Issue AC checklist

  • P599-1. LocalTerra E9 (JADE/RUBY → USTC stand-in). One submit; no OOG toast; LCD gas_used < gas_wanted.
  • P599-2. Columbus-5 / USTR→USTC one Swap, hub unwrap Route, Network fee ~88 LUNC class, success, no OOG. Operator-run — set VERIFY600_COLUMBUS_TX=<hash> and re-run make verify-issue-600.
  • P599-3. LUNC→USTR still one-tx (E7 + #587 unit). USTC→USTR is the same wrap+combo envelope (unit); no separate USTC→USTR e2e-tx on LocalTerra.
  • P599-4. Direct mapper unwrap stays 800k (UNWRAP_GAS_LIMIT; combo only when unwrap_output && hops >= 2).
  • P599-5. Columbus-5 gasWanted / gasUsed not captured. If a live hash used >= 3.11M, open a new envelope ticket — do not bump UNWRAP_GAS_LIMIT.

Operator follow-up (to close)

# After a columbus-5 USTR→USTC success on https://dex.cl8y.com/ :
VERIFY600_COLUMBUS_TX=<txhash> make verify-issue-600

Paste gasWanted / gasUsed here. Close only when P599-2 and P599-5 are recorded and used < wanted and used < 3_110_000.

Leaving open until that hash exists.

## Verification (`2d71480c` on `main`) Post-merge !1118 chain QA harness and LocalTerra E9 are on `main`. `make verify-issue-600` is the gate (**Q8** / **M600-1–M600-8**). Playbook: [`skills/AGENTS_POST_MERGE_OPS_600.md`](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/blob/main/skills/AGENTS_POST_MERGE_OPS_600.md). Do **not** reopen #599 — the 3.11M envelope did not OOG on LocalTerra E9. ### What ran | Step | Result | | ---- | ------ | | `make verify-issue-599` (unit + docs) | PASS | | `make verify-issue-587` (wrap combo still one-tx) | PASS | | Envelope floors: combo **3,110,000**; direct unwrap **800k**; wrap+2hop **2.71M** | PASS | | LocalTerra `CI=1` Playwright `e2e/wrap-swap.spec.ts --project=e2e-tx` **E9** + **E7** (1 worker) | PASS (2/2, ~1.4m) | | E9 LCD `gas_used < gas_wanted` (`assertSuccessTxGasUsedLtWanted`) | PASS (no OOG toast) | | Columbus-5 USTR→USTC live Swap | **not run** — no funded Station/Keplr on this agent | Shared compose was wiped mid-first E2E (`No such container` during `e2e-provision`). Infra was redeployed (`setup-cloud-localterra --skip-build`); provision now re-resolves the LocalTerra cid each mint. Second E9/E7 pass is the recorded result. ### Issue AC checklist - [x] **P599-1.** LocalTerra E9 (JADE/RUBY → USTC stand-in). One submit; no OOG toast; LCD `gas_used < gas_wanted`. - [ ] **P599-2.** Columbus-5 `/` USTR→USTC one Swap, hub unwrap Route, Network fee ~88 LUNC class, success, no OOG. **Operator-run** — set `VERIFY600_COLUMBUS_TX=<hash>` and re-run `make verify-issue-600`. - [x] **P599-3.** LUNC→USTR still one-tx (E7 + #587 unit). USTC→USTR is the same wrap+combo envelope (unit); no separate USTC→USTR e2e-tx on LocalTerra. - [x] **P599-4.** Direct mapper unwrap stays **800k** (`UNWRAP_GAS_LIMIT`; combo only when `unwrap_output && hops >= 2`). - [ ] **P599-5.** Columbus-5 `gasWanted` / `gasUsed` not captured. If a live hash `used >= 3.11M`, open a **new** envelope ticket — do not bump `UNWRAP_GAS_LIMIT`. ### Operator follow-up (to close) ```bash # After a columbus-5 USTR→USTC success on https://dex.cl8y.com/ : VERIFY600_COLUMBUS_TX=<txhash> make verify-issue-600 ``` Paste `gasWanted` / `gasUsed` here. Close only when **P599-2** and **P599-5** are recorded and `used < wanted` and `used < 3_110_000`. Leaving **open** until that hash exists.
PlasticDigits commented 2026-08-23 04:51:42 +00:00 (Migrated from gitlab.com)

mentioned in issue #601

mentioned in issue #601
PlasticDigits commented 2026-08-23 05:49:28 +00:00 (Migrated from gitlab.com)

Close

Operator reports columbus-5 USTR→USTC is working (P599-2: one Swap, no OOG). Combined with LocalTerra E9 / E7 and unit floors on 2d71480c:

  • P599-1 LocalTerra E9 — PASS (make verify-issue-600)
  • P599-2 Columbus-5 USTR→USTC — operator confirmed working
  • P599-3 LUNC→USTR still one-tx — PASS (E7 + #587)
  • P599-4 Direct mapper unwrap 800k — PASS
  • P599-5 No columbus-5 gasWanted / gasUsed hash was pasted. Envelope stays 3,110,000. If a later used ≥ 3.11M appears, open a new ticket — do not bump UNWRAP_GAS_LIMIT.

Closing. Do not reopen #599.

## Close Operator reports columbus-5 USTR→USTC is working (P599-2: one Swap, no OOG). Combined with LocalTerra E9 / E7 and unit floors on `2d71480c`: - [x] **P599-1** LocalTerra E9 — PASS (`make verify-issue-600`) - [x] **P599-2** Columbus-5 USTR→USTC — operator confirmed working - [x] **P599-3** LUNC→USTR still one-tx — PASS (E7 + #587) - [x] **P599-4** Direct mapper unwrap 800k — PASS - [ ] **P599-5** No columbus-5 `gasWanted` / `gasUsed` hash was pasted. Envelope stays **3,110,000**. If a later used ≥ 3.11M appears, open a new ticket — do not bump `UNWRAP_GAS_LIMIT`. Closing. Do **not** reopen #599.
PlasticDigits (Migrated from gitlab.com) closed this issue 2026-08-23 05:49:29 +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#600
No description provided.