Skip to content

Commit

Permalink
remove not needed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jul 4, 2023
1 parent fb46013 commit b4d9546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ void shouldUpgradeToCapella() throws Exception {
.withRealNetwork()
.withStartupTargetPeerCount(0)
.withExecutionEngine(primaryEL)
.withJwtSecretFile(JWT_FILE)
.withEngineApiMethodNegotiation();
.withJwtSecretFile(JWT_FILE);
applyMilestoneConfig(config);
});

Expand All @@ -96,8 +95,7 @@ void shouldUpgradeToCapella() throws Exception {
.withPeers(primaryNode)
.withInteropValidators(0, 0)
.withExecutionEngine(secondaryEL)
.withJwtSecretFile(JWT_FILE)
.withEngineApiMethodNegotiation();
.withJwtSecretFile(JWT_FILE);
applyMilestoneConfig(c);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -976,11 +976,6 @@ public Config withStubExecutionEngine(final String terminalBlockHash) {
return this;
}

public Config withEngineApiMethodNegotiation() {
configMap.put("exchange-capabilities-enabled", "true");
return this;
}

public Config withJwtSecretFile(final URL jwtFile) {
this.maybeJwtFile = Optional.of(jwtFile);
configMap.put(EE_JWT_SECRET_FILE_KEY, JWT_SECRET_FILE_PATH);
Expand Down

0 comments on commit b4d9546

Please sign in to comment.