Skip to content

Commit

Permalink
fix: token multiplier setter is taken from chain config (#2893)
Browse files Browse the repository at this point in the history
Fix `zki chain update-toen-multiplier-setter` to take the address from
the chain config instead of the ecosystem.
  • Loading branch information
ischasny authored Sep 16, 2024
1 parent beca173 commit f848d93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/guides/external-node/09_decentralization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ On the gossipnet, the data integrity will be protected by the BFT (byzantine fau

### Add `--enable-consensus` flag to your entry point command

For the consensus configuration to take effect you have to add `--enable-consensus` flag when
running the node. You can do that by editing the docker compose files (mainnet-external-node-docker-compose.yml or testnet-external-node-docker-compose.yml) and uncommenting the line with `--enable-consensus`.
For the consensus configuration to take effect you have to add `--enable-consensus` flag when running the node. You can
do that by editing the docker compose files (mainnet-external-node-docker-compose.yml or
testnet-external-node-docker-compose.yml) and uncommenting the line with `--enable-consensus`.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ pub async fn run(args: ForgeScriptArgs, shell: &Shell) -> anyhow::Result<()> {
.l1_rpc_url
.expose_str()
.to_string();
let token_multiplier_setter_address = ecosystem_config
.get_wallets()
let token_multiplier_setter_address = chain_config
.get_wallets_config()
.context(MSG_WALLETS_CONFIG_MUST_BE_PRESENT)?
.token_multiplier_setter
.context(MSG_WALLET_TOKEN_MULTIPLIER_SETTER_NOT_FOUND)?
Expand Down

0 comments on commit f848d93

Please sign in to comment.