v2

package
v0.50.8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ModuleName = "crisis"
)

Variables

View Source
var (
	ConstantFee    = []byte("ConstantFee")
	ConstantFeeKey = []byte{0x01}
)

Functions

func MigrateStore

func MigrateStore(ctx sdk.Context, storeService storetypes.KVStoreService, legacySubspace exported.Subspace, cdc codec.BinaryCodec) error

MigrateStore migrates the x/crisis module state from the consensus version 1 to version 2. Specifically, it takes the `ConstantFee` parameter that is currently stored and managed by the x/params module and stores it directly into the x/crisis module state.

Types

This section is empty.

Jump to

Keyboard shortcuts

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