Open dfstio opened 1 month ago
Maybe it happens because wasm errors occur and are not being handled https://github.com/o1-labs/o1js-bindings/blob/main/js/node/node-backend.js#L85-L90
I was able to get rid of this error by having dedicated workers for Devnet and Zeko. Seems like the problem was in calling in the same worker first Mina.setActiveInstance for Devnet, then Mina.setActiveInstance for Zeko, then Mina.setActiveInstance for Devnet again etc.
@mitschabaude should Mina.setActiveInstance clean static variables and global state when it is being called?
I have seen many times errors while compiling different contracts in the same worker:
Sometimes the worker hangs out while compiling. To reproduce this effect, the worker should run for several hours and compile few different contracts. The workers I use have 10240 MB of memory.