Skip to content

feat: add cargo-fuzz target for recipient (#911) - #980

Open
adeboladee wants to merge 2 commits into
CalloraOrg:mainfrom
adeboladee:feat/recipient-cargo-fuzz
Open

feat: add cargo-fuzz target for recipient (#911)#980
adeboladee wants to merge 2 commits into
CalloraOrg:mainfrom
adeboladee:feat/recipient-cargo-fuzz

Conversation

@adeboladee

Copy link
Copy Markdown
Contributor

Closes #911. Adds cargo-fuzz target in contracts/recipient/fuzz/targets/main.rs to hammer recipient entrypoints with malformed inputs. Implements require_auth, overflow-safe math, Rustdoc documentation, and comprehensive test coverage verifying cargo test.

- Add recipient registry contract (init, register, update, remove, views)
- Implement require_auth on all state-changing entrypoints
- Overflow-safe math with checked_add/checked_sub
- NatSpec-style rustdoc on every public fn
- 21 unit tests covering happy paths, auth gates, edge cases
- cargo-fuzz target in contracts/recipient/fuzz/targets/main.rs
  hammering 7 operations with malformed inputs and invariant checks
- Closes CalloraOrg#911
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@adeboladee Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add cargo-fuzz target for recipient [b#086]

1 participant