Skip to content

feat(tx-group): add script_valid param to build_raw_tx #302

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

Merged
merged 1 commit into from
May 23, 2025
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
3 changes: 3 additions & 0 deletions cardano_clusterlib/transaction_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ def build_raw_tx(
treasury_donation: int | None = None,
invalid_hereafter: int | None = None,
invalid_before: int | None = None,
script_valid: bool = True,
src_addr_utxos: list[structs.UTXOData] | None = None,
join_txouts: bool = True,
destination_dir: itp.FileType = ".",
Expand Down Expand Up @@ -485,6 +486,7 @@ def build_raw_tx(
treasury_donation: A donation to the treasury to perform (optional).
invalid_hereafter: A last block when the transaction is still valid (optional).
invalid_before: A first block when the transaction is valid (optional).
script_valid: A bool indicating that the script is valid (True by default).
src_addr_utxos: A list of UTxOs for the source address (optional).
join_txouts: A bool indicating whether to aggregate transaction outputs
by payment address (True by default).
Expand Down Expand Up @@ -547,6 +549,7 @@ def build_raw_tx(
invalid_before=invalid_before,
current_treasury_value=current_treasury_value,
treasury_donation=treasury_donation,
script_valid=script_valid,
join_txouts=join_txouts,
)

Expand Down
Loading