feat: LocalTerra wrap-mapper split-fee instantiate (#539) #1072

Merged
PlasticDigits merged 4 commits from feat/539-wrap-mapper-split-local into main 2026-08-17 10:31:20 +00:00
PlasticDigits commented 2026-08-17 09:27:00 +00:00 (Migrated from gitlab.com)

Summary

  • Instantiate LocalTerra wrap-mapper with fee_wrap_bps / fee_unwrap_bps (default 50/50), falling back to legacy fee_bps for older wasm.
  • Rebuild wrap_mapper.wasm when it is missing, not only when treasury.wasm is missing.
  • Record #533 e2e-tx P4–P8; P5 now selects native LUNC (not cLUNC) and prefers a cLUNC pair so wrap+zap is asserted.
  • make verify-issue-539; make verify-issue-533 runs P4–P8 when LocalTerra is up.
  • 2-of-3 host helper prompts the file keyring once and rejects an empty wasm migrate/execute address. Optimizer checksums updated for factory 1.8.0 (11585) and pair 1.14.0 (11586).

Closes #539

Test plan

  • VERIFY_ISSUE_539_SKIP_E2E=1 make verify-issue-539 (8/8)
  • CI=1 playwright test e2e/pool-one-sided-533-tx.spec.ts --project=e2e-tx — 4 passed (P4, P5, P6/P7, P8)
  • columbus-5: factory 11585, all 13 pairs 11586, GetDiscountRegistry = fee-discount, factory config.discount_registry set (#536 / #538 ops)
## Summary - Instantiate LocalTerra wrap-mapper with `fee_wrap_bps` / `fee_unwrap_bps` (default 50/50), falling back to legacy `fee_bps` for older wasm. - Rebuild `wrap_mapper.wasm` when it is missing, not only when `treasury.wasm` is missing. - Record `#533` e2e-tx P4–P8; P5 now selects native LUNC (not cLUNC) and prefers a cLUNC pair so wrap+zap is asserted. - `make verify-issue-539`; `make verify-issue-533` runs P4–P8 when LocalTerra is up. - 2-of-3 host helper prompts the file keyring once and rejects an empty `wasm migrate`/`execute` address. Optimizer checksums updated for factory 1.8.0 (`11585`) and pair 1.14.0 (`11586`). Closes #539 ## Test plan - [x] `VERIFY_ISSUE_539_SKIP_E2E=1 make verify-issue-539` (8/8) - [x] `CI=1 playwright test e2e/pool-one-sided-533-tx.spec.ts --project=e2e-tx` — **4 passed** (P4, P5, P6/P7, P8) - [x] columbus-5: factory `11585`, all 13 pairs `11586`, `GetDiscountRegistry` = fee-discount, factory `config.discount_registry` set (#536 / #538 ops)
PlasticDigits commented 2026-08-17 09:27:35 +00:00 (Migrated from gitlab.com)

mentioned in issue #539

mentioned in issue #539
PlasticDigits commented 2026-08-17 09:30:28 +00:00 (Migrated from gitlab.com)

added 1 commit

  • e6d407f4 - fix: prompt 2-of-3 keyring once and record 1.8.0/1.14.0 checksums

Compare with previous version

added 1 commit <ul><li>e6d407f4 - fix: prompt 2-of-3 keyring once and record 1.8.0/1.14.0 checksums</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/354/diffs?diff_id=1965268566&start_sha=3a207c56db5d14268c456cb0dde9a2440a593793)
PlasticDigits commented 2026-08-17 09:31:24 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
PlasticDigits commented 2026-08-17 09:31:27 +00:00 (Migrated from gitlab.com)

mentioned in issue #538

mentioned in issue #538
PlasticDigits commented 2026-08-17 09:31:30 +00:00 (Migrated from gitlab.com)

mentioned in issue #533

mentioned in issue #533
PlasticDigits commented 2026-08-17 10:31:11 +00:00 (Migrated from gitlab.com)

added 7 commits

  • e6d407f4...1c6023f2 - 6 commits from branch main
  • 9e3f8e16 - Merge branch 'main' into feat/539-wrap-mapper-split-local

Compare with previous version

added 7 commits <ul><li>e6d407f4...1c6023f2 - 6 commits from branch <code>main</code></li><li>9e3f8e16 - Merge branch &#39;main&#39; into feat/539-wrap-mapper-split-local</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/354/diffs?diff_id=1965405475&start_sha=e6d407f490c0ffbc74791131c4df9a75c3790a6e)
PlasticDigits (Migrated from gitlab.com) merged commit 65e074daaa into main 2026-08-17 10:31:20 +00:00
PlasticDigits commented 2026-08-17 10:31:21 +00:00 (Migrated from gitlab.com)

mentioned in commit 65e074daaa

mentioned in commit 65e074daaafca1332604d56429cef708e9544c5b
PlasticDigits commented 2026-08-17 10:32:47 +00:00 (Migrated from gitlab.com)

mentioned in issue #549

mentioned in issue #549
Sign in to join this conversation.
No reviewers
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!1072
No description provided.