Skip to content

Commit 849fd29

Browse files
authored
Merge pull request #184 from ethereum-optimism/harry/max-persisted-states
feat: set anvil `--max-persisted-states` flag
2 parents e6ed451 + 342d179 commit 849fd29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

anvil/anvil.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func (a *Anvil) Start(ctx context.Context) error {
8383
"--derivation-path", a.cfg.SecretsConfig.DerivationPath.String(),
8484
"--chain-id", fmt.Sprintf("%d", a.cfg.ChainID),
8585
"--port", fmt.Sprintf("%d", a.cfg.Port),
86+
"--max-persisted-states", "5",
8687
}
8788

8889
if a.cfg.L2Config != nil {

0 commit comments

Comments
 (0)