ops: post-merge !404–!406 community-tax wasm store, launcher rotate, 11611 migrate #611

Closed
opened 2026-08-23 12:40:59 +00:00 by PlasticDigits · 22 comments
PlasticDigits commented 2026-08-23 12:40:59 +00:00 (Migrated from gitlab.com)

Merged in-repo code:

  • !1122 — #604 identity + #605 SKU init / percent / AutoLP bind / VariableRates gate
  • !1123 — #608 LaunchGuards per-wallet cooldown + provide after max_wallet
  • !1124 — #609 ExemptionDirectory skips buy/sell/transfer tax

Do not reopen #604 / #605 / #608 / #609 unless a merged invariant is wrong. This ticket is ops + LocalTerra/columbus-5 enforcement.

Related residuals stay on their own issues: AutoLP pair/skim #610, EnableFeature/SKU dedupe #606.

Why this is needed

Columbus-5 listed token wasm is still 11611. Live instantiate/execute bytes do not yet enforce #604–#609. The dApp is the client gate until launcher token_code_id rotates after #589 REPORT GO.

Acceptance

  • Store updated community-tax-token wasm (optimizer artifact from current main).
  • New #589 intake REPORT GO for that code_id (keep 11611 listed; do not drop existing pairs).
  • Launcher UpdateConfig { token_code_id } on canonical 11614 terra126pr5…ahzwze.
  • Factory AddWhitelistedCodeId for the new token code_id. Never whitelist launcher / AutoLP / ALPHA 8654.
  • CMM migrate live 11611 instances when any exist (catalog was empty at audit; pin bytes stay pre-fix until migrate).
  • LocalTerra store + smoke:
    • instantiate reject decimals: 0 / name "x y" / max_sell_bps > sell_bps without variable_rates
    • /token/create connected-wallet helpers + percent SKU payloads
    • AutoLP SKU blocked when autolp_code_id unset; binds when set
    • two wallets swap in one cooldown window; provide after pair > max_wallet
    • Manage Token add exemption; pair swap both directions; balances match amount
  • Coolify frontend/indexer rebuild if env pins change (keep 11611 listed until rotate completes).
  • make verify-issue-604 · 605 · 608 · 609 stay green on main.

