Fix generation of source path metadata in zip_0320 test vectors.
This commit is contained in:
parent
439d5a3e12
commit
4c82764cd2
|
@ -1,5 +1,5 @@
|
||||||
[
|
[
|
||||||
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/transparent/zip_0320.py"],
|
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/zcash_test_vectors/transparent/zip_0320.py"],
|
||||||
["t_addr, p2pkh_bytes, tex_addr, account, child_index"],
|
["t_addr, p2pkh_bytes, tex_addr, account, child_index"],
|
||||||
["t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW", "7bb83570b8fae146e03c5331a020b1e0892f631d", "tex10wur2u9clts5dcpu2vc6qg93uzyj7cca2xm732", 0, 0],
|
["t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW", "7bb83570b8fae146e03c5331a020b1e0892f631d", "tex10wur2u9clts5dcpu2vc6qg93uzyj7cca2xm732", 0, 0],
|
||||||
["t1LZdE42PAt1wREUv1YMYRFwJDPHPW8toLL", "1d81e86791c72d292f906e7c039a729e4b1ff7fc", "tex1rkq7seu3cukjjtusde7q8xnjne93laluyvdxu7", 0, 1],
|
["t1LZdE42PAt1wREUv1YMYRFwJDPHPW8toLL", "1d81e86791c72d292f906e7c039a729e4b1ff7fc", "tex1rkq7seu3cukjjtusde7q8xnjne93laluyvdxu7", 0, 1],
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
child_index: u32,
|
child_index: u32,
|
||||||
};
|
};
|
||||||
|
|
||||||
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/transparent/zip_0320.py
|
// From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/zcash_test_vectors/transparent/zip_0320.py
|
||||||
let test_vectors = vec![
|
let test_vectors = vec![
|
||||||
TestVector {
|
TestVector {
|
||||||
t_addr: "t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW",
|
t_addr: "t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[
|
[
|
||||||
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/transparent/zip_0320.py"],
|
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/zcash_test_vectors/transparent/zip_0320.py"],
|
||||||
["t_addr, p2pkh_bytes, tex_addr, account, child_index"],
|
["t_addr, p2pkh_bytes, tex_addr, account, child_index"],
|
||||||
["t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW", "7bb83570b8fae146e03c5331a020b1e0892f631d", "tex10wur2u9clts5dcpu2vc6qg93uzyj7cca2xm732", 0, 0],
|
["t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW", "7bb83570b8fae146e03c5331a020b1e0892f631d", "tex10wur2u9clts5dcpu2vc6qg93uzyj7cca2xm732", 0, 0],
|
||||||
["t1LZdE42PAt1wREUv1YMYRFwJDPHPW8toLL", "1d81e86791c72d292f906e7c039a729e4b1ff7fc", "tex1rkq7seu3cukjjtusde7q8xnjne93laluyvdxu7", 0, 1],
|
["t1LZdE42PAt1wREUv1YMYRFwJDPHPW8toLL", "1d81e86791c72d292f906e7c039a729e4b1ff7fc", "tex1rkq7seu3cukjjtusde7q8xnjne93laluyvdxu7", 0, 1],
|
||||||
|
|
|
@ -66,7 +66,7 @@ def main():
|
||||||
|
|
||||||
render_tv(
|
render_tv(
|
||||||
args,
|
args,
|
||||||
'transparent/zip_0320',
|
'zcash_test_vectors/transparent/zip_0320',
|
||||||
(
|
(
|
||||||
('t_addr', {'rust_type': '&\'static str'}),
|
('t_addr', {'rust_type': '&\'static str'}),
|
||||||
('p2pkh_bytes', '[u8; 20]'),
|
('p2pkh_bytes', '[u8; 20]'),
|
||||||
|
|
Loading…
Reference in New Issue