Skip to content

Add Test: non-admin cannot call unpause #293

@yahia008

Description

@yahia008

Priority: High
Estimated Time: 15 minutes

Description:
test_admin_pause_blocks_create_match verifies pause works but there is no test confirming that a non-admin address cannot call unpause() to re-enable a paused contract.

Tasks:

  • Admin calls pause()
  • Call unpause() from a non-admin address
  • Assert auth failure (panic or Error::Unauthorized)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programsecuritySecurity-related issuestestingTest coverage issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions