diff --git a/core/lib/utils/src/env.rs b/core/lib/utils/src/env.rs index 157c1b5ee8a5..8aed9c55356f 100644 --- a/core/lib/utils/src/env.rs +++ b/core/lib/utils/src/env.rs @@ -54,7 +54,9 @@ impl<'a> Workspace<'a> { pub fn root(self) -> PathBuf { match self { Self::Root => PathBuf::from("."), - Self::Core(path) | Self::Prover(path) | Self::ZkStackCli(path) => path.parent().unwrap().into(), + Self::Core(path) | Self::Prover(path) | Self::ZkStackCli(path) => { + path.parent().unwrap().into() + } } } diff --git a/prover/crates/lib/keystore/src/keystore.rs b/prover/crates/lib/keystore/src/keystore.rs index ab3b115bc635..a703780bc0f3 100644 --- a/prover/crates/lib/keystore/src/keystore.rs +++ b/prover/crates/lib/keystore/src/keystore.rs @@ -67,7 +67,7 @@ impl Keystore { // - We're running from the core workspace. // - We're running the binary from the docker. let data_dir_path = match Workspace::locate() { - Workspace::None => { + Workspace::Root => { // We're running a binary, likely in a docker. // Keys can be in one of a few paths. // We want to be very conservative here, and checking diff --git a/zkstack_cli/crates/common/src/server.rs b/zkstack_cli/crates/common/src/server.rs index 1cfcc2137391..a8c93b3ff6a7 100644 --- a/zkstack_cli/crates/common/src/server.rs +++ b/zkstack_cli/crates/common/src/server.rs @@ -60,11 +60,11 @@ impl Server { cmd!( shell, "cargo run --release --bin zksync_server {uring...} -- - --genesis-path ../{genesis_path} - --wallets-path ../{wallets_path} - --config-path ../{general_path} - --secrets-path ../{secrets_path} - --contracts-config-path ../{contracts_path} + --genesis-path {genesis_path} + --wallets-path {wallets_path} + --config-path {general_path} + --secrets-path {secrets_path} + --contracts-config-path {contracts_path} " ) .args(additional_args)