Skip to content

Align bootstrap and flows with Sysio #670 - #116

Merged
valthon merged 6 commits into
masterfrom
fix/sysio-670-consumers
Oct 12, 2026
Merged

valthon merged 6 commits into
masterfrom
fix/sysio-670-consumers

Conversation

@valthon

@valthon valthon commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Companion to wire-sysio #670. Bootstrap and retained flows still invoke retired capital-reward actions, omit the required minimum, and read obsolete reward fields, preventing the harness from matching the current depot contracts.

  • Retire the legacy staking-reward flow, Ethereum mock-emitter tool, and decoder route. Verify raw rendering of removed reward/reserve-creation wire values 60950 and 60958, followed by successful active decoding; Tools has no reserve-creation emitter to remove. Remove bootstrap setkicker and emissions-soak capital-shortfall/claim-window assumptions.
  • Supply min_desyndicate in bootstrap and retained flow configurations. Both shadow pairs use the same 1,000,000-unit gross floor, equivalent to 0.001 SOL at nine decimals: an intentionally arbitrary shared launch minimum, with no per-chain policy.
  • Rebased onto current master (39a4a480, which adds fix: recognize tier-cap node-owner rejection reason #109's tier-cap node-owner rejection fix on top of the native Andon implementation from Tools Fix native Andon permissions in cluster bootstrap #115 and the published no-expiry SDK 1.0.96). Preserve those prerequisites and update phase-order tests and documentation for the retired LIQ configuration phase.

Commits: e8065451 Align launch bootstrap and flows with contracts; e3d76da1 Require published SDK 1.0.97 for the min_desyndicate config.

Validation after rebasing onto 39a4a480: per-commit gate from a clean checkout of each commit (CI's install/build sequence, pnpm run lint, then pnpm run test:ci). Both commits returned RC 0, each with 249/249 Jest suites and 2,651/2,651 tests plus the 7 runner tests and the flow unit checks. No live multi-chain flow was rerun.

Validation used local sibling artifacts: @wireio/sdk-core linked from a wire-libraries-ts checkout at a01a40d (Libraries #102 merged, plus #106's sysio.kicker types, which this PR does not use) and the OPP TypeScript models built from wire-sysio. The registry's latest @wireio/sdk-core is still 1.0.96, so registry-only CI cannot install the ^1.0.97 pin until 1.0.97 is published; coordinate the fresh OPP model release with #670 before relying on published consumer dependencies. Tools #115 is merged; its implementation is now inherited from master.

valthon and others added 2 commits October 10, 2026 18:25
Remove retired reward consumers and capital-action callers, use the shared gross return minimum, and align native Andon permissions and retained flows with the current SDK. Verify raw fallback for removed reward and reserve-creation wire values without blocking active attestation decoding.
@valthon
valthon force-pushed the fix/sysio-670-consumers branch from f258cc5 to e3d76da Compare October 10, 2026 22:44
valthon and others added 4 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
Drop retired OPP carriers from the harness
@valthon
valthon merged commit 47b4cd7 into master Oct 12, 2026
2 checks passed
@valthon
valthon deleted the fix/sysio-670-consumers branch October 12, 2026 18:31
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