Skip to content

Commit f456e56

Browse files
committed
Fix lint and cargo sort.
1 parent c303d3a commit f456e56

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

beacon_node/beacon_chain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ test_backfill = []
2020
[dev-dependencies]
2121
criterion = { workspace = true }
2222
maplit = { workspace = true }
23-
serde_json = { workspace = true }
2423
mockall = { workspace = true }
2524
mockall_double = { workspace = true }
25+
serde_json = { workspace = true }
2626

2727
[dependencies]
2828
alloy-primitives = { workspace = true }

beacon_node/beacon_chain/src/fetch_blobs/tests.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fn expect_fork_choice_contains_block(
137137
) {
138138
mock_adapter
139139
.expect_fork_choice_contains_block()
140-
.returning(move |block_root| block_roots.contains(&block_root));
140+
.returning(move |block_root| block_roots.contains(block_root));
141141
}
142142

143143
fn expect_get_blobs_v2_response(
@@ -181,6 +181,7 @@ fn create_test_block_and_blobs(
181181
(Arc::new(block), blob_and_proofs)
182182
}
183183

184+
#[allow(clippy::type_complexity)]
184185
fn mock_publish_fn() -> (
185186
impl Fn(BlobsOrDataColumns<T>) + Send + 'static,
186187
Arc<Mutex<Vec<BlobsOrDataColumns<T>>>>,

0 commit comments

Comments
 (0)