Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the auth MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, storeService store.KVStoreService, ak types.AccountKeeper, ck types.CertKeeper) Keeper
type Migrator ¶
type Migrator struct { authkeeper.AccountKeeper // contains filtered or unexported fields }
Migrator is a struct for handling in-place store migrations.
func NewMigrator ¶
func NewMigrator(am authkeeper.AccountKeeper, keeper Keeper, queryServer grpc.Server, ss exported.Subspace) Migrator
NewMigrator returns a new Migrator.
func (Migrator) Migrate1to2 ¶
Migrate1to2 migrates from version 1 to 2.
func (Migrator) Migrate2to3 ¶ added in v2.10.0
Migrate2to3 migrates from consensus version 2 to version 3. Specifically, for each account we index the account's ID to their address.
func (Migrator) Migrate3to4 ¶ added in v2.11.0
Migrate3to4 migrates the x/auth module state from the consensus version 3 to version 4. Specifically, it takes the parameters that are currently stored and managed by the x/params modules and stores them directly into the x/auth module state.
func (Migrator) Migrate4To5 ¶ added in v2.12.0
Migrate4To5 migrates the x/auth module state from the consensus version 4 to 5. It migrates the GlobalAccountNumber from being a protobuf defined value to a big-endian encoded uint64, it also migrates it to use a more canonical prefix.