You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll start anvil against an Optimism RPC URL (which may not be relevant to the bug, but it's how I'm currently using anvil to access contracts deployed on that network). Often, after running a deploy script against it a handful of times, anvil crashes with the below error. The preceding RPC methods vary and are not always the same as the sequence shown below.
eth_getTransactionCount
eth_getCode
thread 'fork-backend-thread' panicked at 'A Tokio 1.x context was found, but timers are disabled. Call `enable_time` on the runtime builder to enable timers.', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.0/src/time/driver/handle.rs:58:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1] 90513 abort anvil --fork-url $OPTIMISM_RPC_URL
The text was updated successfully, but these errors were encountered:
Updated again this morning, and so far this hasn't happened when using anvil to test some scripts over the last hour, so this appears to be resolved. Going to close for now and will re-open if it occurs again
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
anvil 0.1.0 (76b00d0 2022-05-28T00:08:43.25713Z)
What command(s) is the bug in?
anvil --fork-url $OPTIMISM_RPC_URL
Operating System
macOS (Intel)
Describe the bug
I'll start anvil against an Optimism RPC URL (which may not be relevant to the bug, but it's how I'm currently using anvil to access contracts deployed on that network). Often, after running a deploy script against it a handful of times, anvil crashes with the below error. The preceding RPC methods vary and are not always the same as the sequence shown below.
The text was updated successfully, but these errors were encountered: