Skip to content

Commit

Permalink
rm unused proc
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Oct 12, 2023
1 parent 4144c28 commit 1aea215
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions integration_tests/ibc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class IBCNetwork(NamedTuple):
chainmain: Chainmain
hermes: Hermes | None
incentivized: bool
proc: subprocess.Popen[bytes] | None


def call_hermes_cmd(
Expand Down Expand Up @@ -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()
Expand All @@ -185,7 +183,7 @@ def prepare_network(
cronos.supervisorctl("start", "relayer-demo")
port = hermes.port
else:
proc = subprocess.Popen(
subprocess.Popen(
[
"rly",
"start",
Expand All @@ -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)

Expand Down

0 comments on commit 1aea215

Please sign in to comment.