Skip to content

Commit

Permalink
Tools: call setStdIoUnbuffered in evmstate and t8n
Browse files Browse the repository at this point in the history
  • Loading branch information
jangko committed Mar 10, 2025
1 parent 4134889 commit 9047c72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/evmstate/evmstate.nim
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ when defined(chronicles_runtime_filtering):
setLogLevel(level)

proc main() =
# https://github.com/status-im/nimbus-eth1/issues/3131
setStdIoUnbuffered()

let conf = StateConf.init()
when defined(chronicles_runtime_filtering):
setVerbosity(conf.verbosity)
Expand Down
3 changes: 3 additions & 0 deletions tools/t8n/t8n.nim
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ when defined(chronicles_runtime_filtering):
setLogLevel(level)

proc main() =
# https://github.com/status-im/nimbus-eth1/issues/3131
setStdIoUnbuffered()

wrapException:
let conf = T8NConf.init()
when defined(chronicles_runtime_filtering):
Expand Down

0 comments on commit 9047c72

Please sign in to comment.