Repository navigation
feat: emergency pause, upgrade paths, property tests, and threat model (#211–#214) - #509
Open
princessoladele wants to merge 1 commit into
Open
princessoladele wants to merge 1 commit into
princessoladele wants to merge 1 commit into
Conversation
…l for backstop/bounty/grants - Add emergency pause / circuit-breaker guard to backstop, bounty, and grants contracts (closes Refract-Protocol#211) - Add contract-upgrade and state-migration scaffolding for all four new contracts (closes Refract-Protocol#212) - Add property-based and fuzz tests for accounting invariants across backstop, bounty, and grants (closes Refract-Protocol#213) - Extend GRIEFING_ANALYSIS.md and SECURITY.md threat-model coverage for the four new contracts (closes Refract-Protocol#214)
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
This PR addresses four issues covering hardening and documentation for the backstop, bounty, and grants contracts.
Changes
#211 – Emergency Pause & Circuit Breakers
pausedflag andemergency_pause/resumeadmin entrypoints to backstop, bounty, and grants#212 – Contract Upgrade & State-Migration Paths
upgradeentrypoint (WASM hash + optional migration payload) to all four new contracts#213 – Property-Based & Fuzz Tests for Accounting Invariants
proptest_invariants.rsmodules for backstop, bounty, and grants#214 – Threat Model Extension
GRIEFING_ANALYSIS.mdandSECURITY.mdto cover the four new contracts with attack vectors, mitigations, and residual-risk ratingsCloses
Closes #211
Closes #212
Closes #213
Closes #214