Skip to content

Commit

Permalink
Merge pull request #1952 from input-output-hk/better_artifacts_naming
Browse files Browse the repository at this point in the history
Imporove artifacts names
  • Loading branch information
mkoura authored Sep 19, 2023
2 parents 8d3a047 + c24dd74 commit 7b55383
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cardano_node_tests/tests/test_pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,20 +463,20 @@ def _create_register_pool_delegate_stake_tx(
if use_build_cmd:
tx_raw_output = cluster_obj.g_transaction.build_tx(
src_address=src_address,
tx_name=temp_template,
tx_name=f"{temp_template}_reg_deleg",
tx_files=tx_files,
fee_buffer=2_000_000,
witness_override=len(pool_owners) * 3,
)
tx_signed = cluster_obj.g_transaction.sign_tx(
tx_body_file=tx_raw_output.out_file,
signing_key_files=tx_files.signing_key_files,
tx_name=temp_template,
tx_name=f"{temp_template}_reg_deleg",
)
cluster_obj.g_transaction.submit_tx(tx_file=tx_signed, txins=tx_raw_output.txins)
else:
tx_raw_output = cluster_obj.g_transaction.send_tx(
src_address=src_address, tx_name=temp_template, tx_files=tx_files
src_address=src_address, tx_name=f"{temp_template}_reg_deleg", tx_files=tx_files
)

# deregister stake pool
Expand All @@ -488,7 +488,7 @@ def _deregister():
cold_key_pair=node_cold,
epoch=cluster_obj.g_query.get_epoch() + depoch,
pool_name=pool_data.pool_name,
tx_name=temp_template,
tx_name=f"{temp_template}_dereg",
)

if request is not None:
Expand Down Expand Up @@ -583,20 +583,20 @@ def _create_register_pool_tx_delegate_stake_tx(
if use_build_cmd:
tx_raw_output = cluster_obj.g_transaction.build_tx(
src_address=src_address,
tx_name=temp_template,
tx_name=f"{temp_template}_reg_deleg",
tx_files=tx_files,
fee_buffer=2_000_000,
witness_override=len(pool_owners) * 3,
)
tx_signed = cluster_obj.g_transaction.sign_tx(
tx_body_file=tx_raw_output.out_file,
signing_key_files=tx_files.signing_key_files,
tx_name=temp_template,
tx_name=f"{temp_template}_reg_deleg",
)
cluster_obj.g_transaction.submit_tx(tx_file=tx_signed, txins=tx_raw_output.txins)
else:
tx_raw_output = cluster_obj.g_transaction.send_tx(
src_address=src_address, tx_name=temp_template, tx_files=tx_files
src_address=src_address, tx_name=f"{temp_template}_reg_deleg", tx_files=tx_files
)

# check that the balance for source address was correctly updated
Expand Down

0 comments on commit 7b55383

Please sign in to comment.