Ackee-Blockchain / trident

Rust-based framework to Fuzz and Integration test Solana programs to help you ship secure code.
https://ackee.xyz/
MIT License
185 stars 18 forks source link

Impr/accounts snapshots macro usage #183

Closed lukacan closed 1 month ago

lukacan commented 1 month ago

Currently, it is not possible to use anchor build or trident fuzz add while using the AccountsSnapshots macro. This PR improves this issue as it hides the dependencies and generated code behind the trident-fuzzing feature flag (i.e. anchor build does not activate this flag so it is possible to build the project)