foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
281 stars 140 forks source link

Implement `Arbitrary` trait #2108

Open Arcticae opened 2 months ago

Arcticae commented 2 months ago

Which components does the task require to be changed? (think hard pls)

snforge

Description

Based off the conception in the design doc for fuzzing, we should define the interfaces first and then implement accordingly

This should be a trait, which allows the user to implement the trait on their structure to be fuzzed automatically It should be similar in concept to the rust's arbitrary