From 05dc5a40dbdfb6d86247afcfadafee68d196a3e1 Mon Sep 17 00:00:00 2001 From: Gianbelinche <39842759+gianbelinche@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:39:51 -0300 Subject: [PATCH] Create eigendaservicemanager type --- core/node/da_clients/src/eigen/verifier.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core/node/da_clients/src/eigen/verifier.rs b/core/node/da_clients/src/eigen/verifier.rs index 9e70689ad1dc..57b6700827cf 100644 --- a/core/node/da_clients/src/eigen/verifier.rs +++ b/core/node/da_clients/src/eigen/verifier.rs @@ -14,6 +14,11 @@ use super::{ generated::eigendaservicemanager::EigenDAServiceManager, }; +type EigenDAServiceManagerContract = EigenDAServiceManager::EigenDAServiceManagerInstance< + alloy::transports::http::Http, + RootProvider>, +>; + #[derive(Debug)] pub enum VerificationError { ServiceManagerError, @@ -47,10 +52,7 @@ pub struct VerifierConfig { #[derive(Debug, Clone)] pub struct Verifier { kzg: Kzg, - eigenda_svc_manager: EigenDAServiceManager::EigenDAServiceManagerInstance< - alloy::transports::http::Http, - RootProvider>, - >, + eigenda_svc_manager: EigenDAServiceManagerContract, cfg: VerifierConfig, }