Skip to content

Prefer additionalUtxo over outputs from the mempool - #37

Merged
palas merged 1 commit into
fix-28-dijkstra-additional-utxofrom
fix-29-additional-utxo-first
Nov 20, 2026
Merged

palas merged 1 commit into
fix-28-dijkstra-additional-utxofrom
fix-29-additional-utxo-first

Conversation

@palas

@palas palas commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Fixes #29.

Ports upstream commit CardanoSolutions@839e491: evaluateTransaction now calls mergeUtxo additionalUtxo mempoolUtxo, so the given outputs win. It does not cherry-pick cleanly, because this fork has other formatting and its own changelog. Its utxoFromMempool part is already in the PR below this one.

@palas
palas added this pull request to stack #40 November 18, 2026 21:09
@palas palas self-assigned this Nov 18, 2026

@Jimbo4350 Jimbo4350 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The argument swap correctly gives additionalUtxo precedence over mempool outputs, matching the upstream change. CI is green. The separate guard-decoding issue raised on #36 still needs to be resolved there.

(cherry picked from commit 839e491)
(adapted to the formatting and the changelog of this fork; its utxoFromMempool part is already in the Dijkstra additionalUtxo port)
@palas
palas force-pushed the fix-29-additional-utxo-first branch from 1aab422 to b54a42a Compare November 19, 2026 18:13
@palas
palas merged commit 54bb8c1 into master Nov 20, 2026
9 checks passed
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.

evaluateTransaction prefers mempool outputs over additionalUtxo

4 participants