smoldot icon indicating copy to clipboard operation
smoldot copied to clipboard

Make smoldot resilient to malicious parachain runtimes

Open tomaka opened this issue 4 years ago • 2 comments

If a parachain runtime contains an infinite loop, smoldot, being single-threaded, will be stuck forever.

tomaka avatar Jul 27 '21 10:07 tomaka

Note that Substrate does this by spawning the executor in a separate process. We obviously can't (and, even if we could, don't want to) do that.

tomaka avatar Jul 31 '21 08:07 tomaka

This can be done with wasmtime using the fuel system, but not with wasmi.

tomaka avatar Aug 09 '21 07:08 tomaka