ops: CMM migrate ALPHA 11630→11666 then Refresh pair pins #1250

Closed
opened 2026-09-12 07:07:44 +00:00 by PlasticDigits · 4 comments

Summary

ALPHA terra1x6e64es6yhauhvs3prvpdg2gkqdtfru840wgnhs935x8axr7zxkqzysuxz is still 11630 / cw2 1.0.0. Wasm admin is CMM terra16j5u6ey7a84g40sr3gd94nzg5w5fm45046k9s2347qhfpwm5fr6sem3lr2 (treasury 11564 / 0.2.1). Live CMM ExecuteMsg has no WasmMsg::Migrate, so DEX 2-of-3 cannot MsgMigrateContract ALPHA.

This leftover is the instance half of #1246 AC2 (SendFrom extra-debit / AutoLP NoOpSettings). Store + whitelist already landed:

Step Result
Store tax wasm 11666 tx 5A45A84AA3A06A2E7CD185230F2D03A52B796B70A9EDA025ABA72B9C3581AE4D height 30364814
AddWhitelistedCodeId 11666 A9E199247092B9C6C6996A07B670B34E8B00C736CD197CF2355AA461219333A9
Launcher token_code_id=11666 (keep AutoLP 11633) E7103032857D4CFCFE3571EA8C31F9434EC27C1FCE556353E0CAC46A6894530B
Keep 11630 listed whitelist [6036, 8266, 10184, 11630, 11666]. 8654 stays off

Do not (trading)

Do not RemoveWhitelistedCodeId 11630. That would F6-freeze both ALPHA pairs (pins still [10184, 11630], live ALPHA still 11630).

Do not RefreshPairAssetCodeIds until live ALPHA code_id is 11666. Refresh now would re-pin 11630 (no-op). Refresh after migrate is required so write paths stay live == pin.

LCD 2026-09-12: both factory ALPHA pairs unpaused, is_protocol_exempt.protocol=true, indexer code_id_frozen=false, GET /route/solve UST1→ALPHA returns the UST1/ALPHA hop. Launch-guards SKU off.

Scope

  1. ustr-cmm — treasury ExecuteMsg that emits WasmMsg::Migrate { contract, new_code_id, msg: {} } (governance = DEX 2-of-3). Sister ticket on code/ustr-cmm.
  2. CMM execute migrate ALPHA → 11666 (MigrateMsg {}).
  3. Then:
UPGRADE1246_SKIP_STORE=1 UPGRADE1246_TOKEN_CODE_ID=11666 \
  UPGRADE1246_WHITELIST=1 UPGRADE1246_REFRESH=1 \
  ./scripts/upgrade-1246-alpha.sh
  1. LCD smoke: ALPHA code_id=11666 / cw2 1.1.0; pins include 11666; listed+unpaused; optional RemoveWhitelistedCodeId 11630 only after both pins moved.

Parent: #1246. Script: scripts/upgrade-1246-alpha.sh.

## Summary ALPHA `terra1x6e64es6yhauhvs3prvpdg2gkqdtfru840wgnhs935x8axr7zxkqzysuxz` is still **11630 / cw2 1.0.0**. Wasm admin is CMM `terra16j5u6ey7a84g40sr3gd94nzg5w5fm45046k9s2347qhfpwm5fr6sem3lr2` (treasury **11564 / 0.2.1**). Live CMM `ExecuteMsg` has **no** `WasmMsg::Migrate`, so DEX 2-of-3 cannot `MsgMigrateContract` ALPHA. This leftover is the **instance** half of #1246 AC2 (`SendFrom` extra-debit / AutoLP `NoOpSettings`). Store + whitelist already landed: | Step | Result | | --- | --- | | Store tax wasm | **11666** tx `5A45A84AA3A06A2E7CD185230F2D03A52B796B70A9EDA025ABA72B9C3581AE4D` height 30364814 | | `AddWhitelistedCodeId 11666` | `A9E199247092B9C6C6996A07B670B34E8B00C736CD197CF2355AA461219333A9` | | Launcher `token_code_id=11666` (keep AutoLP **11633**) | `E7103032857D4CFCFE3571EA8C31F9434EC27C1FCE556353E0CAC46A6894530B` | | Keep **11630** listed | whitelist `[6036, 8266, 10184, 11630, 11666]`. **8654** stays off | ## Do not (trading) Do **not** `RemoveWhitelistedCodeId 11630`. That would F6-freeze both ALPHA pairs (pins still `[10184, 11630]`, live ALPHA still 11630). Do **not** `RefreshPairAssetCodeIds` until live ALPHA `code_id` is **11666**. Refresh now would re-pin 11630 (no-op). Refresh after migrate is required so write paths stay `live == pin`. LCD 2026-09-12: both factory ALPHA pairs **unpaused**, `is_protocol_exempt.protocol=true`, indexer `code_id_frozen=false`, `GET /route/solve` UST1→ALPHA returns the UST1/ALPHA hop. Launch-guards SKU off. ## Scope 1. **ustr-cmm** — treasury `ExecuteMsg` that emits `WasmMsg::Migrate { contract, new_code_id, msg: {} }` (governance = DEX 2-of-3). Sister ticket on `code/ustr-cmm`. 2. CMM execute migrate ALPHA → **11666** (`MigrateMsg {}`). 3. Then: ``` UPGRADE1246_SKIP_STORE=1 UPGRADE1246_TOKEN_CODE_ID=11666 \ UPGRADE1246_WHITELIST=1 UPGRADE1246_REFRESH=1 \ ./scripts/upgrade-1246-alpha.sh ``` 4. LCD smoke: ALPHA `code_id=11666` / cw2 1.1.0; pins include 11666; listed+unpaused; optional `RemoveWhitelistedCodeId 11630` only after both pins moved. Parent: [#1246](https://git.cl8y.com/code/cl8y-dex-terraclassic/issues/1246). Script: [`scripts/upgrade-1246-alpha.sh`](https://git.cl8y.com/code/cl8y-dex-terraclassic/src/branch/main/scripts/upgrade-1246-alpha.sh).
Author
Owner

Cross-link: ustr-cmm #43 is the treasury execute. After that lands and ALPHA is 11666, run Refresh via upgrade-1246-alpha.sh with UPGRADE1246_REFRESH=1. Parent #1246.

