diff --git a/pyproject.toml b/pyproject.toml index d4f5b398..60e7cfd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,4 +71,4 @@ orchard_zsa_asset_base="zcash_test_vectors.orchard_zsa.asset_base:main" orchard_zsa_issuance_auth_sig="zcash_test_vectors.orchard_zsa.issuance_auth_sig:main" orchard_zsa_key_components = "zcash_test_vectors.orchard_zsa.key_components:main" orchard_zsa_note_encryption = "zcash_test_vectors.orchard_zsa.note_encryption:main" -orchard_zsa_digests = "zcash_test_vectors.transaction_zsa:main" +orchard_zsa_digests = "zcash_test_vectors.transaction_v6:main" diff --git a/zcash_test_vectors/transaction_zsa.py b/zcash_test_vectors/transaction_v6.py similarity index 98% rename from zcash_test_vectors/transaction_zsa.py rename to zcash_test_vectors/transaction_v6.py index 0dde3a22..e186e790 100644 --- a/zcash_test_vectors/transaction_zsa.py +++ b/zcash_test_vectors/transaction_v6.py @@ -81,7 +81,7 @@ def __bytes__(self): return ret -class TransactionZSA(TransactionBase): +class TransactionV6(TransactionBase): def __init__(self, rand, consensus_branch_id, have_orchard_zsa=True, have_burn=True, have_issuance=True): # We cannot have burns without an OrchardZSA bundle. @@ -178,7 +178,7 @@ def main(): for choice in allowed_choices: for _ in range(2): # We generate two test vectors for each choice. - tx = TransactionZSA(rand, consensus_branch_id, *choice) + tx = TransactionV6(rand, consensus_branch_id, *choice) populate_test_vector(rand, test_vectors, tx) generate_test_vectors('orchard_zsa_digests', test_vectors)