kinode-dao/kit

bug: starting anvil chain should be brought down if kit is brought down

Closed this issue · 1 comments

Describe the bug
anvil keeps trying to set up after kit is brought down.

To Reproduce
Steps to reproduce the behavior:

  1. Start a server on port 8545
  2. kit f
  3. Ctrl+C during set up

Expected behavior
Everything should immediately be cleaned up and stopped.

You can see how we used to do this in network_router: looping over a select! that also has a kill channel: https://github.com/kinode-dao/kit/blob/25b474abec180f6ae63b3f2c13f459a180b5be73/src/run_tests/network_router.rs

FYI @bitful-pannul