Closed
Description
One final thing we want to do before we request the final BIP number sis request test vectors for all the relevant sub-BIPs.
I think one way we can automate a lot of this is leverage our existing TDD tests: they're all already induvidual test vectors, so we can add a new -json
flag to output them in a formatted JSON output (written to a file).
This is a master tracking issue to keep track of all the test vectors we'd want to add:
Test Vector Checklist
-
asset TLV encoding
-
addr encoding
-
proof file encoding
-
VPSBT encoding
-
positive + negative tests for VM validation
-
positive + negative tests for proof validation
-
MS-SMT tree tests
- creation from canned leaf (hash check to match)
- overflow detection
- proof compression + decompression
- inclusion proof validation
- exclusion proof validation