Add generated test vectors for zip_143, zip_243, zip_244, unified addresses, and ufvks

This commit is contained in:
Kris Nuttycombe 2022-01-12 18:43:06 -07:00
parent db01d4e23b
commit cbb71f6a9a
16 changed files with 1148 additions and 1 deletions

View File

@ -17,7 +17,12 @@ tv_scripts=(
sapling_key_components
sapling_note_encryption
sapling_signatures
sapling_zip32)
sapling_zip32
unified_address
unified_full_viewing_keys
zip_0143
zip_0243
zip_0244)
for generator in "${tv_scripts[@]}"
do

View File

@ -0,0 +1,14 @@
[
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/unified_address.py"],
["p2pkh_bytes, p2sh_bytes, sapling_raw_addr, orchard_raw_addr, unified_addr"],
[null, "7a8f739a2d9e945b0ce152a8049e294c4d6e66b1", null, "dcb1d2a37762148db4cee3bbf19fb1ec05891894b13801c622ba6a90faf1119f8224ae3985c6abd3b7bbae", "753136757437336b36346a757a75366a753077617336717537676437717a30337261777368776e746d3030783937306b326374356d776a3536726478737863383871706e356b76716e35337a63686c6e74786b3834786b6b686e34666a74336466796e6c3576796d64666568306d3978653077383066766d6a6d7078346d65666a74776a3878676e6770687770"],
["b3534201cfb1cd8dbf69b8250c18ef41294ca979", null, "902b6565a1c44e7e7a080571af1dd774697cc126f1fc0435d3cdbf868783e9fb4620df4bf175cbf2c3e36f", "05f61273a7201295332fee4579474534809a0aeb817a2bc0594166ad7a462067712533b6eec0fa2d1be99f", "7531677235333765706b3274786b787a746172377272763435706b706370656c38396e6137326e3867703572653439616c6d7a713438356e3672376133656134306a7132333278373975373765646b6c7a6e73356566383630756e78323371396773777276336d337a78326a7666646166367675703535757a7333347a37617563753830376730796c6b7563767976777635746379386834386b656767706e327238797035636c7036663032343936617973386a6c64386a353875677668653272786372737779726a6b6635726d376d3674777973"],
[null, "e8c7203d996af7d477083756d59af80d06a745f4", null, "4ea7d6b3dfa338192af06cbbf47ad405715bc7832bedb1466217dc0d93314de9f3c25eec89f9a21bfe0e93", "75316e6b35373061616d79347a6d68656c7a366b613033667a79347337663972346b6576666d67636533793536716e6a717a6d687436687937723338746b776474673961346363786533647874346b746a34616a6e396b79346c73366a656a633972676664756e737567756878646d706a303575723664756364776c686a6d39326a786c6a727937746732646b"],
[null, null, "02f1536b622c01346742d8f90e9d4ff39137f1bebe6e23ad9971776b3372702494cc08951eef032b35350f", null, "75313363366d36716e657a72337966753468757630356e687961356372786e35347861786a78376d6b6674393861796e7a336b68636e6176647961306c746a797565717a3577706d306d7a6a357a646c343464323076657a6768753272743861737635636c6133746463"],
[null, "183e31d49f25c9a138f49b1a537edcf04be34a98", "3246b59a5b492dab1855cc176bddfa28418f11f97f7b361cc3e8834b2c30d2a1717df323ef98ea7de71d2e", "ab6d26252c521547049de208283d96278bb221a6874cb5a86af1d3f8b3db3fbee3dbefedcb2c71e3ca1ead", "7531656a706e33676e343039737238333466637771326b683679346a6170663968717273363633786a3074796e787563336467766b786767777575306d646c7938386379633867767433306b76343635763976656d6b7232327771657861737277343976796c34686e616c6c6a64637536327532736134643261357463656872666c7579746a7a32707a6a396d61393863783330636b3271306d6b35306b64366d657670396870796d6d39703772737579387076307061666c666a686c306c707a6e32323833776b68646c6a68716a7a306e63756b"],
[null, null, "970dc3450d34554141d356cb548056279c57708fa73bd16ffe9a2e24ea694898a7b8af1b0ff92585d02623", "0414bb62b86149ee731851f27d532ac0361169da46e6d53d19d3dfd07a5bae22969922d8d0af7dc1e13bae", "75316a6d386d6563326c7372653366666565706d74747334376b3833336d337271653072686d7a6a393778726737376136666c6a7a613336666a687734646363766d396c326e61376c706166756a6661356b617477383979773636687330636135747436666570736a76367030757539737764617672633870786d6c343066773865766b763230766a61386e77786e37366e61306d376e6774326c30797336323537307761756a717374357137797435746e"],
[null, "098b79535e790fe53e29fef2b3766697ac32b4f4", "a8a8797c1ba69f78672affa65b943975026931ea628431f0991e744872ac9f36946f5dcd6851a0b5af29cf", "678ab0079bea28bf165c1ab976a2a58c18a7811ca2ad0ad649e876273d04325da6ca53cdb83c111e8e4394", "7531617673633374613838646863346a353774646570386a6833663273673363756e6670736d36766d636a61613735663066643937667137637030797134636b6d636c3576637778787777333273757375743076346c30393733763573766e3737757430307a617538366e39367967637776797a3279357479796c366e6479723638383236346e7263343273683833326c6c686170686a3933616c30336a6e64363670376e3434707037687138666e6b75796d6b796a353665357039677239786565783430386535326e37353565373863646a6c73"],
[null, null, "3509c9e069e89fe501d97622c283ac98923da2d7e6eb346b4bafa67865e1e6dae7cf213b1ea3648dc09b48", null, "7531357676383834637a356436346e677232717634307835797171677a366a743368657a75396d6b7566323064756a61663871766b736c6e78793738663264707879323470767637797666637a6b6c307761653435613070683664377a37646574336a67347267677866"],
[null, "30d069896cff30eb414f727b89e001afa2fb8dc3", "55bc46aea6f60c1d61915640029b2af6334d7d27e1c47a248ab47c9fbe5d2d7bb5818739f062e37136654c", null, "7531396767387371706568756d676d73787a676a796d6c393336786b3267786d736665356a6537377a6a61613067676e32723330733239343266766b61327563747536396d7074763063323976686a7034686172637530723273366e793730306c797a78716866383335786b716a7873776a6a7771303261646b71796a6b6b3963776a6e377032736864713379"],
[null, null, "5c26a8117729334a957ca7941d47b2ce7040e844fa9882c25bfd2fcf51fa8ab21376f5300d0123f5703e9e", null, "75313976636e33726564706170687834326d6e307379633236793877397766676c657a396175736b61787267686d78383064756e61333663616763337973376d6e336a373639766367387275336b646e61713470683436303438646873766c35646d6473677879653833"]
]

View File

