Skip to content

Commit

Permalink
Create eigendaservicemanager type (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche authored Nov 15, 2024
1 parent f2fb12c commit b825d4f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions core/node/da_clients/src/eigen/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ use super::{
generated::eigendaservicemanager::EigenDAServiceManager,
};

type EigenDAServiceManagerContract = EigenDAServiceManager::EigenDAServiceManagerInstance<
alloy::transports::http::Http<alloy::transports::http::Client>,
RootProvider<alloy::transports::http::Http<alloy::transports::http::Client>>,
>;

#[derive(Debug)]
pub enum VerificationError {
ServiceManagerError,
Expand Down Expand Up @@ -47,10 +52,7 @@ pub struct VerifierConfig {
#[derive(Debug, Clone)]
pub struct Verifier {
kzg: Kzg,
eigenda_svc_manager: EigenDAServiceManager::EigenDAServiceManagerInstance<
alloy::transports::http::Http<alloy::transports::http::Client>,
RootProvider<alloy::transports::http::Http<alloy::transports::http::Client>>,
>,
eigenda_svc_manager: EigenDAServiceManagerContract,
cfg: VerifierConfig,
}

Expand Down

0 comments on commit b825d4f

Please sign in to comment.