Skip to content

Commit

Permalink
fix(zk_toolbox): Fix path to prover data handler port (#3542)
Browse files Browse the repository at this point in the history
## What ❔

Fixes a path to the prover data handler port.

## Why ❔

Without this fix, the prover gateway config is set up incorrectly.

## Checklist

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.
  • Loading branch information
slowli authored Jan 28, 2025
1 parent 75a7c08 commit e3759a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub async fn init_configs(
let mut general_config = chain_config.get_general_config().await?.patched();
let prover_data_handler_port = general_config
.base()
.get_opt::<u16>("proof_data_handler.http_port")?;
.get_opt::<u16>("data_handler.http_port")?;
if let Some(port) = prover_data_handler_port {
general_config.insert("prover_gateway.api_url", format!("http://127.0.0.1:{port}"))?;
}
Expand Down

0 comments on commit e3759a2

Please sign in to comment.