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

Removing the dependency to Ledger.TxOut #442

Merged
merged 36 commits into from
Sep 4, 2024
Merged

Removing the dependency to Ledger.TxOut #442

merged 36 commits into from
Sep 4, 2024

Conversation

mmontin
Copy link
Collaborator

@mmontin mmontin commented Jul 28, 2024

This PR closes #441

It turns out that in fact we did not need to pass around both Ledger.TxOut and Api.TxOut. For clarity, this PR removes the former, leaving the codebase with two distinct TxOut:

  • Plutus TxOut that is used throughout the codebase, in our mockchain and skeletons
  • Cardano TxOut that is used during transaction generation

This does not change the behavior of cooked in any way. It will just lighten and clarify the codebase.

Note that this PR is forked from PR #431

@mmontin mmontin changed the base branch from main to mm/collateral-when-no-script September 4, 2024 14:43
Base automatically changed from mm/collateral-when-no-script to main September 4, 2024 15:37
@mmontin mmontin marked this pull request as ready for review September 4, 2024 15:57
@mmontin mmontin merged commit 1d7560d into main Sep 4, 2024
7 checks passed
@mmontin mmontin deleted the mm/txout branch September 4, 2024 16:48
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.

Api.TxOut vs Ledger.TxOut
2 participants