Remove instances of required arguments with default values (#4489)
## Issue Addressed #4488 ## Proposed Changes - Remove all instances of the `required` modifier where we have a default value specified for a subcommand ## Additional Info N/A
This commit is contained in:
parent
5cd738c882
commit
1a5de8b0f0
@ -40,7 +40,6 @@ fn main() {
|
|||||||
.long("spec")
|
.long("spec")
|
||||||
.value_name("STRING")
|
.value_name("STRING")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.required(true)
|
|
||||||
.possible_values(&["minimal", "mainnet", "gnosis"])
|
.possible_values(&["minimal", "mainnet", "gnosis"])
|
||||||
.default_value("mainnet")
|
.default_value("mainnet")
|
||||||
.global(true),
|
.global(true),
|
||||||
@ -372,7 +371,6 @@ fn main() {
|
|||||||
.index(2)
|
.index(2)
|
||||||
.value_name("BIP39_MNENMONIC")
|
.value_name("BIP39_MNENMONIC")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.required(true)
|
|
||||||
.default_value(
|
.default_value(
|
||||||
"replace nephew blur decorate waste convince soup column \
|
"replace nephew blur decorate waste convince soup column \
|
||||||
orient excite play baby",
|
orient excite play baby",
|
||||||
@ -393,7 +391,6 @@ fn main() {
|
|||||||
.help("The block hash used when generating an execution payload. This \
|
.help("The block hash used when generating an execution payload. This \
|
||||||
value is used for `execution_payload_header.block_hash` as well as \
|
value is used for `execution_payload_header.block_hash` as well as \
|
||||||
`execution_payload_header.random`")
|
`execution_payload_header.random`")
|
||||||
.required(true)
|
|
||||||
.default_value(
|
.default_value(
|
||||||
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
),
|
),
|
||||||
@ -411,7 +408,6 @@ fn main() {
|
|||||||
.value_name("INTEGER")
|
.value_name("INTEGER")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("The base fee per gas field in the execution payload generated.")
|
.help("The base fee per gas field in the execution payload generated.")
|
||||||
.required(true)
|
|
||||||
.default_value("1000000000"),
|
.default_value("1000000000"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
@ -420,7 +416,6 @@ fn main() {
|
|||||||
.value_name("INTEGER")
|
.value_name("INTEGER")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("The gas limit field in the execution payload generated.")
|
.help("The gas limit field in the execution payload generated.")
|
||||||
.required(true)
|
|
||||||
.default_value("30000000"),
|
.default_value("30000000"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
Loading…
Reference in New Issue
Block a user