Skip to content

--network eravm spawn anvil-zksync without closing them at the end of the process #243

@s3bc40

Description

@s3bc40

OS: Ubuntu 24.04.1

I should look into this one day:

➜ ps
    PID TTY          TIME CMD
  16981 pts/6    00:00:01 zsh
  22748 pts/6    00:00:00 anvil-zksync
  26762 pts/6    00:00:00 anvil-zksync
  48272 pts/6    00:00:00 anvil-zksync
  49743 pts/6    00:00:00 anvil-zksync
  53086 pts/6    00:00:00 anvil-zksync
  56588 pts/6    00:00:00 anvil-zksync
  61013 pts/6    00:00:00 anvil-zksync
 143444 pts/6    00:00:00 ps

Running test or other CLI cmd with --network eravm tend to spawn anvil-zksync processes, but they are not shutting down.

I have to check this out, idk if it is specific to my OS...

I'll think about this, taking what I just did in my justfile:

deploy-anvil:
  anvil > /dev/null 2>&1 & ANVIL_PID=$!; mox run deploy; kill $ANVIL_PID

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions