Skip to content

Commit

Permalink
Merge pull request #191 from input-output-hk/remove_build_prot_params
Browse files Browse the repository at this point in the history
Remove usage of `--protocol-params-file` with transaction build
  • Loading branch information
mkoura committed Jun 22, 2023
2 parents 3ef6c65 + 5dacbf6 commit c0b15c0
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cardano_clusterlib/transaction_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,20 +833,6 @@ def build_tx( # noqa: C901
for_build=True,
)

grouped_args_str = " ".join(grouped_args)
pparams_for_txins = grouped_args and (
"-datum-" in grouped_args_str or "-redeemer-" in grouped_args_str
)
# TODO: see https://github.com/input-output-hk/cardano-node/issues/4058
pparams_for_txouts = "-embed-" in " ".join(txout_args)
if pparams_for_txins or pparams_for_txouts:
grouped_args.extend(
[
"--protocol-params-file",
str(self._clusterlib_obj.pparams_file),
]
)

misc_args.extend(["--change-address", change_address])

if witness_override is not None:
Expand Down

0 comments on commit c0b15c0

Please sign in to comment.