feat(treasury): governance WasmMsg::Migrate for CMM-admin CW20s #43
Labels
No labels
bug
docs
documentation
duplicate
enhancement
frontend
good first issue
help wanted
invalid
missing-implementation
priority
medium
product
QA
question
testing
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/ustr-cmm#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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
DEX columbus-5 ALPHA (
terra1x6e64es6yhauhvs3prvpdg2gkqdtfru840wgnhs935x8axr7zxkqzysuxz) wasm admin is this CMM treasury instance (terra16j5u6ey7a84g40sr3gd94nzg5w5fm45046k9s2347qhfpwm5fr6sem3lr2, code 11564, cw2crates.io:treasury0.2.1). DEX stored tax wasm 11666 and listed it, but cannotMsgMigrateContractALPHA: 2-of-3 is CMM’s wasm admin, not ALPHA’s.Live treasury
ExecuteMsghas no variant that emitsWasmMsg::Migrate.Scope
Governance-only execute (DEX 2-of-3
terra1zlmv2…ex6hep7) that emits:WasmMsg::Migrate { contract: <cw20>, new_code_id, msg: {} }Empty migrate payload is enough for
cl8y-community-tax-token1.0.0 → 1.1.0.Do not expose this to non-governance. Do not change wrap / InstantWithdraw.
DEX leftover after this lands: Refresh ALPHA pair pins (do not Refresh while ALPHA is still 11630). Tracker:
code/cl8y-dex-terraclassicissue filed from the 1246 close-out.DEX leftover for the Refresh after ALPHA migrate: cl8y-dex-terraclassic#1250. Target code_id 11666. Keep factory whitelist 11630 until Refresh.
Code is on
origin/mastervia #44 (3327390, treasury 0.2.2). CIci/woodpecker/pr/woodpeckersucceeded; merge was a normal merge (notforce_merge).Columbus-5 leftover (founder; this ticket is code-complete):
cd contracts→artifacts/treasury.wasm(notcargo wasm).cl8ydeploy→ treasury code idT.0.2.2, ALPHA11666/1.1.0, then DEX Refresh (cl8y-dex-terraclassic#1250). Keep 11630 listed until Refresh. Tax 1.1.0 rejectsadopt; omitmsgso payload is{}.Code is on origin/master via #44 (
3327390). Live CMM is still 11564 / 0.2.1 until store+migrate.Founder (columbus-5; not run from this comment):
cd /home/answorld/repos/ustr-cmm/contracts— CosmWasm optimizer →artifacts/treasury.wasm(notcargo wasm).cl8ydeploy→ treasury code id T../scripts/multisig-2of3-host-tx.sh wasm migrate terra16j5u6ey7a84g40sr3gd94nzg5w5fm45046k9s2347qhfpwm5fr6sem3lr2 T '{}'code_id=T, cw2crates.io:treasury0.2.2.wasm migrateALPHA):./scripts/multisig-2of3-host-tx.sh wasm execute terra16j5u6ey7a84g40sr3gd94nzg5w5fm45046k9s2347qhfpwm5fr6sem3lr2 '{"migrate_owned_contract":{"contract":"terra1x6e64es6yhauhvs3prvpdg2gkqdtfru840wgnhs935x8axr7zxkqzysuxz","new_code_id":11666}}'upgrade-1246-alpha.sh/ #1250). Keep 11630 listed until Refresh. Tax 1.1.0 rejectsadopt.Code is on
origin/mastervia #44 (3327390, treasury 0.2.2). CIci/woodpecker/pr/woodpeckersucceeded; merge was a normal merge (notforce_merge).Columbus-5 leftover (founder; this ticket is code-complete):
cd contracts→artifacts/treasury.wasm(notcargo wasm).cl8ydeploy→ treasury code idT.0.2.2, ALPHA11666/1.1.0, then DEX Refresh (cl8y-dex-terraclassic#1250). Keep 11630 listed until Refresh. Tax 1.1.0 rejectsadopt; omitmsgso payload is{}.On-chain complete 2026-09-12. Live CMM
terra16j5u6…3lr2is code 11667 / cw2 0.2.2 (store1E6142A2…, 2-of-3 migrateCAA4880C…).MigrateOwnedContractALPHA → 11666 / tax 1.1.0 (42B10152…). DEX Refresh leftover is cl8y-dex-terraclassic#1250 (pins now[10184, 11666]).