brave-browser#60696 Weak unit tests in zcash_transaction_unittest.cc
State: open · created · updated · discovered via search:lightwalletd, search:zcash · matched title:zcash_transaction_unittest, body:zcash
tests QA/No release-notes/exclude feature/web3/wallet tests/test-quality tests/weak-assertions tests/missing-coverage
Unit tests in components/brave_wallet/browser/zcash/zcash_transaction_unittest.cc would keep passing if the behavior they cover broke. ZCashTransaction.TxInput_FromRpcUtxo (medium severity) L62 - Why it's weak: TxInput_FromRpcUtxo uses UTXO index 0 (the default) and never checks script_pub_key; since every ZCash test UTXO has index 0, dropping the outpoint index copy in FromRpcUtxo passes all tests. - Change that would still pass: Delete result.utxo_outpoint.index =…
Timeline (2 of 7 events)
- 2026-11-03 22:47 Label added
QA/Noby netzenbot - 2026-11-03 22:47 Label added
release-notes/excludeby netzenbot