Cross-link: ustr-cmm [#43](https://git.cl8y.com/code/ustr-cmm/issues/43) is the treasury execute. After that lands and ALPHA is 11666, run Refresh via `upgrade-1246-alpha.sh` with `UPGRADE1246_REFRESH=1`. Parent [#1246](https://git.cl8y.com/code/cl8y-dex-terraclassic/issues/1246).
Author
Owner

ustr-cmm #43 code is on origin/master via ustr-cmm#44 (treasury 0.2.2, merge 3327390). Live CMM is still 11564 / 0.2.1 until founder store+migrate+execute.

Do not Refresh until ALPHA LCD code_id is 11666. Keep 11630 listed. DEX Refresh script is in cl8y-dex-terraclassic#1251.

ustr-cmm #43 code is on origin/master via [ustr-cmm#44](https://git.cl8y.com/code/ustr-cmm/pulls/44) (treasury **0.2.2**, merge `3327390`). Live CMM is still **11564 / 0.2.1** until founder store+migrate+execute. Do not Refresh until ALPHA LCD `code_id` is **11666**. Keep **11630** listed. DEX Refresh script is in [cl8y-dex-terraclassic#1251](https://git.cl8y.com/code/cl8y-dex-terraclassic/pulls/1251).
Author
Owner

Refresh script is on origin/main via #1251 (f7ab39f6). CMM MigrateOwnedContract is on ustr-cmm origin/master via #44.

Do not Refresh until ALPHA LCD code_id is 11666. Keep 11630 listed.

After CMM store + 2-of-3 migrate CMM to treasury 0.2.2 and execute ALPHA → 11666:

cd /home/answorld/repos/cl8y-dex-terraclassic
UPGRADE1246_SKIP_STORE=1 UPGRADE1246_TOKEN_CODE_ID=11666 \
  UPGRADE1246_WHITELIST=1 UPGRADE1246_REFRESH=1 \
  ./scripts/upgrade-1246-alpha.sh
Refresh script is on `origin/main` via [#1251](https://git.cl8y.com/code/cl8y-dex-terraclassic/pulls/1251) (`f7ab39f6`). CMM `MigrateOwnedContract` is on ustr-cmm `origin/master` via [#44](https://git.cl8y.com/code/ustr-cmm/pulls/44). Do **not** Refresh until ALPHA LCD `code_id` is **11666**. Keep **11630** listed. After CMM store + 2-of-3 migrate CMM to treasury 0.2.2 and execute ALPHA → 11666: ```bash cd /home/answorld/repos/cl8y-dex-terraclassic UPGRADE1246_SKIP_STORE=1 UPGRADE1246_TOKEN_CODE_ID=11666 \ UPGRADE1246_WHITELIST=1 UPGRADE1246_REFRESH=1 \ ./scripts/upgrade-1246-alpha.sh ```
Author
Owner

LCD 2026-09-12 verified. ALPHA instance rotate is done. Trading not frozen.

Step Result
Store treasury 0.2.2 11667 1E6142A2928C44D7476FB7431D9AFABF8C7871619BAF52B9F91CA8AD9C832AC8 h 30366968 hash C91720E6…
2-of-3 migrate CMM CAA4880C8676A5625738EFDB050615A8DD64A1A45ABDC0A65C8A2571AC26989A h 30366970 — LCD CMM 11667 / cw2 crates.io:treasury 0.2.2, admin still DEX 2-of-3
2-of-3 migrate_owned_contract ALPHA 42B1015248DAF74BC6A746786803CFB00660B4270DBF23AFA939945032D12047 h 30366971 — LCD ALPHA 11666 / cl8y-community-tax-token 1.1.0, admin still CMM
Refresh CL8Y/ALPHA BB414E5210B001FE94D675F140DD3B5DD2B73081601651665635CA057BE84E76 h 30366973 pins [10184, 11666]
Refresh UST1/ALPHA 06D47EBF35436117E1E7C0578D5EF98503FE15BE0A724DF561E037D78880036B h 30366975 pins [10184, 11666]

Both pairs unpaused, is_protocol_exempt.protocol=true, indexer code_id_frozen=false. Whitelist [6036, 8266, 10184, 11630, 11666] — 8654 off. Keep 11630 listed (optional later remove; not required now that live == pin 11666). GET /api/v1/route/solve UST1→ALPHA uses terra1rmdtck…sehn5u6, fidelity_check=passed. Pair HybridSimulation belief_price:"0" → Invalid belief_price 0 (AC1). Launch-guards SKU off.

Do not wasm migrate ALPHA. Tax 1.1.0 rejects adopt.

LCD 2026-09-12 verified. ALPHA instance rotate is done. Trading not frozen. | Step | Result | | --- | --- | | Store treasury 0.2.2 | **11667** `1E6142A2928C44D7476FB7431D9AFABF8C7871619BAF52B9F91CA8AD9C832AC8` h 30366968 hash `C91720E6…` | | 2-of-3 migrate CMM | `CAA4880C8676A5625738EFDB050615A8DD64A1A45ABDC0A65C8A2571AC26989A` h 30366970 — LCD CMM **11667** / cw2 `crates.io:treasury` **0.2.2**, admin still DEX 2-of-3 | | 2-of-3 `migrate_owned_contract` ALPHA | `42B1015248DAF74BC6A746786803CFB00660B4270DBF23AFA939945032D12047` h 30366971 — LCD ALPHA **11666** / `cl8y-community-tax-token` **1.1.0**, admin still CMM | | Refresh CL8Y/ALPHA | `BB414E5210B001FE94D675F140DD3B5DD2B73081601651665635CA057BE84E76` h 30366973 pins `[10184, 11666]` | | Refresh UST1/ALPHA | `06D47EBF35436117E1E7C0578D5EF98503FE15BE0A724DF561E037D78880036B` h 30366975 pins `[10184, 11666]` | Both pairs unpaused, `is_protocol_exempt.protocol=true`, indexer `code_id_frozen=false`. Whitelist `[6036, 8266, 10184, 11630, 11666]` — **8654** off. Keep **11630** listed (optional later remove; not required now that live == pin 11666). `GET /api/v1/route/solve` UST1→ALPHA uses `terra1rmdtck…sehn5u6`, `fidelity_check=passed`. Pair `HybridSimulation` `belief_price:"0"` → `Invalid belief_price 0` (AC1). Launch-guards SKU off. Do not `wasm migrate` ALPHA. Tax 1.1.0 rejects `adopt`.
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#1250
No description provided.