Skip to content

Commit

Permalink
fix assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi committed Nov 6, 2024
1 parent fc3ab95 commit 83f14de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public Optional<Integer> getMaxBlobsPerBlock() {
return Optional.of(SpecConfigElectra.required(specConfig).getMaxBlobsPerBlockElectra());
}

@Override
public Optional<Integer> getTargetBlobsPerBlock() {
return Optional.of(SpecConfigElectra.required(specConfig).getTargetBlobsPerBlockElectra());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import tech.pegasys.teku.infrastructure.async.eventthread.EventThread;
import tech.pegasys.teku.infrastructure.unsigned.UInt64;
import tech.pegasys.teku.spec.Spec;
import tech.pegasys.teku.spec.SpecMilestone;
import tech.pegasys.teku.spec.TestSpecContext;
import tech.pegasys.teku.spec.TestSpecFactory;
import tech.pegasys.teku.spec.TestSpecInvocationContextProvider;
Expand All @@ -54,15 +53,13 @@ class ProposersDataManagerTest {
private List<BeaconPreparableProposer> proposers;

private Spec spec;
private SpecMilestone specMilestone;
private DataStructureUtil dataStructureUtil;
private ProposersDataManager manager;
private Eth1Address defaultAddress;
private UInt64 currentForkFirstSlot;

@BeforeEach
public void setUp(final TestSpecInvocationContextProvider.SpecContext specContext) {
specMilestone = specContext.getSpecMilestone();
spec =
switch (specContext.getSpecMilestone()) {
case PHASE0 -> TestSpecFactory.createMinimalPhase0();
Expand Down

0 comments on commit 83f14de

Please sign in to comment.