This PR adds functionality such that it is possible to decide during the trident init command if the user wants to fuzz with AccountsSnapshots macro or using accounts_snapshots.rs file.
In case of macro the user needs to include trident-client in his program and derive AccountsSnapshots for every context manually, then he needs to include these derived implementations in the fuzz_instructions.rs.
In case of file it is required to include accounts_snapshots.rs implementation within the fuzz_instructions.rs file.
This PR adds functionality such that it is possible to decide during the
trident init
command if the user wants to fuzz with AccountsSnapshots macro or using accounts_snapshots.rs file.In case of
macro
the user needs to include trident-client in his program and derive AccountsSnapshots for every context manually, then he needs to include these derived implementations in the fuzz_instructions.rs.In case of
file
it is required to include accounts_snapshots.rs implementation within the fuzz_instructions.rs file.