Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Jan 26, 2024
1 parent 320507f commit c748d7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/gov/migrations/v5/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ func MigrateStore(ctx sdk.Context, storeService corestoretypes.KVStoreService, c

// defaultParams is updated with default values for new parameters introduced in v0.50.
defaultParams := govv1.DefaultParams()
params.ExpeditedMinDeposit = params.MinDeposit // Use regular `min_deposit` as `expedited_min_deposit`
// Use `MinDeposit` from state as `ExpeditedMinDeposit`.
params.ExpeditedMinDeposit = params.MinDeposit
// For below five parameters, use the updated default values.
params.ExpeditedVotingPeriod = defaultParams.ExpeditedVotingPeriod
params.ExpeditedThreshold = defaultParams.ExpeditedThreshold
params.ProposalCancelRatio = defaultParams.ProposalCancelRatio
Expand Down

0 comments on commit c748d7e

Please sign in to comment.