bip-138 sync test vectors with the reference implementation

This commit is contained in:
pythcoiner committed 2026-07-15 01:31:30 -04:00
1 parent c1170d4634
commit ca0722ce39
3 files changed
+96 -15

No files matched your search

@@ -69,6 +69,36 @@
"paths": ["m/49'/0'/0'"],
"expected": "0103800000318000000080000000"
},
{
"description": "Common fallback path: m/49'/0'/9'",
"paths": ["m/49'/0'/9'"],
"expected": "0103800000318000000080000009"
},
{
"description": "Common fallback path: m/84'/1'/9'",
"paths": ["m/84'/1'/9'"],
"expected": "0103800000548000000180000009"
},
{
"description": "Common fallback path: m/86'/1'/9'",
"paths": ["m/86'/1'/9'"],
"expected": "0103800000568000000180000009"
},
{
"description": "Fallible fallback path: m/87'/1'/9'",
"paths": ["m/87'/1'/9'"],
"expected": "0103800000578000000180000009"
},
{
"description": "Common fallback path: m/48'/0'/9'/1'",
"paths": ["m/48'/0'/9'/1'"],
"expected": "010480000030800000008000000980000001"
},
{
"description": "Common fallback path: m/48'/1'/9'/2'",
"paths": ["m/48'/1'/9'/2'"],
"expected": "010480000030800000018000000980000002"
},
{
"description": "Single path with 255 children (maximum depth, success)",
"paths": ["m/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"],