[x] Plutus Foundation Related to the GHC plugin, Haskell-to-Plutus compiler, on-chain code
[] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries
[] Marlowe Related to Marlowe
[] Other Any other topic (Playgrounds, etc.)
Summary
After update to the newest plutus version I get error of converting to PlutusCore while using takeByteString
GHC Core to PLC plugin: E043:Error: Reference to a name which is not a local, a builtin, or an external INLINABLE function: Variable GHC.Integer.Type.minusInteger
No unfolding
Context: Compiling expr: GHC.Integer.Type.minusInteger
Context: Compiling expr: GHC.Integer.Type.minusInteger n
Context: Compiling expr: GHC.Integer.Type.minusInteger n 1
Context: Compiling expr: PlutusTx.Builtins.Internal.sliceByteString
0 (GHC.Integer.Type.minusInteger n 1)
Context: Compiling expr: PlutusTx.Builtins.Internal.sliceByteString
0 (GHC.Integer.Type.minusInteger n 1) bs
Context: Compiling expr: \ (bs [Occ=Once]
:: PlutusTx.Builtins.Internal.BuiltinByteString) ->
PlutusTx.Builtins.Internal.sliceByteString
0 (GHC.Integer.Type.minusInteger n 1) bs
Context: Compiling expr: \ (n [Occ=Once] :: GHC.Integer.Type.Integer)
(bs [Occ=Once] :: PlutusTx.Builtins.Internal.BuiltinByteString) ->
PlutusTx.Builtins.Internal.sliceByteString
0 (GHC.Integer.Type.minusInteger n 1) bs
Context: Compiling definition of: PlutusTx.Builtins.takeByteString
Context: Compiling expr: PlutusTx.Builtins.takeByteString
Context: Compiling expr: PlutusTx.Builtins.takeByteString 31
Context: Compiling expr: PlutusTx.Builtins.takeByteString
31
(PlutusTx.Builtins.Internal.sha2_256
(Sundae.Contracts.catPair coinA coinB))
Context: Compiling expr: PlutusTx.Builtins.Internal.appendByteString
Sundae.Contracts.computeEscrowTokenName3
(PlutusTx.Builtins.takeByteString
Area
[x] Plutus Foundation Related to the GHC plugin, Haskell-to-Plutus compiler, on-chain code [] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries [] Marlowe Related to Marlowe [] Other Any other topic (Playgrounds, etc.)
Summary
After update to the newest plutus version I get error of converting to PlutusCore while using
takeByteString
haskell code: