Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Dec 20, 2024
1 parent bddb91f commit 29406c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion core/lib/utils/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion prover/crates/lib/keystore/src/keystore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions zkstack_cli/crates/common/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 29406c4

Please sign in to comment.