Skip to content

fix(tests): recognize Dijkstra AllInputsAreSpent - #3637

Merged
mkoura merged 1 commit into
masterfrom
inputs_spent_dijkstra
Aug 20, 2026
Merged

fix(tests): recognize Dijkstra AllInputsAreSpent#3637
mkoura merged 1 commit into
masterfrom
inputs_spent_dijkstra

Conversation

@mkoura

@mkoura mkoura commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

The Dijkstra era injects the Conway ConwayMempoolFailure "All inputs are spent." as its own dedicated AllInputsAreSpent failure, so the existing error string checks no longer matched and tests broke on harmless resubmits of a Tx that had already made it to the chain.

Add helpers.is_inputs_spent_err that accepts all the known era variants and use it in place of the 13 copies of the check.

The Dijkstra era injects the Conway `ConwayMempoolFailure "All inputs
are spent."` as its own dedicated `AllInputsAreSpent` failure, so the
existing error string checks no longer matched and tests broke on
harmless resubmits of a Tx that had already made it to the chain.

Add `helpers.is_inputs_spent_err` that accepts all the known era
variants and use it in place of the 13 copies of the check.
@mkoura
mkoura requested a review from saratomaz as a code owner August 20, 2026 14:22
@mkoura
mkoura merged commit 50c44ce into master Aug 20, 2026
3 checks passed
@mkoura
mkoura deleted the inputs_spent_dijkstra branch August 20, 2026 14:28
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