Skip to content

Add Fuzz Testing for Bridge Receiver Contract #751

Description

@EDOHWARES

Description

Fuzz testing is crucial for ensuring our smart contracts behave predictably under extreme and randomized conditions. Currently, the Bridge Receiver contract lacks a fuzzing suite.

Steps to Complete

  1. Use a fuzzing library like proptest in Rust.
  2. Add a proptest! block inside the Bridge Receiver test files.
  3. Generate randomized valid and invalid inputs for the core state-changing functions.
  4. Ensure the contract panics gracefully or returns expected errors instead of corrupting state.
  5. Ensure cargo test passes successfully.

Need Help?

If you have any questions or need support from the core team, please join our Telegram group: https://t.me/+GtR4xn4pRJowYWRk

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions