Skip to content

chore(sdk-core): regenerate SysioContractTypes for the underwriter challenge (WIRE-297) - #61

Merged
heifner merged 6 commits into
masterfrom
feat/underwriter-challenge
Aug 13, 2026
Merged

chore(sdk-core): regenerate SysioContractTypes for the underwriter challenge (WIRE-297)#61
heifner merged 6 commits into
masterfrom
feat/underwriter-challenge

Conversation

@heifner

@heifner heifner commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Regenerated SysioContractTypes.ts from the wire-sysio feat/underwriter-challenge ABIs (Wire-Network/wire-sysio#549). ABI deltas are chalg + uwrit only:

  • sysio.chalg gains openuwchal / voteuwchal / chkuwchal / uwchalbond, the uwchals + uwchalvote tables, and three typed enums the generator carries through as first-class TS enums (SysioChalgUnderwriteFaultReason, SysioChalgUwchalBallot, SysioChalgUwchalVerdict).
  • sysio.uwrit gains holdlocks / freelocks / sweeplocks and the REQUIRED lock_entry.challenge_id field.

Merge order: Wire-Network/wire-sysio#549 → this → wire-tools-ts (link to follow).

…allenge (WIRE-297)

wire-sysio feat/underwriter-challenge ABI deltas, chalg + uwrit only:

  * sysio.chalg gains openuwchal / voteuwchal / chkuwchal / uwchalbond, the
    uwchals + uwchalvote tables, and three typed enums the generator carries
    through as first-class TS enums (SysioChalgUnderwriteFaultReason,
    SysioChalgUwchalBallot, SysioChalgUwchalVerdict).
  * sysio.uwrit gains holdlocks / freelocks / sweeplocks and the REQUIRED
    lock_entry.challenge_id field.

Generated by contracts/tools/generate-sysio-contract-types.py from the
committed source-tree ABIs; pnpm build clean.

Change-Id: I48034dc53c4da5399d25399e7e8bf71b6987ceb9
@heifner

heifner commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Downstream companion: Wire-Network/wire-tools-ts#56 (flow-underwriter-slashing — the live-cluster validation, 154/154 steps green). Upstream: Wire-Network/wire-sysio#549. Merge order: sysio → this → tools.

@heifner

heifner commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

✅ e2e gate GREEN — all 14 flows passed

Run 31132787179 (BRANCH_WIRE_SYSIO + BRANCH_WIRE_LIBRARIES_TS + BRANCH_WIRE_TOOLS_TS = feat/underwriter-challenge; wire-ethereum/wire-solana at manifest next pins; Release build; full dynamic flow discovery — the new flow was picked up automatically):

  • ✅ batch-operator-slashing (328s)
  • ✅ batch-operator-termination (858s)
  • ✅ emissions-soak (2099s)
  • ✅ node-owner-nft (420s)
  • ✅ operator-collateral-deposit (693s)
  • ✅ reserve-lifecycle (811s)
  • ✅ swap-from-wire (597s)
  • ✅ swap-non-native-tokens (2115s)
  • ✅ swap-private-reserves (1694s)
  • ✅ swap-to-wire (540s)
  • ✅ swap-variance-revert (359s)
  • ✅ swap-with-underwriting (946s)
  • underwriter-slashing (795s) ← the new WIRE-297 flow
  • ✅ yield-distribution (599s)

@heifner
heifner requested a review from jglanz August 7, 2026 13:14
heifner added 2 commits August 7, 2026 10:48
… pull

The sysio.chalg ABI gained a claimbond action and a bondcredits table when the underwriter-challenge bond payout moved from a push to a claimable balance (wire-sysio #549 review round 2). Regenerated against that build: SysioChalgClaimbondAction, SysioChalgBondCreditType, SysioChalgBondCreditKeyType, and the bondcredits entry in the chalg contract definition. No other contract drifted.
…allenge

Change-Id: I9cf81807108698f3b1497d0308fa7732385cbb2d
…allenge

Change-Id: I29dd0d4036d13293a07bfe880a6ae714006c79ae
…allenge

Change-Id: I05a0f90c9f3b414517fdeb3ba2c5457d4f003335
wire-sysio#549 adds `challenge_id` to `uw_request_t` — the marker `holdlocks`
stamps while an underwriter-fault challenge is OPEN, cleared by `freelocks` and
`sweeplocks`, and the flag `pruneuwreqs` refuses to erase a row on.

The regen against the branch's ABIs picks up exactly that one additive field on
`SysioUwritUwRequestTType`; merging master first (for #60's swap-fee surface)
keeps the diff to the single line.

Unblocks the wire-tools-ts flow reading the marker to assert a challenged uwreq
survives the retention sweep.

Change-Id: I4d9dd8a7332651b0af6d8c4023704eafee24f94e
@heifner
heifner merged commit 7fc088c into master Aug 13, 2026
1 check passed
@heifner
heifner deleted the feat/underwriter-challenge branch August 13, 2026 15:38
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.

2 participants