Skip to content

Commit

Permalink
7582: Fix issues after merge
Browse files Browse the repository at this point in the history
Signed-off-by: Matilda Clerke <[email protected]>
  • Loading branch information
Matilda-Clerke committed Dec 12, 2024
1 parent 0c2e9c2 commit abc4cb4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.hyperledger.besu.ethereum.core.BlockHeader;
import org.hyperledger.besu.ethereum.eth.manager.EthContext;
import org.hyperledger.besu.ethereum.eth.manager.exceptions.NoAvailablePeersException;
import org.hyperledger.besu.ethereum.eth.manager.peertask.PeerTaskExecutor;
import org.hyperledger.besu.ethereum.eth.manager.peertask.PeerTaskExecutorResponseCode;
import org.hyperledger.besu.ethereum.eth.manager.peertask.PeerTaskExecutorResult;
import org.hyperledger.besu.ethereum.eth.manager.peertask.task.GetHeadersFromPeerTask;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.hyperledger.besu.plugin.services.MetricsSystem;
import org.hyperledger.besu.util.FutureUtils;

import java.time.Duration;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,8 @@ public void selectPivotBlockShouldWaitAndRetryUntilMinHeightEstimatesAreAvailabl
@ArgumentsSource(FastSyncActionsTest.FastSyncActionsTestArguments.class)
public void selectPivotBlockShouldRetryIfPivotBlockSelectorReturnsEmptyOptional(
final DataStorageFormat storageFormat) {
setUp(storageFormat);
setUp(storageFormat, false, Optional.of(3));

SynchronizerConfiguration syncConfig =
SynchronizerConfiguration.builder().syncMinimumPeerCount(3).build();
PivotBlockSelector pivotBlockSelector = mock(PivotBlockSelector.class);
fastSyncActions = createFastSyncActions(syncConfig, pivotBlockSelector);

Expand Down

0 comments on commit abc4cb4

Please sign in to comment.