plutus-ledger for plutus V2
anton-k opened this issue · comments
Anton Kholomiov commented
Describe the feature you'd like
Plutus V2 was added to plutus repo. But useful functions in the plutus-ledger are all defined for Plutus V1.
Is there Plutus V2 versions of functions like: wrapMintingPolicy or wrapValidator?
Describe alternatives you've considered
No response
Michael Peyton Jones commented
There is no library support for V2 because V2 doesn't exist yet, see IntersectMBO/plutus#4285.
When we do actually have V2 we'll have to figure out how to expose that here.
koslambrou commented
The Plutus V2 functions currently exist in the plutus-script-utils
package in the next-node
branch. The functions ẁrapMintingPolicy
and wrapValidator
(they have been renamed to mkUntypedMintingPolicyt
and mkUntypedValidator
) have been created.