Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateStore ¶
func MigrateStore(ctx context.Context, storeService corestoretypes.KVStoreService, paramsCollection collections.Item[v1.Params], proposalCollection collections.Map[uint64, v1.Proposal]) error
MigrateStore performs in-place store migrations from v5 (v0.50) to v6 (v0.52). The migration includes:
Addition of new field in params to store types of proposals that can be submitted. Addition of gov params for optimistic proposals. Addition of gov params for proposal cancel max period. Cleanup of old proposal stores.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.