Skip to content

Commit 7a95ab2

Browse files
authored
Deprecate --in-process-validators flag and rm related leftovers (#7777)
1 parent 477d909 commit 7a95ab2

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

beacon_chain/beacon_node.nim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ type
9797
keymanagerServer*: RestServerRef
9898
keystoreCache*: KeystoreCacheRef
9999
eventBus*: EventBus
100-
vcProcess*: Process
101100
requestManager*: RequestManager
102101
validatorCustody*: ValidatorCustodyRef
103102
syncManager*: SyncManager[Peer, PeerId]

beacon_chain/conf.nim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,9 @@ type
563563
name: "debug-long-range-sync".}: LongRangeSyncMode
564564

565565
inProcessValidators* {.
566-
desc: "Disable the push model (the beacon node tells a signing process with the private keys of the validators what to sign and when) and load the validators in the beacon node itself"
567-
defaultValue: true # the use of the nimbus_signing_process binary by default will be delayed until async I/O over stdin/stdout is developed for the child process.
568-
name: "in-process-validators" .}: bool
566+
hidden
567+
desc: "Deprecated for removal"
568+
name: "in-process-validators" .}: Option[bool]
569569

570570
discv5Enabled* {.
571571
desc: "Enable Discovery v5"

beacon_chain/nimbus_beacon_node.nim

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2585,11 +2585,6 @@ proc installMessageValidators(node: BeaconNode) =
25852585
node.installLightClientMessageValidators()
25862586

25872587
proc stop(node: BeaconNode) =
2588-
if not node.config.inProcessValidators:
2589-
try:
2590-
node.vcProcess.close()
2591-
except Exception as exc:
2592-
warn "Couldn't close vc process", msg = exc.msg
25932588
try:
25942589
waitFor node.network.stop()
25952590
except CatchableError as exc:
@@ -2869,6 +2864,7 @@ proc doRunBeaconNode(
28692864
ignoreDeprecatedOption web3ForcePolling
28702865
ignoreDeprecatedOption finalizedDepositTreeSnapshot
28712866
ignoreDeprecatedOption finalizedCheckpointBlock
2867+
ignoreDeprecatedOption inProcessValidators
28722868

28732869
# Trusted setup is needed for Cancun+ blocks and is shared between threads,
28742870
# so it needs to be initalized from the main thread before anything else tries

docs/the_nimbus_book/src/options.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ The following options are available:
113113
--light-client-data-import-mode Which classes of light client data to import. Must be one of: none, only-new,
114114
full (slow startup), on-demand (may miss validator duties) [=only-new].
115115
--light-client-data-max-periods Maximum number of sync committee periods to retain light client data.
116-
--in-process-validators Disable the push model (the beacon node tells a signing process with the private
117-
keys of the validators what to sign and when) and load the validators in the
118-
beacon node itself [=true].
119116
--discv5 Enable Discovery v5 [=true].
120117
--dump Write SSZ dumps of blocks and states to data dir [=false].
121118
--direct-peer The list of privileged, secure and known peers to connect and maintain the

0 commit comments

Comments
 (0)