Skip to content

Commit c1788df

Browse files
authored
fix: make proof data handler backwards compatible (#3767)
## What ❔ Revert WS-related changes for proof data handler ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- The `Why` has to be clear to non-Matter Labs entities running their own ZK Chain --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Is this a breaking change? - [ ] Yes - [ ] No ## Operational changes <!-- Any config changes? Any new flags? Any changes to any scripts? --> <!-- Please add anything that non-Matter Labs entities running their own ZK Chain may need to know --> ## 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 `zkstack dev fmt` and `zkstack dev lint`.
1 parent 15771c5 commit c1788df

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/zkstack/src/commands/chain/init/configs.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ pub async fn init_configs(
6868
general_config.insert("prover_gateway.api_url", format!("http://127.0.0.1:{port}"))?;
6969
}
7070

71-
let prover_gateway_port = general_config
72-
.base()
73-
.get_opt::<u16>("prover_gateway.ws_port")?;
74-
if let Some(port) = prover_gateway_port {
75-
general_config.insert("data_handler.api_url", format!("ws://127.0.0.1:{port}"))?;
76-
}
77-
7871
let consensus_keys = generate_consensus_keys();
7972
set_genesis_specs(&mut general_config, chain_config, &consensus_keys)?;
8073

0 commit comments

Comments
 (0)