Skip to content

Commit fc12c6d

Browse files
committed
test(fixtures): drop noncanonical unused taproot prevtx
1 parent 621c3dd commit fc12c6d

3 files changed

Lines changed: 20 additions & 30 deletions

File tree

tests/test_msg_signtx_taproot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626

2727

2828

29-
# Synthetic prev tx paying 100000 sat to the BIP-86 first receiving address of
30-
# the "abandon abandon ... about" mnemonic
31-
# (bc1p5cyxnuxmeuwuvkwfem96lqzszd02n6xdcjrs20cac6yqjjwudpxqkedrcr).
32-
# The fixture lives in tests/txcache and was produced together with the
33-
# expected witness below by an independent Python implementation of
34-
# BIP-340/341, keyed from BIP-86's own published xprv.
29+
# Synthetic outpoint paying 100000 sat to the BIP-86 first receiving address
30+
# of the "abandon abandon ... about" mnemonic. Taproot signing receives the
31+
# amount and derives the prevout script from the path, so it does not request a
32+
# previous-transaction fixture. The outpoint and expected witness below were
33+
# produced together by an independent BIP-340/341 implementation keyed from
34+
# BIP-86's published xprv.
3535
PREV_TXID = "6e32033911982f7550ab1d26232adfd08711293e15085f77cd27628be0a6ee37"
3636
IN_AMOUNT = 100000
3737
OUT_AMOUNT = 90000

tests/txcache/insight_bitcoin_tx_6e32033911982f7550ab1d26232adfd08711293e15085f77cd27628be0a6ee37.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

tests/txcache/manifest.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@
2525
"response_sha256": "b5d98b4b6c1f17c017e6aae385f18aef77de8d162714a7e92918899a18c66305",
2626
"txid": "39a29e954977662ab3879c66fb251ef753e0912223a83d1dcb009111d28265e5"
2727
},
28+
{
29+
"algorithm": "sha256d",
30+
"canonical_hex": "010000000100000000000000000000000000000000000000000000000000000000000000000000000000ffffffff02a086010000000000225120a60869f0dbcf1dc659c9cecbaf8050135ea9e8cdc487053f1dc6880949dc684c50c30000000000001976a914d986ed01b7a22225a70edbf2ba7cfb63a15cb3aa88ac00000000",
31+
"canonical_sha256": "c0a02107b8e7a669e4872f7658e1fb92dbfcf30d14e1bbd1c52293b20332a394",
32+
"network": "insight_bitcoin",
33+
"required_by": [
34+
"test_msg_signtx_taproot.py"
35+
],
36+
"response": "insight_bitcoin_tx_3e1fdf082678a8a2f378995ffc0e4f853942c55c4ddbc2771b348413eeeca9a4.json",
37+
"response_sha256": "8d08e188010976b1625e887f1fdfb528edd1e31d8dbf3c58f2061adb42842a58",
38+
"txid": "3e1fdf082678a8a2f378995ffc0e4f853942c55c4ddbc2771b348413eeeca9a4"
39+
},
2840
{
2941
"algorithm": "sha256d",
3042
"canonical_hex": "01000000017a1ebb08f129fb1cc814b59d63284286d58a7602708ae8be6dd073d8cbc7afbe000000006a47304402204ec6818b86591bbbc2abd5a10d203df49996c4bd5621eb2fa85345bb05458fa602202c9553fb00fc18199af82f4ec8f1055e9aeda6a5bbead1e02303a95a8bc91d31012103f54094da6a0b2e0799286268bb59ca7c83538e81c78e64f6333f40f9e0e222c0ffffffff0222bc0100000000001976a914902c642ba3a22f5c6cfa30a1790c133ddf15cc8888ac50c30000000000001976a914a6450f1945831a81912616691e721b787383f4ed88ac00000000",
@@ -119,7 +131,9 @@
119131
"canonical_sha256": "736027dec37c89ef66e5cba5a45f52977b78aff2bb63eb6e5dbd4ea4fc25eec9",
120132
"network": "insight_bitcoin",
121133
"required_by": [
134+
"test_msg_bitcoin_only_variant.py",
122135
"test_msg_mayachain_signtx.py",
136+
"test_msg_signing_boundaries.py",
123137
"test_msg_signtx.py",
124138
"test_msg_signtx_raw.py",
125139
"test_msg_signtx_xfer.py",

0 commit comments

Comments
 (0)