diff --git a/core/lib/env_config/src/da_client.rs b/core/lib/env_config/src/da_client.rs index 43fe451618f5..8cd7658cd1db 100644 --- a/core/lib/env_config/src/da_client.rs +++ b/core/lib/env_config/src/da_client.rs @@ -250,10 +250,9 @@ mod tests { DA_CLIENT="Eigen" DA_EIGEN_CLIENT_TYPE="Disperser" DA_DISPERSER_RPC="http://localhost:8080" - DA_ETH_CONFIRMATION_DEPTH=0 + DA_SETTLEMENT_LAYER_CONFIRMATION_DEPTH=0 DA_EIGENDA_ETH_RPC="http://localhost:8545" DA_EIGENDA_SVC_MANAGER_ADDRESS="0x123" - DA_BLOB_SIZE_LIMIT=1000 DA_STATUS_QUERY_TIMEOUT=2 DA_STATUS_QUERY_INTERVAL=3 DA_WAIT_FOR_FINALIZATION=true @@ -269,10 +268,9 @@ mod tests { actual, DAClientConfig::Eigen(EigenConfig { disperser_rpc: "http://localhost:8080".to_string(), - eth_confirmation_depth: 0, + settlement_layer_confirmation_depth: 0, eigenda_eth_rpc: "http://localhost:8545".to_string(), eigenda_svc_manager_address: "0x123".to_string(), - blob_size_limit: 1000, status_query_timeout: 2, status_query_interval: 3, wait_for_finalization: true, diff --git a/core/lib/protobuf_config/src/da_client.rs b/core/lib/protobuf_config/src/da_client.rs index a946c51c2175..210171be1875 100644 --- a/core/lib/protobuf_config/src/da_client.rs +++ b/core/lib/protobuf_config/src/da_client.rs @@ -56,8 +56,10 @@ impl ProtoRepr for proto::DataAvailabilityClient { disperser_rpc: required(&conf.disperser_rpc) .context("disperser_rpc")? .clone(), - settlement_layer_confirmation_depth: *required(&conf.eth_confirmation_depth) - .context("settlement_layer_confirmation_depth")?, + settlement_layer_confirmation_depth: *required( + &conf.settlement_layer_confirmation_depth, + ) + .context("settlement_layer_confirmation_depth")?, eigenda_eth_rpc: required(&conf.eigenda_eth_rpc) .context("eigenda_eth_rpc")? .clone(), @@ -115,7 +117,9 @@ impl ProtoRepr for proto::DataAvailabilityClient { } Eigen(config) => proto::data_availability_client::Config::Eigen(proto::EigenConfig { disperser_rpc: Some(config.disperser_rpc.clone()), - eth_confirmation_depth: Some(config.settlement_layer_confirmation_depth), + settlement_layer_confirmation_depth: Some( + config.settlement_layer_confirmation_depth, + ), eigenda_eth_rpc: Some(config.eigenda_eth_rpc.clone()), eigenda_svc_manager_address: Some(config.eigenda_svc_manager_address.clone()), status_query_timeout: Some(config.status_query_timeout), diff --git a/core/lib/protobuf_config/src/proto/config/da_client.proto b/core/lib/protobuf_config/src/proto/config/da_client.proto index 35d3e243c24e..8463629b3240 100644 --- a/core/lib/protobuf_config/src/proto/config/da_client.proto +++ b/core/lib/protobuf_config/src/proto/config/da_client.proto @@ -38,7 +38,7 @@ message CelestiaConfig { message EigenConfig { optional string disperser_rpc = 3; - optional int32 eth_confirmation_depth = 4; + optional int32 settlement_layer_confirmation_depth = 4; optional string eigenda_eth_rpc = 5; optional string eigenda_svc_manager_address = 6; optional uint64 status_query_timeout = 7;