Documentation ¶
Index ¶
Constants ¶
View Source
const (
UpgradeName = "v3.0.0"
)
Variables ¶
View Source
var ( ICAHostAllowMessages = []string{ sdk.MsgTypeURL(&ibctransfertypes.MsgTransfer{}), sdk.MsgTypeURL(&banktypes.MsgSend{}), } // List of module accounts to check in state. // These include all dYdX custom module accounts. ModuleAccsToInitialize = []string{ satypes.ModuleName, perpetualsmoduletypes.InsuranceFundName, } )
View Source
var Upgrade = upgrades.Upgrade{ UpgradeName: UpgradeName, StoreUpgrades: store.StoreUpgrades{ Added: []string{ ratelimittypes.StoreKey, icahosttypes.StoreKey, }, }, }
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, ak authkeeper.AccountKeeper, ) upgradetypes.UpgradeHandler
func InitializeModuleAccs ¶
func InitializeModuleAccs(ctx sdk.Context, ak authkeeper.AccountKeeper)
This module account initialization logic is copied from v2.0.0 upgrade handler. Testnet is to be upgraded from v1.0.1 to v3.0.0 directly and needs this logic to fix some accounts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.