Skip to content

Commit

Permalink
small nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Nov 14, 2023
1 parent b4a7483 commit e84dcb7
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void setup() throws Exception {
config ->
config
.withMiningEnabled(true)
.withMergeSupport(true)
.withMergeSupport()
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
eth1Node.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void shouldUpgradeToCapella() throws Exception {
BesuDockerVersion.STABLE,
config ->
config
.withMergeSupport(true)
.withMergeSupport()
.withGenesisFile("besu/mergedGenesis.json")
.withP2pEnabled(true)
.withJwtTokenAuthorization(JWT_FILE),
Expand All @@ -62,7 +62,7 @@ void shouldUpgradeToCapella() throws Exception {
BesuDockerVersion.STABLE,
config ->
config
.withMergeSupport(true)
.withMergeSupport()
.withGenesisFile("besu/mergedGenesis.json")
.withP2pEnabled(true)
.withJwtTokenAuthorization(JWT_FILE),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void setUp() {
config ->
config
.withMiningEnabled(true)
.withMergeSupport(true)
.withMergeSupport()
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void setup() throws Exception {
createBesuNode(
config ->
config
.withMergeSupport(true)
.withMergeSupport()
.withGenesisFile("besu/mergedGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
eth1Node.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void setup() throws Exception {
config ->
config
.withMiningEnabled(true)
.withMergeSupport(true)
.withMergeSupport()
.withP2pEnabled(true)
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
Expand All @@ -51,7 +51,7 @@ void setup() throws Exception {
createBesuNode(
config ->
config
.withMergeSupport(true)
.withMergeSupport()
.withP2pEnabled(true)
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void setup() throws Exception {
config ->
config
.withMiningEnabled(true)
.withMergeSupport(true)
.withMergeSupport()
.withP2pEnabled(true)
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
Expand All @@ -52,7 +52,7 @@ void setup() throws Exception {
createBesuNode(
config ->
config
.withMergeSupport(true)
.withMergeSupport()
.withP2pEnabled(true)
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void shouldRespondSyncingWhenExecutionLayerIsDown() throws Exception {
config ->
config
.withMiningEnabled(true)
.withMergeSupport(true)
.withMergeSupport()
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(JWT_FILE));
eth1Node.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void setup() throws Exception {
config ->
config
.withMiningEnabled(true)
.withMergeSupport(true)
.withMergeSupport()
.withGenesisFile("besu/preMergeGenesis.json")
.withJwtTokenAuthorization(jwtFile));
eth1Node.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public BesuNode.Config withGenesisFile(final String genesisFilePath) {
return this;
}

public BesuNode.Config withMergeSupport(final boolean enableMergeSupport) {
public BesuNode.Config withMergeSupport() {
configMap.put("rpc-http-api", MERGE_RPC_MODULES);
configMap.put("rpc-ws-api", MERGE_RPC_MODULES);
configMap.put("engine-rpc-port", Integer.toString(ENGINE_JSON_RPC_PORT));
Expand Down

0 comments on commit e84dcb7

Please sign in to comment.