Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add datums and scripts to friendlyTxImpl #977

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

palas
Copy link
Contributor

@palas palas commented Nov 25, 2024

Changelog

- description: |
    Added datums and scripts to `friendlyTxImpl`, which translates into them being showed by `transaction view`.
  type:
  - feature

Context

friendlyTxBodyImpl wasn't exposing information about datums nor redeemers. This PR addresses it.

How to trust this PR

Changes to the tests give a lot of assurance. I would also check the format of the output JSON, and that the info that is displayed is extensive and clear. Also probably good to look at this PR in conjunction with IntersectMBO/cardano-api#689

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@palas palas force-pushed the add-dats-and-scripts-to-friendlytx branch from 9396526 to 1ed1b69 Compare November 27, 2024 17:10
@palas palas force-pushed the add-dats-and-scripts-to-friendlytx branch from 57d4bc7 to 759eaf7 Compare November 27, 2024 18:11
@palas palas added the next-update Needs a dependency to be updated to be merged label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next-update Needs a dependency to be updated to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants