Skip to content

check_status_count_consistency (unbounded scan) is completely unreachable #779

Description

@dinahmaccodes

Tier: Easy
Description: Unlike its paginated sibling check_status_count_consistency_range (used internally), the public unbounded check_status_count_consistency (consistency.rs:248-251) has zero callers anywhere, including tests.
Files: contracts/shipment/src/consistency.rs:248-251
Tasks:

  • Either wire this function in behind appropriate limits/admin gating, or remove it in favor of the paginated variant
    Acceptance Criteria:
  • No unreachable public consistency-check function remains

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions