Skip to content

Commit

Permalink
Branch Fix: Don't encode asset names for node version 1.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Nov 22, 2021
1 parent 0d22295 commit d6e8608
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cardano_node_tests/tests/test_smart_contracts.py
Expand Up @@ -1709,7 +1709,7 @@ def test_witness_redeemer(
]

policyid = cluster.get_policyid(MINTING_WITNESS_REDEEMER_PLUTUS)
asset_name = f"qacoin{clusterlib.get_rand_str(4)}".encode("utf-8").hex()
asset_name = f"qacoin{clusterlib.get_rand_str(4)}"
token = f"{policyid}.{asset_name}"
mint = [clusterlib.TxOut(address=issuer_addr.address, amount=token_amount, coin=token)]

Expand Down Expand Up @@ -1837,7 +1837,7 @@ def test_witness_redeemer_missing_signer(
]

policyid = cluster.get_policyid(MINTING_WITNESS_REDEEMER_PLUTUS)
asset_name = f"qacoin{clusterlib.get_rand_str(4)}".encode("utf-8").hex()
asset_name = f"qacoin{clusterlib.get_rand_str(4)}"
token = f"{policyid}.{asset_name}"
mint = [clusterlib.TxOut(address=issuer_addr.address, amount=token_amount, coin=token)]

Expand Down Expand Up @@ -3379,7 +3379,7 @@ def test_witness_redeemer(
]

policyid = cluster.get_policyid(MINTING_PLUTUS)
asset_name = f"qacoin{clusterlib.get_rand_str(4)}".encode("utf-8").hex()
asset_name = f"qacoin{clusterlib.get_rand_str(4)}"
token = f"{policyid}.{asset_name}"
mint = [clusterlib.TxOut(address=issuer_addr.address, amount=token_amount, coin=token)]

Expand Down Expand Up @@ -3499,7 +3499,7 @@ def test_witness_redeemer_missing_signer(
]

policyid = cluster.get_policyid(MINTING_PLUTUS)
asset_name = f"qacoin{clusterlib.get_rand_str(4)}".encode("utf-8").hex()
asset_name = f"qacoin{clusterlib.get_rand_str(4)}"
token = f"{policyid}.{asset_name}"
mint = [clusterlib.TxOut(address=issuer_addr.address, amount=token_amount, coin=token)]

Expand Down

0 comments on commit d6e8608

Please sign in to comment.