Skip to content

Regenerate WIRE-385 epoch continuation action - #82

Draft
huangminghuang wants to merge 9 commits into
masterfrom
fix/wire-385-epoch-types
Draft

huangminghuang wants to merge 9 commits into
masterfrom
fix/wire-385-epoch-types

Conversation

@huangminghuang

@huangminghuang huangminghuang commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Generate the typed sysio.epoch::finishadv action with its epoch-index and emission-amount arguments from the canonical SYSIO ABI.
  • Add the continuation to the generated contract action interface and action-name registry.

Why

SYSIO publishes operator state after epoch-close mutations through an internal continuation. The SDK declaration must describe that ABI accurately; the declaration grants no new authority, and the contract rejects top-level calls even with epoch-account authorization.

The generated interface adds no recovery policy. WIRE-392 remains required before deployment, with automatic recovery versus controlled halt still undecided.

Validation

  • SDK core compilation and hybrid exports passed.
  • 14 focused serializer tests passed; the actual Tools-resolved SDK encoded finishadv and three bootstrap actions against the current SYSIO ABIs, and rejected an invalid canonical slug.
  • Tools builds against the compiled sibling SDK candidate, allowing integration validation before package approval or publication.
  • Coordinated E2E: 15/15 flows passed. Verified remote checkouts: SYSIO 67fe61c2, Ethereum 3f23632a, Libraries 99c5c14a and Tools d50fc784, with unchanged Solana cbf72188 and CDT a00bd718. Tools installed SDK 1.0.93 directly from the candidate Libraries checkout. Post-remit rotation on both outposts and eligible collateral withdrawal passed; optional flow-swap-epoch-stress is excluded.
  • The known upstream SDK strict-null error (Builtins.ts:89, TS2722) is waived as a prerequisite for this E2E run only; it remains unresolved.

Companion PRs

  • SYSIO #603: produces post-mutation rosters and the canonical continuation ABI; coordinate the consumer update before deploying this producer.
  • Ethereum #198: enforces immediate revocation and usable next-group admission; deploy its matching library and inbound implementation together before the SYSIO producer change.
  • Tools #97: verifies post-termination rotation and eligible collateral withdrawal against the coordinated contract and SDK candidates.

Change-Id: I05cc5959b4bd58dde8df4a33c4686f5b1e6d2a55
Change-Id: Ibd3b5f849a17990d8a68535d3718811527d972c0
Change-Id: I2576caf2bbb68cbbc30040dbe93e4c94a7a8a11a
@huangminghuang huangminghuang changed the title Regenerate WIRE-385 epoch contract types Regenerate WIRE-385 epoch and OPREG contract types Sep 15, 2026
@huangminghuang
huangminghuang marked this pull request as draft September 22, 2026 16:30
…types

Change-Id: Idc3446e9d5628da9a784cdc9dc27235fb12b7363
Change-Id: I7806ee3ba135f036b97c3b528428667c97617b82
Change-Id: Ia85a1e0b81266adfe26b36be711b39ca43253b04
@huangminghuang huangminghuang changed the title Regenerate WIRE-385 epoch and OPREG contract types Regenerate WIRE-385 epoch continuation action Sep 22, 2026
@huangminghuang
huangminghuang marked this pull request as ready for review September 23, 2026 10:37
@huangminghuang
huangminghuang marked this pull request as draft September 24, 2026 15:35
…types

Change-Id: I9e32863e4e8c41c75ce4fcf0484360ad6179e7f3
Change-Id: I4f24c0b025d42e6f88b792c1589d0dbcb00fee97
@huangminghuang
huangminghuang marked this pull request as ready for review September 24, 2026 20:36
@huangminghuang
huangminghuang marked this pull request as draft September 25, 2026 15:22
Change-Id: I379e5028b728c3f25fd8685acaa272d1f3ad8c69

This branch has not been deployed

No deployments
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