v2

package
v0.50.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 7

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

func GetHistoricalInfoKey(height int64) []byte

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL