Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of --protocol-params-file with transaction build #191

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions cardano_clusterlib/transaction_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,20 +835,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