Respond to RFCs for #2617.

Co-authored-by: Bogdan Opanchuk <bogdan@opanchuk.net>
pull/2617/head
derekpierre 2021-04-15 08:24:06 -04:00
parent e768a6b5a7
commit 229888ae99
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ Replace the following values with your own:
* ``<SIGNER URI>`` - The URI to an ethereum keystore or signer: `keystore:///root/.ethereum/keystore`
* ``<GWEI>`` - The maximum price of gas to spend on commitment transactions
The configuration settings will be stored in an ursula configuration file.
The configuration settings will be stored in an Ursula configuration file.
.. important::

View File

@ -60,7 +60,7 @@ def get_config_filepaths(config_class: Type[CharacterConfiguration], config_root
# updated glob pattern for secondary configuration files accommodates for:
# 1. configuration files with "0x..." checksum address as suffix - including older ursula config files
# 2. newer (ursula) configuration files which use signing_pub_key[:8] as hex as the suffix
glob_pattern = f'{config_root}/{config_class.NAME}-[0-9a-fA-f]*.{config_class._CONFIG_FILE_EXTENSION}'
glob_pattern = f'{config_root}/{config_class.NAME}-[0-9a-fA-F]*.{config_class._CONFIG_FILE_EXTENSION}'
secondary_config_files = sorted(glob.glob(glob_pattern)) # sort list to make order deterministic
config_files = [*default_config_file, *secondary_config_files]