@@ -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_RAW
184178
185179 if approve_cc is not None :
186180 _votes_cc = [
@@ -341,7 +335,7 @@ def resign_ccs(
341335 cluster_obj = cluster_obj ,
342336 name_template = f"{ name_template } _res" ,
343337 src_address = payment_addr .address ,
344- use_build_cmd = True ,
338+ build_method = clusterlib_utils . BuildMethods . BUILD ,
345339 tx_files = tx_files ,
346340 )
347341
@@ -403,7 +397,7 @@ def propose_change_constitution(
403397 cluster_obj = cluster_obj ,
404398 name_template = f"{ name_template } _constitution_action" ,
405399 src_address = pool_user .payment .address ,
406- use_build_cmd = True ,
400+ build_method = clusterlib_utils . BuildMethods . BUILD ,
407401 tx_files = tx_files ,
408402 fee_buffer = 2_000_000 ,
409403 )
@@ -478,7 +472,7 @@ def propose_pparams_update(
478472 cluster_obj = cluster_obj ,
479473 name_template = f"{ name_template } _action" ,
480474 src_address = pool_user .payment .address ,
481- use_build_cmd = True ,
475+ build_method = clusterlib_utils . BuildMethods . BUILD ,
482476 tx_files = tx_files_action ,
483477 )
484478
0 commit comments