mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-08 20:11:22 +00:00
Use Goerli as the "main name". Do not show Prater in prompt message
This commit is contained in:
parent
160d69b52b
commit
a57373be16
@ -34,6 +34,7 @@ from staking_deposit.utils.intl import (
|
|||||||
from staking_deposit.settings import (
|
from staking_deposit.settings import (
|
||||||
ALL_CHAINS,
|
ALL_CHAINS,
|
||||||
MAINNET,
|
MAINNET,
|
||||||
|
PRATER,
|
||||||
get_chain_setting,
|
get_chain_setting,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -87,7 +88,8 @@ def generate_keys_arguments_decorator(function: Callable[..., Any]) -> Callable[
|
|||||||
param_decls='--chain',
|
param_decls='--chain',
|
||||||
prompt=choice_prompt_func(
|
prompt=choice_prompt_func(
|
||||||
lambda: load_text(['chain', 'prompt'], func='generate_keys_arguments_decorator'),
|
lambda: load_text(['chain', 'prompt'], func='generate_keys_arguments_decorator'),
|
||||||
list(ALL_CHAINS.keys())
|
# Since `prater` is alias of `goerli`, do not show `prater` in the prompt message.
|
||||||
|
list(key for key in ALL_CHAINS.keys() if key != PRATER)
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
jit_option(
|
jit_option(
|
||||||
|
Loading…
Reference in New Issue
Block a user