brave-browser#60690 Weak unit tests in zcash_blocks_batch_scan_task_unittest.cc
State: open · created · updated · discovered via search:ironwood, search:orchard wallet, search:zcash · matched title:zcash_blocks_batch_scan_task_unittest, body:zcash
tests QA/No release-notes/exclude feature/web3/wallet tests/test-quality tests/missing-coverage
Unit tests in components/brave_wallet/browser/zcash/zcash_blocks_batch_scan_task_unittest.cc would keep passing if the behavior they cover broke. ZCashBlocksBatchScanTest.Scan (medium severity) L336 - Why it's weak: All ZCashBlocksBatchScanTest cases use an empty orchardTree and orchard_commitment_tree_size 0 and never capture the OrchardTreeState handed to the scanner, so the orchard tree size, frontier decoding and the 'Failed to parse tree state' error path are…
Timeline (2 of 6 events)
- 2026-11-03 22:44 Label added
QA/Noby netzenbot - 2026-11-03 22:44 Label added
release-notes/excludeby netzenbot