Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ModuleName is the name of the module
ModuleName = "staking"
)
Variables ¶
View Source
var HistoricalInfoKey = []byte{0x50} // prefix for the historical info
Functions ¶
func GetHistoricalInfoKey ¶ added in v0.50.1
GetHistoricalInfoKey returns a key prefix for indexing HistoricalInfo objects.
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, store storetypes.KVStore) error
MigrateStore performs in-place store migrations from v0.40 to v0.43. The migration includes:
- Setting the Power Reduction param in the paramstore
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.