From 342d1795ec033ec391d70d878b6b6f741b15bdf7 Mon Sep 17 00:00:00 2001 From: tre Date: Tue, 1 Oct 2024 17:29:52 -0700 Subject: [PATCH] feat: set anvil --max-persisted-states flag --- anvil/anvil.go | 1 + 1 file changed, 1 insertion(+) diff --git a/anvil/anvil.go b/anvil/anvil.go index 893463f1..bd700682 100644 --- a/anvil/anvil.go +++ b/anvil/anvil.go @@ -83,6 +83,7 @@ func (a *Anvil) Start(ctx context.Context) error { "--derivation-path", a.cfg.SecretsConfig.DerivationPath.String(), "--chain-id", fmt.Sprintf("%d", a.cfg.ChainID), "--port", fmt.Sprintf("%d", a.cfg.Port), + "--max-persisted-states", "5", } if a.cfg.L2Config != nil {