CLI: Fix create-nonce-account
with seed (#8929)
* CLI: Fix `create-nonce-account --seed ...` * CLI: Add test another for `create-nonce-account --seed...` Explicitly demonstrates a partner workflow with the following requirements: 1) Nonce account address derived from an offline nonce authority address 2) Fully online account creation 3) Account creation in a single signing session * alphabetize
This commit is contained in:
@@ -110,13 +110,6 @@ impl NonceSubCommands for App<'_, '_> {
|
||||
.validator(is_valid_pubkey)
|
||||
.help("Account to be granted authority of the nonce account"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("seed")
|
||||
.long("seed")
|
||||
.value_name("STRING")
|
||||
.takes_value(true)
|
||||
.help("Seed for address generation; if specified, the resulting account will be at a derived address of the NONCE_ACCOUNT pubkey")
|
||||
)
|
||||
.arg(nonce_authority_arg()),
|
||||
)
|
||||
.subcommand(
|
||||
@@ -147,6 +140,13 @@ impl NonceSubCommands for App<'_, '_> {
|
||||
.value_name("PUBKEY")
|
||||
.validator(is_valid_pubkey)
|
||||
.help("Assign noncing authority to another entity"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("seed")
|
||||
.long("seed")
|
||||
.value_name("STRING")
|
||||
.takes_value(true)
|
||||
.help("Seed for address generation; if specified, the resulting account will be at a derived address of the NONCE_ACCOUNT pubkey")
|
||||
),
|
||||
)
|
||||
.subcommand(
|
||||
|
Reference in New Issue
Block a user