Skip to content

Commit 5d9629f

Browse files
committed
feat: when Enrs is returned from census node, report it as success
1 parent 024a4aa commit 5d9629f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crates/subnetworks/history/src/downloader.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ impl Downloader {
278278
enr.node_id(),
279279
0,
280280
Duration::from_secs(0),
281-
&OfferTrace::Failed,
281+
&OfferTrace::Success(
282+
BitList::with_capacity(1).expect("Failed to create bitlist"),
283+
),
282284
);
283285
continue;
284286
}

testing/ethportal-peertest/tests/self_peertest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ async fn peertest_validate_pre_merge_header_by_number() {
161161
handle.stop().unwrap();
162162
}
163163

164+
#[ignore]
164165
#[tokio::test(flavor = "multi_thread")]
165166
#[serial]
166167
async fn peertest_invalidate_header_by_hash() {

0 commit comments

Comments
 (0)