1pub(crate) mod blob_info;
2pub mod client;
3pub(crate) mod client_tests;
4pub mod config;
5pub mod errors;
6pub(crate) mod eth_client;
7pub(crate) mod sdk;
8pub(crate) mod verifier;
9pub(crate) mod verifier_tests;
10
11pub use self::client::EigenClient;
12
13#[allow(clippy::all)]
14pub(crate) mod generated {
15 pub(crate) mod disperser {
16 include!("generated/disperser.rs");
17 }
18 pub(crate) mod common {
19 include!("generated/common.rs");
20 }
21}
22
23#[cfg(test)]
24pub fn test_eigenda_config() -> crate::config::EigenConfig {
25 use std::str::FromStr;
26
27 crate::config::EigenConfig {
28 disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
29 settlement_layer_confirmation_depth: 0,
30 eth_rpc_url: Some(crate::config::SecretUrl::new(url::Url::from_str("https://ethereum-holesky-rpc.publicnode.com").unwrap())), eigenda_svc_manager_address: ethereum_types::H160(hex_literal::hex!(
32 "d4a7e1bd8015057293f0d0a557088c286942e84b"
33 )),
34 wait_for_finalization: false,
35 authenticated: false,
36 srs_points_source: crate::config::SrsPointsSource::Url((
37 "https://github.com/Layr-Labs/eigenda-proxy/raw/2fd70b99ef5bf137d7bbca3461cf9e1f2c899451/resources/g1.point".to_string(),
38 "https://github.com/Layr-Labs/eigenda-proxy/raw/2fd70b99ef5bf137d7bbca3461cf9e1f2c899451/resources/g2.point.powerOf2".to_string(),
39 ))
40 }
41}