mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2025-01-08 03:51:21 +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 (
|
||||
ALL_CHAINS,
|
||||
MAINNET,
|
||||
PRATER,
|
||||
get_chain_setting,
|
||||
)
|
||||
|
||||
@ -87,7 +88,8 @@ def generate_keys_arguments_decorator(function: Callable[..., Any]) -> Callable[
|
||||
param_decls='--chain',
|
||||
prompt=choice_prompt_func(
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user