Skip to content

Commit

Permalink
Change l1 name
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Dec 11, 2024
1 parent d237792 commit 66ddb01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/bin/zksync_server/src/node_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ impl MainNodeBuilder {
};

let secrets = try_load_config!(self.secrets.data_availability);
let l1 = try_load_config!(self.secrets.l1);
let l1_secrets = try_load_config!(self.secrets.l1);
match (da_client_config, secrets) {
(DAClientConfig::Avail(config), DataAvailabilitySecrets::Avail(secret)) => {
self.node.add_layer(AvailWiringLayer::new(config, secret));
Expand All @@ -538,7 +538,7 @@ impl MainNodeBuilder {

(DAClientConfig::Eigen(mut config), DataAvailabilitySecrets::Eigen(secret)) => {
if config.eigenda_eth_rpc.is_none() {
config.eigenda_eth_rpc = Some(l1.l1_rpc_url.expose_str().to_string());
config.eigenda_eth_rpc = Some(l1_secrets.l1_rpc_url.expose_str().to_string());
}
self.node.add_layer(EigenWiringLayer::new(config, secret));
}
Expand Down

0 comments on commit 66ddb01

Please sign in to comment.