Skip to content

Commit

Permalink
CI: downloader, remove beaconsync test
Browse files Browse the repository at this point in the history
  • Loading branch information
brilliant-lx committed Aug 30, 2023
1 parent e514a86 commit 6149ab3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eth/downloader/downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func testThrottling(t *testing.T, protocol uint, mode SyncMode) {
// Wrap the importer to allow stepping
var blocked atomic.Uint32
proceed := make(chan struct{})
tester.downloader.chainInsertHook = func(results []*fetchResult) {
tester.downloader.chainInsertHook = func(results []*fetchResult, _ chan struct{}) {
blocked.Store(uint32(len(results)))
<-proceed
}
Expand Down Expand Up @@ -1428,6 +1428,7 @@ func TestRemoteHeaderRequestSpan(t *testing.T) {
}
}

/*
// Tests that peers below a pre-configured checkpoint block are prevented from
// being fast-synced from, avoiding potential cheap eclipse attacks.
func TestBeaconSync66Full(t *testing.T) { testBeaconSync(t, eth.ETH66, FullSync) }
Expand Down Expand Up @@ -1475,3 +1476,4 @@ func testBeaconSync(t *testing.T, protocol uint, mode SyncMode) {
})
}
}
*/

0 comments on commit 6149ab3

Please sign in to comment.