Skip to content

Commit febbbe4

Browse files
author
Pedro Miranda
committed
nph formatting and correct typos
1 parent edd8f93 commit febbbe4

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

nimbus_unified/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
# description
12-
12+
tbd
1313
For in-depth configuration and functionality of Nimbus execution and consensus layer refer to:
1414
- [Nimbus-eth1 - Execution layer client](https://github.com/status-im/nimbus-eth1) Documentation
1515
- [Nimbus-eth2 - Consensus layer client](https://github.com/status-im/nimbus-eth2) Documentation

nimbus_unified/consensus/consensus_layer.nim

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import std/[atomics, os], chronicles, ../configs/nimbus_configs
99

1010
export nimbus_configs
1111

12-
## log
1312
logScope:
1413
topics = "Consensus layer"
1514

nimbus_unified/nimbus_unified.nim

+1-2
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,13 @@ proc addService(
7777

7878
## Block execution and waits for services to finish
7979
proc exitServices*(nimbus: Nimbus) =
80-
8180
for i in 0 .. cNimbusMaxServices - 1:
8281
if nimbus.serviceList[i].isSome:
8382
let thread = nimbus.serviceList[i].get()
8483
if thread.serviceHandler.running():
8584
joinThread(thread.serviceHandler)
86-
nimbus.serviceList[i] = none(NimbusService)
8785
info "Exited service ", service = thread.name
86+
nimbus.serviceList[i] = none(NimbusService)
8887

8988
notice "Exited all services"
9089

nimbus_unified/tests/nim.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
--styleCheck:usages
1313
--styleCheck:hint
14-
--hint[Processing]:offAd
14+
--hint[Processing]:off

nimbus_unified/tests/test_nimbus_unified.nim

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ template removeFile(filename: string) =
3030
except IOError:
3131
discard # Ignore if the file does not exist
3232

33-
proc handlerMock(parameters: ServiceParameters) {.thread.} = return
33+
proc handlerMock(parameters: ServiceParameters) {.thread.} =
34+
return
3435

3536
# ----------------------------------------------------------------------------
3637
# Unit Tests

0 commit comments

Comments
 (0)