Skip to content

Commit

Permalink
Mirrors branch main from private at 37c38b2
Browse files Browse the repository at this point in the history
  • Loading branch information
shahar4 committed Sep 29, 2023
1 parent 427f654 commit 1f873f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lib/contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub struct SystemContractsRepo {
impl SystemContractsRepo {
/// Returns the default system contracts repo with directory based on the ZKSYNC_HOME environment variable.
pub fn from_env() -> Self {
let zksync_home = std::env::var("ZKSYNC_HOME").expect("ZKSYNC_HOME env variable not set.");
let zksync_home = std::env::var("ZKSYNC_HOME").unwrap_or_else(|_| ".".into());
let zksync_home = PathBuf::from(zksync_home);
SystemContractsRepo {
root: zksync_home.join("etc/system-contracts"),
Expand Down
2 changes: 1 addition & 1 deletion docs/setup-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Rust toolchain as well.
Install the latest postgres.

```bash
brew install postgresql
brew install postgresql@14
```

### Cargo nextest
Expand Down

0 comments on commit 1f873f6

Please sign in to comment.