commit 3c55bc9ac21555318538f75901478d1648540585
parent 65b10ea3068ff8afb78284b55305d9ef05386f0a
Author: lash <dev@holbrook.no>
Date: Thu, 12 May 2022 16:13:02 +0000
Implement 'raw' cli tool on settings module
Diffstat:
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/chainlib/eth/runnable/wait.py b/chainlib/eth/runnable/wait.py
@@ -83,14 +83,9 @@ config = process_config(config, arg, args, flags)
config = process_config_local(config, arg, args, flags)
logg.debug('config loaded:\n{}'.format(config))
-rpc = chainlib.eth.cli.Rpc()
-conn = rpc.connect_by_config(config)
-
-chain_spec = None
-try:
- chain_spec = ChainSpec.from_chain_str(config.get('CHAIN_SPEC'))
-except AttributeError:
- pass
+settings = ChainSettings()
+settings = process_settings(settings, config)
+logg.debug('settings loaded:\n{}'.format(settings))
def main():