Fix confini instantiation in ussd

This commit is contained in:
nolash 2021-07-15 00:54:48 +02:00
parent 402b968b6d
commit 8cdaf9f28a
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
5 changed files with 5 additions and 4 deletions

View File

@ -28,7 +28,7 @@ elif args.v:
logging.getLogger().setLevel(logging.INFO) logging.getLogger().setLevel(logging.INFO)
# parse config # parse config
config = Config(config_dir=args.c, env_prefix=args.env_prefix) config = Config(args.c, env_prefix=args.env_prefix)
config.process() config.process()
config.censor('PASSWORD', 'DATABASE') config.censor('PASSWORD', 'DATABASE')
logg.debug('config loaded from {}:\n{}'.format(args.c, config)) logg.debug('config loaded from {}:\n{}'.format(args.c, config))

View File

@ -45,7 +45,7 @@ elif args.v:
logging.getLogger().setLevel(logging.INFO) logging.getLogger().setLevel(logging.INFO)
# parse config # parse config
config = Config(config_dir=args.c, env_prefix=args.env_prefix) config = Config(args.c, env_prefix=args.env_prefix)
config.process() config.process()
config.censor('PASSWORD', 'DATABASE') config.censor('PASSWORD', 'DATABASE')
logg.debug('config loaded from {}:\n{}'.format(args.c, config)) logg.debug('config loaded from {}:\n{}'.format(args.c, config))

View File

@ -30,7 +30,7 @@ arg_parser.add_argument('-vv', action='store_true', help='be more verbose')
args = arg_parser.parse_args() args = arg_parser.parse_args()
config = Config(config_dir=args.c, env_prefix=args.env_prefix) config = Config(args.c, env_prefix=args.env_prefix)
config.process() config.process()
config.censor('PASSWORD', 'DATABASE') config.censor('PASSWORD', 'DATABASE')
logg.debug(f'config:\n{config}') logg.debug(f'config:\n{config}')

View File

@ -167,7 +167,7 @@ If you have previously run the `cic_ussd` import incompletely, it could be a goo
Then, in sequence, run in first terminal: Then, in sequence, run in first terminal:
`python cic_eth/import_balance.py -v -c config -p <eth_provider> -r <cic_registry_address> --token-symbol <token_symbol> -y ../keystore/UTC--2021-01-08T17-18-44.521011372Z--eb3907ecad74a0013c259d5874ae7f22dcbcc95c out` `python cic_ussd/import_balance.py -v -c config -p <eth_provider> -r <cic_registry_address> --token-symbol <token_symbol> -y ../contract-migration/keystore/UTC--2021-01-08T17-18-44.521011372Z--eb3907ecad74a0013c259d5874ae7f22dcbcc95c out`
In second terminal: In second terminal:

View File

@ -10,3 +10,4 @@ eth-contract-registry~=0.5.6a1
eth-accounts-index~=0.0.12a1 eth-accounts-index~=0.0.12a1
eth-erc20~=0.0.10a3 eth-erc20~=0.0.10a3
erc20-faucet~=0.2.2a1 erc20-faucet~=0.2.2a1
psycopg2==2.8.6