foundry-rs / foundry-rs/foundry

bug: forking a local Anvil from a remote Anvil fork hangs the remote

Open
#11,486 2 comments 2 reactions 0 assignees View on GitHub
C-anvil T-bug T-to-investigate T-to-reproduce
Dominant language
Rust
Stars
10.6k
Forks
2.6k
Avg merge
16h 38m
Merged PRs (30d)
511

Description

### Component

Anvil

### Have you ensured that all of these are up to date?

- [x] Foundry
- [x] Foundryup

### What version of Foundry are you on?

1.3.2-nightly

### What version of Foundryup are you on?

1.3.2-nightly

### What command(s) is the bug in?

anvil f

### Operating System

macOS (Apple Silicon)

### Describe the bug

Forking a local Anvil instance to run tests from a remote Anvil instance (that is itself a fork of Alchemy with some scripts run on top) hangs the remote Anvil. The tests fail with "Unable to get storage for account ..." and remote Anvil becomes completely unresponsive, unable to even fork from it locally.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `anvil f` scenario on macOS Apple Silicon: fork a local Anvil instance from a remote Anvil fork and observe the storage error and remote hang. The fix is complete when the tests no longer report “Unable to get storage for account ...” and the remote Anvil remains responsive, including for subsequent local forks.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.