Skip to content

Commit

Permalink
Merge branch 'master' into pow-block-no-td
Browse files Browse the repository at this point in the history
  • Loading branch information
zilm13 committed Jan 9, 2025
2 parents dd90d52 + cc94afc commit 9198a96
Show file tree
Hide file tree
Showing 29 changed files with 227 additions and 684 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@
- Optimized blobs validation pipeline
- Remove delay when fetching blobs from the local EL on block arrival

### Bug Fixes
### Bug Fixes
- Fix `--version` command output [#8960](https://github.com/Consensys/teku/issues/8960)
- Fix issue (introduced in `24.12.1`) with peer stability when the upperbound is set to a high number
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
public enum EngineApiMethod {
ENGINE_NEW_PAYLOAD("engine_newPayload"),
ENGINE_GET_PAYLOAD("engine_getPayload"),
ENGINE_FORK_CHOICE_UPDATED("engine_forkchoiceUpdated"),
ENGINE_GET_BLOBS("engine_getBlobs");
ENGINE_FORK_CHOICE_UPDATED("engine_forkchoiceUpdated");

private final String name;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ default boolean isDeprecated() {
return false;
}

// TODO should be remove once all ELs implement engine_getBlobsV1. It has been added only to
// better handle the use case when the method is missing in the EL side
default boolean isOptional() {
return false;
}

default String getVersionedName() {
return getVersion() == 0 ? getName() : getName() + "V" + getVersion();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ public BlobAndProof asInternalBlobsAndProofs(final BlobSchema blobSchema) {
return new BlobAndProof(new Blob(blobSchema, blob), new KZGProof(proof));
}

public static BlobAndProofV1 fromInternalBlobsBundle(final BlobAndProof blobAndProof) {
return new BlobAndProofV1(
blobAndProof.blob().getBytes(), blobAndProof.proof().getBytesCompressed());
}

@Override
public boolean equals(final Object o) {
if (this == o) {
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
import tech.pegasys.teku.infrastructure.time.TimeProvider;

public class DefaultExecutionWeb3jClientProvider implements ExecutionWeb3jClientProvider {
private static final String[] NON_CRITICAL_METHODS =
new String[] {
"engine_exchangeCapabilities", "engine_getClientVersionV1", "engine_getBlobsV1"
};

private final String eeEndpoint;
private final Duration timeout;
private final Optional<JwtConfig> jwtConfig;
Expand Down Expand Up @@ -58,8 +63,7 @@ private synchronized void buildClient() {
.jwtConfigOpt(jwtConfig)
.timeProvider(timeProvider)
.executionClientEventsPublisher(executionClientEventsPublisher)
.nonCriticalMethods(
"engine_exchangeCapabilities", "engine_getClientVersionV1", "engine_getBlobsV1")
.nonCriticalMethods(NON_CRITICAL_METHODS)
.build();
this.alreadyBuilt = true;
}
Expand Down
Loading

0 comments on commit 9198a96

Please sign in to comment.