Skip to content

Commit a230713

Browse files
authored
Nethermind client fix: Update init message (#2195)
* Update message * Add changeset
1 parent 187b3aa commit a230713

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

lib/.changeset/v1.54.5.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- Updated Nethermind log wait conditions to match new Nethermind log output:
2+
- Eth1 and Eth2: "Nethermind initialization completed" → "Initialization Completed"
3+
- Base: "Received New Block" → "New Block"

lib/docker/test_env/nethermind_base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (g *Nethermind) WaitUntilChainIsReady(ctx context.Context, waitTime time.Du
182182
if g.GetEthereumVersion() == config_types.EthereumVersion_Eth1 {
183183
return nil
184184
}
185-
waitForFirstBlock := tcwait.NewLogStrategy("Received New Block").WithPollInterval(1 * time.Second).WithStartupTimeout(waitTime)
185+
waitForFirstBlock := tcwait.NewLogStrategy("New Block").WithPollInterval(1 * time.Second).WithStartupTimeout(waitTime)
186186
return waitForFirstBlock.WaitUntilReady(ctx, *g.GetContainer())
187187
}
188188

lib/docker/test_env/nethermind_eth1.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (g *Nethermind) getEth1ContainerRequest() (*tc.ContainerRequest, error) {
120120
// ImagePlatform: "linux/x86_64", //don't even try this on Apple Silicon, the node won't start due to .NET error
121121
ExposedPorts: []string{NatPortFormat(DEFAULT_EVM_NODE_HTTP_PORT), NatPortFormat(DEFAULT_EVM_NODE_WS_PORT)},
122122
WaitingFor: tcwait.ForAll(
123-
tcwait.ForLog("Nethermind initialization completed").
123+
tcwait.ForLog("Initialization Completed").
124124
WithPollInterval(1 * time.Second),
125125
).WithStartupTimeoutDefault(g.StartupTimeout),
126126
Cmd: []string{

lib/docker/test_env/nethermind_eth2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (g *Nethermind) getEth2ContainerRequest() (*tc.ContainerRequest, error) {
103103
// ImagePlatform: "linux/x86_64", //don't even try this on Apple Silicon, the node won't start due to .NET error
104104
ExposedPorts: []string{NatPortFormat(DEFAULT_EVM_NODE_HTTP_PORT), NatPortFormat(DEFAULT_EVM_NODE_WS_PORT), NatPortFormat(ETH2_EXECUTION_PORT)},
105105
WaitingFor: tcwait.ForAll(
106-
tcwait.ForLog("Nethermind initialization completed").
106+
tcwait.ForLog("Initialization Completed").
107107
WithPollInterval(1 * time.Second),
108108
).WithStartupTimeoutDefault(g.StartupTimeout),
109109
Cmd: command,

0 commit comments

Comments
 (0)