mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-20 14:39:22 +00:00
feat(tests): add tests for Taproot descriptors support
This commit is contained in:
parent
ba0879961c
commit
27dcef056f
@ -128,6 +128,42 @@ VECTORS_DESCRIPTORS = ( # coin, account, script_type, descriptors
|
||||
"wpkh([5c9e228d/84'/1'/1']tpubDCZB6sR48s4T6xoXqaYxScvf23kmQvg5QpyFkYnDBjsmviKHLSG9s6cp593Exg87tuMjXXMWDvBRXnJtzppcQf8Z8HdJP1rothfxm4qnPXo/1/*)#qrgjqk5h",
|
||||
),
|
||||
),
|
||||
(
|
||||
"Bitcoin",
|
||||
0,
|
||||
messages.InputScriptType.SPENDTAPROOT,
|
||||
(
|
||||
"tr([5c9e228d/86'/0'/0']xpub6Bw885JisRbcKmowfBvMmCxaFHodKn1VpmRmctmJJoM8D4DzyP4qJv8ZdD9V9r3SSGjmK2KJEDnvLH6f1Q4HrobEvnCeKydNvf1eir3RHZk/0/*)#d8jj22qr",
|
||||
"tr([5c9e228d/86'/0'/0']xpub6Bw885JisRbcKmowfBvMmCxaFHodKn1VpmRmctmJJoM8D4DzyP4qJv8ZdD9V9r3SSGjmK2KJEDnvLH6f1Q4HrobEvnCeKydNvf1eir3RHZk/1/*)#unhnhlsm",
|
||||
),
|
||||
),
|
||||
(
|
||||
"Bitcoin",
|
||||
1,
|
||||
messages.InputScriptType.SPENDTAPROOT,
|
||||
(
|
||||
"tr([5c9e228d/86'/0'/1']xpub6Bw885JisRbcLp1379q64fdNPGTnHKYGcA9wcWqGcUgkKZkYCwXSCb9Qfw8DGDgYMmcDM8QwQGooqCM3Ym4yq8kS5dBjzZSXUdVUdhyfirD/0/*)#dq8u44kn",
|
||||
"tr([5c9e228d/86'/0'/1']xpub6Bw885JisRbcLp1379q64fdNPGTnHKYGcA9wcWqGcUgkKZkYCwXSCb9Qfw8DGDgYMmcDM8QwQGooqCM3Ym4yq8kS5dBjzZSXUdVUdhyfirD/1/*)#u5zagqxt",
|
||||
),
|
||||
),
|
||||
(
|
||||
"Testnet",
|
||||
0,
|
||||
messages.InputScriptType.SPENDTAPROOT,
|
||||
(
|
||||
"tr([5c9e228d/86'/1'/0']tpubDC88gkaZi5HvJGxGDNLADkvtdpni3mLmx6vr2KnXmWMG8zfkBRggsxHVBkUpgcwPe2KKpkyvTJCdXHb1UHEWE64vczyyPQfHr1skBcsRedN/0/*)#4rqwxvej",
|
||||
"tr([5c9e228d/86'/1'/0']tpubDC88gkaZi5HvJGxGDNLADkvtdpni3mLmx6vr2KnXmWMG8zfkBRggsxHVBkUpgcwPe2KKpkyvTJCdXHb1UHEWE64vczyyPQfHr1skBcsRedN/1/*)#yh90mef2",
|
||||
),
|
||||
),
|
||||
(
|
||||
"Testnet",
|
||||
1,
|
||||
messages.InputScriptType.SPENDTAPROOT,
|
||||
(
|
||||
"tr([5c9e228d/86'/1'/1']tpubDC88gkaZi5HvKcrFLNkZwcXx1YyShkmPTkSNoP5MHQnSP9vTrKEYKtoeEkX4oEJmNYSm6Y3fFcNV4xbkDE1uZZBmJe1ircegxgVnBW8j4SL/0/*)#7254x7qg",
|
||||
"tr([5c9e228d/86'/1'/1']tpubDC88gkaZi5HvKcrFLNkZwcXx1YyShkmPTkSNoP5MHQnSP9vTrKEYKtoeEkX4oEJmNYSm6Y3fFcNV4xbkDE1uZZBmJe1ircegxgVnBW8j4SL/1/*)#0735mtss",
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
@ -265,15 +265,19 @@
|
||||
"test_debuglink.py::test_softlock_instability": "9750df55cb4716f1d497d57de57257a0c5188fb652fcdb66a9d436d9c396c62b",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-0-InputScriptType.SPENDADDRESS-descriptors0]": "24290396b20f26b49204a5551676d6f3c831009e30582d92d5b44fcc3c12fdb7",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-0-InputScriptType.SPENDP2SHWITNESS-descriptors4]": "8977c539f5680a5196ad0a4c6e16c44ca1bbdb79235dbf97e33aad8d47fe5d0c",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-0-InputScriptType.SPENDTAPROOT-descriptors12]": "3c31e8f9e396a1313c22480aac32f901086df23d8edf3f808d2f46a0d063034b",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-0-InputScriptType.SPENDWITNESS-descriptors8]": "964aad153606c8eadd80732d62daa0ce55c2da63696cc64ef6c9a9a284e172f5",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-1-InputScriptType.SPENDADDRESS-descriptors1]": "7fe56ce17bad4616d1a77700d4e402a74891fa5091e3ebdb977858db72f7d816",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-1-InputScriptType.SPENDP2SHWITNESS-descriptors5]": "d63a52ed4963bbbe3b8f8e9f069d2832a5f3c97fdd57f8f3a6b718afed971a5b",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-1-InputScriptType.SPENDTAPROOT-descriptors13]": "8485b5ab782053c8053f6a48aca9b835697429684b2d7e83adaafc152df6eb15",
|
||||
"test_descriptors.py::test_descriptors[Bitcoin-1-InputScriptType.SPENDWITNESS-descriptors9]": "7b396acae859fd05e6f0b905436db80274ebba3714f0a8d5d3a155e2e0209e7b",
|
||||
"test_descriptors.py::test_descriptors[Testnet-0-InputScriptType.SPENDADDRESS-descriptors2]": "b8e302f8711b50cc18783c9afa63f4f0969babe658b8317a427f6686d53729df",
|
||||
"test_descriptors.py::test_descriptors[Testnet-0-InputScriptType.SPENDP2SHWITNESS-descriptors6]": "33f8039f1015c24651484374fee2e3f5ae33b1561abe70dd73ab8aeda3c25f86",
|
||||
"test_descriptors.py::test_descriptors[Testnet-0-InputScriptType.SPENDTAPROOT-descriptors14]": "a5c25c73db53b01894851bcbf54fdf72a6cf9f8e0cb56f05ba42f6ab909bb970",
|
||||
"test_descriptors.py::test_descriptors[Testnet-0-InputScriptType.SPENDWITNESS-descriptors10]": "054b75cb4b2310eefdeb7cc48a146ff872bf93c37afd633ea0ac95287b2dfd23",
|
||||
"test_descriptors.py::test_descriptors[Testnet-1-InputScriptType.SPENDADDRESS-descriptors3]": "76e5bcf27e8d233f25b04c2dda11c6f3067433597bb799013f867982f535ba71",
|
||||
"test_descriptors.py::test_descriptors[Testnet-1-InputScriptType.SPENDP2SHWITNESS-descriptors7]": "6261537d1445ce1fb637760f8ec77aae8650ee4f0f5ab919ba1a41f039a02b1f",
|
||||
"test_descriptors.py::test_descriptors[Testnet-1-InputScriptType.SPENDTAPROOT-descriptors15]": "fe4691af27c7221ac650927a4ee64aeb17ba323f746a03763d053a8311f6633b",
|
||||
"test_descriptors.py::test_descriptors[Testnet-1-InputScriptType.SPENDWITNESS-descriptors11]": "3181b25e844eb1047d2904abb1099029c5f5ae4ba4d333be21336d1a745aafe0",
|
||||
"test_msg_applysettings.py-test_apply_homescreen_toif": "7e7fb6223f2113a592c848cd8e57aa22eb002e6472abb5045814f7fe958b2818",
|
||||
"test_msg_applysettings.py-test_apply_homescreen_toif_fail[TOIf\\x80\\x00\\x80\\x00~\\x00\\x00\\x00-fefdb3aa": "d81ff1a197803cfda9180cad05dad5c1912a064da957d036c1311fa3eeef4b70",
|
||||
|
Loading…
Reference in New Issue
Block a user