anvil.js
anvil.js copied to clipboard
More robust error handling in case anvil crashes
We are currently tracking whether anvil fails to start, but after that, we don't really monitor the underlying anvil process anymore to capture any crashes or exits.
Inspired by https://github.com/wagmi-dev/viem/actions/runs/4863340150/jobs/8670981663?pr=440#step:4:2955 😃
+1. I'm running into a similar error.
FWIW, in my case I'm nearly certain the root error is that the RPC provider used for the FORK_URL is rate limiting requests (when I switch from Quicknode to Alchemy, everything runs smoothly).
@0xOlias Maybe helpful: The error I posted above came from a new anvil release so we pinned it.
Yeah, this would definitely be useful.