cosmos-sdk/x/auth/legacy/v0_36/migrate.go

15 lines
399 B
Go

// DONTCOVER
// nolint
package v0_36
import (
v034auth "github.com/cosmos/cosmos-sdk/x/auth/legacy/v0_34"
)
// Migrate accepts exported genesis state from v0.34 and migrates it to v0.36
// genesis state. This migration removes the CollectedFees coins from the old
// FeeCollectorKeeper.
func Migrate(oldGenState v034auth.GenesisState) GenesisState {
return NewGenesisState(oldGenState.Params)
}