Skip to content

feat(v1): add admin rotation - #145

Open
dimin4241-svg wants to merge 1 commit into
drydocs:mainfrom
dimin4241-svg:feat/issue-128-admin-rotation
Open

feat(v1): add admin rotation#145
dimin4241-svg wants to merge 1 commit into
drydocs:mainfrom
dimin4241-svg:feat/issue-128-admin-rotation

Conversation

@dimin4241-svg

@dimin4241-svg dimin4241-svg commented Sep 1, 2026

Copy link
Copy Markdown

Summary

Adds a direct, current-admin-authorized set_admin entrypoint for Tholos v1. Rotation takes effect immediately, emits AdminUpdated, and keeps the instance TTL alive. The public contract docs and generated TypeScript client are updated; bond and resolver economics are unchanged.

Closes #128

Test plan

  • cargo fmt --check, cargo clippy --workspace --all-targets -- -D warnings, and cargo test pass locally (make check)
  • CONTRACT.md updated for the new public function and event
  • scripts/testnet-smoke.sh passed against a fresh testnet deployment built from this branch
  • Manually rotated the fresh deployment, confirmed the old admin was rejected by set_paused, and confirmed the new admin was accepted
  • Regenerated and built packages/tholos-sdk

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.

[Feature] No admin rotation/recovery path in tholos v1

1 participant