v2

package
v3.0.0-rc Latest Latest
Warning

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

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

Documentation

Overview

nolint:staticcheck

Index

Constants

This section is empty.

Variables

View Source
var Upgrade = upgrades.Upgrade{
	CreateUpgradeHandler: createUpgradeHandler,
	PreUpgradeCmd:        preUpgradeCmd(),
	StoreUpgrades: func() *storetypes.StoreUpgrades {
		if fxtypes.ChainId() == fxtypes.TestnetChainId {
			return &storetypes.StoreUpgrades{
				Added: []string{
					feegrant.StoreKey,
					authzkeeper.StoreKey,
				},
			}
		}
		return &storetypes.StoreUpgrades{
			Added: []string{
				feemarkettypes.StoreKey,
				evmtypes.StoreKey,
				erc20types.StoreKey,
				migratetypes.StoreKey,
				feegrant.StoreKey,
				authzkeeper.StoreKey,
			},
		}
	},
}

Upgrade nolint

Functions

func GetModuleKey

func GetModuleKey() map[string]map[byte][2]int

Types

This section is empty.

Jump to

Keyboard shortcuts

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