risc0 / risc0-ethereum

Integration of the RISC Zero verifiable compute platform with Ethereum and EVM chains.
https://risczero.com
Apache License 2.0
60 stars 15 forks source link

Use POSIX I/O for view call proofs #67

Open nategraf opened 5 months ago

nategraf commented 5 months ago

Currently, the view call proof library uses stdin and env::read to get it's required inputs, namely the Merkle inclusion proofs for the storage slots accessed in view call execution. This introduces from devex complications in that the developer needs to redefine the inputs to include this data.

By using POSIX I/O, this communication can be done out of band to user execution, and the details can be made internal to the view call library itself.

Depends on https://github.com/risc0/risc0-foundry-template/issues/91

nategraf commented 3 weeks ago

Unclear whether are still going to do this. If so, it'll be before 1.0 of Steel