Skip to content

Commit a1dbb87

Browse files
committed
Add test
1 parent bcc7a4f commit a1dbb87

File tree

1 file changed

+12
-0
lines changed
  • crates/common/src/config

1 file changed

+12
-0
lines changed

crates/common/src/config/mux.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,4 +374,16 @@ mod tests {
374374

375375
Ok(())
376376
}
377+
378+
#[tokio::test]
379+
async fn test_ssv_network_fetch() -> eyre::Result<()> {
380+
let chain = Chain::Holesky;
381+
let node_operator_id = U256::from(200);
382+
383+
let pubkeys = fetch_ssv_registry_keys(chain, node_operator_id).await?;
384+
385+
assert_eq!(pubkeys.len(), 3);
386+
387+
Ok(())
388+
}
377389
}

0 commit comments

Comments
 (0)