Skip to content

Commit

Permalink
tests/upgrade/pre: Also preserve client local storage
Browse files Browse the repository at this point in the history
This is needed because in tests the clients also need to perform the
chain context transition and without local storage this never succeeds.
  • Loading branch information
kostko authored and peternose committed Oct 5, 2023
1 parent 35ea32b commit 70c2b1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/upgrade/pre/scenario/e2e/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func DumpRestoreUpgradeNetwork(ctx context.Context, childEnv *env.Env, sc *e2e.S
e2e.PreserveComputeWorkerLocalStorage: true,
e2e.PreserveComputeWorkerRuntimeStorage: true, // default, needed
e2e.PreserveKeymanagerLocalStorage: true, // default, needed
e2e.PreserveClientLocalStorage: true,
}
if err := sc.ResetConsensusState(childEnv, resetFlags); err != nil {
return fmt.Errorf("failed to wipe storage: %w", err)
Expand Down

0 comments on commit 70c2b1c

Please sign in to comment.