*Note that the answer to this question may be very similar to this one.
I tried out the code below within a part of a larger lambda function and got the following error. The purpose is just to convert the data from one type to another using pack/unpack.
code:
myString = sp.local("myString", "dummyString")
packedString = sp.pack(myString.value)
myBytes = sp.unpack(packedString, t = sp.TBytes)
error:
Instruction not supported in interpreter: sp.unpack(sp.pack(myString.value), sp.TBytes)
I thought this instruction looked fine since unpack is the opposite of pack, but it doesn't seem so?