AcalaNetwork / chopsticks

Create parallel reality of your Substrate network.
Apache License 2.0
133 stars 80 forks source link

isolated wasm executor #562

Closed xlc closed 9 months ago

xlc commented 10 months ago

We need a way to isolate wasm executor for different chopsticks instance in memory.

Right now, if there are multiple chopsticks instances, they will share a worker, which is fine, and the same wasm executor.

And then if one of the execution got panic (e.g. #551), the other execution will also panic. Most likely because the global panic handler is been modified by the panicking execution.

xlc commented 10 months ago

less important after #565 as it really shouldn't panic anymore