You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is pretty interesting as it suggests this function only has defined behavior if a single wasm is executing, which of course is not the case now with ROtrx.
So it can absolutely be called via multiple ROtrx at a time.
But... Most likely this is a relic of the way WAVM and/or wabt runtimes were integrated. OC stubs this out as a do-nothing, and EOS VM looks like it throws an exception that likely has proper semantics. I think this "singleton" immediately_exit_currently_running_module() should be completely removed.
The text was updated successfully, but these errors were encountered:
A
wasm_runtime_interface
exposesleap/libraries/chain/include/eosio/chain/webassembly/runtime_interface.hpp
Lines 26 to 27 in d382d71
This is pretty interesting as it suggests this function only has defined behavior if a single wasm is executing, which of course is not the case now with ROtrx.
This is called via
eosio_exit
host function.leap/libraries/chain/webassembly/cf_system.cpp
Lines 48 to 50 in d382d71
via
leap/libraries/chain/wasm_interface.cpp
Lines 115 to 117 in d382d71
So it can absolutely be called via multiple ROtrx at a time.
But... Most likely this is a relic of the way WAVM and/or wabt runtimes were integrated. OC stubs this out as a do-nothing, and EOS VM looks like it throws an exception that likely has proper semantics. I think this "singleton"
immediately_exit_currently_running_module()
should be completely removed.The text was updated successfully, but these errors were encountered: