Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix(zk_toolbox): Use the same l2 address for shared and erc20 bridge (m…
Browse files Browse the repository at this point in the history
…atter-labs#2260)

## What ❔

<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
<!-- (For bigger PRs adding more context is appreciated) -->

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] 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 <deniallugo@gmail.com>
  • Loading branch information
Deniallugo authored and gabrieldemian committed Jun 21, 2024
1 parent b6919f8 commit 5725a81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zk_toolbox/crates/zk_inception/src/config_manipulations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down

0 comments on commit 5725a81

Please sign in to comment.