Skip to content

Commit f323fee

Browse files
This PR refactors basics conway_common.py
1 parent e84416f commit f323fee

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

cardano_node_tests/tests/tests_conway/conway_common.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ def submit_vote(
117117
keys: list[clusterlib.FileType],
118118
script_votes: clusterlib.OptionalScriptVotes = (),
119119
submit_method: str = "",
120-
use_build_cmd: bool = True,
121120
build_method: str = clusterlib_utils.BuildMethods.BUILD,
122121
witness_count_add: int = 0,
123122
) -> clusterlib.TxRawOutput:
@@ -135,7 +134,6 @@ def submit_vote(
135134
name_template=f"{name_template}_vote",
136135
src_address=payment_addr.address,
137136
submit_method=submit_method,
138-
use_build_cmd=use_build_cmd,
139137
build_method=build_method,
140138
tx_files=tx_files,
141139
script_votes=script_votes,
@@ -164,7 +162,6 @@ def cast_vote(
164162
cc_skip_votes: bool = False,
165163
drep_skip_votes: bool = False,
166164
spo_skip_votes: bool = False,
167-
use_build_cmd: bool = True,
168165
build_method: str | None = None,
169166
witness_count_add: int = 0,
170167
) -> governance_utils.VotedVotes:
@@ -177,10 +174,7 @@ def cast_vote(
177174
anchor_data = governance_utils.get_default_anchor_data()
178175

179176
if build_method is None:
180-
if use_build_cmd:
181-
build_method = clusterlib_utils.BuildMethods.BUILD
182-
else:
183-
build_method = clusterlib_utils.BuildMethods.BUILD_RAW
177+
build_method = clusterlib_utils.BuildMethods.BUILD
184178

185179
if approve_cc is not None:
186180
_votes_cc = [

0 commit comments

Comments
 (0)