I'm stuck trying to compile my minting policy - getting the following error message:
• Couldn't match type ‘Colony’ with ‘BuiltinData’
Expected type: template-haskell-2.16.0.0:Language.Haskell.TH.Syntax.Q
(template-haskell-2.16.0.0:Language.Haskell.TH.Syntax.TExp
(PlutusTx.CompiledCode (BuiltinData -> BuiltinData -> ())))
Actual type: th-compat-0.1.4:Language.Haskell.TH.Syntax.Compat.SpliceQ
(PlutusTx.CompiledCode (Colony -> UntypedMintingPolicy))
• In the expression: PlutusTx.compile [|| wrap ||]
In the Template Haskell splice $$(PlutusTx.compile [|| wrap ||])
In the first argument of ‘V2.mkMintingPolicyScript’, namely
‘$$(PlutusTx.compile [|| wrap ||])’
I'm making of CHaP in my cabal.project
file.
When I tried compiling without CHaP, I got the following:
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: cardano-streaming-1.0.0.0 (user goal)
[__1] unknown package: cardano-api (dependency of cardano-streaming)
[__1] fail (backjumping, conflict set: cardano-api, cardano-streaming)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-streaming, cardano-api
Any help would be appreciated.