Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
func NewMigrator ¶
func NewMigrator(providerKeeper providerkeeper.Keeper, paramSpace paramtypes.Subspace) Migrator
NewMigrator returns a new Migrator.
func (Migrator) Migrate1to2 ¶
Migrating consensus version 1 to 2 is a no-op. Migrating from v1 -> v2 -> v3 will require multiple state breaking changes and migrations. First run provider@v2.x.y in production to migrate from consensus version 1 to 2. Then, in order to migrate to consensus version 3, first upgrade to provider@v3.x.y.
func (Migrator) Migrate2to3 ¶
Migrate2to3 migrates x/ccvprovider state from consensus version 2 to 3.
func (Migrator) Migrate3to4 ¶ added in v4.1.0
Migrate3to4 migrates x/ccvprovider state from consensus version 3 to 4. The migration consists of provider chain params additions.
Click to show internal directories.
Click to hide internal directories.