Skip to content

[#453] Harden two-step admin handover - #462

Merged
mikewheeleer merged 1 commit into
StableRoute-Org:mainfrom
Jagadeeshftw:feat/issue-453-admin-timelock
Aug 30, 2026
Merged

[#453] Harden two-step admin handover#462
mikewheeleer merged 1 commit into
StableRoute-Org:mainfrom
Jagadeeshftw:feat/issue-453-admin-timelock

Conversation

@Jagadeeshftw

Copy link
Copy Markdown
Contributor

Summary

  • reject self and current-admin successor proposals to prevent no-op and unrecoverable handovers
  • emit an auditable cancellation event while clearing pending admin and ETA together
  • add focused boundary, replacement, cancellation, and post-transfer tests
  • document the timelock state machine, monitoring, rollback, and operator runbook

Acceptance criteria

  • Propose/accept two-step transfer with ledger-timestamp timelock.
  • Early, wrong-account, boundary, and cancellation paths are covered.
  • Propose/accept/cancel lifecycle is observable through events.

Validation

  • cargo test --lib admin_handover_tests (7 passed)
  • rustfmt --edition 2021
  • git diff --check
  • 501 changed lines

Closes #453

@mikewheeleer
mikewheeleer merged commit 7041f31 into StableRoute-Org:main Aug 30, 2026
2 checks 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.

two-step admin transfer (propose/accept) with timelock

2 participants