-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make leader work no matter what the CWD is (#307)
* `prove_rpc.sh` now outputs to a constant dir - Previously took into account the directory that the script was executed from. * `prove_stdio.sh` now works when used from any directory - Previously only worked when executed from the `tools` directory. * Now always uses `tools/circuits` in workspace - Previously, we always looked for the `circuits` directory directly inside our current working directory. Now if we are running within the workspace, we always will look in `zk_evm/zero_bin/tools` instead. - Also note that `zero_bin/.cargo/config.toml` is only read when we are interacting with `cargo` directly (eg. the scripts in `tools/` do not invoke it). * Now also writes other artifacts in `tools/` - Also made sense to write `verify.out`, `leader.out` and `proofs.json` into `zero_bin/tools`. * Made a few other artifacts also get written to `tools/` - Also removed some duplication by moving them to variables.
- Loading branch information
Showing
4 changed files
with
48 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters