migrate

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IRISATTO = "iris-atto"
	UIRIS    = "uiris"
)

Variables

View Source
var Precision = sdk.NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(12), nil))

Functions

func Migrate

func Migrate(cdc codec.JSONMarshaler, initialState v0_16.GenesisFileState) (appState map[string]json.RawMessage)

func MigrateGenesisCmd

func MigrateGenesisCmd() *cobra.Command

MigrateGenesisCmd returns a command to execute genesis state migration.

Types

type SigningInfoSlice

type SigningInfoSlice []slashingtypes.SigningInfo

func (SigningInfoSlice) Len

func (s SigningInfoSlice) Len() int

func (SigningInfoSlice) Less

func (s SigningInfoSlice) Less(i, j int) bool

func (SigningInfoSlice) Swap

func (s SigningInfoSlice) Swap(i, j int)

Directories

Path Synopsis
gov

Jump to

Keyboard shortcuts

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