Skip to content

Commit

Permalink
Remove unused custom quorum numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Nov 6, 2024
1 parent 3b9e766 commit f369ab9
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion core/lib/config/src/configs/da_client/eigen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ pub struct MemStoreConfig {

#[derive(Clone, Debug, PartialEq, Deserialize, Default)]
pub struct DisperserConfig {
pub custom_quorum_numbers: Option<Vec<u32>>,
pub disperser_rpc: String,
pub eth_confirmation_depth: i32,
pub eigenda_eth_rpc: String,
Expand Down
1 change: 0 additions & 1 deletion core/lib/env_config/src/da_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ mod tests {
assert_eq!(
actual,
DAClientConfig::Eigen(EigenConfig::Disperser(DisperserConfig {
custom_quorum_numbers: None,
disperser_rpc: "http://localhost:8080".to_string(),
eth_confirmation_depth: 0,
eigenda_eth_rpc: "http://localhost:8545".to_string(),
Expand Down
5 changes: 0 additions & 5 deletions core/lib/protobuf_config/src/da_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ impl ProtoRepr for proto::DataAvailabilityClient {
}
proto::eigen_config::Config::Disperser(conf) => {
EigenConfig::Disperser(DisperserConfig {
custom_quorum_numbers: Some(conf.custom_quorum_numbers.clone()),
disperser_rpc: required(&conf.disperser_rpc)
.context("disperser_rpc")?
.clone(),
Expand Down Expand Up @@ -167,10 +166,6 @@ impl ProtoRepr for proto::DataAvailabilityClient {
proto::data_availability_client::Config::Eigen(proto::EigenConfig {
config: Some(proto::eigen_config::Config::Disperser(
proto::DisperserConfig {
custom_quorum_numbers: config
.custom_quorum_numbers
.clone()
.unwrap_or_default(),
disperser_rpc: Some(config.disperser_rpc.clone()),
eth_confirmation_depth: Some(config.eth_confirmation_depth),
eigenda_eth_rpc: Some(config.eigenda_eth_rpc.clone()),
Expand Down
1 change: 0 additions & 1 deletion core/lib/protobuf_config/src/proto/config/da_client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ message MemStoreConfig {
}

message DisperserConfig {
repeated uint32 custom_quorum_numbers = 1;
optional string disperser_rpc = 3;
optional int32 eth_confirmation_depth = 4;
optional string eigenda_eth_rpc = 5;
Expand Down
3 changes: 0 additions & 3 deletions core/node/da_clients/src/eigen/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ mod tests {
#[tokio::test]
async fn test_non_auth_dispersal() {
let config = EigenConfig::Disperser(DisperserConfig {
custom_quorum_numbers: None,
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
eth_confirmation_depth: -1,
eigenda_eth_rpc: "https://ethereum-holesky-rpc.publicnode.com".to_string(),
Expand Down Expand Up @@ -153,7 +152,6 @@ mod tests {
#[tokio::test]
async fn test_auth_dispersal() {
let config = EigenConfig::Disperser(DisperserConfig {
custom_quorum_numbers: None,
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
eth_confirmation_depth: -1,
eigenda_eth_rpc: "https://ethereum-holesky-rpc.publicnode.com".to_string(),
Expand Down Expand Up @@ -224,7 +222,6 @@ mod tests {
#[tokio::test]
async fn test_wait_for_finalization() {
let config = EigenConfig::Disperser(DisperserConfig {
custom_quorum_numbers: None,
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
blob_size_limit: 2 * 1024 * 1024, // 2MB
status_query_timeout: 1800000, // 30 minutes
Expand Down

0 comments on commit f369ab9

Please sign in to comment.