'SELF' instruction serialization
Description
In #305 (closed) SELF
instuction handling was changed and new contract for testing was added.
However, now morley-client
refuses to originate self_ep.tz
contract.
Steps to reproduce
stack exec -- morley-client originate --contract contracts/self_ep.tz --initial-storage 'Unit' --from tz1fFPStuHpTk5U9HHvXECLPA9LsxamoLYsm
Expected behaviour
Contract is originated.
Actual behaviour
morley-client: isolate: the decoder consumed 2 bytes which is less than the expected 16 bytes
CallStack (from HasCallStack):
error, called at src/Morley/Micheline/Binary.hs:102:28 in morley-1.5.0-HQhYhS9FCoRHkTDNOmKklH:Morley.Micheline.Binary
decodeExpression, called at src/Morley/Micheline/Class.hs:38:18 in morley-1.5.0-HQhYhS9FCoRHkTDNOmKklH:Morley.Micheline.Class
Environment
- NixOS 20.3
- b3642015
Edited by Roman Melnikov