Open dgpv opened 1 year ago
When I switch to liquid v1_ptr mode, everything is compiled correctly. But from UX standpoint, the fact that there is no warning is unfortunate. I think if the code have opcodes that are clearly not compatible with the current mode, at least a warning telling the user that they should probably switch the mode is in order.
When compiling the following script in ScriptWiz app (https://ide.scriptwiz.app/): (edit: in liquid v0_p2wsh mode)
I get the following bytes:
0x080100000000000000760800000080000000006300557f6768b175
As you can see, right after the
76080000008000000000
, which isOP_DUP, <0x0000008000000000>
, follows63
. But this is the code forOP_IF
rather than forOP_GREATERTHANOREQUAL64
(which isdf
)