Skip to content

test(tx): add submit-api output-too-small test#3482

Merged
mkoura merged 1 commit into
masterfrom
test_output_too_small_submit_api
May 22, 2026
Merged

test(tx): add submit-api output-too-small test#3482
mkoura merged 1 commit into
masterfrom
test_output_too_small_submit_api

Conversation

@mkoura
Copy link
Copy Markdown
Collaborator

@mkoura mkoura commented May 22, 2026

  • New test_output_too_small in test_tx_unbalanced.py exercising cardano-submit-api rejection of below-minimum UTxO output.
  • Switch existing CLI variant assert to BabbageOutputTooSmallUTxO and use submit_tx_bare to avoid resubmit-loop masking the error.
  • Drop calculate_tx_fee in test_wrong_network_magic: handshake fails before fee validation, so a fixed fee=2_000 suffices.

* New test_output_too_small in test_tx_unbalanced.py exercising
  cardano-submit-api rejection of below-minimum UTxO output.
* Switch existing CLI variant assert to BabbageOutputTooSmallUTxO and
  use submit_tx_bare to avoid resubmit-loop masking the error.
* Drop calculate_tx_fee in test_wrong_network_magic: handshake fails
  before fee validation, so a fixed fee=2_000 suffices.
@mkoura mkoura requested a review from saratomaz as a code owner May 22, 2026 20:45
@mkoura mkoura merged commit 4fe8e87 into master May 22, 2026
3 checks passed
@mkoura mkoura deleted the test_output_too_small_submit_api branch May 22, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant