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
Hey, first of all wanted to thank you for this amazing library! It works like a charm with both Node and Deno.
I am experimenting with WASI and I stumbled upon an issue that pre-open is not really working for me. I'm not sure if I'm doing it right, but preopening a current dir didn't help.
It works like fine with wasmtime:
wasmtime --dir=. solar.wasm Counter.sol --emit abi
{"contracts":{"Counter.sol:Counter":{"abi":[{"type":"function","name":"increment","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"number","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"setNumber","inputs":[{"name":"newNumber","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"}]}},"version":"0.1.1"}
Hey, first of all wanted to thank you for this amazing library! It works like a charm with both Node and Deno.
I am experimenting with WASI and I stumbled upon an issue that pre-open is not really working for me. I'm not sure if I'm doing it right, but preopening a current dir didn't help.
It works like fine with
wasmtime
:but doing something similar in JS fails:
throws:
I've compiled the source library with the wasip1 target using this method: paradigmxyz/solar#211 (comment)
The text was updated successfully, but these errors were encountered: