I am having trouble with the mustPayToTheScript function - I am getting this error
Contract instance stopped with error: "WalletError (InsufficientFunds \"Total: Value (Map [(,Map [(\\\"\\\",93999990)]),(3664623962343633373461373738623265326432313432636132356263336266636434323136646334326562636566636335346565346433,Map [(\\\"ElysiumTitan1\\\",1)])])
expected: Value (Map [(3664623962343633373461373738623265326432313432636132356263336266636434323136646334326562636566636335346565346433,Map [(\\\"ElysiumTitan\\NUL\\NUL\\SOH\\\",1)])])\")" ]
However, the value on the first line is what I'd would like to expect "ElysiumTitan1"
- the expected value is strange and undesirable "ElysiumTitan\\NUL\\NUL\\SOH\\\"
.
From a google it looks like there's a character escape happening or something. Does anyone know why this is happening and how to prevent it?
Here is the line of code where i assume its happening: https://github.com/naeri-kailash/elysium-plutus/blob/master/src/Cardano/PlutusExample/Trade.hs#L524
If I just put 1
I get this error:
Contract instance stopped with error: "OtherError \"Error in $.id: invalid bytestring size\"" ]