Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

SCP-3216 psgenerator and PAB compatibility with Marlowe #234

Merged
2 commits merged into from
Jan 12, 2022
Merged

SCP-3216 psgenerator and PAB compatibility with Marlowe #234

2 commits merged into from
Jan 12, 2022

Conversation

bwbush
Copy link
Collaborator

@bwbush bwbush commented Jan 10, 2022

Fixes two blocking issues for Marlowe:

  1. The purescript generation now includes a bridge for ExportTx, which was previously omitted. The closure of purescript types was incomplete without this.
  2. pab-executables.cabal no longer contains a non-standard named library plutus-pab-psgenerator. The non-standard library name had prevented external use of the library via either cabal or nix-build. (Just renaming the library seemed preferable to renaming the folder. Note that the cabal version constraint did not allow non-standard library names.)

These changes were tested in marlowe-lang/marlowe-cardano#57. It was not possible to test fully in plutus-apps because nix-build in the root folder previously fails there.

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

The `plutus-pab-executables.cabal` file names the library
`plutus-pab-psgenerator`, which works fine within that package,
but it prevents either nix or cabal builds that use this library.
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@ghost ghost requested a review from jhbertra January 11, 2022 07:35
@ghost ghost merged commit 1112698 into IntersectMBO:main Jan 12, 2022
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant