Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
collect_fee guards with if fee > 0 at lib.rs:669. When fee_rate_bps > 0 but amount*bps/10_000 truncates to 0 (e.g. amount=1, 200 bps), no transfer and no FeeCollectedEvent occur and the full amount is credited. The only zero-fee test sets fee_rate_bps=0, a different branch.
Acceptance criteria
Files to touch
contracts/stream_contract/src/test.rs
contracts/stream_contract/src/lib.rs
Out of scope
- fee_rate_bps == 0 case (already covered)
Why this matters
collect_fee guards with if fee > 0 at lib.rs:669. When fee_rate_bps > 0 but amount*bps/10_000 truncates to 0 (e.g. amount=1, 200 bps), no transfer and no FeeCollectedEvent occur and the full amount is credited. The only zero-fee test sets fee_rate_bps=0, a different branch.
Acceptance criteria
Files to touch
contracts/stream_contract/src/test.rscontracts/stream_contract/src/lib.rsOut of scope