Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transaction-status: Add confidential transfer tests (#3786)
#### Problem The new parsers for the confidential transfer extensions in #3431 don't have any tests, which is dangerous because they involve indexing directly into arrays, which can panic at runtime. #### Summary of changes Add tests for all the instructions involving proofs, which have the more complicated parsing logic. Specifically, it's testing to make sure that nothing panics. These tests actually uncovered a bug that triggered a panic for instructions with just barely enough accounts and also the instructions sysvar. (cherry picked from commit 8730dbb) # Conflicts: # Cargo.toml # transaction-status/src/parse_token/extension/confidential_mint_burn.rs # transaction-status/src/parse_token/extension/confidential_transfer.rs
- Loading branch information