Do not

  • Silent mainnet store without #589 GO.
  • Whitelist launcher / AutoLP / 8654.
  • Treat indexer events as on-chain exempt (#594).
  • Re-open closed identity/SKU/guard/exempt tickets for ops work.
## Parent / related Merged in-repo code: - [!1122](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/404) — #604 identity + #605 SKU init / percent / AutoLP bind / VariableRates gate - [!1123](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/405) — #608 LaunchGuards per-wallet cooldown + provide after `max_wallet` - [!1124](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/406) — #609 ExemptionDirectory skips buy/sell/transfer tax Do **not** reopen #604 / #605 / #608 / #609 unless a merged invariant is wrong. This ticket is **ops + LocalTerra/columbus-5 enforcement**. Related residuals stay on their own issues: AutoLP pair/skim [#610](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/610), EnableFeature/SKU dedupe [#606](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/606). ## Why this is needed Columbus-5 listed token wasm is still **11611**. Live instantiate/execute bytes do **not** yet enforce #604–#609. The dApp is the client gate until launcher `token_code_id` rotates after #589 REPORT **GO**. ## Acceptance - [ ] Store updated `community-tax-token` wasm (optimizer artifact from current `main`). - [ ] New #589 intake REPORT **GO** for that code_id (keep **11611** listed; do not drop existing pairs). - [ ] Launcher `UpdateConfig { token_code_id }` on canonical **11614** `terra126pr5…ahzwze`. - [ ] Factory `AddWhitelistedCodeId` for the new token code_id. Never whitelist launcher / AutoLP / ALPHA **8654**. - [ ] CMM migrate live **11611** instances when any exist (catalog was empty at audit; pin bytes stay pre-fix until migrate). - [ ] LocalTerra store + smoke: - instantiate reject `decimals: 0` / name `"x y"` / `max_sell_bps > sell_bps` without `variable_rates` - `/token/create` connected-wallet helpers + percent SKU payloads - AutoLP SKU blocked when `autolp_code_id` unset; binds when set - two wallets swap in one cooldown window; provide after pair > `max_wallet` - Manage Token add exemption; pair swap both directions; balances match `amount` - [ ] Coolify frontend/indexer rebuild if env pins change (keep 11611 listed until rotate completes). - [ ] `make verify-issue-604` · `605` · `608` · `609` stay green on `main`. ## Do not - Silent mainnet store without #589 GO. - Whitelist launcher / AutoLP / 8654. - Treat indexer events as on-chain exempt (#594). - Re-open closed identity/SKU/guard/exempt tickets for ops work.
PlasticDigits commented 2026-08-23 12:41:00 +00:00 (Migrated from gitlab.com)

marked as related to #604

marked as related to #604
PlasticDigits commented 2026-08-23 12:41:00 +00:00 (Migrated from gitlab.com)

marked as related to #605

marked as related to #605
PlasticDigits commented 2026-08-23 12:41:01 +00:00 (Migrated from gitlab.com)

marked as related to #608

marked as related to #608
PlasticDigits commented 2026-08-23 12:41:02 +00:00 (Migrated from gitlab.com)

marked as related to #609

marked as related to #609
PlasticDigits commented 2026-08-23 12:41:03 +00:00 (Migrated from gitlab.com)

marked as related to #589

marked as related to #589
PlasticDigits commented 2026-08-23 12:41:11 +00:00 (Migrated from gitlab.com)

mentioned in issue #604

mentioned in issue #604
PlasticDigits commented 2026-08-23 12:41:12 +00:00 (Migrated from gitlab.com)

mentioned in issue #605

mentioned in issue #605
PlasticDigits commented 2026-08-23 12:41:13 +00:00 (Migrated from gitlab.com)

mentioned in issue #608

mentioned in issue #608
PlasticDigits commented 2026-08-23 12:41:14 +00:00 (Migrated from gitlab.com)

mentioned in issue #609

mentioned in issue #609
PlasticDigits commented 2026-08-23 12:41:15 +00:00 (Migrated from gitlab.com)

Opened after merging !1122 / !1123 / !1124 (no automerge, no CI wait). In-repo verify for #604 #605 #608 #609 passed on the integrated main tip.

Integration nits were fixed on the later MRs (LaunchGuards + trading_enabled default, audit_poc M-1/H-1, #609+#608 tax.rs helpers, TransferTax pair-seed). This issue is only the wasm/ops/LocalTerra remainder.

Opened after merging !1122 / !1123 / !1124 (no automerge, no CI wait). In-repo verify for #604 #605 #608 #609 passed on the integrated main tip. Integration nits were fixed on the later MRs (LaunchGuards + trading_enabled default, audit_poc M-1/H-1, #609+#608 tax.rs helpers, TransferTax pair-seed). This issue is only the wasm/ops/LocalTerra remainder.
PlasticDigits commented 2026-08-23 13:05:31 +00:00 (Migrated from gitlab.com)

mentioned in issue #612

mentioned in issue #612
PlasticDigits commented 2026-08-23 13:05:32 +00:00 (Migrated from gitlab.com)

marked as related to #612

marked as related to #612
PlasticDigits commented 2026-08-23 13:05:39 +00:00 (Migrated from gitlab.com)

!1125 and !1126 are now on main (no automerge, no CI wait).

Store/rotate from current main so the same token wasm includes Enable Feature (origin.launcher payer) and unique-SKU reject, not only #604–#609. Launcher 11614 also needs a wasm migrate (not only UpdateConfig { token_code_id }) or live Enable Feature stays Unauthorized.

Remainder for Enable Feature smoke + Swap/Trade disclose QA: #612. Keep this ticket as the #604–#609 store/rotate/LocalTerra list; do not reopen those closed issues.

!1125 and !1126 are now on `main` (no automerge, no CI wait). Store/rotate from **current** `main` so the same token wasm includes Enable Feature (`origin.launcher` payer) and unique-SKU reject, not only #604–#609. Launcher **11614** also needs a **wasm migrate** (not only `UpdateConfig { token_code_id }`) or live Enable Feature stays `Unauthorized`. Remainder for Enable Feature smoke + Swap/Trade disclose QA: [#612](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/612). Keep this ticket as the #604–#609 store/rotate/LocalTerra list; do not reopen those closed issues.
PlasticDigits commented 2026-08-24 03:01:15 +00:00 (Migrated from gitlab.com)

mentioned in issue #616

mentioned in issue #616
PlasticDigits commented 2026-08-24 03:01:16 +00:00 (Migrated from gitlab.com)

marked as related to #616

marked as related to #616
PlasticDigits commented 2026-08-24 03:01:55 +00:00 (Migrated from gitlab.com)

mentioned in issue #610

mentioned in issue #610
PlasticDigits commented 2026-08-24 03:01:57 +00:00 (Migrated from gitlab.com)

!1127–!1131 are now on main (option-2 classify, wrap ingest, window fee pin, AutoLP floor, tax-aware ranking).

Store + #589 GO + 11611 migrate on this ticket must use a tip that includes !1127. Pre-option-2 bytes would leave official-router hops Honest while the dApp advertises listed-pair tax.

AutoLP 11613 migrate + Coolify indexer pins are tracked on #616 so this ticket can stay scoped to !1122–!1124 identity/SKU/guards/exempt plus the shared token store.

!1127–!1131 are now on `main` (option-2 classify, wrap ingest, window fee pin, AutoLP floor, tax-aware ranking). Store + #589 GO + **11611** migrate on this ticket must use a tip that includes !1127. Pre-option-2 bytes would leave official-router hops Honest while the dApp advertises listed-pair tax. AutoLP **11613** migrate + Coolify indexer pins are tracked on [#616](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/616) so this ticket can stay scoped to !1122–!1124 identity/SKU/guards/exempt plus the shared token store.
PlasticDigits commented 2026-08-24 03:54:05 +00:00 (Migrated from gitlab.com)

Columbus-5 store + launcher migrate (2026-08-24)

On-chain (LCD confirmed). Docs + script on main d3dba8bf.

Role code_id data_hash tx height
Token store 11619 63CB21D1…BAFA20 42A76F85…CFDE 30085543
Launcher store 11620 7AD7DBA2…87BF 672F9464…AEC2 30085545
AutoLP store 11621 DAD413A3…76F1 92F90C51…C8A6 30085547
Launcher migrate terra126pr5… 11614→11620 97C0FCA9…EE8C 30085550
  • Uploader cl8ydeploy. Instantiate Everybody.
  • GetConfig still token_code_id=11611, autolp_code_id=11613 (no UpdateConfig on launcher).
  • Factory whitelist still [6036, 8266, 10184, 11611]. 11619 not listed.
  • LCD instances: 11611 / 11613 / 11619 / 11621 = 0 — no CMM migrate.
  • Script: scripts/upgrade-611-community-tax.sh. 11619 stub codeids/11619/REPORT.md is NO-GO until intake.

Still open on this ticket

  • #589 REPORT GO for 11619, then UPGRADE611_589_GO=1 whitelist (keep 11611 listed).
  • Launcher token_code_id rotate (crate UpdateConfig or new instantiate).
  • LocalTerra smoke + Coolify rebuild if env pins change.

Not closing — whitelist / 589 / rotate / QA remain.

## Columbus-5 store + launcher migrate (2026-08-24) On-chain (LCD confirmed). Docs + script on `main` `d3dba8bf`. | Role | code_id | `data_hash` | tx | height | |------|---------|-------------|----|--------| | Token store | **11619** | `63CB21D1…BAFA20` | [`42A76F85…CFDE`](https://finder.terraclassic.community/columbus-5/tx/42A76F85B687C3E8DF548193E11CDBAC92A4D6934C877F76CF85EE97806CCFDE) | 30085543 | | Launcher store | **11620** | `7AD7DBA2…87BF` | [`672F9464…AEC2`](https://finder.terraclassic.community/columbus-5/tx/672F946410FD5FC89953DD9F033FCD17171AAAFA14647A5291341F7335A5AEC2) | 30085545 | | AutoLP store | **11621** | `DAD413A3…76F1` | [`92F90C51…C8A6`](https://finder.terraclassic.community/columbus-5/tx/92F90C510B604D8413AAA366D37C3E3F8F1B22230A3AD7DB8B39F22EBAA5C8A6) | 30085547 | | Launcher migrate `terra126pr5…` 11614→11620 | | | [`97C0FCA9…EE8C`](https://finder.terraclassic.community/columbus-5/tx/97C0FCA93DFADD4BE4250935C7EFAF1CAB0A20C6FB64B2D8B774A4A8BF63EE8C) | 30085550 | - Uploader `cl8ydeploy`. Instantiate **Everybody**. - `GetConfig` still `token_code_id=11611`, `autolp_code_id=11613` (no `UpdateConfig` on launcher). - Factory whitelist still `[6036, 8266, 10184, 11611]`. 11619 not listed. - LCD instances: 11611 / 11613 / 11619 / 11621 = **0** — no CMM migrate. - Script: `scripts/upgrade-611-community-tax.sh`. 11619 stub [`codeids/11619/REPORT.md`](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/blob/main/cw20-codeid-audits/codeids/11619/REPORT.md) is **NO-GO** until intake. ### Still open on this ticket - `#589` REPORT **GO** for 11619, then `UPGRADE611_589_GO=1` whitelist (keep 11611 listed). - Launcher `token_code_id` rotate (crate `UpdateConfig` or new instantiate). - LocalTerra smoke + Coolify rebuild if env pins change. Not closing — whitelist / 589 / rotate / QA remain.
PlasticDigits commented 2026-08-24 04:21:12 +00:00 (Migrated from gitlab.com)

LCD verified 2026-08-24:

  • AddWhitelistedCodeId 11619 tx B659D914CEAA045F05B5371F90669B79E34E7AE414537C6B4A8A58286BC640CF height 30085794, code 0, signer DEX 2-of-3 terra1zlmv2…hep7
  • GetWhitelistedCodeIds = [6036, 8266, 10184, 11611, 11619]
  • IsCodeIdWhitelisted 11619 = true
  • Pin still 63CB21D1…BAFA20. Token/AutoLP instances still 0 — no CMM migrate / no Refresh
  • Canonical launcher terra126pr5…ahzwze is 11620; GetConfig still token_code_id=11611 / autolp_code_id=11613

11620 has no UpdateConfig. Crate change in this follow-up adds wasm-admin UpdateConfig (token id must be factory-listed). After make build-optimized on pop-os:

UPGRADE611_STORE_LAUNCHER_ONLY=1 \
  UPGRADE611_SKIP_WHITELIST=1 \
  UPGRADE611_UPDATE_CONFIG=1 \
  UPGRADE611_TOKEN_CODE_ID=11619 \
  UPGRADE611_AUTOLP_CODE_ID=11621 \
  ./scripts/upgrade-611-community-tax.sh

Do not whitelist the new launcher store. Keep 11611 listed. Leave COMMUNITY_TAX_OPTION2_CODE_IDS unset until instances run 11619. Leave this issue open until that rotate lands.

LCD verified 2026-08-24: - `AddWhitelistedCodeId 11619` tx `B659D914CEAA045F05B5371F90669B79E34E7AE414537C6B4A8A58286BC640CF` height **30085794**, code 0, signer DEX 2-of-3 `terra1zlmv2…hep7` - `GetWhitelistedCodeIds` = `[6036, 8266, 10184, 11611, 11619]` - `IsCodeIdWhitelisted 11619` = true - Pin still `63CB21D1…BAFA20`. Token/AutoLP instances still **0** — no CMM migrate / no Refresh - Canonical launcher `terra126pr5…ahzwze` is **11620**; `GetConfig` still `token_code_id=11611` / `autolp_code_id=11613` 11620 has no `UpdateConfig`. Crate change in this follow-up adds wasm-admin `UpdateConfig` (token id must be factory-listed). After `make build-optimized` on pop-os: ```bash UPGRADE611_STORE_LAUNCHER_ONLY=1 \ UPGRADE611_SKIP_WHITELIST=1 \ UPGRADE611_UPDATE_CONFIG=1 \ UPGRADE611_TOKEN_CODE_ID=11619 \ UPGRADE611_AUTOLP_CODE_ID=11621 \ ./scripts/upgrade-611-community-tax.sh ``` Do not whitelist the new launcher store. Keep 11611 listed. Leave `COMMUNITY_TAX_OPTION2_CODE_IDS` unset until instances run 11619. Leave this issue open until that rotate lands.
PlasticDigits commented 2026-08-24 04:44:58 +00:00 (Migrated from gitlab.com)

11622 migrate + UpdateConfig — LCD-confirmed 2026-08-24

On-chain leftover from this rotate is done:

Step Result
Store launcher 11622 pin 8E56AE0F…8E90 · store FA30A5B1…2355
Migrate terra126pr5… 11620 → 11622 F2166AB0…AAB2 height 30086055 (DEX 2-of-3)
UpdateConfig token 11619 / autolp 11621 DAC86F27…6ED3 height 30086058
LCD GetConfig token_code_id=11619 autolp_code_id=11621
Factory whitelist [6036, 8266, 10184, 11611, 11619] — 11622 / 11621 / 11620 not listed
Instances 11611 / 11613 / 11619 / 11621 0 — no CMM migrate / no Refresh

Docs: 93b3b729.

Coolify leftover (do not close yet): catalog is single-id. Live indexer still code_id=11611. Flip then rebuild/restart:

VITE_COMMUNITY_TAX_CODE_ID=11619
COMMUNITY_TAX_CODE_ID=11619
COMMUNITY_TAX_OPTION2_CODE_IDS=11619
VITE_COMMUNITY_TOKEN_LAUNCHER=terra126pr5323xkhwas7y03azv48sqr2fy3fxxg0sxu8xhmjdxr8v5tzqahzwze
COMMUNITY_TOKEN_LAUNCHER=terra126pr5323xkhwas7y03azv48sqr2fy3fxxg0sxu8xhmjdxr8v5tzqahzwze

Do not whitelist 11622 / 11621 / 11620 / 11612 / 8654.
Do not RemoveWhitelistedCodeId 11611 until Refresh.

**11622 migrate + UpdateConfig — LCD-confirmed 2026-08-24** On-chain leftover from this rotate is **done**: | Step | Result | |------|--------| | Store launcher | **11622** pin `8E56AE0F…8E90` · store [`FA30A5B1…2355`](https://finder.terraclassic.community/columbus-5/tx/FA30A5B1CD87E4D984123EE17BA05D7CFE6F852D1A93EFAB293AB7CBE0B12355) | | Migrate `terra126pr5…` 11620 → 11622 | [`F2166AB0…AAB2`](https://finder.terraclassic.community/columbus-5/tx/F2166AB0C09B4E7989AB10DC8DCC4D5855B4E3F91C7E4F8C6D5B8F780947AAB2) height **30086055** (DEX 2-of-3) | | `UpdateConfig` token **11619** / autolp **11621** | [`DAC86F27…6ED3`](https://finder.terraclassic.community/columbus-5/tx/DAC86F27B4E95FC83461B733453A9EF1028BC8421F2FE3AE022B0A14DADF6ED3) height **30086058** | | LCD `GetConfig` | `token_code_id=11619` `autolp_code_id=11621` | | Factory whitelist | `[6036, 8266, 10184, 11611, 11619]` — 11622 / 11621 / 11620 **not** listed | | Instances 11611 / 11613 / 11619 / 11621 | **0** — no CMM migrate / no Refresh | Docs: `93b3b729`. **Coolify leftover (do not close yet):** catalog is single-id. Live indexer still `code_id=11611`. Flip then rebuild/restart: ``` VITE_COMMUNITY_TAX_CODE_ID=11619 COMMUNITY_TAX_CODE_ID=11619 COMMUNITY_TAX_OPTION2_CODE_IDS=11619 VITE_COMMUNITY_TOKEN_LAUNCHER=terra126pr5323xkhwas7y03azv48sqr2fy3fxxg0sxu8xhmjdxr8v5tzqahzwze COMMUNITY_TOKEN_LAUNCHER=terra126pr5323xkhwas7y03azv48sqr2fy3fxxg0sxu8xhmjdxr8v5tzqahzwze ``` Do **not** whitelist 11622 / 11621 / 11620 / 11612 / 8654. Do **not** `RemoveWhitelistedCodeId 11611` until Refresh.
PlasticDigits commented 2026-08-24 04:57:56 +00:00 (Migrated from gitlab.com)

Coolify leftover verified — closing #611

Live 2026-08-24 after indexer + frontend redeploy:

Check Result
https://dex.cl8y.com bundle VITE_COMMUNITY_TAX_CODE_ID=11619 + launcher terra126pr5…ahzwze (not unused 11612)
/token/create Create Token form live (not unavailable stub); copy: buy/sell tax on every listed-pair swap
GET indexer.dex.cl8y.com/api/v1/community-tokens { configured: true, code_id: 11619, total: 0 }
On-chain launcher 11622, GetConfig 11619/11621, whitelist [6036, 8266, 10184, 11611, 11619], 0 instances

Store / #589 GO / whitelist / UpdateConfig / Coolify catalog pin are done. CMM migrate N/A (0 instances). Keep 11611 listed until Refresh.

LocalTerra smoke + Enable Feature / option-2 copy stay on #612 / #616. Do not whitelist 11622 / 11621 / 11612 / 8654.

**Coolify leftover verified — closing #611** Live 2026-08-24 after indexer + frontend redeploy: | Check | Result | |-------|--------| | `https://dex.cl8y.com` bundle | `VITE_COMMUNITY_TAX_CODE_ID=11619` + launcher `terra126pr5…ahzwze` (not unused 11612) | | `/token/create` | Create Token form live (not unavailable stub); copy: buy/sell tax on every listed-pair swap | | `GET indexer.dex.cl8y.com/api/v1/community-tokens` | `{ configured: true, code_id: 11619, total: 0 }` | | On-chain | launcher **11622**, `GetConfig` 11619/11621, whitelist `[6036, 8266, 10184, 11611, 11619]`, 0 instances | Store / #589 GO / whitelist / `UpdateConfig` / Coolify catalog pin are done. CMM migrate N/A (0 instances). Keep **11611** listed until Refresh. LocalTerra smoke + Enable Feature / option-2 copy stay on [#612](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/612) / [#616](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/616). Do not whitelist 11622 / 11621 / 11612 / 8654.
PlasticDigits (Migrated from gitlab.com) closed this issue 2026-08-24 04:57:57 +00:00
PlasticDigits commented 2026-08-24 11:45:21 +00:00 (Migrated from gitlab.com)

mentioned in issue #603

mentioned in issue #603
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#611
No description provided.