Restore the hidden --web3-force-polling option as a deprecated one

This commit is contained in:
Zahary Karadjov 2023-03-14 18:54:15 +02:00
parent 957a8c2fdc
commit ee610cbf34
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
2 changed files with 6 additions and 0 deletions

View File

@ -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]

View File

@ -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")