Currently, code can run before invoke, but it'll run out of gas immediately and trap (leading to a fatal error).
We need to either:
- Properly account for this kind of code.
- Forbid it.
Ideally, we'd just forbid it. It looks like we can run wasm-ctor-eval (from binaryen)?
Currently, code can run before
invoke, but it'll run out of gas immediately and trap (leading to a fatal error).We need to either:
Ideally, we'd just forbid it. It looks like we can run
wasm-ctor-eval(from binaryen)?