Ackee-Blockchain / trident

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

Feature request - Adding programs to local validator genesis #169

Open meltedblocks opened 2 months ago

meltedblocks commented 2 months ago

Would be great to have an option to add programs to local validator genesis during tests. When trying Trident I stumbled upon a problem with programs that integrate with Metaplex programs. As such are not added to validator genesis by default.

Ideally, Trident should have the option to add programs the same as Anchor does it - example Anchor.toml:

[[test.genesis]]
address = "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
program = "genesis/metaplex_token_metadata_program.so"

Overall, great experience with using this tool so far. Cheers

lukacan commented 1 month ago

Hey @meltedblocks , thanks for the feedback ! Yes, we are preparing this type of feature.