-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More friendly host apis #224
Conversation
crates/cli/src/app_builder.rs
Outdated
&output_dir, | ||
), | ||
Some(("setup", _)) => match host_mode { | ||
HostMode::DEFAULT => exec_setup::<ExecutionArg, DefaultHostEnvBuilder>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use StandardEnvBuilder
as default host? And I doubt that users can differentiate them by name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A better name might be standard --> default, default --> minimize, and then I can add a customize tag for those who would like to load env via a json file. But I think it can be done in a separate PR later.
crates/cli/src/exec.rs
Outdated
circuit.exec_create_proof( | ||
output_dir, | ||
param_dir, | ||
PKEY_CACHE.lock().as_mut().unwrap(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PKEY_CACHE
,K_PARAMS_CACHE
should not expose to zkWasm?
merge host ops into host-ops-1.6
No description provided.