Just curious how this could be done. Like “Cloud function” for stream updates.
After all, running custom code in an verifiable way, is just logging the before and after state of the computation, as well as the state transition function, so that the computation could be re-run or verified using zk.
How could we support this by define custom wasm bytecode as streams associated with another stream and trigger the computation by its controller?
Once IPVM is more ready it would be really cool to see functions that take a stream as an input and write to another stream as output. Open data pipelines could be built in this way.
Yes most definitely. There is no need to use IPVM at all if we want to use one (or more) streams as input and anther stream as output of a computation.