From 1aea215bb57e776886c8adcd794738f42e558d28 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Thu, 12 Oct 2023 09:27:40 +0800 Subject: [PATCH] rm unused proc --- integration_tests/ibc_utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/integration_tests/ibc_utils.py b/integration_tests/ibc_utils.py index ae5e9f97e5..e7a8b01da9 100644 --- a/integration_tests/ibc_utils.py +++ b/integration_tests/ibc_utils.py @@ -31,7 +31,6 @@ class IBCNetwork(NamedTuple): chainmain: Chainmain hermes: Hermes | None incentivized: bool - proc: subprocess.Popen[bytes] | None def call_hermes_cmd( @@ -164,7 +163,6 @@ def prepare_network( else: call_rly_cmd(path, version) - proc = None if incentivized: # register fee payee src_chain = cronos.cosmos_cli() @@ -185,7 +183,7 @@ def prepare_network( cronos.supervisorctl("start", "relayer-demo") port = hermes.port else: - proc = subprocess.Popen( + subprocess.Popen( [ "rly", "start", @@ -196,7 +194,7 @@ def prepare_network( preexec_fn=os.setsid, ) port = 5183 - yield IBCNetwork(cronos, chainmain, hermes, incentivized, proc) + yield IBCNetwork(cronos, chainmain, hermes, incentivized) if port: wait_for_port(port)