trident
trident copied to clipboard
Rust-based framework to Fuzz and Integration test Solana programs to help you ship secure code.
### Summary ### Problem Currently, Trident's [`execute_transaction`](https://github.com/Ackee-Blockchain/trident/blob/7228f73f8a5f5a05a3ed01cc85801a6b91d986d1/crates/fuzz/src/trident.rs#L130) method doesn't allow accessing the `Result` value returned by the executing instruction. This limitation is especially troublesome in the context of View instructions,...
### Summary ### Use Case Time-based Solana programs (token streaming, vesting, staking, lockups) fundamentally rely on block timestamps for their core logic. In the `post_transaction` hook, we need to assert...
### Description In Trident 0.11.0, `TransactionHooks::transaction_error_handler()` returns nothing (i.e. `void`) and is invoked after the Fuzzer has already recorded the transaction as "failed". This prevents the test author from marking...
### Description ## Problem Description Trident-generated projects don't work with IDEs (specifically VS Code/Cursor with `rust-analyzer`) out-of-the-box. While compilation and fuzzing work alright, developers lose all IDE features like IntelliSense,...
### Description ### Summary When a workspace contains **multiple Anchor programs** that reuse the **same type/instruction names** but with **different field layouts**, `trident init` appears to **flatten** the IDLs into...
## Description Updated coverage config and rustflags to use default linker instead of lld. ## Related Tickets & Documents - Related Issue # - Closes # - [ ] I...
### Summary I am unable to run Trident in a project that uses Anchor v0.31 ### Basic Example ``` anchor build ``` ### Error Getting this error when running `trident...
https://github.com/Ackee-Blockchain/trident/blob/de2eed33169f32b728f519df8bac1792dc996b38/documentation/docs/basics/faq.md?plain=1#L26 Hi, the docs say the fuzzer is coverage guided but I have not been able to find how coverage of the program under test is gathered. It appears that...