Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class AttestationManagerIntegrationTest {
new AggregateGenerator(spec, storageSystem.chainBuilder().getValidatorKeys());

private final AggregatingAttestationPool attestationPool =
new AggregatingAttestationPool(
new AggregatingAttestationPoolV1(
spec, recentChainData, new NoOpMetricsSystem(), DEFAULT_MAXIMUM_ATTESTATION_COUNT);
private final MergeTransitionBlockValidator transitionBlockValidator =
new MergeTransitionBlockValidator(spec, recentChainData);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
import tech.pegasys.teku.spec.schemas.SchemaDefinitionsElectra;
import tech.pegasys.teku.spec.util.DataStructureUtil;
import tech.pegasys.teku.statetransition.attestation.AggregatingAttestationPool;
import tech.pegasys.teku.statetransition.attestation.AggregatingAttestationPoolV1;
import tech.pegasys.teku.statetransition.attestation.AttestationForkChecker;
import tech.pegasys.teku.storage.client.RecentChainData;

Expand Down Expand Up @@ -107,7 +108,7 @@ public void init() throws Exception {
new HashMap<>();

this.pool =
new AggregatingAttestationPool(
new AggregatingAttestationPoolV1(
SPEC, recentChainData, new NoOpMetricsSystem(), DEFAULT_MAXIMUM_ATTESTATION_COUNT);
this.recentChainData = mock(RecentChainData.class);

Expand Down Expand Up @@ -211,7 +212,7 @@ public void getAttestationsForBlock(final Blackhole bh) {
@BenchmarkMode(Mode.AverageTime)
public void add(final Blackhole bh) {
var emptyPool =
new AggregatingAttestationPool(
new AggregatingAttestationPoolV1(
SPEC, recentChainData, new NoOpMetricsSystem(), DEFAULT_MAXIMUM_ATTESTATION_COUNT);
attestations.forEach(emptyPool::add);
}
Expand Down
Loading