@ -0,0 +1,14 @@
[
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/unified_full_viewing_keys.py"],
["t_key_bytes, sapling_fvk_bytes, orchard_fvk_bytes, unknown_fvk_typecode, unknown_fvk_bytes, unified_fvk"],
[null, "cfb835e7c05c80c2a15a58702bc529a44e1a815ef79124f23709214cf0167ac4e6340b493dca8e4bee114259dc35edc4c296ffd53869885531d1bdb27008bbcd6fec092ad5c4d1f68819f41ae447db96df4a5f110018f47060916ec54884f1cc27a0d4c0bca90984cdf39fb4cc61ceee78ddaa2a45af871f49f04e98b02fb16b", null, 65535, null, "757669657731747878783339707833736a676478796c6d6636666876706e6878667966717376756e3863737330723678717830726b3974767a3076727a74756a74683474716e7534367877657035367279396a643537687972726c36757467657a356a717232716466737a79787265686b64686774757964376d78756e6e6133327732356d396b7771387163687377673476686632796d736b376c6e7637786a3864356b347a7272343370756e746b6d666b396e346a636b66763237677063376e747765726c6c756439307a346c356c71786a68366333356b376135786c6d663563726467677537366c307572657475787333386839"],
["18d9614fc820905d042bb1ef9ca3f24988c7b3534201cfb1cd8dbf69b8250c1802820346fcec8ea1276db2e615b8ced2fe4cf7468c1ef453146195b4d7bc13a4dc", "04da0d94cb0a6397067a81a88ef422e56678e0ba232eb4dd6b05b98bc5e3461cd4a52b366a7df1f3a871854bfe1492711dc5130b35441748caa2742959279ce31e2b3604995d4ccedc4618ad16cdd2c0d42a6d36fb3a0610054cedef30beca20d187f32ce02f8ca357b575e705cda7ef8e1c68b9110381bd3958e0659a084205", null, 65530, null, "75766965773171686334726b616c78373730716e66746d656b3578383770356c74756570336e6d6e6e766a716439736b656139637039333668387264706332736468737876633036636b376e7466746e78703970766564706b67393765356a6377727170726364686a6e3771357774333467656c7561356166636632666b737a33356b7333636c3764703472306330786a6364756a357073336c707435346c7177707036726c676e347278383878376e643034786470326461756a706765676a6a397436666c34326464386c3667683730746b70756a366b3276376e786b686c7568356a736b356c3461746d35726577646771646d796e326568763232766e73353665656468756167787171736d356833303764326a767832396466787530396a3433666a687a646637707664373277706e356e666d74767a7376726e75387079796166713478376e716467636372726d656675713664667a3535753078367a6e"],
["25946f62c2fa7b2fecbcb64b6968912a6381ce3dc166d56a1d62f5a8d7551db503062caf06c89638774b698aaafc8c834fb2696f70c3cdc70f4528f4ddae53f9e1", "fc02759ff2853b5e9e15842bef22c76023d43db7c265f120ed175713195f1240f63aee02ec23f146e9e25d25605fbae5472cdedc3b4c31c66b76fe9e6e47eeca79d5fb6a84d152820daaf89e99551d068d99cdf9be065007bc25f245ea62631d17b3bc77f62f35bd4205e6f682b1f9e824ecea53e271b80ff6bc79ef68a20ab5", "5aefc74861debd6c707786cd82c4a5d1ea088bba9ce4ea19851af7fabb90cd31055096c89f206607d6542b4f75856cecdcfcf65450a32cba628a1d0cb899ea3e9cc926110769fd9c685c6e087aa2e49b8d7646b04611e19be1da51c4953cf02e", 65532, "1a035587d5fb1a38e01d94903d3c3e0ad3360c1d3710acd20b183e31d49f25c9a138f49b1a537edcf04be34a9851a7af9db6990ed83dd64af3597c04323ea51b0052ad8084a8b9da948d320dadd64f5431e61ddf658d24ae67c22c8d1309131fc00fe7f235734276d38d47f1e191e00c7a1d48af046827591e9733a97fa6b679f3dc601d008285edcbdae69ce8fc1be4aac00ff2711ebd931de518856878f73476", "7576696577316436307463727173657a32757570773473303679667278717534716b30746d37716b6768336c36766d6b6d717676706567386777367478726b736a3265366d7175636a3776396a3274796a71726a72656d666535736d6e797877303035663570617164617474397073783270746d686b71797563726538346d7868337636637763703072363470357473346e71726b6678367a377a746c7473773378716b6e646d6c7261326767726a673571613861666e32387779756630346c6637617a636a6d63713771797872703634763072306e786e66306679796e70687a3361757965727473356e306d7137397176383263326a3732796d32616d366b356130767a37616a67676a39367870716b6c7277716a64743632707076796c397578737a7730363532793538776c63346d6a6475323464303775376e733463656567736568307a633633327932646b79376764616b366678363278776c6367307963676d3639616b3078657077333264716d6d357274386b6d6d6a7a78706a36676b687566766b3635773073676d6c346d617a7566773664737377786c34346a6b7535796a72306b33367176686467787072757266766c3370676d7133353832707963303438387677797138767232777966716d376432793277356d636c306138366765357178703832396178613971736776666e3839373032336d70716376347867726861336c366d6a323067783070796c6a753366747264667666706a78666b677273373967397478643237617373777035656a367735376c736467797067776a656a776a6a7867386a63343367676a7765646c7778666664687179717061687576336a367264687361736b6a77753566376d706a3371746467717a397767346468797276326172746c746378753375617633346d303630666d35383739677267637763376372326866346679367239367030347a647a75723766676433367135747268676a66687074383472327a7574756e38747576386d786d666538336e7a756a3572646b78356e78793471663075617274666e376633646a7971796870337a6e34"],
[null, null, "b4da1de64ff7ae804cd823f0d7b9ebd420beadef674b68399c7a31a3ff8b1b1edebd757e754423ddc889be2562618c1bb94921c987e09de96a0e6c591a453f0cc61bf8d4d70bf1825a1210499e2f7cf030be723958d6e939026434aa7aa68039", 65535, null, "75766965773165773575746379656872706c306c38683534793368757366676770796d3435347a727136747539777439797a7139356a6b6c38736a336d6a6879726b353778356a7975767837746666326c677a6a6779707472786a7979346833786336386639686a796d75746e3071306d64396737787872667a3772727a39746132756c736732636b74726464763338306b33767935777768766c7135657866796d366564736d67717467617537327338733461796873367434746d71756130713236"],
[null, null, "e72af55323ac5bc329a0c75bbb72c89ff5467b801d5783b66b39d02f87d03a117765db7fb65b6a4719958328d949adcbbe6b5bf92ad2539b6cc31948f3884a2811d3ae941ba3d218d7463f2b7dc158aa97d91fe06c2595a572c6c015c8647224", 65530, "596555ed9494c6ac893c49723833ec8926c1039586a7afcf4a0d9c731e985d9958", "75766965773174657a306b366a776e703661717a716166366670366a3865366c7771746d637a3868746e333536686b67356e756b373033666173337266777761743333653361616b3039306173616a6c737972756b366d6c7135646a713932776571743339677a37763577783337383873676533343571766a346e6d653335677276336477733466743461797371767132716a7a7a63767965793072776767797677366d79727136723076306370367870387a71386a63653677643664666768667175726435687977377970753379347565726a3737776873383071666c3739366370386a3339766836773561616171386a7638396e63756b67346d3537"],
[null, "1bec3da863b3274f4a93458559355066d32fce9d9cb051b2f42ef0ca425361b71ae8f4a40e143cb905b0471ae24781549de69ceeb582db050392e05c6e794685c225a75133434ad8f7c194576e65c0fe25bd7b1000ad07cf3dc63d6c6b7740ff8358a5cd3634092fc31611df64a2206eab0c5b8bcf056738f00bccbc615ffc87", null, 65533, null, "7576696577316771686c6c39657a68616632786177616a7677326c6e783273786d766b6135636d7677766d3879653065677064356a6e6a7132377574306d777861767a3067676465736d666d6b6a387633647167786d637878736667636a7865737a61797535717761333738743966743436763961386837726d37657466757864686d786661783674766468737161786c6c6a613876677633716133303768747270747674386d666a7270396c72396a6a7435386530393466763967653577327777646d326177797476727038653877703333736e6e726e753432336a6863687a776b386630686c363865616e7375716d6c61336e74"],
[null, "9d7e04ae88417ec87f82f4df18f35785b49ec1910e340d6b42e6248c88e2343691b2f0885065aaead6820bdc9dbc52a01bffad9b09298c7feb3002d9a863890ab681421ab447005e6cd49233d5ec66b92b63c78340f0cc23823f775acb1ef11f0d393f2be9b02bfd366cf1aaa0bb9328b2ad02f9adddef2e9aebed718c0e7006", "c4d6f75acbd5a42b053c2d2db17ed40d90718db0959cabffda2fcfe3dde734086ebfafd77b3ebf3648ee0f4ba5451356b18194bbfdb5fb4c4fe5a1fff11f3e2ef708c094983000425633d46329ffab857376718606fdf81b9224d0a6de700820", 65534, null, "75766965773176706a7a397664797973637579736e6b78756b6b6766757775726e36376b7a337a3776713670646a756a6a6c7670333971657a65343071766577307a397334656b64646634787368756b613635397863676137736b7276387263786667656c6d7a336135307663667276367130706d73373633616133306a386764376863376b726c326a726c7930303378783275677972377733727473666e38737661766b6c70727639766c66716e336335616c6e617164677475726d7677647a6d30686d6361326a636774717270677067343678756a78796d37336b613571673263723675783571646d7a3238366436796532653930736168717065726d686b636a6335646a6734373965786c727165766a767a356b673737767a6b306c6536673034756d787372717178336b70726d676c39656e713232717270397067327271733564327039357565777134327765643865646361756a7533676d6c33706666676e356868703936656e307563613834376463326c743261667933656437617777343964656575707a6767676468346566"],
[null, "625a20b874aef2dc146f22ad48c8f4516b32fbd4af3cfc94f6a995793114366a2d888601a6fa9d1293ba725f1ca94da2dddf92e7b6272069fe9599d540712e2f88ca41c967de424819a382a1d7f59e4d1e7452ee22a52884f52b0c71dd1eda58923e035e1adcb42846e5c3e29569e875b9d63f3c40b21445547d0a789a1c4030", "72c77b46af0a4173619e7e850b3e1ccbe137e3e83db05254699975bbd21cc82d28f537bb5c4574881ade4017bef217971791ba31998a37a99fe002c063d83c3cac9da4ed6d9191bfcf8a7e68590f65ec4e3efe827e7e8ea1e2a9b0680097b206", 65534, null, "75766965773134336c7577783479367970336565687763726e306b3479363736336c6c34747737356d703573617461343066357678636d3971753375706e39676365307378307875366a6a6336326b34707038746b7674743864753464396c38656371666e67667765336d6573717972347465666738383336357a3730706b63783067637a78647468356a3671306465383376366d637137366170687572787a333065347a6171326b7679397871716778776e3030647a6e63716538686539667567787968756a6434636d71363230633579736579326c3335326d746834376e35716c66646a3865796a6570797664706e7a326e37786a6863683374676e6463337463793866683564667235747771787a6b706e393238766c7467663036346a6b32796733397435666c716c78357473613538347a7764376774767779386c6736327968677139336c7632726b3474786668397a7833383433616a7265373339786a6878657338733536386167776438616b6339307a666a64393578726a307a6c71683234783970793977396366726b797579"],
[null, null, "226a052082409593988363063442bdd5907305bd83a40500233d7581c5058d26f69cc86e427bf98d16458b14b74fff5eb119d5ab0786e7a95356359b72a242354bdc50b58d380db7f9424b9f687098803e69a3b6dbee285dacde54b03e56981f", 65534, null, "757669657731786b706a397072336c373372637534306c796a38767a6e796a796439336d726872763664787570676868367a676d3333366678716d617a7776306e37637277686a3935726d79666b7272717a397a777579787434327477747371723537347a7a7479656a65336e776872336e7573397364716c366b7566687768687a32726a777239746b336d716d7176706173386a7732703230787267337773777170786d6377393067766b363665766b6a7a6d307a6e377a61373371767976733479"],
["12b56da9c382857deecc40a98d5f2935395ee4762dd21afdbb5d47fa9a6dd984039b50a122f26ede2e13ff63b130c90f4c0f951ae8a81ddc1a4c987754f144c536", "068d407022db8e5dd0730882bd54851ca0797a00dff60e358d28a04df20793838ba1618a6871da256cdbf7d8ad2ce81d9ce01df64765bc7c14ac74e7ed60129090fcb061b3e672a742aa0f5db728265947355b6375f3d2226b25129dced2e0991d02f739d2d822df5d41edc122b2330916ba36ca09e80cf07f99be4a45fce8e7", "7ee622df8c71e3da6e509aae7ab0171e275a573b13bf7c2016515bd90c2e8c24524ff7f72de2274b130a87eec6a9b3558d31ef78b022230b2b41aeb553db940b77094cceda509601cad94dfac33cb5fe70938d47b3839a612a7048e912f5ef21", 65534, null, "7576696577313264777a6d7467323475397861787a36746e37763575366d6d73676e6e7765746a3476386d67356d3566306b75636d6b357a3375783878707573376663333468616733616b66753337373772717439747932386d3930356a3974766d6e716a6c6b6c6139653437373979326739767a703778713839397879716e37356d7830676b6b733675356d64736e356c66676461756866667066337874646d7138676c3078783964727773733863723933337774346a753861636e32327035796738656b71786c36706b673637746b7176356a7a6a7a6a757464703461706732336b6c75307a687835386d6c6b786a63616a6c6736616e7534746d34386a6b616d747234336e6b39737a35307678737a633477357732326836783739647371677733777868726e666d70717973686135646c73726e3332353667633066677339706e34726b6766657a353971387067367438667739663563786476616676763938613077707232726373703534706c756b7571376c70617068766c323571666677746b3477377a7a74703466656c733865383339326d66737966666377716e766630756b30727a32346636326d6577676d36736a6b6663337163326878383673706b75737433797664386665656b3276656171766168613975756472636c357475367461366672336a3032676a796875756e76386463686c6668356b"]
]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,141 @@
struct TestVector {
p2pkh_bytes: Option<[u8; 20]>,
p2sh_bytes: Option<[u8; 20]>,
sapling_raw_addr: Option<[u8; 43]>,
orchard_raw_addr: Option<[u8; 43]>,
unified_addr: Vec<u8>,
};
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/unified_address.py
let test_vectors = vec![
TestVector {
p2pkh_bytes: None,
p2sh_bytes: Some([
0x7a, 0x8f, 0x73, 0x9a, 0x2d, 0x9e, 0x94, 0x5b, 0x0c, 0xe1, 0x52, 0xa8, 0x04, 0x9e, 0x29, 0x4c, 0x4d, 0x6e, 0x66, 0xb1
]),
sapling_raw_addr: None,
orchard_raw_addr: Some([
0xdc, 0xb1, 0xd2, 0xa3, 0x77, 0x62, 0x14, 0x8d, 0xb4, 0xce, 0xe3, 0xbb, 0xf1, 0x9f, 0xb1, 0xec, 0x05, 0x89, 0x18, 0x94, 0xb1, 0x38, 0x01, 0xc6, 0x22, 0xba, 0x6a, 0x90, 0xfa, 0xf1, 0x11, 0x9f, 0x82, 0x24, 0xae, 0x39, 0x85, 0xc6, 0xab, 0xd3, 0xb7, 0xbb, 0xae
]),
unified_addr: vec![
0x75, 0x31, 0x36, 0x75, 0x74, 0x37, 0x33, 0x6b, 0x36, 0x34, 0x6a, 0x75, 0x7a, 0x75, 0x36, 0x6a, 0x75, 0x30, 0x77, 0x61, 0x73, 0x36, 0x71, 0x75, 0x37, 0x67, 0x64, 0x37, 0x71, 0x7a, 0x30, 0x33, 0x72, 0x61, 0x77, 0x73, 0x68, 0x77, 0x6e, 0x74, 0x6d, 0x30, 0x30, 0x78, 0x39, 0x37, 0x30, 0x6b, 0x32, 0x63, 0x74, 0x35, 0x6d, 0x77, 0x6a, 0x35, 0x36, 0x72, 0x64, 0x78, 0x73, 0x78, 0x63, 0x38, 0x38, 0x71, 0x70, 0x6e, 0x35, 0x6b, 0x76, 0x71, 0x6e, 0x35, 0x33, 0x7a, 0x63, 0x68, 0x6c, 0x6e, 0x74, 0x78, 0x6b, 0x38, 0x34, 0x78, 0x6b, 0x6b, 0x68, 0x6e, 0x34, 0x66, 0x6a, 0x74, 0x33, 0x64, 0x66, 0x79, 0x6e, 0x6c, 0x35, 0x76, 0x79, 0x6d, 0x64, 0x66, 0x65, 0x68, 0x30, 0x6d, 0x39, 0x78, 0x65, 0x30, 0x77, 0x38, 0x30, 0x66, 0x76, 0x6d, 0x6a, 0x6d, 0x70, 0x78, 0x34, 0x6d, 0x65, 0x66, 0x6a, 0x74, 0x77, 0x6a, 0x38, 0x78, 0x67, 0x6e, 0x67, 0x70, 0x68, 0x77, 0x70
],
},
TestVector {
p2pkh_bytes: Some([
0xb3, 0x53, 0x42, 0x01, 0xcf, 0xb1, 0xcd, 0x8d, 0xbf, 0x69, 0xb8, 0x25, 0x0c, 0x18, 0xef, 0x41, 0x29, 0x4c, 0xa9, 0x79
]),
p2sh_bytes: None,
sapling_raw_addr: Some([
0x90, 0x2b, 0x65, 0x65, 0xa1, 0xc4, 0x4e, 0x7e, 0x7a, 0x08, 0x05, 0x71, 0xaf, 0x1d, 0xd7, 0x74, 0x69, 0x7c, 0xc1, 0x26, 0xf1, 0xfc, 0x04, 0x35, 0xd3, 0xcd, 0xbf, 0x86, 0x87, 0x83, 0xe9, 0xfb, 0x46, 0x20, 0xdf, 0x4b, 0xf1, 0x75, 0xcb, 0xf2, 0xc3, 0xe3, 0x6f
]),
orchard_raw_addr: Some([
0x05, 0xf6, 0x12, 0x73, 0xa7, 0x20, 0x12, 0x95, 0x33, 0x2f, 0xee, 0x45, 0x79, 0x47, 0x45, 0x34, 0x80, 0x9a, 0x0a, 0xeb, 0x81, 0x7a, 0x2b, 0xc0, 0x59, 0x41, 0x66, 0xad, 0x7a, 0x46, 0x20, 0x67, 0x71, 0x25, 0x33, 0xb6, 0xee, 0xc0, 0xfa, 0x2d, 0x1b, 0xe9, 0x9f
]),
unified_addr: vec![
0x75, 0x31, 0x67, 0x72, 0x35, 0x33, 0x37, 0x65, 0x70, 0x6b, 0x32, 0x74, 0x78, 0x6b, 0x78, 0x7a, 0x74, 0x61, 0x72, 0x37, 0x72, 0x72, 0x76, 0x34, 0x35, 0x70, 0x6b, 0x70, 0x63, 0x70, 0x65, 0x6c, 0x38, 0x39, 0x6e, 0x61, 0x37, 0x32, 0x6e, 0x38, 0x67, 0x70, 0x35, 0x72, 0x65, 0x34, 0x39, 0x61, 0x6c, 0x6d, 0x7a, 0x71, 0x34, 0x38, 0x35, 0x6e, 0x36, 0x72, 0x37, 0x61, 0x33, 0x65, 0x61, 0x34, 0x30, 0x6a, 0x71, 0x32, 0x33, 0x32, 0x78, 0x37, 0x39, 0x75, 0x37, 0x37, 0x65, 0x64, 0x6b, 0x6c, 0x7a, 0x6e, 0x73, 0x35, 0x65, 0x66, 0x38, 0x36, 0x30, 0x75, 0x6e, 0x78, 0x32, 0x33, 0x71, 0x39, 0x67, 0x73, 0x77, 0x72, 0x76, 0x33, 0x6d, 0x33, 0x7a, 0x78, 0x32, 0x6a, 0x76, 0x66, 0x64, 0x61, 0x66, 0x36, 0x76, 0x75, 0x70, 0x35, 0x35, 0x75, 0x7a, 0x73, 0x33, 0x34, 0x7a, 0x37, 0x61, 0x75, 0x63, 0x75, 0x38, 0x30, 0x37, 0x67, 0x30, 0x79, 0x6c, 0x6b, 0x75, 0x63, 0x76, 0x79, 0x76, 0x77, 0x76, 0x35, 0x74, 0x63, 0x79, 0x38, 0x68, 0x34, 0x38, 0x6b, 0x65, 0x67, 0x67, 0x70, 0x6e, 0x32, 0x72, 0x38, 0x79, 0x70, 0x35, 0x63, 0x6c, 0x70, 0x36, 0x66, 0x30, 0x32, 0x34, 0x39, 0x36, 0x61, 0x79, 0x73, 0x38, 0x6a, 0x6c, 0x64, 0x38, 0x6a, 0x35, 0x38, 0x75, 0x67, 0x76, 0x68, 0x65, 0x32, 0x72, 0x78, 0x63, 0x72, 0x73, 0x77, 0x79, 0x72, 0x6a, 0x6b, 0x66, 0x35, 0x72, 0x6d, 0x37, 0x6d, 0x36, 0x74, 0x77, 0x79, 0x73
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: Some([
0xe8, 0xc7, 0x20, 0x3d, 0x99, 0x6a, 0xf7, 0xd4, 0x77, 0x08, 0x37, 0x56, 0xd5, 0x9a, 0xf8, 0x0d, 0x06, 0xa7, 0x45, 0xf4
]),
sapling_raw_addr: None,
orchard_raw_addr: Some([
0x4e, 0xa7, 0xd6, 0xb3, 0xdf, 0xa3, 0x38, 0x19, 0x2a, 0xf0, 0x6c, 0xbb, 0xf4, 0x7a, 0xd4, 0x05, 0x71, 0x5b, 0xc7, 0x83, 0x2b, 0xed, 0xb1, 0x46, 0x62, 0x17, 0xdc, 0x0d, 0x93, 0x31, 0x4d, 0xe9, 0xf3, 0xc2, 0x5e, 0xec, 0x89, 0xf9, 0xa2, 0x1b, 0xfe, 0x0e, 0x93
]),
unified_addr: vec![
0x75, 0x31, 0x6e, 0x6b, 0x35, 0x37, 0x30, 0x61, 0x61, 0x6d, 0x79, 0x34, 0x7a, 0x6d, 0x68, 0x65, 0x6c, 0x7a, 0x36, 0x6b, 0x61, 0x30, 0x33, 0x66, 0x7a, 0x79, 0x34, 0x73, 0x37, 0x66, 0x39, 0x72, 0x34, 0x6b, 0x65, 0x76, 0x66, 0x6d, 0x67, 0x63, 0x65, 0x33, 0x79, 0x35, 0x36, 0x71, 0x6e, 0x6a, 0x71, 0x7a, 0x6d, 0x68, 0x74, 0x36, 0x68, 0x79, 0x37, 0x72, 0x33, 0x38, 0x74, 0x6b, 0x77, 0x64, 0x74, 0x67, 0x39, 0x61, 0x34, 0x63, 0x63, 0x78, 0x65, 0x33, 0x64, 0x78, 0x74, 0x34, 0x6b, 0x74, 0x6a, 0x34, 0x61, 0x6a, 0x6e, 0x39, 0x6b, 0x79, 0x34, 0x6c, 0x73, 0x36, 0x6a, 0x65, 0x6a, 0x63, 0x39, 0x72, 0x67, 0x66, 0x64, 0x75, 0x6e, 0x73, 0x75, 0x67, 0x75, 0x68, 0x78, 0x64, 0x6d, 0x70, 0x6a, 0x30, 0x35, 0x75, 0x72, 0x36, 0x64, 0x75, 0x63, 0x64, 0x77, 0x6c, 0x68, 0x6a, 0x6d, 0x39, 0x32, 0x6a, 0x78, 0x6c, 0x6a, 0x72, 0x79, 0x37, 0x74, 0x67, 0x32, 0x64, 0x6b
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: None,
sapling_raw_addr: Some([
0x02, 0xf1, 0x53, 0x6b, 0x62, 0x2c, 0x01, 0x34, 0x67, 0x42, 0xd8, 0xf9, 0x0e, 0x9d, 0x4f, 0xf3, 0x91, 0x37, 0xf1, 0xbe, 0xbe, 0x6e, 0x23, 0xad, 0x99, 0x71, 0x77, 0x6b, 0x33, 0x72, 0x70, 0x24, 0x94, 0xcc, 0x08, 0x95, 0x1e, 0xef, 0x03, 0x2b, 0x35, 0x35, 0x0f
]),
orchard_raw_addr: None,
unified_addr: vec![
0x75, 0x31, 0x33, 0x63, 0x36, 0x6d, 0x36, 0x71, 0x6e, 0x65, 0x7a, 0x72, 0x33, 0x79, 0x66, 0x75, 0x34, 0x68, 0x75, 0x76, 0x30, 0x35, 0x6e, 0x68, 0x79, 0x61, 0x35, 0x63, 0x72, 0x78, 0x6e, 0x35, 0x34, 0x78, 0x61, 0x78, 0x6a, 0x78, 0x37, 0x6d, 0x6b, 0x66, 0x74, 0x39, 0x38, 0x61, 0x79, 0x6e, 0x7a, 0x33, 0x6b, 0x68, 0x63, 0x6e, 0x61, 0x76, 0x64, 0x79, 0x61, 0x30, 0x6c, 0x74, 0x6a, 0x79, 0x75, 0x65, 0x71, 0x7a, 0x35, 0x77, 0x70, 0x6d, 0x30, 0x6d, 0x7a, 0x6a, 0x35, 0x7a, 0x64, 0x6c, 0x34, 0x34, 0x64, 0x32, 0x30, 0x76, 0x65, 0x7a, 0x67, 0x68, 0x75, 0x32, 0x72, 0x74, 0x38, 0x61, 0x73, 0x76, 0x35, 0x63, 0x6c, 0x61, 0x33, 0x74, 0x64, 0x63
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: Some([
0x18, 0x3e, 0x31, 0xd4, 0x9f, 0x25, 0xc9, 0xa1, 0x38, 0xf4, 0x9b, 0x1a, 0x53, 0x7e, 0xdc, 0xf0, 0x4b, 0xe3, 0x4a, 0x98
]),
sapling_raw_addr: Some([
0x32, 0x46, 0xb5, 0x9a, 0x5b, 0x49, 0x2d, 0xab, 0x18, 0x55, 0xcc, 0x17, 0x6b, 0xdd, 0xfa, 0x28, 0x41, 0x8f, 0x11, 0xf9, 0x7f, 0x7b, 0x36, 0x1c, 0xc3, 0xe8, 0x83, 0x4b, 0x2c, 0x30, 0xd2, 0xa1, 0x71, 0x7d, 0xf3, 0x23, 0xef, 0x98, 0xea, 0x7d, 0xe7, 0x1d, 0x2e
]),
orchard_raw_addr: Some([
0xab, 0x6d, 0x26, 0x25, 0x2c, 0x52, 0x15, 0x47, 0x04, 0x9d, 0xe2, 0x08, 0x28, 0x3d, 0x96, 0x27, 0x8b, 0xb2, 0x21, 0xa6, 0x87, 0x4c, 0xb5, 0xa8, 0x6a, 0xf1, 0xd3, 0xf8, 0xb3, 0xdb, 0x3f, 0xbe, 0xe3, 0xdb, 0xef, 0xed, 0xcb, 0x2c, 0x71, 0xe3, 0xca, 0x1e, 0xad
]),
unified_addr: vec![
0x75, 0x31, 0x65, 0x6a, 0x70, 0x6e, 0x33, 0x67, 0x6e, 0x34, 0x30, 0x39, 0x73, 0x72, 0x38, 0x33, 0x34, 0x66, 0x63, 0x77, 0x71, 0x32, 0x6b, 0x68, 0x36, 0x79, 0x34, 0x6a, 0x61, 0x70, 0x66, 0x39, 0x68, 0x71, 0x72, 0x73, 0x36, 0x36, 0x33, 0x78, 0x6a, 0x30, 0x74, 0x79, 0x6e, 0x78, 0x75, 0x63, 0x33, 0x64, 0x67, 0x76, 0x6b, 0x78, 0x67, 0x67, 0x77, 0x75, 0x75, 0x30, 0x6d, 0x64, 0x6c, 0x79, 0x38, 0x38, 0x63, 0x79, 0x63, 0x38, 0x67, 0x76, 0x74, 0x33, 0x30, 0x6b, 0x76, 0x34, 0x36, 0x35, 0x76, 0x39, 0x76, 0x65, 0x6d, 0x6b, 0x72, 0x32, 0x32, 0x77, 0x71, 0x65, 0x78, 0x61, 0x73, 0x72, 0x77, 0x34, 0x39, 0x76, 0x79, 0x6c, 0x34, 0x68, 0x6e, 0x61, 0x6c, 0x6c, 0x6a, 0x64, 0x63, 0x75, 0x36, 0x32, 0x75, 0x32, 0x73, 0x61, 0x34, 0x64, 0x32, 0x61, 0x35, 0x74, 0x63, 0x65, 0x68, 0x72, 0x66, 0x6c, 0x75, 0x79, 0x74, 0x6a, 0x7a, 0x32, 0x70, 0x7a, 0x6a, 0x39, 0x6d, 0x61, 0x39, 0x38, 0x63, 0x78, 0x33, 0x30, 0x63, 0x6b, 0x32, 0x71, 0x30, 0x6d, 0x6b, 0x35, 0x30, 0x6b, 0x64, 0x36, 0x6d, 0x65, 0x76, 0x70, 0x39, 0x68, 0x70, 0x79, 0x6d, 0x6d, 0x39, 0x70, 0x37, 0x72, 0x73, 0x75, 0x79, 0x38, 0x70, 0x76, 0x30, 0x70, 0x61, 0x66, 0x6c, 0x66, 0x6a, 0x68, 0x6c, 0x30, 0x6c, 0x70, 0x7a, 0x6e, 0x32, 0x32, 0x38, 0x33, 0x77, 0x6b, 0x68, 0x64, 0x6c, 0x6a, 0x68, 0x71, 0x6a, 0x7a, 0x30, 0x6e, 0x63, 0x75, 0x6b
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: None,
sapling_raw_addr: Some([
0x97, 0x0d, 0xc3, 0x45, 0x0d, 0x34, 0x55, 0x41, 0x41, 0xd3, 0x56, 0xcb, 0x54, 0x80, 0x56, 0x27, 0x9c, 0x57, 0x70, 0x8f, 0xa7, 0x3b, 0xd1, 0x6f, 0xfe, 0x9a, 0x2e, 0x24, 0xea, 0x69, 0x48, 0x98, 0xa7, 0xb8, 0xaf, 0x1b, 0x0f, 0xf9, 0x25, 0x85, 0xd0, 0x26, 0x23
]),
orchard_raw_addr: Some([
0x04, 0x14, 0xbb, 0x62, 0xb8, 0x61, 0x49, 0xee, 0x73, 0x18, 0x51, 0xf2, 0x7d, 0x53, 0x2a, 0xc0, 0x36, 0x11, 0x69, 0xda, 0x46, 0xe6, 0xd5, 0x3d, 0x19, 0xd3, 0xdf, 0xd0, 0x7a, 0x5b, 0xae, 0x22, 0x96, 0x99, 0x22, 0xd8, 0xd0, 0xaf, 0x7d, 0xc1, 0xe1, 0x3b, 0xae
]),
unified_addr: vec![
0x75, 0x31, 0x6a, 0x6d, 0x38, 0x6d, 0x65, 0x63, 0x32, 0x6c, 0x73, 0x72, 0x65, 0x33, 0x66, 0x66, 0x65, 0x65, 0x70, 0x6d, 0x74, 0x74, 0x73, 0x34, 0x37, 0x6b, 0x38, 0x33, 0x33, 0x6d, 0x33, 0x72, 0x71, 0x65, 0x30, 0x72, 0x68, 0x6d, 0x7a, 0x6a, 0x39, 0x37, 0x78, 0x72, 0x67, 0x37, 0x37, 0x61, 0x36, 0x66, 0x6c, 0x6a, 0x7a, 0x61, 0x33, 0x36, 0x66, 0x6a, 0x68, 0x77, 0x34, 0x64, 0x63, 0x63, 0x76, 0x6d, 0x39, 0x6c, 0x32, 0x6e, 0x61, 0x37, 0x6c, 0x70, 0x61, 0x66, 0x75, 0x6a, 0x66, 0x61, 0x35, 0x6b, 0x61, 0x74, 0x77, 0x38, 0x39, 0x79, 0x77, 0x36, 0x36, 0x68, 0x73, 0x30, 0x63, 0x61, 0x35, 0x74, 0x74, 0x36, 0x66, 0x65, 0x70, 0x73, 0x6a, 0x76, 0x36, 0x70, 0x30, 0x75, 0x75, 0x39, 0x73, 0x77, 0x64, 0x61, 0x76, 0x72, 0x63, 0x38, 0x70, 0x78, 0x6d, 0x6c, 0x34, 0x30, 0x66, 0x77, 0x38, 0x65, 0x76, 0x6b, 0x76, 0x32, 0x30, 0x76, 0x6a, 0x61, 0x38, 0x6e, 0x77, 0x78, 0x6e, 0x37, 0x36, 0x6e, 0x61, 0x30, 0x6d, 0x37, 0x6e, 0x67, 0x74, 0x32, 0x6c, 0x30, 0x79, 0x73, 0x36, 0x32, 0x35, 0x37, 0x30, 0x77, 0x61, 0x75, 0x6a, 0x71, 0x73, 0x74, 0x35, 0x71, 0x37, 0x79, 0x74, 0x35, 0x74, 0x6e
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: Some([
0x09, 0x8b, 0x79, 0x53, 0x5e, 0x79, 0x0f, 0xe5, 0x3e, 0x29, 0xfe, 0xf2, 0xb3, 0x76, 0x66, 0x97, 0xac, 0x32, 0xb4, 0xf4
]),
sapling_raw_addr: Some([
0xa8, 0xa8, 0x79, 0x7c, 0x1b, 0xa6, 0x9f, 0x78, 0x67, 0x2a, 0xff, 0xa6, 0x5b, 0x94, 0x39, 0x75, 0x02, 0x69, 0x31, 0xea, 0x62, 0x84, 0x31, 0xf0, 0x99, 0x1e, 0x74, 0x48, 0x72, 0xac, 0x9f, 0x36, 0x94, 0x6f, 0x5d, 0xcd, 0x68, 0x51, 0xa0, 0xb5, 0xaf, 0x29, 0xcf
]),
orchard_raw_addr: Some([
0x67, 0x8a, 0xb0, 0x07, 0x9b, 0xea, 0x28, 0xbf, 0x16, 0x5c, 0x1a, 0xb9, 0x76, 0xa2, 0xa5, 0x8c, 0x18, 0xa7, 0x81, 0x1c, 0xa2, 0xad, 0x0a, 0xd6, 0x49, 0xe8, 0x76, 0x27, 0x3d, 0x04, 0x32, 0x5d, 0xa6, 0xca, 0x53, 0xcd, 0xb8, 0x3c, 0x11, 0x1e, 0x8e, 0x43, 0x94
]),
unified_addr: vec![
0x75, 0x31, 0x61, 0x76, 0x73, 0x63, 0x33, 0x74, 0x61, 0x38, 0x38, 0x64, 0x68, 0x63, 0x34, 0x6a, 0x35, 0x37, 0x74, 0x64, 0x65, 0x70, 0x38, 0x6a, 0x68, 0x33, 0x66, 0x32, 0x73, 0x67, 0x33, 0x63, 0x75, 0x6e, 0x66, 0x70, 0x73, 0x6d, 0x36, 0x76, 0x6d, 0x63, 0x6a, 0x61, 0x61, 0x37, 0x35, 0x66, 0x30, 0x66, 0x64, 0x39, 0x37, 0x66, 0x71, 0x37, 0x63, 0x70, 0x30, 0x79, 0x71, 0x34, 0x63, 0x6b, 0x6d, 0x63, 0x6c, 0x35, 0x76, 0x63, 0x77, 0x78, 0x78, 0x77, 0x77, 0x33, 0x32, 0x73, 0x75, 0x73, 0x75, 0x74, 0x30, 0x76, 0x34, 0x6c, 0x30, 0x39, 0x37, 0x33, 0x76, 0x35, 0x73, 0x76, 0x6e, 0x37, 0x37, 0x75, 0x74, 0x30, 0x30, 0x7a, 0x61, 0x75, 0x38, 0x36, 0x6e, 0x39, 0x36, 0x79, 0x67, 0x63, 0x77, 0x76, 0x79, 0x7a, 0x32, 0x79, 0x35, 0x74, 0x79, 0x79, 0x6c, 0x36, 0x6e, 0x64, 0x79, 0x72, 0x36, 0x38, 0x38, 0x32, 0x36, 0x34, 0x6e, 0x72, 0x63, 0x34, 0x32, 0x73, 0x68, 0x38, 0x33, 0x32, 0x6c, 0x6c, 0x68, 0x61, 0x70, 0x68, 0x6a, 0x39, 0x33, 0x61, 0x6c, 0x30, 0x33, 0x6a, 0x6e, 0x64, 0x36, 0x36, 0x70, 0x37, 0x6e, 0x34, 0x34, 0x70, 0x70, 0x37, 0x68, 0x71, 0x38, 0x66, 0x6e, 0x6b, 0x75, 0x79, 0x6d, 0x6b, 0x79, 0x6a, 0x35, 0x36, 0x65, 0x35, 0x70, 0x39, 0x67, 0x72, 0x39, 0x78, 0x65, 0x65, 0x78, 0x34, 0x30, 0x38, 0x65, 0x35, 0x32, 0x6e, 0x37, 0x35, 0x35, 0x65, 0x37, 0x38, 0x63, 0x64, 0x6a, 0x6c, 0x73
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: None,
sapling_raw_addr: Some([
0x35, 0x09, 0xc9, 0xe0, 0x69, 0xe8, 0x9f, 0xe5, 0x01, 0xd9, 0x76, 0x22, 0xc2, 0x83, 0xac, 0x98, 0x92, 0x3d, 0xa2, 0xd7, 0xe6, 0xeb, 0x34, 0x6b, 0x4b, 0xaf, 0xa6, 0x78, 0x65, 0xe1, 0xe6, 0xda, 0xe7, 0xcf, 0x21, 0x3b, 0x1e, 0xa3, 0x64, 0x8d, 0xc0, 0x9b, 0x48
]),
orchard_raw_addr: None,
unified_addr: vec![
0x75, 0x31, 0x35, 0x76, 0x76, 0x38, 0x38, 0x34, 0x63, 0x7a, 0x35, 0x64, 0x36, 0x34, 0x6e, 0x67, 0x72, 0x32, 0x71, 0x76, 0x34, 0x30, 0x78, 0x35, 0x79, 0x71, 0x71, 0x67, 0x7a, 0x36, 0x6a, 0x74, 0x33, 0x68, 0x65, 0x7a, 0x75, 0x39, 0x6d, 0x6b, 0x75, 0x66, 0x32, 0x30, 0x64, 0x75, 0x6a, 0x61, 0x66, 0x38, 0x71, 0x76, 0x6b, 0x73, 0x6c, 0x6e, 0x78, 0x79, 0x37, 0x38, 0x66, 0x32, 0x64, 0x70, 0x78, 0x79, 0x32, 0x34, 0x70, 0x76, 0x76, 0x37, 0x79, 0x76, 0x66, 0x63, 0x7a, 0x6b, 0x6c, 0x30, 0x77, 0x61, 0x65, 0x34, 0x35, 0x61, 0x30, 0x70, 0x68, 0x36, 0x64, 0x37, 0x7a, 0x37, 0x64, 0x65, 0x74, 0x33, 0x6a, 0x67, 0x34, 0x72, 0x67, 0x67, 0x78, 0x66
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: Some([
0x30, 0xd0, 0x69, 0x89, 0x6c, 0xff, 0x30, 0xeb, 0x41, 0x4f, 0x72, 0x7b, 0x89, 0xe0, 0x01, 0xaf, 0xa2, 0xfb, 0x8d, 0xc3
]),
sapling_raw_addr: Some([
0x55, 0xbc, 0x46, 0xae, 0xa6, 0xf6, 0x0c, 0x1d, 0x61, 0x91, 0x56, 0x40, 0x02, 0x9b, 0x2a, 0xf6, 0x33, 0x4d, 0x7d, 0x27, 0xe1, 0xc4, 0x7a, 0x24, 0x8a, 0xb4, 0x7c, 0x9f, 0xbe, 0x5d, 0x2d, 0x7b, 0xb5, 0x81, 0x87, 0x39, 0xf0, 0x62, 0xe3, 0x71, 0x36, 0x65, 0x4c
]),
orchard_raw_addr: None,
unified_addr: vec![
0x75, 0x31, 0x39, 0x67, 0x67, 0x38, 0x73, 0x71, 0x70, 0x65, 0x68, 0x75, 0x6d, 0x67, 0x6d, 0x73, 0x78, 0x7a, 0x67, 0x6a, 0x79, 0x6d, 0x6c, 0x39, 0x33, 0x36, 0x78, 0x6b, 0x32, 0x67, 0x78, 0x6d, 0x73, 0x66, 0x65, 0x35, 0x6a, 0x65, 0x37, 0x37, 0x7a, 0x6a, 0x61, 0x61, 0x30, 0x67, 0x67, 0x6e, 0x32, 0x72, 0x33, 0x30, 0x73, 0x32, 0x39, 0x34, 0x32, 0x66, 0x76, 0x6b, 0x61, 0x32, 0x75, 0x63, 0x74, 0x75, 0x36, 0x39, 0x6d, 0x70, 0x74, 0x76, 0x30, 0x63, 0x32, 0x39, 0x76, 0x68, 0x6a, 0x70, 0x34, 0x68, 0x61, 0x72, 0x63, 0x75, 0x30, 0x72, 0x32, 0x73, 0x36, 0x6e, 0x79, 0x37, 0x30, 0x30, 0x6c, 0x79, 0x7a, 0x78, 0x71, 0x68, 0x66, 0x38, 0x33, 0x35, 0x78, 0x6b, 0x71, 0x6a, 0x78, 0x73, 0x77, 0x6a, 0x6a, 0x77, 0x71, 0x30, 0x32, 0x61, 0x64, 0x6b, 0x71, 0x79, 0x6a, 0x6b, 0x6b, 0x39, 0x63, 0x77, 0x6a, 0x6e, 0x37, 0x70, 0x32, 0x73, 0x68, 0x64, 0x71, 0x33, 0x79
],
},
TestVector {
p2pkh_bytes: None,
p2sh_bytes: None,
sapling_raw_addr: Some([
0x5c, 0x26, 0xa8, 0x11, 0x77, 0x29, 0x33, 0x4a, 0x95, 0x7c, 0xa7, 0x94, 0x1d, 0x47, 0xb2, 0xce, 0x70, 0x40, 0xe8, 0x44, 0xfa, 0x98, 0x82, 0xc2, 0x5b, 0xfd, 0x2f, 0xcf, 0x51, 0xfa, 0x8a, 0xb2, 0x13, 0x76, 0xf5, 0x30, 0x0d, 0x01, 0x23, 0xf5, 0x70, 0x3e, 0x9e
]),
orchard_raw_addr: None,
unified_addr: vec![
0x75, 0x31, 0x39, 0x76, 0x63, 0x6e, 0x33, 0x72, 0x65, 0x64, 0x70, 0x61, 0x70, 0x68, 0x78, 0x34, 0x32, 0x6d, 0x6e, 0x30, 0x73, 0x79, 0x63, 0x32, 0x36, 0x79, 0x38, 0x77, 0x39, 0x77, 0x66, 0x67, 0x6c, 0x65, 0x7a, 0x39, 0x61, 0x75, 0x73, 0x6b, 0x61, 0x78, 0x72, 0x67, 0x68, 0x6d, 0x78, 0x38, 0x30, 0x64, 0x75, 0x6e, 0x61, 0x33, 0x36, 0x63, 0x61, 0x67, 0x63, 0x33, 0x79, 0x73, 0x37, 0x6d, 0x6e, 0x33, 0x6a, 0x37, 0x36, 0x39, 0x76, 0x63, 0x67, 0x38, 0x72, 0x75, 0x33, 0x6b, 0x64, 0x6e, 0x61, 0x71, 0x34, 0x70, 0x68, 0x34, 0x36, 0x30, 0x34, 0x38, 0x64, 0x68, 0x73, 0x76, 0x6c, 0x35, 0x64, 0x6d, 0x64, 0x73, 0x67, 0x78, 0x79, 0x65, 0x38, 0x33
],
},
];

View File

@ -0,0 +1,150 @@
struct TestVector {
t_key_bytes: Option<[u8; 65]>,
sapling_fvk_bytes: Option<[u8; 128]>,
orchard_fvk_bytes: Option<[u8; 96]>,
unknown_fvk_typecode: u32,
unknown_fvk_bytes: Option<Vec<u8>>,
unified_fvk: Vec<u8>,
};
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/unified_full_viewing_keys.py
let test_vectors = vec![
TestVector {
t_key_bytes: None,
sapling_fvk_bytes: Some([
0xcf, 0xb8, 0x35, 0xe7, 0xc0, 0x5c, 0x80, 0xc2, 0xa1, 0x5a, 0x58, 0x70, 0x2b, 0xc5, 0x29, 0xa4, 0x4e, 0x1a, 0x81, 0x5e, 0xf7, 0x91, 0x24, 0xf2, 0x37, 0x09, 0x21, 0x4c, 0xf0, 0x16, 0x7a, 0xc4, 0xe6, 0x34, 0x0b, 0x49, 0x3d, 0xca, 0x8e, 0x4b, 0xee, 0x11, 0x42, 0x59, 0xdc, 0x35, 0xed, 0xc4, 0xc2, 0x96, 0xff, 0xd5, 0x38, 0x69, 0x88, 0x55, 0x31, 0xd1, 0xbd, 0xb2, 0x70, 0x08, 0xbb, 0xcd, 0x6f, 0xec, 0x09, 0x2a, 0xd5, 0xc4, 0xd1, 0xf6, 0x88, 0x19, 0xf4, 0x1a, 0xe4, 0x47, 0xdb, 0x96, 0xdf, 0x4a, 0x5f, 0x11, 0x00, 0x18, 0xf4, 0x70, 0x60, 0x91, 0x6e, 0xc5, 0x48, 0x84, 0xf1, 0xcc, 0x27, 0xa0, 0xd4, 0xc0, 0xbc, 0xa9, 0x09, 0x84, 0xcd, 0xf3, 0x9f, 0xb4, 0xcc, 0x61, 0xce, 0xee, 0x78, 0xdd, 0xaa, 0x2a, 0x45, 0xaf, 0x87, 0x1f, 0x49, 0xf0, 0x4e, 0x98, 0xb0, 0x2f, 0xb1, 0x6b
]),
orchard_fvk_bytes: None,
unknown_fvk_typecode: 65535,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x74, 0x78, 0x78, 0x78, 0x33, 0x39, 0x70, 0x78, 0x33, 0x73, 0x6a, 0x67, 0x64, 0x78, 0x79, 0x6c, 0x6d, 0x66, 0x36, 0x66, 0x68, 0x76, 0x70, 0x6e, 0x68, 0x78, 0x66, 0x79, 0x66, 0x71, 0x73, 0x76, 0x75, 0x6e, 0x38, 0x63, 0x73, 0x73, 0x30, 0x72, 0x36, 0x78, 0x71, 0x78, 0x30, 0x72, 0x6b, 0x39, 0x74, 0x76, 0x7a, 0x30, 0x76, 0x72, 0x7a, 0x74, 0x75, 0x6a, 0x74, 0x68, 0x34, 0x74, 0x71, 0x6e, 0x75, 0x34, 0x36, 0x78, 0x77, 0x65, 0x70, 0x35, 0x36, 0x72, 0x79, 0x39, 0x6a, 0x64, 0x35, 0x37, 0x68, 0x79, 0x72, 0x72, 0x6c, 0x36, 0x75, 0x74, 0x67, 0x65, 0x7a, 0x35, 0x6a, 0x71, 0x72, 0x32, 0x71, 0x64, 0x66, 0x73, 0x7a, 0x79, 0x78, 0x72, 0x65, 0x68, 0x6b, 0x64, 0x68, 0x67, 0x74, 0x75, 0x79, 0x64, 0x37, 0x6d, 0x78, 0x75, 0x6e, 0x6e, 0x61, 0x33, 0x32, 0x77, 0x32, 0x35, 0x6d, 0x39, 0x6b, 0x77, 0x71, 0x38, 0x71, 0x63, 0x68, 0x73, 0x77, 0x67, 0x34, 0x76, 0x68, 0x66, 0x32, 0x79, 0x6d, 0x73, 0x6b, 0x37, 0x6c, 0x6e, 0x76, 0x37, 0x78, 0x6a, 0x38, 0x64, 0x35, 0x6b, 0x34, 0x7a, 0x72, 0x72, 0x34, 0x33, 0x70, 0x75, 0x6e, 0x74, 0x6b, 0x6d, 0x66, 0x6b, 0x39, 0x6e, 0x34, 0x6a, 0x63, 0x6b, 0x66, 0x76, 0x32, 0x37, 0x67, 0x70, 0x63, 0x37, 0x6e, 0x74, 0x77, 0x65, 0x72, 0x6c, 0x6c, 0x75, 0x64, 0x39, 0x30, 0x7a, 0x34, 0x6c, 0x35, 0x6c, 0x71, 0x78, 0x6a, 0x68, 0x36, 0x63, 0x33, 0x35, 0x6b, 0x37, 0x61, 0x35, 0x78, 0x6c, 0x6d, 0x66, 0x35, 0x63, 0x72, 0x64, 0x67, 0x67, 0x75, 0x37, 0x36, 0x6c, 0x30, 0x75, 0x72, 0x65, 0x74, 0x75, 0x78, 0x73, 0x33, 0x38, 0x68, 0x39
],
},
TestVector {
t_key_bytes: Some([
0x18, 0xd9, 0x61, 0x4f, 0xc8, 0x20, 0x90, 0x5d, 0x04, 0x2b, 0xb1, 0xef, 0x9c, 0xa3, 0xf2, 0x49, 0x88, 0xc7, 0xb3, 0x53, 0x42, 0x01, 0xcf, 0xb1, 0xcd, 0x8d, 0xbf, 0x69, 0xb8, 0x25, 0x0c, 0x18, 0x02, 0x82, 0x03, 0x46, 0xfc, 0xec, 0x8e, 0xa1, 0x27, 0x6d, 0xb2, 0xe6, 0x15, 0xb8, 0xce, 0xd2, 0xfe, 0x4c, 0xf7, 0x46, 0x8c, 0x1e, 0xf4, 0x53, 0x14, 0x61, 0x95, 0xb4, 0xd7, 0xbc, 0x13, 0xa4, 0xdc
]),
sapling_fvk_bytes: Some([
0x04, 0xda, 0x0d, 0x94, 0xcb, 0x0a, 0x63, 0x97, 0x06, 0x7a, 0x81, 0xa8, 0x8e, 0xf4, 0x22, 0xe5, 0x66, 0x78, 0xe0, 0xba, 0x23, 0x2e, 0xb4, 0xdd, 0x6b, 0x05, 0xb9, 0x8b, 0xc5, 0xe3, 0x46, 0x1c, 0xd4, 0xa5, 0x2b, 0x36, 0x6a, 0x7d, 0xf1, 0xf3, 0xa8, 0x71, 0x85, 0x4b, 0xfe, 0x14, 0x92, 0x71, 0x1d, 0xc5, 0x13, 0x0b, 0x35, 0x44, 0x17, 0x48, 0xca, 0xa2, 0x74, 0x29, 0x59, 0x27, 0x9c, 0xe3, 0x1e, 0x2b, 0x36, 0x04, 0x99, 0x5d, 0x4c, 0xce, 0xdc, 0x46, 0x18, 0xad, 0x16, 0xcd, 0xd2, 0xc0, 0xd4, 0x2a, 0x6d, 0x36, 0xfb, 0x3a, 0x06, 0x10, 0x05, 0x4c, 0xed, 0xef, 0x30, 0xbe, 0xca, 0x20, 0xd1, 0x87, 0xf3, 0x2c, 0xe0, 0x2f, 0x8c, 0xa3, 0x57, 0xb5, 0x75, 0xe7, 0x05, 0xcd, 0xa7, 0xef, 0x8e, 0x1c, 0x68, 0xb9, 0x11, 0x03, 0x81, 0xbd, 0x39, 0x58, 0xe0, 0x65, 0x9a, 0x08, 0x42, 0x05
]),
orchard_fvk_bytes: None,
unknown_fvk_typecode: 65530,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x71, 0x68, 0x63, 0x34, 0x72, 0x6b, 0x61, 0x6c, 0x78, 0x37, 0x37, 0x30, 0x71, 0x6e, 0x66, 0x74, 0x6d, 0x65, 0x6b, 0x35, 0x78, 0x38, 0x37, 0x70, 0x35, 0x6c, 0x74, 0x75, 0x65, 0x70, 0x33, 0x6e, 0x6d, 0x6e, 0x6e, 0x76, 0x6a, 0x71, 0x64, 0x39, 0x73, 0x6b, 0x65, 0x61, 0x39, 0x63, 0x70, 0x39, 0x33, 0x36, 0x68, 0x38, 0x72, 0x64, 0x70, 0x63, 0x32, 0x73, 0x64, 0x68, 0x73, 0x78, 0x76, 0x63, 0x30, 0x36, 0x63, 0x6b, 0x37, 0x6e, 0x74, 0x66, 0x74, 0x6e, 0x78, 0x70, 0x39, 0x70, 0x76, 0x65, 0x64, 0x70, 0x6b, 0x67, 0x39, 0x37, 0x65, 0x35, 0x6a, 0x63, 0x77, 0x72, 0x71, 0x70, 0x72, 0x63, 0x64, 0x68, 0x6a, 0x6e, 0x37, 0x71, 0x35, 0x77, 0x74, 0x33, 0x34, 0x67, 0x65, 0x6c, 0x75, 0x61, 0x35, 0x61, 0x66, 0x63, 0x66, 0x32, 0x66, 0x6b, 0x73, 0x7a, 0x33, 0x35, 0x6b, 0x73, 0x33, 0x63, 0x6c, 0x37, 0x64, 0x70, 0x34, 0x72, 0x30, 0x63, 0x30, 0x78, 0x6a, 0x63, 0x64, 0x75, 0x6a, 0x35, 0x70, 0x73, 0x33, 0x6c, 0x70, 0x74, 0x35, 0x34, 0x6c, 0x71, 0x77, 0x70, 0x70, 0x36, 0x72, 0x6c, 0x67, 0x6e, 0x34, 0x72, 0x78, 0x38, 0x38, 0x78, 0x37, 0x6e, 0x64, 0x30, 0x34, 0x78, 0x64, 0x70, 0x32, 0x64, 0x61, 0x75, 0x6a, 0x70, 0x67, 0x65, 0x67, 0x6a, 0x6a, 0x39, 0x74, 0x36, 0x66, 0x6c, 0x34, 0x32, 0x64, 0x64, 0x38, 0x6c, 0x36, 0x67, 0x68, 0x37, 0x30, 0x74, 0x6b, 0x70, 0x75, 0x6a, 0x36, 0x6b, 0x32, 0x76, 0x37, 0x6e, 0x78, 0x6b, 0x68, 0x6c, 0x75, 0x68, 0x35, 0x6a, 0x73, 0x6b, 0x35, 0x6c, 0x34, 0x61, 0x74, 0x6d, 0x35, 0x72, 0x65, 0x77, 0x64, 0x67, 0x71, 0x64, 0x6d, 0x79, 0x6e, 0x32, 0x65, 0x68, 0x76, 0x32, 0x32, 0x76, 0x6e, 0x73, 0x35, 0x36, 0x65, 0x65, 0x64, 0x68, 0x75, 0x61, 0x67, 0x78, 0x71, 0x71, 0x73, 0x6d, 0x35, 0x68, 0x33, 0x30, 0x37, 0x64, 0x32, 0x6a, 0x76, 0x78, 0x32, 0x39, 0x64, 0x66, 0x78, 0x75, 0x30, 0x39, 0x6a, 0x34, 0x33, 0x66, 0x6a, 0x68, 0x7a, 0x64, 0x66, 0x37, 0x70, 0x76, 0x64, 0x37, 0x32, 0x77, 0x70, 0x6e, 0x35, 0x6e, 0x66, 0x6d, 0x74, 0x76, 0x7a, 0x73, 0x76, 0x72, 0x6e, 0x75, 0x38, 0x70, 0x79, 0x79, 0x61, 0x66, 0x71, 0x34, 0x78, 0x37, 0x6e, 0x71, 0x64, 0x67, 0x63, 0x63, 0x72, 0x72, 0x6d, 0x65, 0x66, 0x75, 0x71, 0x36, 0x64, 0x66, 0x7a, 0x35, 0x35, 0x75, 0x30, 0x78, 0x36, 0x7a, 0x6e
],
},
TestVector {
t_key_bytes: Some([
0x25, 0x94, 0x6f, 0x62, 0xc2, 0xfa, 0x7b, 0x2f, 0xec, 0xbc, 0xb6, 0x4b, 0x69, 0x68, 0x91, 0x2a, 0x63, 0x81, 0xce, 0x3d, 0xc1, 0x66, 0xd5, 0x6a, 0x1d, 0x62, 0xf5, 0xa8, 0xd7, 0x55, 0x1d, 0xb5, 0x03, 0x06, 0x2c, 0xaf, 0x06, 0xc8, 0x96, 0x38, 0x77, 0x4b, 0x69, 0x8a, 0xaa, 0xfc, 0x8c, 0x83, 0x4f, 0xb2, 0x69, 0x6f, 0x70, 0xc3, 0xcd, 0xc7, 0x0f, 0x45, 0x28, 0xf4, 0xdd, 0xae, 0x53, 0xf9, 0xe1
]),
sapling_fvk_bytes: Some([
0xfc, 0x02, 0x75, 0x9f, 0xf2, 0x85, 0x3b, 0x5e, 0x9e, 0x15, 0x84, 0x2b, 0xef, 0x22, 0xc7, 0x60, 0x23, 0xd4, 0x3d, 0xb7, 0xc2, 0x65, 0xf1, 0x20, 0xed, 0x17, 0x57, 0x13, 0x19, 0x5f, 0x12, 0x40, 0xf6, 0x3a, 0xee, 0x02, 0xec, 0x23, 0xf1, 0x46, 0xe9, 0xe2, 0x5d, 0x25, 0x60, 0x5f, 0xba, 0xe5, 0x47, 0x2c, 0xde, 0xdc, 0x3b, 0x4c, 0x31, 0xc6, 0x6b, 0x76, 0xfe, 0x9e, 0x6e, 0x47, 0xee, 0xca, 0x79, 0xd5, 0xfb, 0x6a, 0x84, 0xd1, 0x52, 0x82, 0x0d, 0xaa, 0xf8, 0x9e, 0x99, 0x55, 0x1d, 0x06, 0x8d, 0x99, 0xcd, 0xf9, 0xbe, 0x06, 0x50, 0x07, 0xbc, 0x25, 0xf2, 0x45, 0xea, 0x62, 0x63, 0x1d, 0x17, 0xb3, 0xbc, 0x77, 0xf6, 0x2f, 0x35, 0xbd, 0x42, 0x05, 0xe6, 0xf6, 0x82, 0xb1, 0xf9, 0xe8, 0x24, 0xec, 0xea, 0x53, 0xe2, 0x71, 0xb8, 0x0f, 0xf6, 0xbc, 0x79, 0xef, 0x68, 0xa2, 0x0a, 0xb5
]),
orchard_fvk_bytes: Some([
0x5a, 0xef, 0xc7, 0x48, 0x61, 0xde, 0xbd, 0x6c, 0x70, 0x77, 0x86, 0xcd, 0x82, 0xc4, 0xa5, 0xd1, 0xea, 0x08, 0x8b, 0xba, 0x9c, 0xe4, 0xea, 0x19, 0x85, 0x1a, 0xf7, 0xfa, 0xbb, 0x90, 0xcd, 0x31, 0x05, 0x50, 0x96, 0xc8, 0x9f, 0x20, 0x66, 0x07, 0xd6, 0x54, 0x2b, 0x4f, 0x75, 0x85, 0x6c, 0xec, 0xdc, 0xfc, 0xf6, 0x54, 0x50, 0xa3, 0x2c, 0xba, 0x62, 0x8a, 0x1d, 0x0c, 0xb8, 0x99, 0xea, 0x3e, 0x9c, 0xc9, 0x26, 0x11, 0x07, 0x69, 0xfd, 0x9c, 0x68, 0x5c, 0x6e, 0x08, 0x7a, 0xa2, 0xe4, 0x9b, 0x8d, 0x76, 0x46, 0xb0, 0x46, 0x11, 0xe1, 0x9b, 0xe1, 0xda, 0x51, 0xc4, 0x95, 0x3c, 0xf0, 0x2e
]),
unknown_fvk_typecode: 65532,
unknown_fvk_bytes: Some(vec![
0x1a, 0x03, 0x55, 0x87, 0xd5, 0xfb, 0x1a, 0x38, 0xe0, 0x1d, 0x94, 0x90, 0x3d, 0x3c, 0x3e, 0x0a, 0xd3, 0x36, 0x0c, 0x1d, 0x37, 0x10, 0xac, 0xd2, 0x0b, 0x18, 0x3e, 0x31, 0xd4, 0x9f, 0x25, 0xc9, 0xa1, 0x38, 0xf4, 0x9b, 0x1a, 0x53, 0x7e, 0xdc, 0xf0, 0x4b, 0xe3, 0x4a, 0x98, 0x51, 0xa7, 0xaf, 0x9d, 0xb6, 0x99, 0x0e, 0xd8, 0x3d, 0xd6, 0x4a, 0xf3, 0x59, 0x7c, 0x04, 0x32, 0x3e, 0xa5, 0x1b, 0x00, 0x52, 0xad, 0x80, 0x84, 0xa8, 0xb9, 0xda, 0x94, 0x8d, 0x32, 0x0d, 0xad, 0xd6, 0x4f, 0x54, 0x31, 0xe6, 0x1d, 0xdf, 0x65, 0x8d, 0x24, 0xae, 0x67, 0xc2, 0x2c, 0x8d, 0x13, 0x09, 0x13, 0x1f, 0xc0, 0x0f, 0xe7, 0xf2, 0x35, 0x73, 0x42, 0x76, 0xd3, 0x8d, 0x47, 0xf1, 0xe1, 0x91, 0xe0, 0x0c, 0x7a, 0x1d, 0x48, 0xaf, 0x04, 0x68, 0x27, 0x59, 0x1e, 0x97, 0x33, 0xa9, 0x7f, 0xa6, 0xb6, 0x79, 0xf3, 0xdc, 0x60, 0x1d, 0x00, 0x82, 0x85, 0xed, 0xcb, 0xda, 0xe6, 0x9c, 0xe8, 0xfc, 0x1b, 0xe4, 0xaa, 0xc0, 0x0f, 0xf2, 0x71, 0x1e, 0xbd, 0x93, 0x1d, 0xe5, 0x18, 0x85, 0x68, 0x78, 0xf7, 0x34, 0x76
]),
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x64, 0x36, 0x30, 0x74, 0x63, 0x72, 0x71, 0x73, 0x65, 0x7a, 0x32, 0x75, 0x75, 0x70, 0x77, 0x34, 0x73, 0x30, 0x36, 0x79, 0x66, 0x72, 0x78, 0x71, 0x75, 0x34, 0x71, 0x6b, 0x30, 0x74, 0x6d, 0x37, 0x71, 0x6b, 0x67, 0x68, 0x33, 0x6c, 0x36, 0x76, 0x6d, 0x6b, 0x6d, 0x71, 0x76, 0x76, 0x70, 0x65, 0x67, 0x38, 0x67, 0x77, 0x36, 0x74, 0x78, 0x72, 0x6b, 0x73, 0x6a, 0x32, 0x65, 0x36, 0x6d, 0x71, 0x75, 0x63, 0x6a, 0x37, 0x76, 0x39, 0x6a, 0x32, 0x74, 0x79, 0x6a, 0x71, 0x72, 0x6a, 0x72, 0x65, 0x6d, 0x66, 0x65, 0x35, 0x73, 0x6d, 0x6e, 0x79, 0x78, 0x77, 0x30, 0x30, 0x35, 0x66, 0x35, 0x70, 0x61, 0x71, 0x64, 0x61, 0x74, 0x74, 0x39, 0x70, 0x73, 0x78, 0x32, 0x70, 0x74, 0x6d, 0x68, 0x6b, 0x71, 0x79, 0x75, 0x63, 0x72, 0x65, 0x38, 0x34, 0x6d, 0x78, 0x68, 0x33, 0x76, 0x36, 0x63, 0x77, 0x63, 0x70, 0x30, 0x72, 0x36, 0x34, 0x70, 0x35, 0x74, 0x73, 0x34, 0x6e, 0x71, 0x72, 0x6b, 0x66, 0x78, 0x36, 0x7a, 0x37, 0x7a, 0x74, 0x6c, 0x74, 0x73, 0x77, 0x33, 0x78, 0x71, 0x6b, 0x6e, 0x64, 0x6d, 0x6c, 0x72, 0x61, 0x32, 0x67, 0x67, 0x72, 0x6a, 0x67, 0x35, 0x71, 0x61, 0x38, 0x61, 0x66, 0x6e, 0x32, 0x38, 0x77, 0x79, 0x75, 0x66, 0x30, 0x34, 0x6c, 0x66, 0x37, 0x61, 0x7a, 0x63, 0x6a, 0x6d, 0x63, 0x71, 0x37, 0x71, 0x79, 0x78, 0x72, 0x70, 0x36, 0x34, 0x76, 0x30, 0x72, 0x30, 0x6e, 0x78, 0x6e, 0x66, 0x30, 0x66, 0x79, 0x79, 0x6e, 0x70, 0x68, 0x7a, 0x33, 0x61, 0x75, 0x79, 0x65, 0x72, 0x74, 0x73, 0x35, 0x6e, 0x30, 0x6d, 0x71, 0x37, 0x39, 0x71, 0x76, 0x38, 0x32, 0x63, 0x32, 0x6a, 0x37, 0x32, 0x79, 0x6d, 0x32, 0x61, 0x6d, 0x36, 0x6b, 0x35, 0x61, 0x30, 0x76, 0x7a, 0x37, 0x61, 0x6a, 0x67, 0x67, 0x6a, 0x39, 0x36, 0x78, 0x70, 0x71, 0x6b, 0x6c, 0x72, 0x77, 0x71, 0x6a, 0x64, 0x74, 0x36, 0x32, 0x70, 0x70, 0x76, 0x79, 0x6c, 0x39, 0x75, 0x78, 0x73, 0x7a, 0x77, 0x30, 0x36, 0x35, 0x32, 0x79, 0x35, 0x38, 0x77, 0x6c, 0x63, 0x34, 0x6d, 0x6a, 0x64, 0x75, 0x32, 0x34, 0x64, 0x30, 0x37, 0x75, 0x37, 0x6e, 0x73, 0x34, 0x63, 0x65, 0x65, 0x67, 0x73, 0x65, 0x68, 0x30, 0x7a, 0x63, 0x36, 0x33, 0x32, 0x79, 0x32, 0x64, 0x6b, 0x79, 0x37, 0x67, 0x64, 0x61, 0x6b, 0x36, 0x66, 0x78, 0x36, 0x32, 0x78, 0x77, 0x6c, 0x63, 0x67, 0x30, 0x79, 0x63, 0x67, 0x6d, 0x36, 0x39, 0x61, 0x6b, 0x30, 0x78, 0x65, 0x70, 0x77, 0x33, 0x32, 0x64, 0x71, 0x6d, 0x6d, 0x35, 0x72, 0x74, 0x38, 0x6b, 0x6d, 0x6d, 0x6a, 0x7a, 0x78, 0x70, 0x6a, 0x36, 0x67, 0x6b, 0x68, 0x75, 0x66, 0x76, 0x6b, 0x36, 0x35, 0x77, 0x30, 0x73, 0x67, 0x6d, 0x6c, 0x34, 0x6d, 0x61, 0x7a, 0x75, 0x66, 0x77, 0x36, 0x64, 0x73, 0x73, 0x77, 0x78, 0x6c, 0x34, 0x34, 0x6a, 0x6b, 0x75, 0x35, 0x79, 0x6a, 0x72, 0x30, 0x6b, 0x33, 0x36, 0x71, 0x76, 0x68, 0x64, 0x67, 0x78, 0x70, 0x72, 0x75, 0x72, 0x66, 0x76, 0x6c, 0x33, 0x70, 0x67, 0x6d, 0x71, 0x33, 0x35, 0x38, 0x32, 0x70, 0x79, 0x63, 0x30, 0x34, 0x38, 0x38, 0x76, 0x77, 0x79, 0x71, 0x38, 0x76, 0x72, 0x32, 0x77, 0x79, 0x66, 0x71, 0x6d, 0x37, 0x64, 0x32, 0x79, 0x32, 0x77, 0x35, 0x6d, 0x63, 0x6c, 0x30, 0x61, 0x38, 0x36, 0x67, 0x65, 0x35, 0x71, 0x78, 0x70, 0x38, 0x32, 0x39, 0x61, 0x78, 0x61, 0x39, 0x71, 0x73, 0x67, 0x76, 0x66, 0x6e, 0x38, 0x39, 0x37, 0x30, 0x32, 0x33, 0x6d, 0x70, 0x71, 0x63, 0x76, 0x34, 0x78, 0x67, 0x72, 0x68, 0x61, 0x33, 0x6c, 0x36, 0x6d, 0x6a, 0x32, 0x30, 0x67, 0x78, 0x30, 0x70, 0x79, 0x6c, 0x6a, 0x75, 0x33, 0x66, 0x74, 0x72, 0x64, 0x66, 0x76, 0x66, 0x70, 0x6a, 0x78, 0x66, 0x6b, 0x67, 0x72, 0x73, 0x37, 0x39, 0x67, 0x39, 0x74, 0x78, 0x64, 0x32, 0x37, 0x61, 0x73, 0x73, 0x77, 0x70, 0x35, 0x65, 0x6a, 0x36, 0x77, 0x35, 0x37, 0x6c, 0x73, 0x64, 0x67, 0x79, 0x70, 0x67, 0x77, 0x6a, 0x65, 0x6a, 0x77, 0x6a, 0x6a, 0x78, 0x67, 0x38, 0x6a, 0x63, 0x34, 0x33, 0x67, 0x67, 0x6a, 0x77, 0x65, 0x64, 0x6c, 0x77, 0x78, 0x66, 0x66, 0x64, 0x68, 0x71, 0x79, 0x71, 0x70, 0x61, 0x68, 0x75, 0x76, 0x33, 0x6a, 0x36, 0x72, 0x64, 0x68, 0x73, 0x61, 0x73, 0x6b, 0x6a, 0x77, 0x75, 0x35, 0x66, 0x37, 0x6d, 0x70, 0x6a, 0x33, 0x71, 0x74, 0x64, 0x67, 0x71, 0x7a, 0x39, 0x77, 0x67, 0x34, 0x64, 0x68, 0x79, 0x72, 0x76, 0x32, 0x61, 0x72, 0x74, 0x6c, 0x74, 0x63, 0x78, 0x75, 0x33, 0x75, 0x61, 0x76, 0x33, 0x34, 0x6d, 0x30, 0x36, 0x30, 0x66, 0x6d, 0x35, 0x38, 0x37, 0x39, 0x67, 0x72, 0x67, 0x63, 0x77, 0x63, 0x37, 0x63, 0x72, 0x32, 0x68, 0x66, 0x34, 0x66, 0x79, 0x36, 0x72, 0x39, 0x36, 0x70, 0x30, 0x34, 0x7a, 0x64, 0x7a, 0x75, 0x72, 0x37, 0x66, 0x67, 0x64, 0x33, 0x36, 0x71, 0x35, 0x74, 0x72, 0x68, 0x67, 0x6a, 0x66, 0x68, 0x70, 0x74, 0x38, 0x34, 0x72, 0x32, 0x7a, 0x75, 0x74, 0x75, 0x6e, 0x38, 0x74, 0x75, 0x76, 0x38, 0x6d, 0x78, 0x6d, 0x66, 0x65, 0x38, 0x33, 0x6e, 0x7a, 0x75, 0x6a, 0x35, 0x72, 0x64, 0x6b, 0x78, 0x35, 0x6e, 0x78, 0x79, 0x34, 0x71, 0x66, 0x30, 0x75, 0x61, 0x72, 0x74, 0x66, 0x6e, 0x37, 0x66, 0x33, 0x64, 0x6a, 0x79, 0x71, 0x79, 0x68, 0x70, 0x33, 0x7a, 0x6e, 0x34
],
},
TestVector {
t_key_bytes: None,
sapling_fvk_bytes: None,
orchard_fvk_bytes: Some([
0xb4, 0xda, 0x1d, 0xe6, 0x4f, 0xf7, 0xae, 0x80, 0x4c, 0xd8, 0x23, 0xf0, 0xd7, 0xb9, 0xeb, 0xd4, 0x20, 0xbe, 0xad, 0xef, 0x67, 0x4b, 0x68, 0x39, 0x9c, 0x7a, 0x31, 0xa3, 0xff, 0x8b, 0x1b, 0x1e, 0xde, 0xbd, 0x75, 0x7e, 0x75, 0x44, 0x23, 0xdd, 0xc8, 0x89, 0xbe, 0x25, 0x62, 0x61, 0x8c, 0x1b, 0xb9, 0x49, 0x21, 0xc9, 0x87, 0xe0, 0x9d, 0xe9, 0x6a, 0x0e, 0x6c, 0x59, 0x1a, 0x45, 0x3f, 0x0c, 0xc6, 0x1b, 0xf8, 0xd4, 0xd7, 0x0b, 0xf1, 0x82, 0x5a, 0x12, 0x10, 0x49, 0x9e, 0x2f, 0x7c, 0xf0, 0x30, 0xbe, 0x72, 0x39, 0x58, 0xd6, 0xe9, 0x39, 0x02, 0x64, 0x34, 0xaa, 0x7a, 0xa6, 0x80, 0x39
]),
unknown_fvk_typecode: 65535,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x65, 0x77, 0x35, 0x75, 0x74, 0x63, 0x79, 0x65, 0x68, 0x72, 0x70, 0x6c, 0x30, 0x6c, 0x38, 0x68, 0x35, 0x34, 0x79, 0x33, 0x68, 0x75, 0x73, 0x66, 0x67, 0x67, 0x70, 0x79, 0x6d, 0x34, 0x35, 0x34, 0x7a, 0x72, 0x71, 0x36, 0x74, 0x75, 0x39, 0x77, 0x74, 0x39, 0x79, 0x7a, 0x71, 0x39, 0x35, 0x6a, 0x6b, 0x6c, 0x38, 0x73, 0x6a, 0x33, 0x6d, 0x6a, 0x68, 0x79, 0x72, 0x6b, 0x35, 0x37, 0x78, 0x35, 0x6a, 0x79, 0x75, 0x76, 0x78, 0x37, 0x74, 0x66, 0x66, 0x32, 0x6c, 0x67, 0x7a, 0x6a, 0x67, 0x79, 0x70, 0x74, 0x72, 0x78, 0x6a, 0x79, 0x79, 0x34, 0x68, 0x33, 0x78, 0x63, 0x36, 0x38, 0x66, 0x39, 0x68, 0x6a, 0x79, 0x6d, 0x75, 0x74, 0x6e, 0x30, 0x71, 0x30, 0x6d, 0x64, 0x39, 0x67, 0x37, 0x78, 0x78, 0x72, 0x66, 0x7a, 0x37, 0x72, 0x72, 0x7a, 0x39, 0x74, 0x61, 0x32, 0x75, 0x6c, 0x73, 0x67, 0x32, 0x63, 0x6b, 0x74, 0x72, 0x64, 0x64, 0x76, 0x33, 0x38, 0x30, 0x6b, 0x33, 0x76, 0x79, 0x35, 0x77, 0x77, 0x68, 0x76, 0x6c, 0x71, 0x35, 0x65, 0x78, 0x66, 0x79, 0x6d, 0x36, 0x65, 0x64, 0x73, 0x6d, 0x67, 0x71, 0x74, 0x67, 0x61, 0x75, 0x37, 0x32, 0x73, 0x38, 0x73, 0x34, 0x61, 0x79, 0x68, 0x73, 0x36, 0x74, 0x34, 0x74, 0x6d, 0x71, 0x75, 0x61, 0x30, 0x71, 0x32, 0x36
],
},
TestVector {
t_key_bytes: None,
sapling_fvk_bytes: None,
orchard_fvk_bytes: Some([
0xe7, 0x2a, 0xf5, 0x53, 0x23, 0xac, 0x5b, 0xc3, 0x29, 0xa0, 0xc7, 0x5b, 0xbb, 0x72, 0xc8, 0x9f, 0xf5, 0x46, 0x7b, 0x80, 0x1d, 0x57, 0x83, 0xb6, 0x6b, 0x39, 0xd0, 0x2f, 0x87, 0xd0, 0x3a, 0x11, 0x77, 0x65, 0xdb, 0x7f, 0xb6, 0x5b, 0x6a, 0x47, 0x19, 0x95, 0x83, 0x28, 0xd9, 0x49, 0xad, 0xcb, 0xbe, 0x6b, 0x5b, 0xf9, 0x2a, 0xd2, 0x53, 0x9b, 0x6c, 0xc3, 0x19, 0x48, 0xf3, 0x88, 0x4a, 0x28, 0x11, 0xd3, 0xae, 0x94, 0x1b, 0xa3, 0xd2, 0x18, 0xd7, 0x46, 0x3f, 0x2b, 0x7d, 0xc1, 0x58, 0xaa, 0x97, 0xd9, 0x1f, 0xe0, 0x6c, 0x25, 0x95, 0xa5, 0x72, 0xc6, 0xc0, 0x15, 0xc8, 0x64, 0x72, 0x24
]),
unknown_fvk_typecode: 65530,
unknown_fvk_bytes: Some(vec![
0x59, 0x65, 0x55, 0xed, 0x94, 0x94, 0xc6, 0xac, 0x89, 0x3c, 0x49, 0x72, 0x38, 0x33, 0xec, 0x89, 0x26, 0xc1, 0x03, 0x95, 0x86, 0xa7, 0xaf, 0xcf, 0x4a, 0x0d, 0x9c, 0x73, 0x1e, 0x98, 0x5d, 0x99, 0x58
]),
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x74, 0x65, 0x7a, 0x30, 0x6b, 0x36, 0x6a, 0x77, 0x6e, 0x70, 0x36, 0x61, 0x71, 0x7a, 0x71, 0x61, 0x66, 0x36, 0x66, 0x70, 0x36, 0x6a, 0x38, 0x65, 0x36, 0x6c, 0x77, 0x71, 0x74, 0x6d, 0x63, 0x7a, 0x38, 0x68, 0x74, 0x6e, 0x33, 0x35, 0x36, 0x68, 0x6b, 0x67, 0x35, 0x6e, 0x75, 0x6b, 0x37, 0x30, 0x33, 0x66, 0x61, 0x73, 0x33, 0x72, 0x66, 0x77, 0x77, 0x61, 0x74, 0x33, 0x33, 0x65, 0x33, 0x61, 0x61, 0x6b, 0x30, 0x39, 0x30, 0x61, 0x73, 0x61, 0x6a, 0x6c, 0x73, 0x79, 0x72, 0x75, 0x6b, 0x36, 0x6d, 0x6c, 0x71, 0x35, 0x64, 0x6a, 0x71, 0x39, 0x32, 0x77, 0x65, 0x71, 0x74, 0x33, 0x39, 0x67, 0x7a, 0x37, 0x76, 0x35, 0x77, 0x78, 0x33, 0x37, 0x38, 0x38, 0x73, 0x67, 0x65, 0x33, 0x34, 0x35, 0x71, 0x76, 0x6a, 0x34, 0x6e, 0x6d, 0x65, 0x33, 0x35, 0x67, 0x72, 0x76, 0x33, 0x64, 0x77, 0x73, 0x34, 0x66, 0x74, 0x34, 0x61, 0x79, 0x73, 0x71, 0x76, 0x71, 0x32, 0x71, 0x6a, 0x7a, 0x7a, 0x63, 0x76, 0x79, 0x65, 0x79, 0x30, 0x72, 0x77, 0x67, 0x67, 0x79, 0x76, 0x77, 0x36, 0x6d, 0x79, 0x72, 0x71, 0x36, 0x72, 0x30, 0x76, 0x30, 0x63, 0x70, 0x36, 0x78, 0x70, 0x38, 0x7a, 0x71, 0x38, 0x6a, 0x63, 0x65, 0x36, 0x77, 0x64, 0x36, 0x64, 0x66, 0x67, 0x68, 0x66, 0x71, 0x75, 0x72, 0x64, 0x35, 0x68, 0x79, 0x77, 0x37, 0x79, 0x70, 0x75, 0x33, 0x79, 0x34, 0x75, 0x65, 0x72, 0x6a, 0x37, 0x37, 0x77, 0x68, 0x73, 0x38, 0x30, 0x71, 0x66, 0x6c, 0x37, 0x39, 0x36, 0x63, 0x70, 0x38, 0x6a, 0x33, 0x39, 0x76, 0x68, 0x36, 0x77, 0x35, 0x61, 0x61, 0x61, 0x71, 0x38, 0x6a, 0x76, 0x38, 0x39, 0x6e, 0x63, 0x75, 0x6b, 0x67, 0x34, 0x6d, 0x35, 0x37
],
},
TestVector {
t_key_bytes: None,
sapling_fvk_bytes: Some([
0x1b, 0xec, 0x3d, 0xa8, 0x63, 0xb3, 0x27, 0x4f, 0x4a, 0x93, 0x45, 0x85, 0x59, 0x35, 0x50, 0x66, 0xd3, 0x2f, 0xce, 0x9d, 0x9c, 0xb0, 0x51, 0xb2, 0xf4, 0x2e, 0xf0, 0xca, 0x42, 0x53, 0x61, 0xb7, 0x1a, 0xe8, 0xf4, 0xa4, 0x0e, 0x14, 0x3c, 0xb9, 0x05, 0xb0, 0x47, 0x1a, 0xe2, 0x47, 0x81, 0x54, 0x9d, 0xe6, 0x9c, 0xee, 0xb5, 0x82, 0xdb, 0x05, 0x03, 0x92, 0xe0, 0x5c, 0x6e, 0x79, 0x46, 0x85, 0xc2, 0x25, 0xa7, 0x51, 0x33, 0x43, 0x4a, 0xd8, 0xf7, 0xc1, 0x94, 0x57, 0x6e, 0x65, 0xc0, 0xfe, 0x25, 0xbd, 0x7b, 0x10, 0x00, 0xad, 0x07, 0xcf, 0x3d, 0xc6, 0x3d, 0x6c, 0x6b, 0x77, 0x40, 0xff, 0x83, 0x58, 0xa5, 0xcd, 0x36, 0x34, 0x09, 0x2f, 0xc3, 0x16, 0x11, 0xdf, 0x64, 0xa2, 0x20, 0x6e, 0xab, 0x0c, 0x5b, 0x8b, 0xcf, 0x05, 0x67, 0x38, 0xf0, 0x0b, 0xcc, 0xbc, 0x61, 0x5f, 0xfc, 0x87
]),
orchard_fvk_bytes: None,
unknown_fvk_typecode: 65533,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x67, 0x71, 0x68, 0x6c, 0x6c, 0x39, 0x65, 0x7a, 0x68, 0x61, 0x66, 0x32, 0x78, 0x61, 0x77, 0x61, 0x6a, 0x76, 0x77, 0x32, 0x6c, 0x6e, 0x78, 0x32, 0x73, 0x78, 0x6d, 0x76, 0x6b, 0x61, 0x35, 0x63, 0x6d, 0x76, 0x77, 0x76, 0x6d, 0x38, 0x79, 0x65, 0x30, 0x65, 0x67, 0x70, 0x64, 0x35, 0x6a, 0x6e, 0x6a, 0x71, 0x32, 0x37, 0x75, 0x74, 0x30, 0x6d, 0x77, 0x78, 0x61, 0x76, 0x7a, 0x30, 0x67, 0x67, 0x64, 0x65, 0x73, 0x6d, 0x66, 0x6d, 0x6b, 0x6a, 0x38, 0x76, 0x33, 0x64, 0x71, 0x67, 0x78, 0x6d, 0x63, 0x78, 0x78, 0x73, 0x66, 0x67, 0x63, 0x6a, 0x78, 0x65, 0x73, 0x7a, 0x61, 0x79, 0x75, 0x35, 0x71, 0x77, 0x61, 0x33, 0x37, 0x38, 0x74, 0x39, 0x66, 0x74, 0x34, 0x36, 0x76, 0x39, 0x61, 0x38, 0x68, 0x37, 0x72, 0x6d, 0x37, 0x65, 0x74, 0x66, 0x75, 0x78, 0x64, 0x68, 0x6d, 0x78, 0x66, 0x61, 0x78, 0x36, 0x74, 0x76, 0x64, 0x68, 0x73, 0x71, 0x61, 0x78, 0x6c, 0x6c, 0x6a, 0x61, 0x38, 0x76, 0x67, 0x76, 0x33, 0x71, 0x61, 0x33, 0x30, 0x37, 0x68, 0x74, 0x72, 0x70, 0x74, 0x76, 0x74, 0x38, 0x6d, 0x66, 0x6a, 0x72, 0x70, 0x39, 0x6c, 0x72, 0x39, 0x6a, 0x6a, 0x74, 0x35, 0x38, 0x65, 0x30, 0x39, 0x34, 0x66, 0x76, 0x39, 0x67, 0x65, 0x35, 0x77, 0x32, 0x77, 0x77, 0x64, 0x6d, 0x32, 0x61, 0x77, 0x79, 0x74, 0x76, 0x72, 0x70, 0x38, 0x65, 0x38, 0x77, 0x70, 0x33, 0x33, 0x73, 0x6e, 0x6e, 0x72, 0x6e, 0x75, 0x34, 0x32, 0x33, 0x6a, 0x68, 0x63, 0x68, 0x7a, 0x77, 0x6b, 0x38, 0x66, 0x30, 0x68, 0x6c, 0x36, 0x38, 0x65, 0x61, 0x6e, 0x73, 0x75, 0x71, 0x6d, 0x6c, 0x61, 0x33, 0x6e, 0x74
],
},
TestVector {
t_key_bytes: None,
sapling_fvk_bytes: Some([
0x9d, 0x7e, 0x04, 0xae, 0x88, 0x41, 0x7e, 0xc8, 0x7f, 0x82, 0xf4, 0xdf, 0x18, 0xf3, 0x57, 0x85, 0xb4, 0x9e, 0xc1, 0x91, 0x0e, 0x34, 0x0d, 0x6b, 0x42, 0xe6, 0x24, 0x8c, 0x88, 0xe2, 0x34, 0x36, 0x91, 0xb2, 0xf0, 0x88, 0x50, 0x65, 0xaa, 0xea, 0xd6, 0x82, 0x0b, 0xdc, 0x9d, 0xbc, 0x52, 0xa0, 0x1b, 0xff, 0xad, 0x9b, 0x09, 0x29, 0x8c, 0x7f, 0xeb, 0x30, 0x02, 0xd9, 0xa8, 0x63, 0x89, 0x0a, 0xb6, 0x81, 0x42, 0x1a, 0xb4, 0x47, 0x00, 0x5e, 0x6c, 0xd4, 0x92, 0x33, 0xd5, 0xec, 0x66, 0xb9, 0x2b, 0x63, 0xc7, 0x83, 0x40, 0xf0, 0xcc, 0x23, 0x82, 0x3f, 0x77, 0x5a, 0xcb, 0x1e, 0xf1, 0x1f, 0x0d, 0x39, 0x3f, 0x2b, 0xe9, 0xb0, 0x2b, 0xfd, 0x36, 0x6c, 0xf1, 0xaa, 0xa0, 0xbb, 0x93, 0x28, 0xb2, 0xad, 0x02, 0xf9, 0xad, 0xdd, 0xef, 0x2e, 0x9a, 0xeb, 0xed, 0x71, 0x8c, 0x0e, 0x70, 0x06
]),
orchard_fvk_bytes: Some([
0xc4, 0xd6, 0xf7, 0x5a, 0xcb, 0xd5, 0xa4, 0x2b, 0x05, 0x3c, 0x2d, 0x2d, 0xb1, 0x7e, 0xd4, 0x0d, 0x90, 0x71, 0x8d, 0xb0, 0x95, 0x9c, 0xab, 0xff, 0xda, 0x2f, 0xcf, 0xe3, 0xdd, 0xe7, 0x34, 0x08, 0x6e, 0xbf, 0xaf, 0xd7, 0x7b, 0x3e, 0xbf, 0x36, 0x48, 0xee, 0x0f, 0x4b, 0xa5, 0x45, 0x13, 0x56, 0xb1, 0x81, 0x94, 0xbb, 0xfd, 0xb5, 0xfb, 0x4c, 0x4f, 0xe5, 0xa1, 0xff, 0xf1, 0x1f, 0x3e, 0x2e, 0xf7, 0x08, 0xc0, 0x94, 0x98, 0x30, 0x00, 0x42, 0x56, 0x33, 0xd4, 0x63, 0x29, 0xff, 0xab, 0x85, 0x73, 0x76, 0x71, 0x86, 0x06, 0xfd, 0xf8, 0x1b, 0x92, 0x24, 0xd0, 0xa6, 0xde, 0x70, 0x08, 0x20
]),
unknown_fvk_typecode: 65534,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x76, 0x70, 0x6a, 0x7a, 0x39, 0x76, 0x64, 0x79, 0x79, 0x73, 0x63, 0x75, 0x79, 0x73, 0x6e, 0x6b, 0x78, 0x75, 0x6b, 0x6b, 0x67, 0x66, 0x75, 0x77, 0x75, 0x72, 0x6e, 0x36, 0x37, 0x6b, 0x7a, 0x33, 0x7a, 0x37, 0x76, 0x71, 0x36, 0x70, 0x64, 0x6a, 0x75, 0x6a, 0x6a, 0x6c, 0x76, 0x70, 0x33, 0x39, 0x71, 0x65, 0x7a, 0x65, 0x34, 0x30, 0x71, 0x76, 0x65, 0x77, 0x30, 0x7a, 0x39, 0x73, 0x34, 0x65, 0x6b, 0x64, 0x64, 0x66, 0x34, 0x78, 0x73, 0x68, 0x75, 0x6b, 0x61, 0x36, 0x35, 0x39, 0x78, 0x63, 0x67, 0x61, 0x37, 0x73, 0x6b, 0x72, 0x76, 0x38, 0x72, 0x63, 0x78, 0x66, 0x67, 0x65, 0x6c, 0x6d, 0x7a, 0x33, 0x61, 0x35, 0x30, 0x76, 0x63, 0x66, 0x72, 0x76, 0x36, 0x71, 0x30, 0x70, 0x6d, 0x73, 0x37, 0x36, 0x33, 0x61, 0x61, 0x33, 0x30, 0x6a, 0x38, 0x67, 0x64, 0x37, 0x68, 0x63, 0x37, 0x6b, 0x72, 0x6c, 0x32, 0x6a, 0x72, 0x6c, 0x79, 0x30, 0x30, 0x33, 0x78, 0x78, 0x32, 0x75, 0x67, 0x79, 0x72, 0x37, 0x77, 0x33, 0x72, 0x74, 0x73, 0x66, 0x6e, 0x38, 0x73, 0x76, 0x61, 0x76, 0x6b, 0x6c, 0x70, 0x72, 0x76, 0x39, 0x76, 0x6c, 0x66, 0x71, 0x6e, 0x33, 0x63, 0x35, 0x61, 0x6c, 0x6e, 0x61, 0x71, 0x64, 0x67, 0x74, 0x75, 0x72, 0x6d, 0x76, 0x77, 0x64, 0x7a, 0x6d, 0x30, 0x68, 0x6d, 0x63, 0x61, 0x32, 0x6a, 0x63, 0x67, 0x74, 0x71, 0x72, 0x70, 0x67, 0x70, 0x67, 0x34, 0x36, 0x78, 0x75, 0x6a, 0x78, 0x79, 0x6d, 0x37, 0x33, 0x6b, 0x61, 0x35, 0x71, 0x67, 0x32, 0x63, 0x72, 0x36, 0x75, 0x78, 0x35, 0x71, 0x64, 0x6d, 0x7a, 0x32, 0x38, 0x36, 0x64, 0x36, 0x79, 0x65, 0x32, 0x65, 0x39, 0x30, 0x73, 0x61, 0x68, 0x71, 0x70, 0x65, 0x72, 0x6d, 0x68, 0x6b, 0x63, 0x6a, 0x63, 0x35, 0x64, 0x6a, 0x67, 0x34, 0x37, 0x39, 0x65, 0x78, 0x6c, 0x72, 0x71, 0x65, 0x76, 0x6a, 0x76, 0x7a, 0x35, 0x6b, 0x67, 0x37, 0x37, 0x76, 0x7a, 0x6b, 0x30, 0x6c, 0x65, 0x36, 0x67, 0x30, 0x34, 0x75, 0x6d, 0x78, 0x73, 0x72, 0x71, 0x71, 0x78, 0x33, 0x6b, 0x70, 0x72, 0x6d, 0x67, 0x6c, 0x39, 0x65, 0x6e, 0x71, 0x32, 0x32, 0x71, 0x72, 0x70, 0x39, 0x70, 0x67, 0x32, 0x72, 0x71, 0x73, 0x35, 0x64, 0x32, 0x70, 0x39, 0x35, 0x75, 0x65, 0x77, 0x71, 0x34, 0x32, 0x77, 0x65, 0x64, 0x38, 0x65, 0x64, 0x63, 0x61, 0x75, 0x6a, 0x75, 0x33, 0x67, 0x6d, 0x6c, 0x33, 0x70, 0x66, 0x66, 0x67, 0x6e, 0x35, 0x68, 0x68, 0x70, 0x39, 0x36, 0x65, 0x6e, 0x30, 0x75, 0x63, 0x61, 0x38, 0x34, 0x37, 0x64, 0x63, 0x32, 0x6c, 0x74, 0x32, 0x61, 0x66, 0x79, 0x33, 0x65, 0x64, 0x37, 0x61, 0x77, 0x77, 0x34, 0x39, 0x64, 0x65, 0x65, 0x75, 0x70, 0x7a, 0x67, 0x67, 0x67, 0x64, 0x68, 0x34, 0x65, 0x66
],
},
TestVector {
t_key_bytes: None,
sapling_fvk_bytes: Some([
0x62, 0x5a, 0x20, 0xb8, 0x74, 0xae, 0xf2, 0xdc, 0x14, 0x6f, 0x22, 0xad, 0x48, 0xc8, 0xf4, 0x51, 0x6b, 0x32, 0xfb, 0xd4, 0xaf, 0x3c, 0xfc, 0x94, 0xf6, 0xa9, 0x95, 0x79, 0x31, 0x14, 0x36, 0x6a, 0x2d, 0x88, 0x86, 0x01, 0xa6, 0xfa, 0x9d, 0x12, 0x93, 0xba, 0x72, 0x5f, 0x1c, 0xa9, 0x4d, 0xa2, 0xdd, 0xdf, 0x92, 0xe7, 0xb6, 0x27, 0x20, 0x69, 0xfe, 0x95, 0x99, 0xd5, 0x40, 0x71, 0x2e, 0x2f, 0x88, 0xca, 0x41, 0xc9, 0x67, 0xde, 0x42, 0x48, 0x19, 0xa3, 0x82, 0xa1, 0xd7, 0xf5, 0x9e, 0x4d, 0x1e, 0x74, 0x52, 0xee, 0x22, 0xa5, 0x28, 0x84, 0xf5, 0x2b, 0x0c, 0x71, 0xdd, 0x1e, 0xda, 0x58, 0x92, 0x3e, 0x03, 0x5e, 0x1a, 0xdc, 0xb4, 0x28, 0x46, 0xe5, 0xc3, 0xe2, 0x95, 0x69, 0xe8, 0x75, 0xb9, 0xd6, 0x3f, 0x3c, 0x40, 0xb2, 0x14, 0x45, 0x54, 0x7d, 0x0a, 0x78, 0x9a, 0x1c, 0x40, 0x30
]),
orchard_fvk_bytes: Some([
0x72, 0xc7, 0x7b, 0x46, 0xaf, 0x0a, 0x41, 0x73, 0x61, 0x9e, 0x7e, 0x85, 0x0b, 0x3e, 0x1c, 0xcb, 0xe1, 0x37, 0xe3, 0xe8, 0x3d, 0xb0, 0x52, 0x54, 0x69, 0x99, 0x75, 0xbb, 0xd2, 0x1c, 0xc8, 0x2d, 0x28, 0xf5, 0x37, 0xbb, 0x5c, 0x45, 0x74, 0x88, 0x1a, 0xde, 0x40, 0x17, 0xbe, 0xf2, 0x17, 0x97, 0x17, 0x91, 0xba, 0x31, 0x99, 0x8a, 0x37, 0xa9, 0x9f, 0xe0, 0x02, 0xc0, 0x63, 0xd8, 0x3c, 0x3c, 0xac, 0x9d, 0xa4, 0xed, 0x6d, 0x91, 0x91, 0xbf, 0xcf, 0x8a, 0x7e, 0x68, 0x59, 0x0f, 0x65, 0xec, 0x4e, 0x3e, 0xfe, 0x82, 0x7e, 0x7e, 0x8e, 0xa1, 0xe2, 0xa9, 0xb0, 0x68, 0x00, 0x97, 0xb2, 0x06
]),
unknown_fvk_typecode: 65534,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x34, 0x33, 0x6c, 0x75, 0x77, 0x78, 0x34, 0x79, 0x36, 0x79, 0x70, 0x33, 0x65, 0x65, 0x68, 0x77, 0x63, 0x72, 0x6e, 0x30, 0x6b, 0x34, 0x79, 0x36, 0x37, 0x36, 0x33, 0x6c, 0x6c, 0x34, 0x74, 0x77, 0x37, 0x35, 0x6d, 0x70, 0x35, 0x73, 0x61, 0x74, 0x61, 0x34, 0x30, 0x66, 0x35, 0x76, 0x78, 0x63, 0x6d, 0x39, 0x71, 0x75, 0x33, 0x75, 0x70, 0x6e, 0x39, 0x67, 0x63, 0x65, 0x30, 0x73, 0x78, 0x30, 0x78, 0x75, 0x36, 0x6a, 0x6a, 0x63, 0x36, 0x32, 0x6b, 0x34, 0x70, 0x70, 0x38, 0x74, 0x6b, 0x76, 0x74, 0x74, 0x38, 0x64, 0x75, 0x34, 0x64, 0x39, 0x6c, 0x38, 0x65, 0x63, 0x71, 0x66, 0x6e, 0x67, 0x66, 0x77, 0x65, 0x33, 0x6d, 0x65, 0x73, 0x71, 0x79, 0x72, 0x34, 0x74, 0x65, 0x66, 0x67, 0x38, 0x38, 0x33, 0x36, 0x35, 0x7a, 0x37, 0x30, 0x70, 0x6b, 0x63, 0x78, 0x30, 0x67, 0x63, 0x7a, 0x78, 0x64, 0x74, 0x68, 0x35, 0x6a, 0x36, 0x71, 0x30, 0x64, 0x65, 0x38, 0x33, 0x76, 0x36, 0x6d, 0x63, 0x71, 0x37, 0x36, 0x61, 0x70, 0x68, 0x75, 0x72, 0x78, 0x7a, 0x33, 0x30, 0x65, 0x34, 0x7a, 0x61, 0x71, 0x32, 0x6b, 0x76, 0x79, 0x39, 0x78, 0x71, 0x71, 0x67, 0x78, 0x77, 0x6e, 0x30, 0x30, 0x64, 0x7a, 0x6e, 0x63, 0x71, 0x65, 0x38, 0x68, 0x65, 0x39, 0x66, 0x75, 0x67, 0x78, 0x79, 0x68, 0x75, 0x6a, 0x64, 0x34, 0x63, 0x6d, 0x71, 0x36, 0x32, 0x30, 0x63, 0x35, 0x79, 0x73, 0x65, 0x79, 0x32, 0x6c, 0x33, 0x35, 0x32, 0x6d, 0x74, 0x68, 0x34, 0x37, 0x6e, 0x35, 0x71, 0x6c, 0x66, 0x64, 0x6a, 0x38, 0x65, 0x79, 0x6a, 0x65, 0x70, 0x79, 0x76, 0x64, 0x70, 0x6e, 0x7a, 0x32, 0x6e, 0x37, 0x78, 0x6a, 0x68, 0x63, 0x68, 0x33, 0x74, 0x67, 0x6e, 0x64, 0x63, 0x33, 0x74, 0x63, 0x79, 0x38, 0x66, 0x68, 0x35, 0x64, 0x66, 0x72, 0x35, 0x74, 0x77, 0x71, 0x78, 0x7a, 0x6b, 0x70, 0x6e, 0x39, 0x32, 0x38, 0x76, 0x6c, 0x74, 0x67, 0x66, 0x30, 0x36, 0x34, 0x6a, 0x6b, 0x32, 0x79, 0x67, 0x33, 0x39, 0x74, 0x35, 0x66, 0x6c, 0x71, 0x6c, 0x78, 0x35, 0x74, 0x73, 0x61, 0x35, 0x38, 0x34, 0x7a, 0x77, 0x64, 0x37, 0x67, 0x74, 0x76, 0x77, 0x79, 0x38, 0x6c, 0x67, 0x36, 0x32, 0x79, 0x68, 0x67, 0x71, 0x39, 0x33, 0x6c, 0x76, 0x32, 0x72, 0x6b, 0x34, 0x74, 0x78, 0x66, 0x68, 0x39, 0x7a, 0x78, 0x33, 0x38, 0x34, 0x33, 0x61, 0x6a, 0x72, 0x65, 0x37, 0x33, 0x39, 0x78, 0x6a, 0x68, 0x78, 0x65, 0x73, 0x38, 0x73, 0x35, 0x36, 0x38, 0x61, 0x67, 0x77, 0x64, 0x38, 0x61, 0x6b, 0x63, 0x39, 0x30, 0x7a, 0x66, 0x6a, 0x64, 0x39, 0x35, 0x78, 0x72, 0x6a, 0x30, 0x7a, 0x6c, 0x71, 0x68, 0x32, 0x34, 0x78, 0x39, 0x70, 0x79, 0x39, 0x77, 0x39, 0x63, 0x66, 0x72, 0x6b, 0x79, 0x75, 0x79
],
},
TestVector {
t_key_bytes: None,
sapling_fvk_bytes: None,
orchard_fvk_bytes: Some([
0x22, 0x6a, 0x05, 0x20, 0x82, 0x40, 0x95, 0x93, 0x98, 0x83, 0x63, 0x06, 0x34, 0x42, 0xbd, 0xd5, 0x90, 0x73, 0x05, 0xbd, 0x83, 0xa4, 0x05, 0x00, 0x23, 0x3d, 0x75, 0x81, 0xc5, 0x05, 0x8d, 0x26, 0xf6, 0x9c, 0xc8, 0x6e, 0x42, 0x7b, 0xf9, 0x8d, 0x16, 0x45, 0x8b, 0x14, 0xb7, 0x4f, 0xff, 0x5e, 0xb1, 0x19, 0xd5, 0xab, 0x07, 0x86, 0xe7, 0xa9, 0x53, 0x56, 0x35, 0x9b, 0x72, 0xa2, 0x42, 0x35, 0x4b, 0xdc, 0x50, 0xb5, 0x8d, 0x38, 0x0d, 0xb7, 0xf9, 0x42, 0x4b, 0x9f, 0x68, 0x70, 0x98, 0x80, 0x3e, 0x69, 0xa3, 0xb6, 0xdb, 0xee, 0x28, 0x5d, 0xac, 0xde, 0x54, 0xb0, 0x3e, 0x56, 0x98, 0x1f
]),
unknown_fvk_typecode: 65534,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x78, 0x6b, 0x70, 0x6a, 0x39, 0x70, 0x72, 0x33, 0x6c, 0x37, 0x33, 0x72, 0x63, 0x75, 0x34, 0x30, 0x6c, 0x79, 0x6a, 0x38, 0x76, 0x7a, 0x6e, 0x79, 0x6a, 0x79, 0x64, 0x39, 0x33, 0x6d, 0x72, 0x68, 0x72, 0x76, 0x36, 0x64, 0x78, 0x75, 0x70, 0x67, 0x68, 0x68, 0x36, 0x7a, 0x67, 0x6d, 0x33, 0x33, 0x36, 0x66, 0x78, 0x71, 0x6d, 0x61, 0x7a, 0x77, 0x76, 0x30, 0x6e, 0x37, 0x63, 0x72, 0x77, 0x68, 0x6a, 0x39, 0x35, 0x72, 0x6d, 0x79, 0x66, 0x6b, 0x72, 0x72, 0x71, 0x7a, 0x39, 0x7a, 0x77, 0x75, 0x79, 0x78, 0x74, 0x34, 0x32, 0x74, 0x77, 0x74, 0x73, 0x71, 0x72, 0x35, 0x37, 0x34, 0x7a, 0x7a, 0x74, 0x79, 0x65, 0x6a, 0x65, 0x33, 0x6e, 0x77, 0x68, 0x72, 0x33, 0x6e, 0x75, 0x73, 0x39, 0x73, 0x64, 0x71, 0x6c, 0x36, 0x6b, 0x75, 0x66, 0x68, 0x77, 0x68, 0x68, 0x7a, 0x32, 0x72, 0x6a, 0x77, 0x72, 0x39, 0x74, 0x6b, 0x33, 0x6d, 0x71, 0x6d, 0x71, 0x76, 0x70, 0x61, 0x73, 0x38, 0x6a, 0x77, 0x32, 0x70, 0x32, 0x30, 0x78, 0x72, 0x67, 0x33, 0x77, 0x73, 0x77, 0x71, 0x70, 0x78, 0x6d, 0x63, 0x77, 0x39, 0x30, 0x67, 0x76, 0x6b, 0x36, 0x36, 0x65, 0x76, 0x6b, 0x6a, 0x7a, 0x6d, 0x30, 0x7a, 0x6e, 0x37, 0x7a, 0x61, 0x37, 0x33, 0x71, 0x76, 0x79, 0x76, 0x73, 0x34, 0x79
],
},
TestVector {
t_key_bytes: Some([
0x12, 0xb5, 0x6d, 0xa9, 0xc3, 0x82, 0x85, 0x7d, 0xee, 0xcc, 0x40, 0xa9, 0x8d, 0x5f, 0x29, 0x35, 0x39, 0x5e, 0xe4, 0x76, 0x2d, 0xd2, 0x1a, 0xfd, 0xbb, 0x5d, 0x47, 0xfa, 0x9a, 0x6d, 0xd9, 0x84, 0x03, 0x9b, 0x50, 0xa1, 0x22, 0xf2, 0x6e, 0xde, 0x2e, 0x13, 0xff, 0x63, 0xb1, 0x30, 0xc9, 0x0f, 0x4c, 0x0f, 0x95, 0x1a, 0xe8, 0xa8, 0x1d, 0xdc, 0x1a, 0x4c, 0x98, 0x77, 0x54, 0xf1, 0x44, 0xc5, 0x36
]),
sapling_fvk_bytes: Some([
0x06, 0x8d, 0x40, 0x70, 0x22, 0xdb, 0x8e, 0x5d, 0xd0, 0x73, 0x08, 0x82, 0xbd, 0x54, 0x85, 0x1c, 0xa0, 0x79, 0x7a, 0x00, 0xdf, 0xf6, 0x0e, 0x35, 0x8d, 0x28, 0xa0, 0x4d, 0xf2, 0x07, 0x93, 0x83, 0x8b, 0xa1, 0x61, 0x8a, 0x68, 0x71, 0xda, 0x25, 0x6c, 0xdb, 0xf7, 0xd8, 0xad, 0x2c, 0xe8, 0x1d, 0x9c, 0xe0, 0x1d, 0xf6, 0x47, 0x65, 0xbc, 0x7c, 0x14, 0xac, 0x74, 0xe7, 0xed, 0x60, 0x12, 0x90, 0x90, 0xfc, 0xb0, 0x61, 0xb3, 0xe6, 0x72, 0xa7, 0x42, 0xaa, 0x0f, 0x5d, 0xb7, 0x28, 0x26, 0x59, 0x47, 0x35, 0x5b, 0x63, 0x75, 0xf3, 0xd2, 0x22, 0x6b, 0x25, 0x12, 0x9d, 0xce, 0xd2, 0xe0, 0x99, 0x1d, 0x02, 0xf7, 0x39, 0xd2, 0xd8, 0x22, 0xdf, 0x5d, 0x41, 0xed, 0xc1, 0x22, 0xb2, 0x33, 0x09, 0x16, 0xba, 0x36, 0xca, 0x09, 0xe8, 0x0c, 0xf0, 0x7f, 0x99, 0xbe, 0x4a, 0x45, 0xfc, 0xe8, 0xe7
]),
orchard_fvk_bytes: Some([
0x7e, 0xe6, 0x22, 0xdf, 0x8c, 0x71, 0xe3, 0xda, 0x6e, 0x50, 0x9a, 0xae, 0x7a, 0xb0, 0x17, 0x1e, 0x27, 0x5a, 0x57, 0x3b, 0x13, 0xbf, 0x7c, 0x20, 0x16, 0x51, 0x5b, 0xd9, 0x0c, 0x2e, 0x8c, 0x24, 0x52, 0x4f, 0xf7, 0xf7, 0x2d, 0xe2, 0x27, 0x4b, 0x13, 0x0a, 0x87, 0xee, 0xc6, 0xa9, 0xb3, 0x55, 0x8d, 0x31, 0xef, 0x78, 0xb0, 0x22, 0x23, 0x0b, 0x2b, 0x41, 0xae, 0xb5, 0x53, 0xdb, 0x94, 0x0b, 0x77, 0x09, 0x4c, 0xce, 0xda, 0x50, 0x96, 0x01, 0xca, 0xd9, 0x4d, 0xfa, 0xc3, 0x3c, 0xb5, 0xfe, 0x70, 0x93, 0x8d, 0x47, 0xb3, 0x83, 0x9a, 0x61, 0x2a, 0x70, 0x48, 0xe9, 0x12, 0xf5, 0xef, 0x21
]),
unknown_fvk_typecode: 65534,
unknown_fvk_bytes: None,
unified_fvk: vec![
0x75, 0x76, 0x69, 0x65, 0x77, 0x31, 0x32, 0x64, 0x77, 0x7a, 0x6d, 0x74, 0x67, 0x32, 0x34, 0x75, 0x39, 0x78, 0x61, 0x78, 0x7a, 0x36, 0x74, 0x6e, 0x37, 0x76, 0x35, 0x75, 0x36, 0x6d, 0x6d, 0x73, 0x67, 0x6e, 0x6e, 0x77, 0x65, 0x74, 0x6a, 0x34, 0x76, 0x38, 0x6d, 0x67, 0x35, 0x6d, 0x35, 0x66, 0x30, 0x6b, 0x75, 0x63, 0x6d, 0x6b, 0x35, 0x7a, 0x33, 0x75, 0x78, 0x38, 0x78, 0x70, 0x75, 0x73, 0x37, 0x66, 0x63, 0x33, 0x34, 0x68, 0x61, 0x67, 0x33, 0x61, 0x6b, 0x66, 0x75, 0x33, 0x37, 0x37, 0x37, 0x72, 0x71, 0x74, 0x39, 0x74, 0x79, 0x32, 0x38, 0x6d, 0x39, 0x30, 0x35, 0x6a, 0x39, 0x74, 0x76, 0x6d, 0x6e, 0x71, 0x6a, 0x6c, 0x6b, 0x6c, 0x61, 0x39, 0x65, 0x34, 0x37, 0x37, 0x39, 0x79, 0x32, 0x67, 0x39, 0x76, 0x7a, 0x70, 0x37, 0x78, 0x71, 0x38, 0x39, 0x39, 0x78, 0x79, 0x71, 0x6e, 0x37, 0x35, 0x6d, 0x78, 0x30, 0x67, 0x6b, 0x6b, 0x73, 0x36, 0x75, 0x35, 0x6d, 0x64, 0x73, 0x6e, 0x35, 0x6c, 0x66, 0x67, 0x64, 0x61, 0x75, 0x68, 0x66, 0x66, 0x70, 0x66, 0x33, 0x78, 0x74, 0x64, 0x6d, 0x71, 0x38, 0x67, 0x6c, 0x30, 0x78, 0x78, 0x39, 0x64, 0x72, 0x77, 0x73, 0x73, 0x38, 0x63, 0x72, 0x39, 0x33, 0x33, 0x77, 0x74, 0x34, 0x6a, 0x75, 0x38, 0x61, 0x63, 0x6e, 0x32, 0x32, 0x70, 0x35, 0x79, 0x67, 0x38, 0x65, 0x6b, 0x71, 0x78, 0x6c, 0x36, 0x70, 0x6b, 0x67, 0x36, 0x37, 0x74, 0x6b, 0x71, 0x76, 0x35, 0x6a, 0x7a, 0x6a, 0x7a, 0x6a, 0x75, 0x74, 0x64, 0x70, 0x34, 0x61, 0x70, 0x67, 0x32, 0x33, 0x6b, 0x6c, 0x75, 0x30, 0x7a, 0x68, 0x78, 0x35, 0x38, 0x6d, 0x6c, 0x6b, 0x78, 0x6a, 0x63, 0x61, 0x6a, 0x6c, 0x67, 0x36, 0x61, 0x6e, 0x75, 0x34, 0x74, 0x6d, 0x34, 0x38, 0x6a, 0x6b, 0x61, 0x6d, 0x74, 0x72, 0x34, 0x33, 0x6e, 0x6b, 0x39, 0x73, 0x7a, 0x35, 0x30, 0x76, 0x78, 0x73, 0x7a, 0x63, 0x34, 0x77, 0x35, 0x77, 0x32, 0x32, 0x68, 0x36, 0x78, 0x37, 0x39, 0x64, 0x73, 0x71, 0x67, 0x77, 0x33, 0x77, 0x78, 0x68, 0x72, 0x6e, 0x66, 0x6d, 0x70, 0x71, 0x79, 0x73, 0x68, 0x61, 0x35, 0x64, 0x6c, 0x73, 0x72, 0x6e, 0x33, 0x32, 0x35, 0x36, 0x67, 0x63, 0x30, 0x66, 0x67, 0x73, 0x39, 0x70, 0x6e, 0x34, 0x72, 0x6b, 0x67, 0x66, 0x65, 0x7a, 0x35, 0x39, 0x71, 0x38, 0x70, 0x67, 0x36, 0x74, 0x38, 0x66, 0x77, 0x39, 0x66, 0x35, 0x63, 0x78, 0x64, 0x76, 0x61, 0x66, 0x76, 0x76, 0x39, 0x38, 0x61, 0x30, 0x77, 0x70, 0x72, 0x32, 0x72, 0x63, 0x73, 0x70, 0x35, 0x34, 0x70, 0x6c, 0x75, 0x6b, 0x75, 0x71, 0x37, 0x6c, 0x70, 0x61, 0x70, 0x68, 0x76, 0x6c, 0x32, 0x35, 0x71, 0x66, 0x66, 0x77, 0x74, 0x6b, 0x34, 0x77, 0x37, 0x7a, 0x7a, 0x74, 0x70, 0x34, 0x66, 0x65, 0x6c, 0x73, 0x38, 0x65, 0x38, 0x33, 0x39, 0x32, 0x6d, 0x66, 0x73, 0x79, 0x66, 0x66, 0x63, 0x77, 0x71, 0x6e, 0x76, 0x66, 0x30, 0x75, 0x6b, 0x30, 0x72, 0x7a, 0x32, 0x34, 0x66, 0x36, 0x32, 0x6d, 0x65, 0x77, 0x67, 0x6d, 0x36, 0x73, 0x6a, 0x6b, 0x66, 0x63, 0x33, 0x71, 0x63, 0x32, 0x68, 0x78, 0x38, 0x36, 0x73, 0x70, 0x6b, 0x75, 0x73, 0x74, 0x33, 0x79, 0x76, 0x64, 0x38, 0x66, 0x65, 0x65, 0x6b, 0x32, 0x76, 0x65, 0x61, 0x71, 0x76, 0x61, 0x68, 0x61, 0x39, 0x75, 0x75, 0x64, 0x72, 0x63, 0x6c, 0x35, 0x74, 0x75, 0x36, 0x74, 0x61, 0x36, 0x66, 0x72, 0x33, 0x6a, 0x30, 0x32, 0x67, 0x6a, 0x79, 0x68, 0x75, 0x75, 0x6e, 0x76, 0x38, 0x64, 0x63, 0x68, 0x6c, 0x66, 0x68, 0x35, 0x6b
],
},
];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,14 @@
[
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/unified_address.py"],
["p2pkh_bytes, p2sh_bytes, sapling_raw_addr, orchard_raw_addr, unified_addr"],
[null, "7a8f739a2d9e945b0ce152a8049e294c4d6e66b1", null, "dcb1d2a37762148db4cee3bbf19fb1ec05891894b13801c622ba6a90faf1119f8224ae3985c6abd3b7bbae", "753136757437336b36346a757a75366a753077617336717537676437717a30337261777368776e746d3030783937306b326374356d776a3536726478737863383871706e356b76716e35337a63686c6e74786b3834786b6b686e34666a74336466796e6c3576796d64666568306d3978653077383066766d6a6d7078346d65666a74776a3878676e6770687770"],
["b3534201cfb1cd8dbf69b8250c18ef41294ca979", null, "902b6565a1c44e7e7a080571af1dd774697cc126f1fc0435d3cdbf868783e9fb4620df4bf175cbf2c3e36f", "05f61273a7201295332fee4579474534809a0aeb817a2bc0594166ad7a462067712533b6eec0fa2d1be99f", "7531677235333765706b3274786b787a746172377272763435706b706370656c38396e6137326e3867703572653439616c6d7a713438356e3672376133656134306a7132333278373975373765646b6c7a6e73356566383630756e78323371396773777276336d337a78326a7666646166367675703535757a7333347a37617563753830376730796c6b7563767976777635746379386834386b656767706e327238797035636c7036663032343936617973386a6c64386a353875677668653272786372737779726a6b6635726d376d3674777973"],
[null, "e8c7203d996af7d477083756d59af80d06a745f4", null, "4ea7d6b3dfa338192af06cbbf47ad405715bc7832bedb1466217dc0d93314de9f3c25eec89f9a21bfe0e93", "75316e6b35373061616d79347a6d68656c7a366b613033667a79347337663972346b6576666d67636533793536716e6a717a6d687436687937723338746b776474673961346363786533647874346b746a34616a6e396b79346c73366a656a633972676664756e737567756878646d706a303575723664756364776c686a6d39326a786c6a727937746732646b"],
[null, null, "02f1536b622c01346742d8f90e9d4ff39137f1bebe6e23ad9971776b3372702494cc08951eef032b35350f", null, "75313363366d36716e657a72337966753468757630356e687961356372786e35347861786a78376d6b6674393861796e7a336b68636e6176647961306c746a797565717a3577706d306d7a6a357a646c343464323076657a6768753272743861737635636c6133746463"],
[null, "183e31d49f25c9a138f49b1a537edcf04be34a98", "3246b59a5b492dab1855cc176bddfa28418f11f97f7b361cc3e8834b2c30d2a1717df323ef98ea7de71d2e", "ab6d26252c521547049de208283d96278bb221a6874cb5a86af1d3f8b3db3fbee3dbefedcb2c71e3ca1ead", "7531656a706e33676e343039737238333466637771326b683679346a6170663968717273363633786a3074796e787563336467766b786767777575306d646c7938386379633867767433306b76343635763976656d6b7232327771657861737277343976796c34686e616c6c6a64637536327532736134643261357463656872666c7579746a7a32707a6a396d61393863783330636b3271306d6b35306b64366d657670396870796d6d39703772737579387076307061666c666a686c306c707a6e32323833776b68646c6a68716a7a306e63756b"],
[null, null, "970dc3450d34554141d356cb548056279c57708fa73bd16ffe9a2e24ea694898a7b8af1b0ff92585d02623", "0414bb62b86149ee731851f27d532ac0361169da46e6d53d19d3dfd07a5bae22969922d8d0af7dc1e13bae", "75316a6d386d6563326c7372653366666565706d74747334376b3833336d337271653072686d7a6a393778726737376136666c6a7a613336666a687734646363766d396c326e61376c706166756a6661356b617477383979773636687330636135747436666570736a76367030757539737764617672633870786d6c343066773865766b763230766a61386e77786e37366e61306d376e6774326c30797336323537307761756a717374357137797435746e"],
[null, "098b79535e790fe53e29fef2b3766697ac32b4f4", "a8a8797c1ba69f78672affa65b943975026931ea628431f0991e744872ac9f36946f5dcd6851a0b5af29cf", "678ab0079bea28bf165c1ab976a2a58c18a7811ca2ad0ad649e876273d04325da6ca53cdb83c111e8e4394", "7531617673633374613838646863346a353774646570386a6833663273673363756e6670736d36766d636a61613735663066643937667137637030797134636b6d636c3576637778787777333273757375743076346c30393733763573766e3737757430307a617538366e39367967637776797a3279357479796c366e6479723638383236346e7263343273683833326c6c686170686a3933616c30336a6e64363670376e3434707037687138666e6b75796d6b796a353665357039677239786565783430386535326e37353565373863646a6c73"],
[null, null, "3509c9e069e89fe501d97622c283ac98923da2d7e6eb346b4bafa67865e1e6dae7cf213b1ea3648dc09b48", null, "7531357676383834637a356436346e677232717634307835797171677a366a743368657a75396d6b7566323064756a61663871766b736c6e78793738663264707879323470767637797666637a6b6c307761653435613070683664377a37646574336a67347267677866"],
[null, "30d069896cff30eb414f727b89e001afa2fb8dc3", "55bc46aea6f60c1d61915640029b2af6334d7d27e1c47a248ab47c9fbe5d2d7bb5818739f062e37136654c", null, "7531396767387371706568756d676d73787a676a796d6c393336786b3267786d736665356a6537377a6a61613067676e32723330733239343266766b61327563747536396d7074763063323976686a7034686172637530723273366e793730306c797a78716866383335786b716a7873776a6a7771303261646b71796a6b6b3963776a6e377032736864713379"],
[null, null, "5c26a8117729334a957ca7941d47b2ce7040e844fa9882c25bfd2fcf51fa8ab21376f5300d0123f5703e9e", null, "75313976636e33726564706170687834326d6e307379633236793877397766676c657a396175736b61787267686d78383064756e61333663616763337973376d6e336a373639766367387275336b646e61713470683436303438646873766c35646d6473677879653833"]
]

