Ivan Boldyrev
Ivan Boldyrev
I've create a wrapper `Read` and `Write` type that simply checks that flag is set on each `read`/`write` call, and additionally when nested call return `ErrorKind::Interrupted`-error. And when it is...
For history: I tried two approaches: 1. Switching to wasmer 2.0. As wasmer 2.0 is much more high-level, it is not easy, especially without great knowledge of marine internals. 2....
@alexbakers use x86_64 emulation with Rosetta: `rustup override set nightly-x86_64-apple-darwin` in the project directory.
The `fluence-keypair` depends on `eyre`, so the packaged AquaVM WASM is also affected and needs update.
Some care should be taking in implementing it. `panic`ing on overflow is bad idea as will make Marine to create a new instance that is slower than re-using an existing...
`serde_json::RawValue` has a hack inside it to be serialized/deserialized with `serde_json`, and cannot be used with other implementation (even with alternative JSON implementations).
That's true, but meantime 'Astronomy on the Personal Computer' can be used as guide, as API is quite similar.
I planned to use JavaDoc-like documentation, but still don't know good tool for it.