Skip to content

emergencyPause does not prevent pending withdrawals from being processed after the pause is triggered #518

Description

@Chuks-coderr

Description

After the admin triggers the contract-wide emergency pause, the withdraw entry point continues to process and transfer funds for streams that were mid-withdrawal. The emergency flag is checked at the start of other entry points but the withdraw path reads it after the balance calculation, creating a window where funds are transferred despite the pause being active.

Acceptance Criteria

  • Feature is fully implemented
  • Tests pass
  • Lint/type checks pass
  • PR references this issue number

Notes

⚠️ Do not begin coding until you have been assigned by the maintainer.
Branch as feat/518-fix-emergency-pause-withdraw where N is this issue number.

Activity

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

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingcomplexity: highComplex feature, refactor, or new integration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions