Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ModuleName is the name of the module
ModuleName = "gov"
)
Variables ¶
View Source
var ParamsKey = []byte{0x30}
ParamsKey is the key of x/gov params
Functions ¶
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, legacySubspace exported.ParamSubspace, cdc codec.BinaryCodec) error
MigrateStore performs in-place store migrations from v3 (v0.46) to v4 (v0.47). The migration includes:
Params migrations from x/params to gov Addition of the new min initial deposit ratio parameter that is set to 0 by default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.