Skip to content

bug(anvil): --load-state does not appear to work #11176

@krakovia-evm

Description

@krakovia-evm

Component

Anvil

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

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge Version: 1.3.0-nightly Commit SHA: c7c9655 Build Timestamp: 2025-07-31T06:04:23.883713400Z (1753941863) Build Profile: maxperf

What version of Foundryup are you on?

1.3.0

What command(s) is the bug in?

anvil --load-state anvil_snapshot.json

Operating System

Windows

Describe the bug

i can save the state with --dump-state without problems.
When i need to start the session again, using --load-state has basically no effects.
Logs from anvil are 1:1 if i don't use the flag at all

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions