Skip to content

Commit

Permalink
Uncomment validium config checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Sep 13, 2024
1 parent 164ecdf commit 5ad83bb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions core/bin/zksync_server/src/node_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,13 +527,13 @@ impl MainNodeBuilder {
}

fn add_da_dispatcher_layer(mut self) -> anyhow::Result<Self> {
// let eth_sender_config = try_load_config!(self.configs.eth);
// if let Some(sender_config) = eth_sender_config.sender {
// if sender_config.pubdata_sending_mode != PubdataSendingMode::Custom {
// tracing::warn!("DA dispatcher is enabled, but the pubdata sending mode is not `Custom`. DA dispatcher will not be started.");
// return Ok(self);
// }
// }
let eth_sender_config = try_load_config!(self.configs.eth);
if let Some(sender_config) = eth_sender_config.sender {
if sender_config.pubdata_sending_mode != PubdataSendingMode::Custom {
tracing::warn!("DA dispatcher is enabled, but the pubdata sending mode is not `Custom`. DA dispatcher will not be started.");
return Ok(self);
}
}

let state_keeper_config = try_load_config!(self.configs.state_keeper_config);
let da_config = try_load_config!(self.configs.da_dispatcher_config);
Expand Down

0 comments on commit 5ad83bb

Please sign in to comment.