keeper

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

nolint:staticcheck

nolint:staticcheck

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper crosschainkeeper.Keeper) types.MsgServer

func NewQueryServerImpl

func NewQueryServerImpl(keeper crosschainkeeper.Keeper) types.QueryServer

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(cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino,
	paramsStoreKey sdk.StoreKey, gravityStoreKey sdk.StoreKey, ethStoreKey sdk.StoreKey,
	sk v2.StakingKeeper, ak v2.AccountKeeper, bk v2.BankKeeper,
) Migrator

NewMigrator returns a new Migrator.

func (Migrator) Migrate1to2

func (m Migrator) Migrate1to2(ctx sdk.Context) error

Migrate1to2 migrates from version 1 to 2.

Jump to

Keyboard shortcuts

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