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

Commit 9472ff5

Browse files
author
Peter Dragos
authored
Merge pull request #48 from Liqwid-Labs/plutus-v2-migration
Plutus v2, PQ2.0 migration
2 parents 637d76a + ada12d6 commit 9472ff5

21 files changed

+1174
-122
lines changed

CHANGELOG.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
1-
# Revision history for `liqwid-plutarch-extra`
1+
# Revision history for `liqwid-plutarch-extra` (aka "LPE")
22

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

5+
## 3.0.0 -- 2022-08-10
6+
7+
This major version bump includes updates to use plutus V2 (post-Vasil) API types.
8+
We have decided that we will _not_ provide backports or updates for V1 API types
9+
in the future.
10+
11+
Where re-exports from `Plutarch.Api.V1` exist, import from the `Plutarch.Api.V2`
12+
modules have be made instead. This will not have any effect on client code, but
13+
should clarify that these functions are indeed suitable for inclusion in V2 scripts.
14+
15+
### Modified
16+
- Nix flake points at a more recent version of nixpkgs, and temporarily points at a branch of `plutarch-quickcheck`
17+
- Names of modules referencing specific versions of the API (such as `Plutarch.Api.V1.AssetClass`) have been
18+
renamed to remove these references (i.e., becoming `Plutarch.Extra.AssetClass`). We will only support the
19+
more current API version in the future.
20+
- `pfindTxOutDatum` has been updated to work with V2 style datums (i.e., including a case for inline datums.)
21+
22+
### Removed
23+
- `plutarch-quickcheck` (aka PQ), which is a dependency of LPE, upgraded to V2 API types as part of a PR that also
24+
made major changes to its internals. See [here](https://github.com/Liqwid-Labs/plutarch-quickcheck/pull/26).
25+
As a result, some existing tests for LPE have been temporarily removed. [Issue #53](https://github.com/Liqwid-Labs/liqwid-plutarch-extra/issues/53)
26+
has been opened to port these tests to PQ2.0
527

628
## 2.0.2 -- 2022-08-08
729

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ format_check:
7777

7878
# Execute CI
7979
ci:
80-
nix-build ./nix/ci.nix
80+
nix build '.#check.x86_64-linux'
8181

8282
NIX_SHELL = nix develop
8383
HLS_SHELL = $(NIX_SHELL) -c nix-shell -p bashInteractive haskell-language-server

0 commit comments

Comments
 (0)