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
I think This is really more an implementation problem with the current JS prototype. We can assume that other implementations have full control over their VM
In case WASM will not support asynchronous methods we might need to take an alternative approach.
A simple way is to have each operation work with polling,
storageLoad
would become:ethereum.storageLoad(args)
ethereum.storageLoadResult() -> i32
(where 1 means result is written to the specified memory location)And the following pseudocode in WASM:
The JS interface would need to do the
sleep
then. It's not efficient at all, but there's no way to sleep in WASM.The text was updated successfully, but these errors were encountered: