Skip to content

Commit d49de65

Browse files
committed
feat: when Enrs is returned from census node, report it as success
1 parent 40eea59 commit d49de65

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
@@ -164,6 +164,7 @@ async fn peertest_validate_pre_merge_header_by_number() {
164164
handle.stop().unwrap();
165165
}
166166

167+
#[ignore]
167168
#[tokio::test(flavor = "multi_thread")]
168169
#[serial]
169170
async fn peertest_invalidate_header_by_hash() {

0 commit comments

Comments
 (0)