Skip to content

Drop retired OPP carriers from the harness - #121

Merged
valthon merged 3 commits into
fix/sysio-670-consumersfrom
cleanup/retired-opp-carriers
Oct 12, 2026
Merged

valthon merged 3 commits into
fix/sysio-670-consumersfrom
cleanup/retired-opp-carriers

Conversation

@valthon

@valthon valthon commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Follows wire-sysio #674, which removes the retired reserve, swap, underwriting, pretoken, staking, processing-error and challenge OPP carriers and the underwriter outpost roles on the sysio.chains registry. Stacked on #116 (rebased onto its current head, e3d76da).

Changes:

  • RegistrySteps.ts: the regchain placeholder and both setoutpost writes no longer set operator_registry_addr / source_deposit_addr; the Solana comment now says why the row is filled that way (sysio.chains rejects a Solana row that sets opp_inbound_addr).
  • AttestationCodec.ts: remove the retired display decoders (PretokenPurchase, PretokenYield, ReserveBalanceSheet, WireTokenPurchase, SwapRequest, SwapRemit, UnderwriteIntentCommit, SwapRevert, DepositRevert, StakeUpdate, StakeResult, AttestationProcessingError, ChallengeRequest, ChallengeOperatorHash). The codec test now pins that removed raw values (3001, 3002, 3004, 43520, 60928, 60932, 60934, 60945, 60951, 60952, 60955, 60962) render raw beside a decoded entry.
  • oppEnvelopeScan.ts: remove the retired containsSwapRevert scanner; its tests use live attestation types with the same coverage.
  • SyndicationScenario.ts: the intake check waits inside its poll for the decoded SyndicateLIQ as well as the held envelope. The debugging plugin writes the relayed artifact after the depot accepts the envelope, so a single read after the poll could run before it existed; that is how later-intake-held failed with "missing decoded syndication" in an earlier e2e run. readDecodedSyndications is exported, and the artifact-writing test helpers now live in a shared fixture.
  • Fixtures: drop OperatorRegistry / ReserveManager addresses left from the deleted underwriter daemon (nothing reads them; OperatorDaemonTool names only OPP, OPPInbound and BAR).

Unchanged on purpose: native sysio.swap tooling, the Solana OperatorRegistry PDA, operatorRegistryConfig (it configures sysio.opreg), PretokenPurchaseHistory (live liqsol-core account), and every node-owner registration path.

Validation, per commit, in a platform-root worktree linked to sibling sdk-core (wire-libraries-ts #105) and the OPP models each commit pairs with:

Commit OPP models pnpm install && pnpm build && pnpm run lint && pnpm test RC
60d79b6 #674 at 02dfa26a 249 suites, 2660 tests 0
5801a6b #674 at 02dfa26a 249 suites, 2664 tests 0
0b57573 #674 at 4291581446 249 suites, 2666 tests 0

All 12 flows passed locally on these commits before this rebase (head db64dce, on #116's previous head) with the companion heads (wire-sysio 4291581446; Solana before its rebase); the rebase adds #116's SDK 1.0.97 pin underneath and has not been through the flows. Each was run with run-flow.mjs and the heartbeat monitor. Earlier, on the previous heads, the E2E Flow Tests workflow passed all 12 flows ("12 flows, 0 failed") on these exact heads: run 38051256122. wire-sysio 3597cc6f, wire-libraries-ts 53519742, wire-tools-ts 6fb42b7d, wire-ethereum 4c62fc22, wire-solana a5a15e4d, wire-cdt a00bd718.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ARSeK35wwkiAy4et9mCkVm

valthon and others added 3 commits October 10, 2026 18:47
wire-sysio PR #674 removes the retired reserve, swap, underwriting,
pretoken, staking and processing-error OPP carriers, and the underwriter outpost roles on the
sysio.chains registry. The harness still wrote those registry fields,
decoded the removed payloads for display, and scanned for SwapRevert.

Stop writing operator_registry_addr / source_deposit_addr in
RegistrySteps and drop the fixtures that carried OperatorRegistry and
ReserveManager addresses for the deleted underwriter daemon. Remove the
retired display decoders (StakeUpdate, StakeResult and
AttestationProcessingError among them) and the swap-revert scanner; the codec test now
pins that removed wire values still render raw beside decoded entries,
and the envelope-scan tests use live attestation types.

Native sysio.swap tooling, the Solana OperatorRegistry PDA, and the
node-owner and pretoken purchase history surfaces stay: they are live.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ARSeK35wwkiAy4et9mCkVm
The syndication-underwriting flow's later-intake-held step failed in
e2e run 38009710729 with "missing decoded syndication". The step polled
until the depot held the intake envelope, then read the relayed
SyndicateLIQ from the OPP debugging artifacts once. The debugging plugin
writes that artifact after the depot accepts the envelope; in that run
it landed 85 ms after the read.

Read the decoded attestation inside the poll, so the step waits for
both the held row and the persisted artifact before it records the
epoch and bond request. The custody check against the attestation's own
total is unchanged. readDecodedSyndications is exported so the read can
be tested on its own.

Move the artifact-writing test helpers out of the envelope-scan tests
into a shared fixture, and cover the filter, the wait and the custody
refusal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ARSeK35wwkiAy4et9mCkVm
wire-sysio removes CHALLENGE_REQUEST, CHALLENGE_RESPONSE and their
ChallengeRequest / ChallengeOperatorHash payloads: no chain produces
them, and the depot dropped both on dispatch. The OPP display decoder
was their last consumer here.

Remove the two decoders. The codec test now pins that both removed
wire values (60932, 60945) render raw beside a decoded entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ARSeK35wwkiAy4et9mCkVm
@valthon
valthon force-pushed the cleanup/retired-opp-carriers branch from db64dce to 0b57573 Compare October 10, 2026 23:25
@valthon
valthon merged commit 9be0c82 into fix/sysio-670-consumers Oct 12, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant