Add EmergencyPause and TimelockUnpause governance proposals#445
Merged
Add EmergencyPause and TimelockUnpause governance proposals#445
Conversation
30d8c45 to
a1a99c3
Compare
bmwill
approved these changes
Apr 13, 2026
Single proposal type with `pause: bool` field. Pausing requires 51% quorum for fast emergency response; unpausing requires ~67% for broader consensus. Full Rust-side support for proposal type parsing, config re-scrape on execute, display formatting, and garbage collection.
a1a99c3 to
b7cb21a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EmergencyPausegovernance proposal type with a singlepause: boolfieldChanges
Move:
emergency_pause.move— new proposal type with asymmetric thresholds (5100 BPS to pause, 6667 BPS to unpause)pause_proposal_tests.move— tests for pause and unpause lifecycletest_utils.move—create_emergency_pause_proposalhelperRust:
ProposalType::EmergencyPauseenum variant +as_str(),all_labels(), displaymod.rsget_proposal_type_argTest plan
sui move test -p packages/hashi— 73/73 passcargo check -p hashi— compiles cleanprettier-move -c— formatting clean🤖 Generated with Claude Code