ops: columbus-5 pair+tax wasm + indexer walk_index after #1227/#1228/#1230/#1231/#1237 #1246
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic#1246
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
Code for #1227 / #1228 / #1230 / #1231 / #1237 is on
origin/main(PRs #1233, #1235, #1236, #1238, plus #1239 reland #1242/#1244). Live columbus-5 still runs the previous wasm / indexer schema until this ops ticket.Do not fold this into #1232 (pair migrate must backfill
DISCOUNT_REGISTRY/ORACLE_STATE). Do not bump pair cw2 to 1.16.0 here unless #1232 (or another migrate) requires it — listed pairs are still 1.15.0.Scope (one ticket)
Pair wasm — store + migrate listed columbus-5 pairs so they pick up:
UpdateLimitOrderPricejoins equal-price FIFO tail (RELINK_EQUAL_PRICE_SORT_ID).checked_from_ratioskip (no clamp / no panic).belief_price.Follow
docs/runbooks/wasm-admin-migration.mdandscripts/upgrade-582-code-id-pin.sh(factory first ifpair_code_idchanges). Do not whitelist a LocalTerra store id.Community-tax token wasm — store + migrate listed 11611 / 11619 (and current listed tax pin if that is what live instances use) so they pick up:
SendFromdeductsTaxPreview.debit.GetConfig.Keep 11611 listed until Refresh if that is still policy. Do not mix Coolify frontend bake into this ticket beyond recording the new code id.
Indexer — apply
indexer/migrations/20260911120000_resting_orders_walk_index.sqlon the production indexer Postgres and confirmdb_orderbook_simusesORDER BY walk_index. Re-runmake verify-issue-1227with reachable Postgres (the local verify auto-ran indexer becauseindexer/.envexists and timed out).Out of scope: frontend Coolify for #1240 (already on
main; bake when convenient). Woodpecker enablement is a separate CI issue. Do notforce_mergePRs.Acceptance criteria
belief_price→InvalidBeliefPrice.SendFrom+Swapextra-debit; identical AutoLPUpdateSettingsisNoOpSettings(no 50 UST1 kept).walk_indexandresting_book_walk_index_preserves_reprice_fifopasses against that DB.Relevant files
docs/runbooks/wasm-admin-migration.mdscripts/upgrade-582-code-id-pin.shindexer/migrations/20260911120000_resting_orders_walk_index.sqlwalk_indexcolumndocs/runbooks/cw20-code-id-ops.mdOps probe 2026-09-12 (LCD publicnode + indexer.dex.cl8y.com)
Did not store or migrate. OpenBao at
10.10.0.4:8200is unreachable (wg-quick@wg0inactive; NordVPN allowlist already has10.10.0.4/32). Inbox cards for founder steps will be filed oncebao-execworks.Live vs ticket assumptions
config.pair_code_id11639F12E6458…7D8A, hash47E383B8…630427).origin/mainpairCONTRACT_VERSIONis still 1.15.0.[6036, 8266, 10184, 11630]. Launcherterra126pr5…code 11632,token_code_id11630,autolp_code_id11633.terra1x6e64…zysuxzon 11630 / cw2 1.0.0, wasm admin CMMterra16j5u6…3lr2(adopt). Catalogconfigured: true,code_id11630.ensure_from_older_versionrejects same-version and downgrade. Do notMsgMigrateContractcurrentmainpair wasm (1.15.0 string) onto 1.16.0 instances. Need a pair cw2 1.17.0 (not 1.16.0 — already used). Tax ALPHA is 1.0.0 and crate still uses workspace1.0.0— need a tax cw2 bump (e.g. 1.1.0) before CMM migrate. Do not fold #1232 backfill into that bump unless 1232 is ready; live 1.16.0 fleet already ran instantiate/migrate with discount+oracle keys.AC1 LCD smoke (UST1/cUSTC
terra1cepr…cw55f)HybridSimulationbelief_price: "0"200 with the samereturn_amountas omitted belief (189676316). #1230 is not on 11639. Observe{seconds_ago:[0]}200 (healthy reserves; does not prove the overflow skip).AC2 / AC3
AddWhitelistedCodeId+ launcherUpdateConfig+ CMM migrate ALPHA; keep 11630 listed until Refresh. Do not whitelist AutoLP / launcher / 11631 / 8654.sqlx::migrate!()is compile-embedded. Coolify rebuild ofindexer.dex.cl8y.comfrommainapplies20260911120000_resting_orders_walk_index.sql. Restart of an old image is not enough.Founder copy-paste (after cw2 bumps are on
main)Bring up CL8Y WireGuard (sudo password):
Pair (skip factory; already 1.10.0). Only after pair 1.17.0 is in the artifact:
Tax: store from current
main(includes #1228 / #1237), then CMM migrate ALPHA. Usescripts/upgrade-611-community-tax.shdry-run first; do not factory-list AutoLP. Record new code id + tx hashes here.Indexer rebuild: Coolify app for
indexer.dex.cl8y.com, deploy frommain, confirmhttps://indexer.dex.cl8y.com/health.Leaving open. Not folding into #1232.
Inbox cards were not filed this pass: OpenBao 10.10.0.4 is unreachable until wg-quick@wg0 is up. Founder copy-paste is in the previous comment.
Status 2026-09-12 (after #1249)
Done on git
PR #1249 merged to
main(80ec8c52). Real Woodpeckerci/woodpecker/pr/woodpeckersuccess. Neverforce_merge.UPGRADE582_PAIR_VERSIONdefault 1.17.0. Factory stays 1.10.0 / 11629 — useUPGRADE582_SKIP_FACTORY_MIGRATE=1.AC3 indexer (production)
Coolify app CL8Y Dex TerraClassic Indexer (
s14i3w45r5g6ulyu6nsxzm0n) git remote is nowhttps://git.cl8y.com/code/cl8y-dex-terraclassic.git(GitLab push-mirror is still auth-failed). Force rebuildusqstoqhs2g5bmv57lujihhmfinished2026-09-12T05:04:31Zat commit94181508(includeswalk_index).indexer/is unchanged94181508..80ec8c52. Container healthcheck healthy;GET https://indexer.dex.cl8y.com/healthis{"status":"ok"}.sqlx::migrate!()runs at process start.Local
resting_book_walk_index_preserves_reprice_fifowas not re-run against production Postgres (no prod DB URL in this session).LCD still pre-migrate (AC1 / AC2)
Public LCD (
terra-classic-lcd.publicnode.com):terra1zlmv2…ex6hep7terra16j5u6…3lr2Whitelist still
[6036, 8266, 10184, 11630]. UST1/cUSTChybrid_simulationwithbelief_price: "0"is HTTP 200 and the samereturn_amountas omitted — #1230 is not on 11639.cl8ydeploykeyring is locked here. Store is permissionless after unlock; pair migrate signer is the DEX 2-of-3; ALPHA migrate signer is CMM.Tax token store (do not factory-list AutoLP; keep 11630 listed until Refresh):
Then CMM
MsgMigrateContractALPHAterra1x6e64es6yhauhvs3prvpdg2gkqdtfru840wgnhs935x8axr7zxkqzysuxzto the new token code id, launcherUpdateConfigtoken_code_idif that is still policy,AddWhitelistedCodeIdafter #589 GO on the new id.Inbox cards were not filed:
POST /api/v1/agent/taskswith linkcode/cl8y-dex-terraclassicis400(CL8Y_PM_FORGEJO_REPOSdoes not allowlist that repo).Leaving open until AC1/AC2 LCD smoke and store ids / tx hashes are on the child issues.
Verified 2026-09-12 (LCD publicnode + indexer.dex.cl8y.com)
No DEX trading freeze from listing 11666. F6 is pin and live id and whitelist. ALPHA is still 11630, pins still
[10184, 11630], and 11630 stays listed. Adding 11666 does not drift pins. Do not drop 11630 and do not Refresh until ALPHA is migrated.AC1 pair wasm
Listed fleet 11664 / cw2 1.17.0 (
config.pair_code_id=11664, factory still 11629 / 1.10.0).GetPairCount=20. UST1/cUSTCterra1cepr…cw55fHybridSimulationbelief_price:"0"→ LCD code 2Invalid belief_price 0.Observe {seconds_ago:[0]}200. Pair storeDB35943A4925059E770A63C9ADDF35622696088A4DFFC8A91110466034995961. Unused factory store 11665 (5734D409…).AC2 tax wasm (store/whitelist only)
5A45A84AA3A06A2E7CD185230F2D03A52B796B70A9EDA025ABA72B9C3581AE4DA9E199247092B9C6C6996A07B670B34E8B00C736CD197CF2355AA461219333A9AddWhitelistedCodeId11666E7103032857D4CFCFE3571EA8C31F9434EC27C1FCE556353E0CAC46A6894530Btoken_code_id=11666, AutoLP 116338EDF5BF0D4ED6B444EC3A018A9FF52D9E4716870787207DA063096737BA50F1B47F1CF05CF5BE9A88DAAB0A5BFCF77D5E8CAE271CF70B48F31D9A6022669F042Whitelist
[6036, 8266, 10184, 11630, 11666]. 8654 off. ALPHA launch-guards SKU off. Both pairspaused=false,protocol=true. Indexercode_id_frozen=false.GET /api/v1/route/solveUST1→ALPHA quotes the UST1/ALPHA hop.Instance leftover: #1250 + ustr-cmm #43. ALPHA remains 11630 / 1.0.0 until CMM can emit
WasmMsg::Migrate.AC3 indexer
https://indexer.dex.cl8y.com/healthok. Coolify rebuild already appliedwalk_index.