Skip to content

Smart Contract Tests: Add coverage for Rate limiting module boundaries #323

Description

@p3ris0n

Category: Blockchain / Smart Contract Development

Objective: Write comprehensive Rust unit tests for Rate limiting module boundaries.

Detailed Description: Increase test coverage in contracts/token/src/test.rs specifically focusing on Rate limiting module boundaries. 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

No one assigned

    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