Closed agustinmista closed 3 years ago
Hi @agustinmista
Multi-value returns were not supported at the time of initial implementation.
My validator is more generic so it validates it anyway, but binary format supported only 0 or 1 returning values for blocks back then.
Currently I work on bringing a parity with the spec compiler back in update-tests
branch and multi-value blocks and functions are part of my effort.
Best, Ilya
Fixed
Hi @SPY!
Here is a randomly generated module that crashes when serialized:
It is possible to validate, instantiate and run the exported function:
However, if I try to serialize it so I can run it against the spec interpreter, it crashes:
Is this supposed to happen? I understand the limitation on the return type of a top-level function, but I'm not sure that it also applies to inner blocks. Again, I would appreciate it if you can confirm that the issue is reproducible on your side.
Thanks a lot.
/Agustín