Skip to content

Zero-fee routing test set (fee_bps = 0, recipient set) #93

Description

@nanaf6203-bit

Problem Statement
The fee logic was reviewed for the fee_bps > 0 cases. The
fee_bps = 0 case (no fee) but fee_recipient is still set — does the
contract skip the fee transfer cleanly? The path is short, partly
covered.

Why it matters
A bug here means users are tipped 100% with fee logic still touching
storage. Risk of confused book-keeping.

Acceptance Criteria

  • Tests for: zero fee no recipient, zero fee with recipient, zero
    fee recipient changed mid-session.
  • No fee_recipient panic for these.

Files/Modules Likely Affected

  • src/test.rs

Difficulty Easy. Estimated Effort XS.

Labels
area:testing, area:fee, priority:medium,
good-first-issue


F. Testing — Coverage / Property


Imported from docs/open-issues-draft.md as draft issue #33 (commit 7becd4b). Original draft-order cross-references in this body have been remapped to current GitHub issue numbers at import time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26area:feeImported from open-issues-draft.mdarea:testingImported from open-issues-draft.mdgood-first-issueImported from open-issues-draft.mdpriority:mediumImported from open-issues-draft.md

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions