Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡️ Add feature to initialize trident with Macro/File (for Snapshots) option based on preference #179

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

lukacan
Copy link
Collaborator

@lukacan lukacan commented Jul 7, 2024

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.

@lukacan lukacan changed the title ⚡️ Update init and fuzz add command so it support both file and macro… ⚡️ Add feature to initialize trident with Macro/File (for Snapshots) option based on preference Jul 7, 2024
@lukacan lukacan force-pushed the support-macro-from-initialization branch 2 times, most recently from acb6f6b to 0af6b10 Compare July 7, 2024 14:06
… options, update default for init to fuzz with macro
@lukacan lukacan force-pushed the support-macro-from-initialization branch from 0af6b10 to 04f7f37 Compare July 11, 2024 07:23
@lukacan lukacan force-pushed the support-macro-from-initialization branch from 3a82896 to 2a95a3f Compare July 11, 2024 08:36
@lukacan lukacan marked this pull request as ready for review July 11, 2024 08:37
@lukacan lukacan merged commit c05b123 into develop Jul 11, 2024
9 checks passed
@lukacan lukacan deleted the support-macro-from-initialization branch July 11, 2024 19:12
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.

1 participant