Skip to content

Commit

Permalink
Restore the hidden --web3-force-polling option as a deprecated one
Browse files Browse the repository at this point in the history
  • Loading branch information
zah committed Mar 14, 2023
1 parent 957a8c2 commit ee610cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions beacon_chain/conf.nim
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ type
desc: "A directory containing era files"
name: "era-dir" .}: Option[InputDir]

web3ForcePolling* {.
hidden
desc: "Force the use of polling when determining the head block of Eth1 (obsolete)"
name: "web3-force-polling" .}: Option[bool]

web3Urls* {.
desc: "One or more execution layer Engine API URLs"
name: "web3-url" .}: seq[EngineApiUrlConfigValue]
Expand Down
1 change: 1 addition & 0 deletions beacon_chain/nimbus_beacon_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1806,6 +1806,7 @@ proc doRunBeaconNode(config: var BeaconNodeConf, rng: ref HmacDrbgContext) {.rai
ignoreDeprecatedOption terminalTotalDifficultyOverride
ignoreDeprecatedOption optimistic
ignoreDeprecatedOption validatorMonitorTotals
ignoreDeprecatedOption web3ForcePolling

createPidFile(config.dataDir.string / "beacon_node.pid")

Expand Down

0 comments on commit ee610cb

Please sign in to comment.