From 26f2010ea2edd1cb79d80852c626051afc473c48 Mon Sep 17 00:00:00 2001 From: Danil Date: Tue, 18 Jun 2024 15:23:22 +0200 Subject: [PATCH] fix(zk_toolbox): Use the same l2 address for shared and erc20 bridge (#2260) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ ## Why ❔ ## Checklist - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`. - [ ] Spellcheck has been run via `zk spellcheck`. Signed-off-by: Danil --- zk_toolbox/crates/zk_inception/src/config_manipulations.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zk_toolbox/crates/zk_inception/src/config_manipulations.rs b/zk_toolbox/crates/zk_inception/src/config_manipulations.rs index 3c350fa8d894..a300a15e76c6 100644 --- a/zk_toolbox/crates/zk_inception/src/config_manipulations.rs +++ b/zk_toolbox/crates/zk_inception/src/config_manipulations.rs @@ -79,6 +79,8 @@ pub fn update_l2_shared_bridge( let mut contracts_config = ContractsConfig::read_with_base_path(shell, &config.configs)?; contracts_config.bridges.shared.l2_address = Some(initialize_bridges_output.l2_shared_bridge_proxy); + contracts_config.bridges.erc20.l2_address = + Some(initialize_bridges_output.l2_shared_bridge_proxy); contracts_config.save_with_base_path(shell, &config.configs)?; Ok(()) }