Skip to content

Commit 43a530d

Browse files
authored
fix nethermind >= 1.30.1 startup, bump default versios for other clients to latest (#1539)
1 parent d9a9a59 commit 43a530d

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

lib/docker/ethereum/images.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package ethereum
22

33
const (
44
DefaultBesuEth1Image = "hyperledger/besu:22.1.0"
5-
DefaultBesuEth2Image = "hyperledger/besu:24.10.0"
5+
DefaultBesuEth2Image = "hyperledger/besu:24.12.2"
66
BesuBaseImageName = "hyperledger/besu"
77
besuGitRepo = "hyperledger/besu"
88

@@ -12,16 +12,16 @@ const (
1212
erigonGitRepo = "ledgerwatch/erigon"
1313

1414
DefaultGethEth1Image = "ethereum/client-go:v1.13.8"
15-
DefaultGethEth2Image = "ethereum/client-go:v1.14.11"
15+
DefaultGethEth2Image = "ethereum/client-go:v1.14.12"
1616
GethBaseImageName = "ethereum/client-go"
1717
gethGitRepo = "ethereum/go-ethereum"
1818

1919
DefaultNethermindEth1Image = "nethermind/nethermind:1.16.0"
20-
DefaultNethermindEth2Image = "nethermind/nethermind:1.29.1"
20+
DefaultNethermindEth2Image = "nethermind/nethermind:1.30.3"
2121
NethermindBaseImageName = "nethermind/nethermind"
2222
nethermindGitRepo = "NethermindEth/nethermind"
2323

24-
DefaultRethEth2Image = "ghcr.io/paradigmxyz/reth:v1.1.0"
24+
DefaultRethEth2Image = "ghcr.io/paradigmxyz/reth:v1.1.5"
2525
RethBaseImageName = "ghcr.io/paradigmxyz/reth"
2626
rethGitRepo = "paradigmxyz/reth"
2727
)

lib/docker/test_env/nethermind_eth2.go

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -65,34 +65,34 @@ func (g *Nethermind) getEth2ContainerRequest() (*tc.ContainerRequest, error) {
6565
}
6666

6767
command := []string{
68-
"--datadir=/nethermind",
69-
"--config=/none.cfg",
70-
fmt.Sprintf("--Init.ChainSpecPath=%s/chainspec.json", g.generatedDataContainerDir),
71-
"--Init.DiscoveryEnabled=false",
72-
"--Init.WebSocketsEnabled=true",
73-
fmt.Sprintf("--JsonRpc.WebSocketsPort=%s", DEFAULT_EVM_NODE_WS_PORT),
74-
fmt.Sprintf("--Blocks.SecondsPerSlot=%d", g.chainConfig.SecondsPerSlot),
75-
"--JsonRpc.Enabled=true",
76-
"--JsonRpc.EnabledModules=net,eth,consensus,subscribe,web3,admin,txpool,debug,trace",
77-
"--JsonRpc.Host=0.0.0.0",
78-
fmt.Sprintf("--JsonRpc.Port=%s", DEFAULT_EVM_NODE_HTTP_PORT),
79-
"--JsonRpc.EngineHost=0.0.0.0",
80-
"--JsonRpc.EnginePort=" + ETH2_EXECUTION_PORT,
81-
fmt.Sprintf("--JsonRpc.JwtSecretFile=%s", getJWTSecretFileLocationInsideContainer(g.generatedDataContainerDir)),
82-
fmt.Sprintf("--KeyStore.KeyStoreDirectory=%s", getKeystoreDirLocationInsideContainer(g.generatedDataContainerDir)),
83-
"--KeyStore.BlockAuthorAccount=0x123463a4b065722e99115d6c222f267d9cabb524",
84-
"--KeyStore.UnlockAccounts=0x123463a4b065722e99115d6c222f267d9cabb524",
85-
fmt.Sprintf("--KeyStore.PasswordFiles=%s", getAccountPasswordFileInsideContainer(g.generatedDataContainerDir)),
86-
"--Network.MaxActivePeers=0",
87-
"--Network.OnlyStaticPeers=true",
88-
"--HealthChecks.Enabled=true", // default slug /health
89-
fmt.Sprintf("--log=%s", strings.ToUpper(g.LogLevel)),
68+
"--datadir", "/nethermind",
69+
"--config", "/none.cfg",
70+
"--Init.ChainSpecPath", fmt.Sprintf("%s/chainspec.json", g.generatedDataContainerDir),
71+
"--Init.DiscoveryEnabled", "false",
72+
"--Init.WebSocketsEnabled", "true",
73+
"--JsonRpc.WebSocketsPort", DEFAULT_EVM_NODE_WS_PORT,
74+
"--Blocks.SecondsPerSlot", fmt.Sprintf("%d", g.chainConfig.SecondsPerSlot),
75+
"--JsonRpc.Enabled", "true",
76+
"--JsonRpc.EnabledModules", "net,eth,consensus,subscribe,web3,admin,txpool,debug,trace",
77+
"--JsonRpc.Host", "0.0.0.0",
78+
"--JsonRpc.Port", DEFAULT_EVM_NODE_HTTP_PORT,
79+
"--JsonRpc.EngineHost", "0.0.0.0",
80+
"--JsonRpc.EnginePort", ETH2_EXECUTION_PORT,
81+
"--JsonRpc.JwtSecretFile", getJWTSecretFileLocationInsideContainer(g.generatedDataContainerDir),
82+
"--KeyStore.KeyStoreDirectory", getKeystoreDirLocationInsideContainer(g.generatedDataContainerDir),
83+
"--KeyStore.BlockAuthorAccount", "0x123463a4b065722e99115d6c222f267d9cabb524",
84+
"--KeyStore.UnlockAccounts", "0x123463a4b065722e99115d6c222f267d9cabb524",
85+
"--KeyStore.PasswordFiles", getAccountPasswordFileInsideContainer(g.generatedDataContainerDir),
86+
"--Network.MaxActivePeers", "0",
87+
"--Network.OnlyStaticPeers", "true",
88+
"--HealthChecks.Enabled", "true", // default slug /health
89+
"--log", strings.ToUpper(g.LogLevel),
9090
}
9191

9292
if g.LogLevel == "trace" {
93-
command = append(command, "--TraceStore.Enabled=true")
94-
command = append(command, "--Network.DiagTracerEnabled=true")
95-
command = append(command, "--TxPool.ReportMinutes=1")
93+
command = append(command, "--TraceStore.Enabled", "true")
94+
command = append(command, "--Network.DiagTracerEnabled", "true")
95+
command = append(command, "--TxPool.ReportMinutes", "1")
9696
}
9797

9898
return &tc.ContainerRequest{

0 commit comments

Comments
 (0)