mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
Supports flags for evmos start cli (#43)
This commit is contained in:
parent
7bcd9b1988
commit
4151375316
@ -45,8 +45,6 @@ class EvmosNode(BlockchainNode):
|
||||
log,
|
||||
rpc_timeout=10,
|
||||
):
|
||||
assert len(updated_config) == 0, "updated_config not supported for evmos"
|
||||
|
||||
data_dir = os.path.join(root_dir, "evmosd", "node" + str(index))
|
||||
rpc_url = "http://127.0.0.1:%s" % blockchain_rpc_port(index)
|
||||
|
||||
@ -78,5 +76,10 @@ class EvmosNode(BlockchainNode):
|
||||
"--rpc.pprof_laddr", "127.0.0.1:%s" % arrange_port(EVMOS_PORT_CATEGORY_PPROF, index),
|
||||
]
|
||||
|
||||
for k, v in updated_config.items():
|
||||
if type(k) == str and k.startswith("--"):
|
||||
self.args.append(k)
|
||||
self.args.append(str(v))
|
||||
|
||||
def setup_config(self):
|
||||
""" Already batch initialized by shell script in framework """
|
||||
|
Loading…
Reference in New Issue
Block a user