aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zkvms/README.md4
-rw-r--r--zkvms/zkwasm/host/src/main.rs6
2 files changed, 5 insertions, 5 deletions
diff --git a/zkvms/README.md b/zkvms/README.md
index 2ff590d..548f1f5 100644
--- a/zkvms/README.md
+++ b/zkvms/README.md
@@ -49,8 +49,8 @@ The value for each of these is taken, with this precedence, by the user shell en
| | VERIFYING_KEY_PATH | path (string) | /tmp/input | Directory to output the verification key |
| zkwasm | ZKWASM_K | integer | 19 | The "K" value for zkWasm. It's value is between 19 and 22 inclusive. For larger inputs you'll need to increment it, but the proving time also increases. You'll need to find the smallest one experimentally.|
| | ZKWASM_SCHEME | string | shplonk | Proving system |
-| | ZKWASM_OUTPUT | path (string) | ./output | Directory to store output |
-| | ZKWASM_PARAMS | path (string) | ./params | Directory to store parameter information |
+| | ZKWASM_OUTPUT | path (string) | /tmp/output | Directory to store output |
+| | ZKWASM_PARAMS | path (string) | /tmp/params | Directory to store parameter information |
> [!NOTE]
> Looking through the source code, you may notice other environment variables which are used.
diff --git a/zkvms/zkwasm/host/src/main.rs b/zkvms/zkwasm/host/src/main.rs
index ea8dcf5..ba67dce 100644
--- a/zkvms/zkwasm/host/src/main.rs
+++ b/zkvms/zkwasm/host/src/main.rs
@@ -41,7 +41,7 @@ fn zkwasm_command(subcmd: &str) -> Command {
let mut command = Command::new("zkwasm-cli");
command
.arg("--params")
- .arg("./params")
+ .arg("/tmp/params")
.arg("prog")
.arg(subcmd)
.arg("--wasm")
@@ -78,9 +78,9 @@ fn main() {
foreach_private_input_field
)(&run_info);
- let output = run_info.env_or("ZKWASM_OUTPUT", "./output");
+ let output = run_info.env_or("ZKWASM_OUTPUT", "/tmp/output");
- let params = run_info.env_or("ZKWASM_PARAMS", "./params");
+ let params = run_info.env_or("ZKWASM_PARAMS", "/tmp/params");
match run_info.run_type {
Execute => benchmarkable! {