Skip to content

[WNS-34] Regenerate WIRE-385 epoch continuation action - #82

Merged
huangminghuang merged 14 commits into
masterfrom
fix/wire-385-epoch-types
Oct 23, 2026
Merged

huangminghuang merged 14 commits into
masterfrom
fix/wire-385-epoch-types

Conversation

@huangminghuang

@huangminghuang huangminghuang commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Declare sysio.epoch::finishadv with its epoch index and emission amount.
  • Register the continuation in the typed action mapping and runtime action list while preserving current upstream declarations.

Why

SYSIO now publishes operator state through a protected continuation after epoch-close mutations. The SDK must describe that ABI accurately. The declaration grants no calling authority: SYSIO rejects direct calls even with epoch-account authorization.

This interface selects no recovery policy. WIRE-392 remains a deployment prerequisite.

Validation

  • The native pre-commit gate passed lint, full compilation and all 1,033 unit tests. The selected SDK strict-null and client checks also passed.
  • The complete generated declaration file matches all 20 merged SYSIO ABIs after repository formatting. Both compiled module formats include finishadv and preserve upstream last_paid_round.
  • Actual Tools consumers resolve the paired source SDK/models; capability and binary round-trip probes passed. npm SDK 1.0.103 lacks these new declarations, so publication remains a separate milestone.
  • Current-head CI: run 39837092448 (passed).
  • Coordinated candidate E2E: run 39837666494 passed all 14 flows, including operator termination and collateral withdrawal. Build reports confirm all four PR heads and Tools consumption of the paired Libraries checkout.

Companion PRs

  • SYSIO #603: owns the continuation ABI; land the producer before releasing these declarations.
  • Ethereum #198: enforces immediate roster revocation and next-epoch majority admission through whole-envelope continuation.
  • Tools #97: exercises rotation and withdrawal using the coordinated candidate. Consumers requiring the new SDK interface need its published release or an explicitly validated candidate.

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
@huangminghuang
huangminghuang marked this pull request as ready for review September 29, 2026 14:14
Change-Id: I4b2b5de093a248d19e18d904b0836cab3e6c8cb0
Change-Id: If24e46afb9db94b775b55ec994ba2cc3c42561de
Change-Id: I48a44e096a3f5c08f0e3f20e4e1bdbd396da0c8c
@huangminghuang
huangminghuang marked this pull request as draft October 16, 2026 19:06
@huangminghuang
huangminghuang marked this pull request as ready for review October 16, 2026 19:07
@huangminghuang huangminghuang changed the title Regenerate WIRE-385 epoch continuation action [WNS-34] Regenerate WIRE-385 epoch continuation action Oct 21, 2026
@huangminghuang
huangminghuang marked this pull request as draft October 21, 2026 19:39
@huangminghuang
huangminghuang marked this pull request as ready for review October 22, 2026 21:30
@huangminghuang
huangminghuang merged commit 3caff9e into master Oct 23, 2026
1 check 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.

2 participants