View File

@ -0,0 +1,14 @@
[
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/unified_full_viewing_keys.py"],
["t_key_bytes, sapling_fvk_bytes, orchard_fvk_bytes, unknown_fvk_typecode, unknown_fvk_bytes, unified_fvk"],
[null, "cfb835e7c05c80c2a15a58702bc529a44e1a815ef79124f23709214cf0167ac4e6340b493dca8e4bee114259dc35edc4c296ffd53869885531d1bdb27008bbcd6fec092ad5c4d1f68819f41ae447db96df4a5f110018f47060916ec54884f1cc27a0d4c0bca90984cdf39fb4cc61ceee78ddaa2a45af871f49f04e98b02fb16b", null, 65535, null, "757669657731747878783339707833736a676478796c6d6636666876706e6878667966717376756e3863737330723678717830726b3974767a3076727a74756a74683474716e7534367877657035367279396a643537687972726c36757467657a356a717232716466737a79787265686b64686774757964376d78756e6e6133327732356d396b7771387163687377673476686632796d736b376c6e7637786a3864356b347a7272343370756e746b6d666b396e346a636b66763237677063376e747765726c6c756439307a346c356c71786a68366333356b376135786c6d663563726467677537366c307572657475787333386839"],
["18d9614fc820905d042bb1ef9ca3f24988c7b3534201cfb1cd8dbf69b8250c1802820346fcec8ea1276db2e615b8ced2fe4cf7468c1ef453146195b4d7bc13a4dc", "04da0d94cb0a6397067a81a88ef422e56678e0ba232eb4dd6b05b98bc5e3461cd4a52b366a7df1f3a871854bfe1492711dc5130b35441748caa2742959279ce31e2b3604995d4ccedc4618ad16cdd2c0d42a6d36fb3a0610054cedef30beca20d187f32ce02f8ca357b575e705cda7ef8e1c68b9110381bd3958e0659a084205", null, 65530, null, "75766965773171686334726b616c78373730716e66746d656b3578383770356c74756570336e6d6e6e766a716439736b656139637039333668387264706332736468737876633036636b376e7466746e78703970766564706b67393765356a6377727170726364686a6e3771357774333467656c7561356166636632666b737a33356b7333636c3764703472306330786a6364756a357073336c707435346c7177707036726c676e347278383878376e643034786470326461756a706765676a6a397436666c34326464386c3667683730746b70756a366b3276376e786b686c7568356a736b356c3461746d35726577646771646d796e326568763232766e73353665656468756167787171736d356833303764326a767832396466787530396a3433666a687a646637707664373277706e356e666d74767a7376726e75387079796166713478376e716467636372726d656675713664667a3535753078367a6e"],
["25946f62c2fa7b2fecbcb64b6968912a6381ce3dc166d56a1d62f5a8d7551db503062caf06c89638774b698aaafc8c834fb2696f70c3cdc70f4528f4ddae53f9e1", "fc02759ff2853b5e9e15842bef22c76023d43db7c265f120ed175713195f1240f63aee02ec23f146e9e25d25605fbae5472cdedc3b4c31c66b76fe9e6e47eeca79d5fb6a84d152820daaf89e99551d068d99cdf9be065007bc25f245ea62631d17b3bc77f62f35bd4205e6f682b1f9e824ecea53e271b80ff6bc79ef68a20ab5", "5aefc74861debd6c707786cd82c4a5d1ea088bba9ce4ea19851af7fabb90cd31055096c89f206607d6542b4f75856cecdcfcf65450a32cba628a1d0cb899ea3e9cc926110769fd9c685c6e087aa2e49b8d7646b04611e19be1da51c4953cf02e", 65532, "1a035587d5fb1a38e01d94903d3c3e0ad3360c1d3710acd20b183e31d49f25c9a138f49b1a537edcf04be34a9851a7af9db6990ed83dd64af3597c04323ea51b0052ad8084a8b9da948d320dadd64f5431e61ddf658d24ae67c22c8d1309131fc00fe7f235734276d38d47f1e191e00c7a1d48af046827591e9733a97fa6b679f3dc601d008285edcbdae69ce8fc1be4aac00ff2711ebd931de518856878f73476", "7576696577316436307463727173657a32757570773473303679667278717534716b30746d37716b6768336c36766d6b6d717676706567386777367478726b736a3265366d7175636a3776396a3274796a71726a72656d666535736d6e797877303035663570617164617474397073783270746d686b71797563726538346d7868337636637763703072363470357473346e71726b6678367a377a746c7473773378716b6e646d6c7261326767726a673571613861666e32387779756630346c6637617a636a6d63713771797872703634763072306e786e66306679796e70687a3361757965727473356e306d7137397176383263326a3732796d32616d366b356130767a37616a67676a39367870716b6c7277716a64743632707076796c397578737a7730363532793538776c63346d6a6475323464303775376e733463656567736568307a633633327932646b79376764616b366678363278776c6367307963676d3639616b3078657077333264716d6d357274386b6d6d6a7a78706a36676b687566766b3635773073676d6c346d617a7566773664737377786c34346a6b7535796a72306b33367176686467787072757266766c3370676d7133353832707963303438387677797138767232777966716d376432793277356d636c306138366765357178703832396178613971736776666e3839373032336d70716376347867726861336c366d6a323067783070796c6a753366747264667666706a78666b677273373967397478643237617373777035656a367735376c736467797067776a656a776a6a7867386a63343367676a7765646c7778666664687179717061687576336a367264687361736b6a77753566376d706a3371746467717a397767346468797276326172746c746378753375617633346d303630666d35383739677267637763376372326866346679367239367030347a647a75723766676433367135747268676a66687074383472327a7574756e38747576386d786d666538336e7a756a3572646b78356e78793471663075617274666e376633646a7971796870337a6e34"],
[null, null, "b4da1de64ff7ae804cd823f0d7b9ebd420beadef674b68399c7a31a3ff8b1b1edebd757e754423ddc889be2562618c1bb94921c987e09de96a0e6c591a453f0cc61bf8d4d70bf1825a1210499e2f7cf030be723958d6e939026434aa7aa68039", 65535, null, "75766965773165773575746379656872706c306c38683534793368757366676770796d3435347a727136747539777439797a7139356a6b6c38736a336d6a6879726b353778356a7975767837746666326c677a6a6779707472786a7979346833786336386639686a796d75746e3071306d64396737787872667a3772727a39746132756c736732636b74726464763338306b33767935777768766c7135657866796d366564736d67717467617537327338733461796873367434746d71756130713236"],
[null, null, "e72af55323ac5bc329a0c75bbb72c89ff5467b801d5783b66b39d02f87d03a117765db7fb65b6a4719958328d949adcbbe6b5bf92ad2539b6cc31948f3884a2811d3ae941ba3d218d7463f2b7dc158aa97d91fe06c2595a572c6c015c8647224", 65530, "596555ed9494c6ac893c49723833ec8926c1039586a7afcf4a0d9c731e985d9958", "75766965773174657a306b366a776e703661717a716166366670366a3865366c7771746d637a3868746e333536686b67356e756b373033666173337266777761743333653361616b3039306173616a6c737972756b366d6c7135646a713932776571743339677a37763577783337383873676533343571766a346e6d653335677276336477733466743461797371767132716a7a7a63767965793072776767797677366d79727136723076306370367870387a71386a63653677643664666768667175726435687977377970753379347565726a3737776873383071666c3739366370386a3339766836773561616171386a7638396e63756b67346d3537"],
[null, "1bec3da863b3274f4a93458559355066d32fce9d9cb051b2f42ef0ca425361b71ae8f4a40e143cb905b0471ae24781549de69ceeb582db050392e05c6e794685c225a75133434ad8f7c194576e65c0fe25bd7b1000ad07cf3dc63d6c6b7740ff8358a5cd3634092fc31611df64a2206eab0c5b8bcf056738f00bccbc615ffc87", null, 65533, null, "7576696577316771686c6c39657a68616632786177616a7677326c6e783273786d766b6135636d7677766d3879653065677064356a6e6a7132377574306d777861767a3067676465736d666d6b6a387633647167786d637878736667636a7865737a61797535717761333738743966743436763961386837726d37657466757864686d786661783674766468737161786c6c6a613876677633716133303768747270747674386d666a7270396c72396a6a7435386530393466763967653577327777646d326177797476727038653877703333736e6e726e753432336a6863687a776b386630686c363865616e7375716d6c61336e74"],
[null, "9d7e04ae88417ec87f82f4df18f35785b49ec1910e340d6b42e6248c88e2343691b2f0885065aaead6820bdc9dbc52a01bffad9b09298c7feb3002d9a863890ab681421ab447005e6cd49233d5ec66b92b63c78340f0cc23823f775acb1ef11f0d393f2be9b02bfd366cf1aaa0bb9328b2ad02f9adddef2e9aebed718c0e7006", "c4d6f75acbd5a42b053c2d2db17ed40d90718db0959cabffda2fcfe3dde734086ebfafd77b3ebf3648ee0f4ba5451356b18194bbfdb5fb4c4fe5a1fff11f3e2ef708c094983000425633d46329ffab857376718606fdf81b9224d0a6de700820", 65534, null, "75766965773176706a7a397664797973637579736e6b78756b6b6766757775726e36376b7a337a3776713670646a756a6a6c7670333971657a65343071766577307a397334656b64646634787368756b613635397863676137736b7276387263786667656c6d7a336135307663667276367130706d73373633616133306a386764376863376b726c326a726c7930303378783275677972377733727473666e38737661766b6c70727639766c66716e336335616c6e617164677475726d7677647a6d30686d6361326a636774717270677067343678756a78796d37336b613571673263723675783571646d7a3238366436796532653930736168717065726d686b636a6335646a6734373965786c727165766a767a356b673737767a6b306c6536673034756d787372717178336b70726d676c39656e713232717270397067327271733564327039357565777134327765643865646361756a7533676d6c33706666676e356868703936656e307563613834376463326c743261667933656437617777343964656575707a6767676468346566"],
[null, "625a20b874aef2dc146f22ad48c8f4516b32fbd4af3cfc94f6a995793114366a2d888601a6fa9d1293ba725f1ca94da2dddf92e7b6272069fe9599d540712e2f88ca41c967de424819a382a1d7f59e4d1e7452ee22a52884f52b0c71dd1eda58923e035e1adcb42846e5c3e29569e875b9d63f3c40b21445547d0a789a1c4030", "72c77b46af0a4173619e7e850b3e1ccbe137e3e83db05254699975bbd21cc82d28f537bb5c4574881ade4017bef217971791ba31998a37a99fe002c063d83c3cac9da4ed6d9191bfcf8a7e68590f65ec4e3efe827e7e8ea1e2a9b0680097b206", 65534, null, "75766965773134336c7577783479367970336565687763726e306b3479363736336c6c34747737356d703573617461343066357678636d3971753375706e39676365307378307875366a6a6336326b34707038746b7674743864753464396c38656371666e67667765336d6573717972347465666738383336357a3730706b63783067637a78647468356a3671306465383376366d637137366170687572787a333065347a6171326b7679397871716778776e3030647a6e63716538686539667567787968756a6434636d71363230633579736579326c3335326d746834376e35716c66646a3865796a6570797664706e7a326e37786a6863683374676e6463337463793866683564667235747771787a6b706e393238766c7467663036346a6b32796733397435666c716c78357473613538347a7764376774767779386c6736327968677139336c7632726b3474786668397a7833383433616a7265373339786a6878657338733536386167776438616b6339307a666a64393578726a307a6c71683234783970793977396366726b797579"],
[null, null, "226a052082409593988363063442bdd5907305bd83a40500233d7581c5058d26f69cc86e427bf98d16458b14b74fff5eb119d5ab0786e7a95356359b72a242354bdc50b58d380db7f9424b9f687098803e69a3b6dbee285dacde54b03e56981f", 65534, null, "757669657731786b706a397072336c373372637534306c796a38767a6e796a796439336d726872763664787570676868367a676d3333366678716d617a7776306e37637277686a3935726d79666b7272717a397a777579787434327477747371723537347a7a7479656a65336e776872336e7573397364716c366b7566687768687a32726a777239746b336d716d7176706173386a7732703230787267337773777170786d6377393067766b363665766b6a7a6d307a6e377a61373371767976733479"],
["12b56da9c382857deecc40a98d5f2935395ee4762dd21afdbb5d47fa9a6dd984039b50a122f26ede2e13ff63b130c90f4c0f951ae8a81ddc1a4c987754f144c536", "068d407022db8e5dd0730882bd54851ca0797a00dff60e358d28a04df20793838ba1618a6871da256cdbf7d8ad2ce81d9ce01df64765bc7c14ac74e7ed60129090fcb061b3e672a742aa0f5db728265947355b6375f3d2226b25129dced2e0991d02f739d2d822df5d41edc122b2330916ba36ca09e80cf07f99be4a45fce8e7", "7ee622df8c71e3da6e509aae7ab0171e275a573b13bf7c2016515bd90c2e8c24524ff7f72de2274b130a87eec6a9b3558d31ef78b022230b2b41aeb553db940b77094cceda509601cad94dfac33cb5fe70938d47b3839a612a7048e912f5ef21", 65534, null, "7576696577313264777a6d7467323475397861787a36746e37763575366d6d73676e6e7765746a3476386d67356d3566306b75636d6b357a3375783878707573376663333468616733616b66753337373772717439747932386d3930356a3974766d6e716a6c6b6c6139653437373979326739767a703778713839397879716e37356d7830676b6b733675356d64736e356c66676461756866667066337874646d7138676c3078783964727773733863723933337774346a753861636e32327035796738656b71786c36706b673637746b7176356a7a6a7a6a757464703461706732336b6c75307a687835386d6c6b786a63616a6c6736616e7534746d34386a6b616d747234336e6b39737a35307678737a633477357732326836783739647371677733777868726e666d70717973686135646c73726e3332353667633066677339706e34726b6766657a353971387067367438667739663563786476616676763938613077707232726373703534706c756b7571376c70617068766c323571666677746b3477377a7a74703466656c733865383339326d66737966666377716e766630756b30727a32346636326d6577676d36736a6b6663337163326878383673706b75737433797664386665656b3276656171766168613975756472636c357475367461366672336a3032676a796875756e76386463686c6668356b"]
]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long