Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "slashing"
)
Variables ¶
View Source
var ParamsKey = []byte{0x00}
Functions ¶
func Migrate ¶
func Migrate(ctx sdk.Context, store sdk.KVStore, legacySubspace exported.Subspace, cdc codec.BinaryCodec) error
Migrate migrates the x/slashing module state from the consensus version 2 to version 3. Specifically, it takes the parameters that are currently stored and managed by the x/params modules and stores them directly into the x/slashing module state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.