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

Use Write.Tx type for tx field of PartialTx. #4235

Merged
merged 9 commits into from
Nov 15, 2023

Conversation

jonathanknowles
Copy link
Contributor

@jonathanknowles jonathanknowles commented Nov 15, 2023

Issue

ADP-3184

Description

This PR adjusts the tx field of PartialTx to use the Write.Tx (ledger) type instead of the equivalent type from cardano-api.

Future work

Adjust balanceTransaction to return Write.Tx (ledger) instead of the equivalent type from cardano-api.

@jonathanknowles jonathanknowles changed the base branch from master to jonathanknowles/balance-tx-import-primitive-types November 15, 2023 09:17
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/balance-tx-import-primitive-types branch from 082f6e2 to fdc7401 Compare November 15, 2023 09:17
@jonathanknowles jonathanknowles changed the title Use Write.Tx type in tx field of PartialTx. Use Write.Tx type for tx field of PartialTx. Nov 15, 2023
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/use-write-tx-in-partial-tx branch 2 times, most recently from c41df08 to 8fb3856 Compare November 15, 2023 11:04
@jonathanknowles jonathanknowles marked this pull request as ready for review November 15, 2023 11:07
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/use-write-tx-in-partial-tx branch from 8fb3856 to f7e6359 Compare November 15, 2023 11:17
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/use-write-tx-in-partial-tx branch from f7e6359 to 90dc281 Compare November 15, 2023 11:18
@jonathanknowles jonathanknowles changed the base branch from jonathanknowles/balance-tx-import-primitive-types to master November 15, 2023 11:18
@jonathanknowles jonathanknowles force-pushed the jonathanknowles/use-write-tx-in-partial-tx branch from 90dc281 to 590893f Compare November 15, 2023 11:26
return $ PartialTx
(fromCardanoApiTx tx)
(fromCardanoApiUTxO inputUTxO)
(redeemers)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
(redeemers)
redeemers

Copy link
Member

@Anviking Anviking left a comment

Choose a reason for hiding this comment

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

👍
Suggestions: #4237

@Anviking Anviking added this pull request to the merge queue Nov 15, 2023
Merged via the queue into master with commit bc780bf Nov 15, 2023
2 checks passed
@Anviking Anviking deleted the jonathanknowles/use-write-tx-in-partial-tx branch November 15, 2023 14:17
github-merge-queue bot pushed a commit that referenced this pull request Nov 16, 2023
Suggestion to #4235

- Fix compilation for GHC 9.2
- Replace `modifyLedgerBody` with ledger-api lens
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.

2 participants