I've just checked out the latest release of the plutus-apps repository and ensured to copy the respective cabal.project dependencies (including their commit hashes). But I get a weird error, I didn't receive running it with the older version.
src/Contract/MyPolicy.hs:44:43: error:
• Not in scope: ‘Scripts.wrapMintingPolicy’
Module ‘Ledger.Typed.Scripts’ does not export ‘wrapMintingPolicy’.
• In the Template Haskell quotation
[|| \ oref' tn'
-> Scripts.wrapMintingPolicy $ mkMyPolicy oref' tn' ||]
In the typed splice:
$$(PlutusTx.compile
[|| \ oref' tn'
-> Scripts.wrapMintingPolicy $ mkMyPolicy oref' tn' ||])
|
44 | $$(PlutusTx.compile [|| \oref' tn' -> Scripts.wrapMintingPolicy $ mkMyPolicy oref' tn' ||])
Usually, the Ledger.Typed.Scripts
modules exported the wrapMintingPolicy
function.
Source 1
cabal.project:
source-repository-package
type: git
location: https://github.com/input-output-hk/plutus-apps.git
tag: v1.0.0-alpha1
...
source-repository-package
type: git
location: https://github.com/input-output-hk/plutus
tag: a56c96598b4b25c9e28215214d25189331087244