Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,10 @@ def test_minting_with_insufficient_collateral(
execution_cost = dataclasses.replace(plutus_v_record.execution_cost, fixed_cost=2_000_000)

minting_cost = plutus_common.compute_cost(
execution_cost=execution_cost, protocol_params=cluster.g_query.get_protocol_params()
execution_cost=execution_cost,
protocol_params=cluster.g_query.get_protocol_params(),
# Will use the minimal default collateral amount
collateral_fraction_offset=0.0,
)

# Step 1: fund the token issuer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ def test_collateral_percent(
dst_addr=payment_addrs[1],
plutus_op=plutus_op,
amount=amount,
collateral_fraction_offset=0.9,
# Will use the minimal default collateral amount
collateral_fraction_offset=0.0,
)

with pytest.raises(clusterlib.CLIError) as excinfo:
Expand Down
Loading