diff --git a/core/node/da_clients/src/eigen/client.rs b/core/node/da_clients/src/eigen/client.rs index 16eb6b2a043a..ec9f95589a70 100644 --- a/core/node/da_clients/src/eigen/client.rs +++ b/core/node/da_clients/src/eigen/client.rs @@ -218,32 +218,6 @@ mod tests { assert_eq!(retrieved_data.unwrap(), data); } - #[tokio::test] - async fn test_eigenda_memory_disperser() { - let config = EigenConfig::MemStore(MemStoreConfig { - max_blob_size_bytes: 2 * 1024 * 1024, // 2MB, - blob_expiration: 60 * 2, - get_latency: 0, - put_latency: 0, - }); - let secrets = EigenSecrets { - private_key: PrivateKey::from_str( - "d08aa7ae1bb5ddd46c3c2d8cdb5894ab9f54dec467233686ca42629e826ac4c6", - ) - .unwrap(), - }; - let client = EigenClient::new(config, secrets).await.unwrap(); - let data = vec![1u8; 100]; - let result = client.dispatch_blob(0, data.clone()).await.unwrap(); - - let blob_info: BlobInfo = - rlp::decode(&hex::decode(result.blob_id.clone()).unwrap()).unwrap(); - // TODO: once get inclusion data is added, check it - - let retrieved_data = client.get_blob_data(&result.blob_id).await.unwrap(); - assert_eq!(retrieved_data.unwrap(), data); - } - #[tokio::test] async fn test_eigenda_dispatch_blob_too_large() { let config = EigenConfig::MemStore(MemStoreConfig { diff --git a/core/node/da_clients/src/eigen/memstore.rs b/core/node/da_clients/src/eigen/memstore.rs index e8c90fc5f177..85917344ed8c 100644 --- a/core/node/da_clients/src/eigen/memstore.rs +++ b/core/node/da_clients/src/eigen/memstore.rs @@ -44,7 +44,7 @@ struct MemStoreData { /// It should be used for testing purposes only. #[derive(Clone, Debug)] pub struct MemStore { - config: MemStoreConfig, + pub config: MemStoreConfig, data: Arc>, }