Skip to content

Smart Contract Tests: Add coverage for Contract upgrades via multi-sig #325

Description

@p3ris0n

Category: Blockchain / Smart Contract Development

Objective: Write comprehensive Rust unit tests for Contract upgrades via multi-sig.

Detailed Description: Increase test coverage in contracts/token/src/test.rs specifically focusing on Contract upgrades via multi-sig. Ensure we test happy paths, edge cases, and expected failures (#[should_panic]).

Acceptance Criteria:

  • Test must pass locally via cargo test.
  • Verify test actually fails when contract logic is intentionally broken (mutation testing).

Technical Requirements: Rust, Soroban SDK

Deliverables:

  • New test functions in the test modules

Testing Requirements:

  • Run cargo test --package bc-forge-token to verify.

Estimated Difficulty: Intermediate

Points: 200

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions