Plutus-apps v2022-04-06
My smart contract compiles successfully however when i run the simulator i get this error
Contract instance stopped with error: "WalletContractError (ToCardanoError (Tag \"toCardanoPolicyId\" (Tag \"1 bytes\" DeserialisationError)))" ]
My plutus code is here: https://github.com/naeri-kailash/elysium-plutus/blob/master/src/Cardano/PlutusExample/Trade.hs
I have read another issue where someone got this error but their solution (CurrencySymbol needed to be changed to a policyID i believe - mine is already a policyID) was not relevant to me. Could I please have some guidance on how to go about debugging this error?
Much appreciated