Implement 'raw' cli tool on settings module
This commit is contained in:
parent
65b10ea306
commit
3c55bc9ac2
@ -83,14 +83,9 @@ config = process_config(config, arg, args, flags)
|
|||||||
config = process_config_local(config, arg, args, flags)
|
config = process_config_local(config, arg, args, flags)
|
||||||
logg.debug('config loaded:\n{}'.format(config))
|
logg.debug('config loaded:\n{}'.format(config))
|
||||||
|
|
||||||
rpc = chainlib.eth.cli.Rpc()
|
settings = ChainSettings()
|
||||||
conn = rpc.connect_by_config(config)
|
settings = process_settings(settings, config)
|
||||||
|
logg.debug('settings loaded:\n{}'.format(settings))
|
||||||
chain_spec = None
|
|
||||||
try:
|
|
||||||
chain_spec = ChainSpec.from_chain_str(config.get('CHAIN_SPEC'))
|
|
||||||
except AttributeError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
Reference in New Issue
Block a user