Skip to content

Commit 74df306

Browse files
authored
Merge pull request #3153 from IntersectMBO/refactor-common-build-methods
This PR refactors basics build_and_submit tx.
2 parents e84416f + 195e873 commit 74df306

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

cardano_node_tests/tests/test_pools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2627,7 +2627,7 @@ def pools(
26272627
cluster_obj=cluster,
26282628
name_template=f"{temp_template}_delegate_reward_addrs",
26292629
src_address=pool_owners[0].payment.address,
2630-
use_build_cmd=True,
2630+
build_method=clusterlib_utils.BuildMethods.BUILD,
26312631
tx_files=tx_files,
26322632
deposit=deposit_address_amt,
26332633
)

cardano_node_tests/tests/tests_conway/test_guardrails.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def propose_param_changes(
278278
cluster_obj=cluster,
279279
name_template=f"{temp_template}_action",
280280
src_address=cluster_with_constitution.payment_addr.address,
281-
use_build_cmd=False,
281+
build_method=clusterlib_utils.BuildMethods.BUILD_RAW,
282282
tx_files=tx_files,
283283
complex_proposals=[proposal_script],
284284
deposit=deposit_amt,

cardano_node_tests/tests/tests_conway/test_hardfork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_hardfork(
117117
cluster_obj=cluster,
118118
name_template=f"{temp_template}_action",
119119
src_address=pool_user_lg.payment.address,
120-
use_build_cmd=True,
120+
build_method=clusterlib_utils.BuildMethods.BUILD,
121121
tx_files=tx_files_action,
122122
)
123123

cardano_node_tests/tests/tests_conway/test_no_confidence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_no_confidence_action(
142142
cluster_obj=cluster,
143143
name_template=f"{temp_template}_action",
144144
src_address=pool_user_lg.payment.address,
145-
use_build_cmd=True,
145+
build_method=clusterlib_utils.BuildMethods.BUILD,
146146
tx_files=tx_files_action,
147147
)
148148

cardano_node_tests/tests/tests_conway/test_treasury_donation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def test_dbsync_transfer_treasury_donation(
158158
current_treasury_value=treasury_val,
159159
treasury_donation=amount,
160160
change_address=payment_addr_singleton.address,
161-
use_build_cmd=True,
161+
build_method=clusterlib_utils.BuildMethods.BUILD,
162162
tx_files=tx_files,
163163
)
164164

cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def run_scenario(
121121
cluster_obj=cluster_obj,
122122
name_template=f"{temp_template}_step2",
123123
src_address=payment_addr.address,
124-
use_build_cmd=True,
124+
build_method=clusterlib_utils.BuildMethods.BUILD,
125125
tx_files=tx_files_step2,
126126
txins=mint_utxos,
127127
txouts=txouts_step2,

0 commit comments

Comments
 (0)