diff --git a/CODEOWNERS b/CODEOWNERS index 12cd2618709..981a2db3911 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -2,3 +2,4 @@ .github/release-please/** @RomanBrodetski @perekopskiy @Deniallugo @popzxc **/CHANGELOG.md @RomanBrodetski @perekopskiy @Deniallugo @popzxc CODEOWNERS @RomanBrodetski @perekopskiy @Deniallugo @popzxc +.github/workflows/** @matter-labs/devops diff --git a/core/lib/contracts/src/lib.rs b/core/lib/contracts/src/lib.rs index 20111285e86..1fb12da5531 100644 --- a/core/lib/contracts/src/lib.rs +++ b/core/lib/contracts/src/lib.rs @@ -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"), diff --git a/docs/setup-dev.md b/docs/setup-dev.md index 6f31a6afa6d..ea7289b902e 100644 --- a/docs/setup-dev.md +++ b/docs/setup-dev.md @@ -172,7 +172,7 @@ Rust toolchain as well. Install the latest postgres. ```bash -brew install postgresql +brew install postgresql@14 ``` ### Cargo nextest