Skip to content

Commit 3fda343

Browse files
authored
Tools: call setStdIoUnbuffered in evmstate and t8n (#3134)
* Tools: call setStdIoUnbuffered in evmstate and t8n * Lint
1 parent 4134889 commit 3fda343

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tools/evmstate/evmstate.nim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ when defined(chronicles_runtime_filtering):
252252
setLogLevel(level)
253253

254254
proc main() =
255+
# https://github.com/status-im/nimbus-eth1/issues/3131
256+
setStdIoUnbuffered()
257+
255258
let conf = StateConf.init()
256259
when defined(chronicles_runtime_filtering):
257260
setVerbosity(conf.verbosity)

tools/t8n/t8n.nim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nimbus
2-
# Copyright (c) 2022 Status Research & Development GmbH
2+
# Copyright (c) 2022-2025 Status Research & Development GmbH
33
# Licensed under either of
44
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
55
# http://www.apache.org/licenses/LICENSE-2.0)
@@ -47,6 +47,9 @@ when defined(chronicles_runtime_filtering):
4747
setLogLevel(level)
4848

4949
proc main() =
50+
# https://github.com/status-im/nimbus-eth1/issues/3131
51+
setStdIoUnbuffered()
52+
5053
wrapException:
5154
let conf = T8NConf.init()
5255
when defined(chronicles_runtime_filtering):

0 commit comments

Comments
 (0)