Skip to content

Circuit Breaker with Guardian Quorum #369

Closed

Description

@Mkalbani

Location: contracts/circuit_breaker
Language: Rust (Soroban)
Labels: smart-contract, soroban, security
Estimated Time: 8 hours
Difficulty: Hard

Description

A reusable pause module other contracts can integrate. Pausing requires a quorum of guardians, while unpausing requires a longer delay and admin approval.

Tasks

  • Design guardian set and quorum threshold
  • Implement propose-pause with guardian signatures
  • Implement pause state checked by integrating contracts
  • Add delayed unpause with admin approval
  • Restrict which functions remain callable while paused
  • Write unit and integration tests

Acceptance Criteria

  • Pause requires quorum
  • Paused contracts reject state changes
  • Unpause delay enforced
  • All tests pass

Activity

  1. Ranjeet2063 commented on Nov 17, 2026

    @Ranjeet2063

    Hello maintainers,

    I reviewed the requirements for "Circuit Breaker with Guardian Quorum" and would like to work on this implementation.

    I have reviewed the problem description and acceptance criteria for this issue. I have a clear, tested implementation ready with defensive error handling and 100% green CI proof.

    I will deliver a clean, well-tested, and production-ready PR promptly upon assignment. Kindly assign this issue to me.

    Thank you!

  2. Favouratambi commented on Nov 19, 2026

    @Favouratambi
    Contributor

    @Favouratambi has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hi! I've looked at the issue details and I love this kind of task. I'm confident I can handle it and deliver a well-tested PR on time. I'd be happy if you assign it to me

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Favouratambi to this issue.

  3. Adotse10066 commented on Nov 19, 2026

    @Adotse10066

    @Adotse10066 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hi Maintainer, i would love to work on this issue please

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Adotse10066 to this issue.

  4. Kami-no-san commented on Nov 19, 2026

    @Kami-no-san

    @Kami-no-san has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hi maintainer, I'd love to pick this up!

    Here's my plan for contracts/circuit_breaker:

    Guardian Quorum & Pause State: Design the configurable guardian set and quorum threshold, implement guardian-authorized pause proposals/approvals that trigger the paused state once quorum is met, and expose pause-check helpers for integrating contracts and allowlisted/restricted callable functions.

    Delayed Admin Unpause: Implement a timelocked unpause flow requiring admin authorization and enforcing the unpause delay before restoring normal execution.

    Unit & Integration Tests: Add thorough tests covering quorum enforcement, state-change rejection while paused, unpause delay enforcement, and integration behavior.

    Happy to get started once assigned!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Kami-no-san to this issue.

  5. Samamos1 commented on Nov 19, 2026

    @Samamos1

    @Samamos1 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hello, I’d be interested in contributing to this issue and would appreciate the chance to work on it. Thank you for considering my application.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Samamos1 to this issue.

  6. drips-wave commented on Nov 19, 2026

    @drips-wave

    Congratulations, @Favouratambi! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

    🧑‍💻 @Favouratambi: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  7. grantfox-oss commented on Nov 20, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @Favouratambi's PR #391 was approved and merged by @Mkalbani.

    🏆 @Favouratambi: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (468 total points). Track your full progress on GrantFox.

    👏 Great work, @Favouratambi! Keep contributing to MindFlowInteractive.

  8. drips-wave commented on Nov 20, 2026

    @drips-wave

    This issue has been completed by @Favouratambi as part of the Stellar Wave Program's 11th Wave 🥳

    😎 @Favouratambi: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions