Skip to content

Commit

Permalink
Use Goerli as the "main name". Do not show Prater in prompt message
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Jul 28, 2022
1 parent 160d69b commit a57373b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion staking_deposit/cli/generate_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
from staking_deposit.settings import (
ALL_CHAINS,
MAINNET,
PRATER,
get_chain_setting,
)

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit a57373b

Please sign in to comment.