Skip to content

Commit

Permalink
test: add taproot spend test case for OP_CAT
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBEEFCAF3 committed Jan 14, 2024
1 parent 08dfb61 commit 47ebd6f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/data/tx_valid.json
Original file line number Diff line number Diff line change
Expand Up @@ -516,5 +516,15 @@
[[["1111111111111111111111111111111111111111111111111111111111111111", 0, "0x00 0x14 0x751e76e8199196d454941c45d1b3a323f1433bd6", 5000000]],
"0100000000010111111111111111111111111111111111111111111111111111111111111111110000000000ffffffff0130244c0000000000fd02014cdc1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111175210279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798ac02483045022100c1a4a6581996a7fdfea77d58d537955a5655c1d619b6f3ab6874f28bb2e19708022056402db6fede03caae045a3be616a1a2d0919a475ed4be828dc9ff21f24063aa01210279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179800000000", "NONE"],

["OP_CAT taproot spend"],
["Tapscript is 0xcc06acb181a8e9893c53c92fcfcb56fc004a360964af02cfd15b9f3321385f86 DUP CAT cc06acb181a8e9893c53c92fcfcb56fc004a360964af02cfd15b9f3321385f86cc06acb181a8e9893c53c92fcfcb56fc004a360964af02cfd15b9f3321385f86 EQUAL"],
[[["d9568473c8051714629fa5e1a96f59afc7ccd2d4b24fe5fcb57328a1eee7aee1",
0,
"1 0x20 0x58412f2cbf7f20404243f5948065f78a24641c992f7f5aab571650771fd4088b",
1000]],
"02000000000101e1aee7eea12873b5fce54fb2d4d2ccc7af596fa9e1a59f62141705c8738456d900000000000000000001e80300000000000017a9148728101eea6699d4b84bd6cab948300e44df34cc87026520cc06acb181a8e9893c53c92fcfcb56fc004a360964af02cfd15b9f3321385f86767e40cc06acb181a8e9893c53c92fcfcb56fc004a360964af02cfd15b9f3321385f86cc06acb181a8e9893c53c92fcfcb56fc004a360964af02cfd15b9f3321385f868721c179be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179800000000",
"NONE"],


["Make diffs cleaner by leaving a comment here without comma at the end"]
]

0 comments on commit 47ebd6f

Please sign in to comment.