Skip to content

Commit

Permalink
Fix generation of source path metadata in zip_0320 test vectors.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Apr 24, 2024
1 parent 439d5a3 commit 4c82764
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test-vectors/json/zip_0320.json
Original file line number Diff line number Diff line change
@@ -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"],
["t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW", "7bb83570b8fae146e03c5331a020b1e0892f631d", "tex10wur2u9clts5dcpu2vc6qg93uzyj7cca2xm732", 0, 0],
["t1LZdE42PAt1wREUv1YMYRFwJDPHPW8toLL", "1d81e86791c72d292f906e7c039a729e4b1ff7fc", "tex1rkq7seu3cukjjtusde7q8xnjne93laluyvdxu7", 0, 1],
Expand Down
2 changes: 1 addition & 1 deletion test-vectors/rust/zip_0320.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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![
TestVector {
t_addr: "t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW",
Expand Down
2 changes: 1 addition & 1 deletion test-vectors/zcash/zip_0320.json
Original file line number Diff line number Diff line change
@@ -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"],
["t1V9mnyk5Z5cTNMCkLbaDwSskgJZucTLdgW", "7bb83570b8fae146e03c5331a020b1e0892f631d", "tex10wur2u9clts5dcpu2vc6qg93uzyj7cca2xm732", 0, 0],
["t1LZdE42PAt1wREUv1YMYRFwJDPHPW8toLL", "1d81e86791c72d292f906e7c039a729e4b1ff7fc", "tex1rkq7seu3cukjjtusde7q8xnjne93laluyvdxu7", 0, 1],
Expand Down
2 changes: 1 addition & 1 deletion zcash_test_vectors/transparent/zip_0320.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main():

render_tv(
args,
'transparent/zip_0320',
'zcash_test_vectors/transparent/zip_0320',
(
('t_addr', {'rust_type': '&\'static str'}),
('p2pkh_bytes', '[u8; 20]'),
Expand Down

0 comments on commit 4c82764

Please sign in to comment.