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.
Click to show internal directories.
Click to hide internal directories.