Skip to content

Commit 63d6b5c

Browse files
fix: revert "fix(gateway): correct root hash / chain creation params" (#3631)
Reverts #3613. It was decided to not roll out the update
1 parent 161da42 commit 63d6b5c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

zkstack_cli/crates/common/src/contracts.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ use crate::cmd::Cmd;
66

77
pub fn build_l1_contracts(shell: Shell, link_to_code: PathBuf) -> anyhow::Result<()> {
88
let _dir_guard = shell.push_dir(link_to_code.join("contracts/l1-contracts"));
9-
// Do not update era-contract's lockfile to avoid dirty submodule
10-
// Note, tha the v26 contracts depend on the node_modules to be present at the time of the compilation.
11-
Cmd::new(cmd!(shell, "yarn install --frozen-lockfile")).run()?;
129
Ok(Cmd::new(cmd!(shell, "yarn build:foundry")).run()?)
1310
}
1411

@@ -25,5 +22,7 @@ pub fn build_l2_contracts(shell: Shell, link_to_code: PathBuf) -> anyhow::Result
2522

2623
pub fn build_system_contracts(shell: Shell, link_to_code: PathBuf) -> anyhow::Result<()> {
2724
let _dir_guard = shell.push_dir(link_to_code.join("contracts/system-contracts"));
25+
// Do not update era-contract's lockfile to avoid dirty submodule
26+
Cmd::new(cmd!(shell, "yarn install --frozen-lockfile")).run()?;
2827
Ok(Cmd::new(cmd!(shell, "yarn build:foundry")).run()?)
2928
}

0 commit comments

Comments
 (0)