ops: harden F6 upgrade-582 retries, pair_code_id, and has_more #1110

Merged
PlasticDigits merged 1 commit from fix/584-upgrade-582-retry-harden into main 2026-08-21 01:23:54 +00:00
PlasticDigits commented 2026-08-21 01:15:46 +00:00 (Migrated from gitlab.com)

Summary

Hardens scripts/upgrade-582-code-id-pin.sh from the production gaps noted on #584 (columbus-5 2026-08-21: mixed 11/14 pair set after publicnode RST, smoke abort pin1=10184/null from a dropped second IsCodeIdWhitelisted, missing UpdateConfig { pair_code_id }).

  • Retry LCD IsCodeIdWhitelisted until a boolean is returned; DRY_RUN now parses the whitelist JSON (unparseable stub refuses pair migrate).
  • UpdateConfig { pair_code_id } after factory 1.9.0 so new CreatePair instantiates pair 1.15.0.
  • Skip pairs already on the target code id (retry-safe after RPC RST).
  • UPGRADE582_REFRESH=1 parses wasm has_more / next_start_after (SDK 0.53 .events and legacy .logs).
  • Docs + skill + launch checklist: columbus-5 F6 RAN 2026-08-21; #581 / 8266 remains BLOCK.

Invariant F6 is unchanged on-chain. No FoT math. Does not close #584 (already executed on columbus-5). No AddWhitelistedCodeId 8266.

Related: #584, #582, #581, #585.

Test plan

  • make verify-issue-584 (17/17 including internal retest)
  • Independent second make verify-issue-584 (17/17)
  • DRY_RUN factory 1.8.0 still exits before PAIR_MIGRATE_BEGIN
  • DRY_RUN unparseable IsCodeIdWhitelisted exits before PAIR_MIGRATE_BEGIN
  • Pagination mock 31 + 61 pairs; refresh-event parser (has_more true/false + missing fails closed)
  • LocalTerra UPGRADE582_LOCAL=1 after make deploy-local (chain was not running on this agent; optional rehearsal)
  • Operators: next F6 wasm upgrade uses this script (factory first, UpdateConfig, LCD retries)
## Summary Hardens [`scripts/upgrade-582-code-id-pin.sh`](scripts/upgrade-582-code-id-pin.sh) from the production gaps noted on [#584](https://gitlab.com/PlasticDigits/cl8y-dex-terraclassic/-/issues/584) (columbus-5 2026-08-21: mixed 11/14 pair set after publicnode RST, smoke abort `pin1=10184/null` from a dropped second `IsCodeIdWhitelisted`, missing `UpdateConfig { pair_code_id }`). - Retry LCD `IsCodeIdWhitelisted` until a boolean is returned; DRY_RUN now parses the whitelist JSON (unparseable stub refuses pair migrate). - `UpdateConfig { pair_code_id }` after factory 1.9.0 so new `CreatePair` instantiates pair 1.15.0. - Skip pairs already on the target code id (retry-safe after RPC RST). - `UPGRADE582_REFRESH=1` parses wasm `has_more` / `next_start_after` (SDK 0.53 `.events` and legacy `.logs`). - Docs + skill + launch checklist: columbus-5 F6 **RAN 2026-08-21**; **#581 / 8266 remains BLOCK**. Invariant **F6** is unchanged on-chain. No FoT math. Does not close #584 (already executed on columbus-5). No `AddWhitelistedCodeId 8266`. Related: #584, #582, #581, #585. ## Test plan - [x] `make verify-issue-584` (17/17 including internal retest) - [x] Independent second `make verify-issue-584` (17/17) - [x] DRY_RUN factory 1.8.0 still exits before `PAIR_MIGRATE_BEGIN` - [x] DRY_RUN unparseable `IsCodeIdWhitelisted` exits before `PAIR_MIGRATE_BEGIN` - [x] Pagination mock 31 + 61 pairs; refresh-event parser (has_more true/false + missing fails closed) - [ ] LocalTerra `UPGRADE582_LOCAL=1` after `make deploy-local` (chain was not running on this agent; optional rehearsal) - [ ] Operators: next F6 wasm upgrade uses this script (factory first, UpdateConfig, LCD retries)
PlasticDigits commented 2026-08-21 01:15:54 +00:00 (Migrated from gitlab.com)

Related to #584 (follow-up hardening; issue already closed after columbus-5 migrate).

Related to #584 (follow-up hardening; issue already closed after columbus-5 migrate).
PlasticDigits commented 2026-08-21 01:23:50 +00:00 (Migrated from gitlab.com)

mentioned in issue #584

mentioned in issue #584
PlasticDigits commented 2026-08-21 01:23:55 +00:00 (Migrated from gitlab.com)

mentioned in commit 86c5c0566b

mentioned in commit 86c5c0566b1fe942afc6f7006cd735bf7ecee9f5
PlasticDigits (Migrated from gitlab.com) merged commit 86c5c0566b into main 2026-08-21 01:23:55 +00:00
PlasticDigits commented 2026-08-21 01:25:11 +00:00 (Migrated from gitlab.com)

mentioned in issue #581

mentioned in issue #581
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!1110
No description provided.