Zilliqa / scilla

Scilla - A Smart Contract Intermediate Level Language
https://scilla-lang.org
GNU General Public License v3.0
240 stars 78 forks source link

Messages to libraries must output "messages" and "events" entry #1175

Closed jjcnn closed 2 years ago

jjcnn commented 2 years ago

If these entries are missing, then the C++ side gets confused.

jjcnn commented 2 years ago

I have added _accepted:false to the output as well, just to be on the safe side.

I think we ought to fail if the major version of the library/init file doesn't match the major version of the interpreter, but that check is not being made ATM. I'll open an issue for it for v1.