Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #48 from Liqwid-Labs/plutus-v2-migration
Browse files Browse the repository at this point in the history
Plutus v2, PQ2.0 migration
  • Loading branch information
Peter Dragos authored Aug 13, 2022
2 parents 637d76a + ada12d6 commit 9472ff5
Show file tree
Hide file tree
Showing 21 changed files with 1,174 additions and 122 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# Revision history for `liqwid-plutarch-extra`
# Revision history for `liqwid-plutarch-extra` (aka "LPE")

This format is based on [Keep A Changelog](https://keepachangelog.com/en/1.0.0).

## 3.0.0 -- 2022-08-10

This major version bump includes updates to use plutus V2 (post-Vasil) API types.
We have decided that we will _not_ provide backports or updates for V1 API types
in the future.

Where re-exports from `Plutarch.Api.V1` exist, import from the `Plutarch.Api.V2`
modules have be made instead. This will not have any effect on client code, but
should clarify that these functions are indeed suitable for inclusion in V2 scripts.

### Modified
- Nix flake points at a more recent version of nixpkgs, and temporarily points at a branch of `plutarch-quickcheck`
- Names of modules referencing specific versions of the API (such as `Plutarch.Api.V1.AssetClass`) have been
renamed to remove these references (i.e., becoming `Plutarch.Extra.AssetClass`). We will only support the
more current API version in the future.
- `pfindTxOutDatum` has been updated to work with V2 style datums (i.e., including a case for inline datums.)

### Removed
- `plutarch-quickcheck` (aka PQ), which is a dependency of LPE, upgraded to V2 API types as part of a PR that also
made major changes to its internals. See [here](https://github.com/Liqwid-Labs/plutarch-quickcheck/pull/26).
As a result, some existing tests for LPE have been temporarily removed. [Issue #53](https://github.com/Liqwid-Labs/liqwid-plutarch-extra/issues/53)
has been opened to port these tests to PQ2.0

## 2.0.2 -- 2022-08-08

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ format_check:

# Execute CI
ci:
nix-build ./nix/ci.nix
nix build '.#check.x86_64-linux'

NIX_SHELL = nix develop
HLS_SHELL = $(NIX_SHELL) -c nix-shell -p bashInteractive haskell-language-server
Expand Down
Loading

0 comments on commit 9472ff5

Please sign in to comment.