diff --git a/crates/services/bls_aggregation/src/bls_agg.rs b/crates/services/bls_aggregation/src/bls_agg.rs index bb8d7837..2c1bd90f 100644 --- a/crates/services/bls_aggregation/src/bls_agg.rs +++ b/crates/services/bls_aggregation/src/bls_agg.rs @@ -47,7 +47,6 @@ pub struct BlsAggregatorService { pub aggregated_response_receiver: UnboundedReceiver, signed_task_response: Arc>>>, - avs_registry_service: AvsRegistryServiceChainCaller, } @@ -61,7 +60,7 @@ impl BlsAggregatorService { avs_registry_service: avs_registry_service, } } - + pub(crate) async fn write( &self, ) -> RwLockWriteGuard<'_, HashMap>> { diff --git a/crates/types/src/operator.rs b/crates/types/src/operator.rs index b0086df4..01341295 100644 --- a/crates/types/src/operator.rs +++ b/crates/types/src/operator.rs @@ -1,4 +1,4 @@ -use alloy_primitives::{Address, U256}; +use alloy_primitives::{Address, FixedBytes, U256}; use alloy_sol_types::sol; use eigensdk_crypto_bls::attestation::{ G1Point as AttestationG1Point, G2Point as AttestationG2Point, @@ -16,6 +16,8 @@ sol!( const MAX_NUMBER_OF_QUORUMS: usize = 192; use BLSApkRegistry::{G1Point, G2Point}; +pub type OperatorId = FixedBytes<32>; + pub fn bitmap_to_quorum_ids(quorum_bitmaps: U256) -> Vec { let bytes = quorum_bitmaps.to_be_bytes::<32>();