Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions server/lib/ethui/services/anvil.ex
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ defmodule Ethui.Services.Anvil do
to_string(port),
"--state",
"#{dir}/state.json",
# Without this, every suspend/resume cycle silently drops pre-restart state:
# blocks and logs survive, but eth_call at any older block fails with
# BlockOutOfRangeError, which breaks indexers replaying chain history.
"--preserve-historical-states",
"--host",
"0.0.0.0",
"--chain-id",
Expand Down
Loading