Skip to content

Commit

Permalink
fixup! feat: Add consensus-independent vat snapshot retention configu…
Browse files Browse the repository at this point in the history
…ration to AG_COSMOS_INIT
  • Loading branch information
gibson042 committed Sep 6, 2024
1 parent 9b6ad1a commit f5f651d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion golang/cosmos/x/swingset/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ func SwingsetConfigFromViper(resolvedConfig servertypes.AppOptions) (*SwingsetCo
// Validate vat snapshot retention only if non-empty (because otherwise it
// it will be omitted, leaving the VM to apply its own defaults).
if ssConfig.VatSnapshotRetention != "" {
// Validate vat snapshot retention.
if util.IndexOf(snapshotRetentionValues, ssConfig.VatSnapshotRetention) == -1 {
err := fmt.Errorf(
"value for vat-snapshot-retention must be in %q",
Expand Down

0 comments on commit f5f651d

Please sign in to comment.