v2

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: 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(chainId string) 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