Skip to content

Commit

Permalink
Mirrors branch ago-hyperchain-pro-37 from private at 12eac32a1768e552…
Browse files Browse the repository at this point in the history
…3970a78c0d8d4a7d09f15ce0
  • Loading branch information
agolajko committed Oct 2, 2023
1 parent d8ab843 commit d4c916e
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 123 deletions.
1 change: 0 additions & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
.github/release-please/** @RomanBrodetski @perekopskiy @Deniallugo @popzxc
**/CHANGELOG.md @RomanBrodetski @perekopskiy @Deniallugo @popzxc
CODEOWNERS @RomanBrodetski @perekopskiy @Deniallugo @popzxc
.github/workflows/** @matter-labs/devops
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").unwrap_or_else(|_| ".".into());
let zksync_home = std::env::var("ZKSYNC_HOME").expect("ZKSYNC_HOME env variable not set.");
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@14
brew install postgresql
```

### Cargo nextest
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/zk/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function set(env: string, print: boolean = false) {
const envFile = (process.env.ENV_FILE = `etc/env/${env}.env`);
if (!fs.existsSync(envFile)) {
// No .env file found - we should compile it!
config.compileConfig();
config.compileConfig(env);
}
reload();
get(print);
Expand Down
Loading

0 comments on commit d4c916e

Please sign in to comment.