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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions