Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyodyssey committed May 23, 2024
1 parent 269d10a commit 80bb997
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/tests/checkpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ async fn test_checkpoint_fallback() {
assert_eq!(cf.services.get(&networks::Network::SEPOLIA), None);
assert_eq!(cf.services.get(&networks::Network::HOLESKY), None);


assert_eq!(
cf.networks,
[
Expand All @@ -34,7 +33,6 @@ async fn test_construct_checkpoints() {
assert!(cf.services[&networks::Network::GOERLI].len() > 1);
assert!(cf.services[&networks::Network::SEPOLIA].len() > 1);
assert!(cf.services[&networks::Network::HOLESKY].len() > 1);

}

#[tokio::test]
Expand All @@ -49,9 +47,9 @@ async fn test_fetch_latest_checkpoints() {
.unwrap();
assert!(checkpoint != H256::zero());
let checkpoint = cf
.fetch_latest_checkpoint(&networks::Network::HOLESKY)
.await
.unwrap();
.fetch_latest_checkpoint(&networks::Network::HOLESKY)
.await
.unwrap();
assert!(checkpoint != H256::zero());
let checkpoint = cf
.fetch_latest_checkpoint(&networks::Network::MAINNET)
Expand Down

0 comments on commit 80bb997

Please sign in to comment.