<p>You could try to replace <code>Scripts.wrapMintingPolicy</code> with <code>Scripts.mkUntypedMintingPolicy</code></p>
<pre><code>...

import Plutus.Script.Utils.V1.Typed.Scripts qualified as Scripts

...
$$(PlutusTx.compile
             [|| \ oref' tn'
                   -&gt; Scripts.mkUntypedMintingPolicy $ mkMyPolicy oref' tn' ||])

</code></pre>

CC BY-SA 4.0
2022-09-17T11:33:40.493Z
Thanks a lot! I really appreciate it! It looks like all of these wrappers are being removed with the new Plutus version.
Just found this commit:
https://github.com/input-output-hk/plutus-apps/commit/91ee6f5b9d2cb6c620803ee367a2d1a145d63b48
Will
CC BY-SA 4.0
2022-09-17T11:11:02.543Z
2022-09-17T11:11:02.543Z
Kỳ Anh
<p>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.</p>
<pre><code>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'
              -&gt; Scripts.wrapMintingPolicy $ mkMyPolicy oref' tn' ||]
      In the typed splice:
        $$(PlutusTx.compile
             [|| \ oref' tn'
                   -&gt; Scripts.wrapMintingPolicy $ mkMyPolicy oref' tn' ||])
   |
44 |     $$(PlutusTx.compile [|| \oref' tn' -&gt; Scripts.wrapMintingPolicy $ mkMyPolicy oref' tn' ||])
</code></pre>
<p>Usually, the <code>Ledger.Typed.Scripts</code> modules exported the <code>wrapMintingPolicy</code> function.
<a href="https://playground.plutus.iohkdev.io/doc/haddock/plutus-ledger/html/src/Ledger.Typed.Scripts.MonetaryPolicies.html#wrapMintingPolicy" rel="nofollow noreferrer">Source 1</a></p>
<p><strong>cabal.project</strong>:</p>
<pre><code>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
</code></pre>

<plutus><minting><mintingpolicy>
Cannot find wrapMintingPolicy after updating to latest release of plutus-apps
# Cannot find wrapMintingPolicy after updating to latest release of plutus-apps

(Asked by: username_0 on 2022-09-16)

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

**Tags:** plutus, minting, mintingpolicy

---

## 1 answers

### Answer by username_1 on 2022-09-17. Score: 3 | Accepted answer

You could try to replace Scripts.wrapMintingPolicy with Scripts.mkUntypedMintingPolicy
...

import Plutus.Script.Utils.V1.Typed.Scripts qualified as Scripts

...
$$(PlutusTx.compile
             [|| \ oref' tn'
                   -> Scripts.mkUntypedMintingPolicy $ mkMyPolicy oref' tn' ||])

> **Comments:**
> **username_0**: Thanks a lot! I really appreciate it! It looks like all of these wrappers are being removed with the new Plutus version. Just found this commit: https://github.com/input-output-hk/plutus-apps/commit/91ee6f5b9d2cb6c620803ee367a2d1a145d63b48  

---

