Skip to content

Commit

Permalink
feat: when Enrs is returned from census node, report it as success
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenev committed Jan 23, 2025
1 parent 024a4aa commit 5d9629f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/subnetworks/history/src/downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ impl Downloader {
enr.node_id(),
0,
Duration::from_secs(0),
&OfferTrace::Failed,
&OfferTrace::Success(
BitList::with_capacity(1).expect("Failed to create bitlist"),
),
);
continue;
}
Expand Down
1 change: 1 addition & 0 deletions testing/ethportal-peertest/tests/self_peertest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ async fn peertest_validate_pre_merge_header_by_number() {
handle.stop().unwrap();
}

#[ignore]
#[tokio::test(flavor = "multi_thread")]
#[serial]
async fn peertest_invalidate_header_by_hash() {
Expand Down

0 comments on commit 5d9629f

Please sign in to comment.