eas assembles broken contracts when the body is split in multiple includes #114
Open
Description
I am trying to compose a contract as follows:
%push(body_end - body_begin)
dup1
%push(body_begin)
push1 0x00
codecopy
push1 0x00
return
body_begin:
%include("A.eas")
%include("B.eas")
...
body_end:
Unfortunately the assembly is broken, as eas generates illegal jumps in the body.
If I lump all the includes together and do a single file, everything works fine.
So this is a bug in the assembly.
Metadata
Assignees
Labels
No labels