Skip to content

Contract Tests: Non-owner migrate is rejected #211

@wheval

Description

@wheval

Contract Tests: Non-owner migrate is rejected

Description:
Owner-only auth for migration path needs dedicated test coverage.

Context:
Unauthorized migrations must be impossible and verifiable.

Requirements:

  • Add test where non-owner calls migrate()
  • Assert unauthorized/typed error
  • Keep positive migration test behavior unchanged

Files to Modify:

  • contracts/account/src/lib.rs

Definition of Done:

  • Implementation is complete for this single task
  • Contract tests updated or added where needed
  • Existing contract tests remain green

Labels: security, Stellar Wave
Estimated Effort: 1 day
Priority: Medium


Questions or need help?** Join our Telegram community

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programcontractsmart contract related worksecurity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions