The same caching method can be used by other guests so that we don't repeatedly run preflight given the same block number. Currently in host there's caching impl for proof, which should be used for input instead.
[x] Remove the extra cli ags
[x] Change proof_cache to input_cache
Spam policy
[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.
Describe the feature request
SGX reads serialized input from
input.bin
file, while the other ZkVM takes input directly from struct. I left a field to cache serealized input as path: https://github.com/taikoxyz/raiko/blob/f8ba02f5424166225fea0ea4c54aaa3969236858/provers/sgx/prover/src/lib.rs#L27The same caching method can be used by other guests so that we don't repeatedly run preflight given the same block number. Currently in host there's caching impl for proof, which should be used for input instead.
proof_cache
toinput_cache
Spam policy