Skip to content

fix: return full redeemer report instead of single entry#9

Merged
michalrus merged 3 commits intomainfrom
fix/tx-evalution
Apr 13, 2026
Merged

fix: return full redeemer report instead of single entry#9
michalrus merged 3 commits intomainfrom
fix/tx-evalution

Conversation

@ginnun
Copy link
Copy Markdown
Collaborator

@ginnun ginnun commented Apr 9, 2026

This PR makes testgen-hs return full redeemer report instead of a single selected entry. Selection can be/will be done on receiving part if needed.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates testgen-hs to return the complete redeemer execution-unit evaluation report (instead of collapsing it to a single selected entry), leaving any filtering/selection to downstream consumers.

Changes:

  • Remove the logic that collapsed the ledger’s RedeemerReport to a single preferred entry.
  • Return the full RedeemerReport produced by evalTxExUnits in the Ogmios-style JSON output.
  • Clean up imports made obsolete by the removed selection logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ginnun ginnun self-assigned this Apr 13, 2026
@ginnun ginnun added the enhancement New feature or request label Apr 13, 2026
Copy link
Copy Markdown
Member

@michalrus michalrus left a comment

Choose a reason for hiding this comment

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

LGTM!

@michalrus michalrus merged commit abf43aa into main Apr 13, 2026
3 checks passed
@michalrus michalrus deleted the fix/tx-evalution branch April 13, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants