Skip to content

Commit

Permalink
small nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jan 7, 2025
1 parent 11fd903 commit 08110f1
Showing 1 changed file with 6 additions and 2 deletions.
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

0 comments on commit 08110f1

Please sign in to comment.