mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 05:52:45 +00:00
Remove some unused parameters
This commit is contained in:
parent
37b3f8d577
commit
b0912b8eaf
@ -330,16 +330,6 @@ type
|
|||||||
desc: "The number of validator deposits in the newly created chain"
|
desc: "The number of validator deposits in the newly created chain"
|
||||||
name: "total-validators" }: uint64
|
name: "total-validators" }: uint64
|
||||||
|
|
||||||
firstValidator* {.
|
|
||||||
defaultValue: 0
|
|
||||||
desc: "Index of first validator to add to validator list"
|
|
||||||
name: "first-validator" }: uint64
|
|
||||||
|
|
||||||
lastUserValidator* {.
|
|
||||||
defaultValue: config.totalValidators - 1,
|
|
||||||
desc: "The last validator index that will be free for taking from a testnet participant"
|
|
||||||
name: "last-user-validator" }: uint64
|
|
||||||
|
|
||||||
bootstrapAddress* {.
|
bootstrapAddress* {.
|
||||||
defaultValue: init(ValidIpAddress, "127.0.0.1")
|
defaultValue: init(ValidIpAddress, "127.0.0.1")
|
||||||
desc: "The public IP address that will be advertised as a bootstrap node for the testnet"
|
desc: "The public IP address that will be advertised as a bootstrap node for the testnet"
|
||||||
|
@ -1738,7 +1738,7 @@ proc doCreateTestnet(config: BeaconNodeConf, rng: var BrHmacDrbgContext) {.raise
|
|||||||
quit 1
|
quit 1
|
||||||
|
|
||||||
var deposits: seq[DepositData]
|
var deposits: seq[DepositData]
|
||||||
for i in config.firstValidator.int ..< launchPadDeposits.len:
|
for i in 0 ..< launchPadDeposits.len:
|
||||||
deposits.add(launchPadDeposits[i] as DepositData)
|
deposits.add(launchPadDeposits[i] as DepositData)
|
||||||
|
|
||||||
let
|
let
|
||||||
|
Loading…
x
Reference in New Issue
Block a user