diff --git a/dan_layer/storage_sqlite/src/global/backend_adapter.rs b/dan_layer/storage_sqlite/src/global/backend_adapter.rs index 3b08a55bb..db38298d4 100644 --- a/dan_layer/storage_sqlite/src/global/backend_adapter.rs +++ b/dan_layer/storage_sqlite/src/global/backend_adapter.rs @@ -30,7 +30,7 @@ use std::{ use diesel::{ sql_query, - sql_types::{BigInt, Bigint, Binary}, + sql_types::{BigInt, Bigint}, ExpressionMethods, JoinOnDsl, NullableExpressionMethods, diff --git a/dan_layer/storage_sqlite/tests/global_db.rs b/dan_layer/storage_sqlite/tests/global_db.rs index 64a72027d..1b9fca218 100644 --- a/dan_layer/storage_sqlite/tests/global_db.rs +++ b/dan_layer/storage_sqlite/tests/global_db.rs @@ -144,7 +144,7 @@ fn insert_and_get_within_shard_range_duplicate_public_keys() { } assert_eq!(vns.len(), 2); - let vn = validator_nodes.get_by_public_key(Epoch(0), Epoch(10), &pk).unwrap(); + let vn = validator_nodes.get_by_public_key(Epoch(0), Epoch(10), &pk, None).unwrap(); assert_eq!(vn.epoch, Epoch(2)); assert_eq!(vn.committee_shard, Some(Shard::from(2))); }