Documentation
¶
Overview ¶
Package evmparamsmigration contains the upgrade handler that migrates the x/vm module's on-chain Params from the v0.2.x proto layout to the v0.3.x layout.
The schema change (ChainConfig removed from field 5, remaining fields shifted down) was not accompanied by a ConsensusVersion bump in the previous release, so the stored bytes are still in the old format. This upgrade bumps the vm module to ConsensusVersion 2 and runs the migration via RunMigrations.
Index ¶
Constants ¶
View Source
const UpgradeName = "evm-params-migration032"
Variables ¶
This section is empty.
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm upgrades.ModuleManager, configurator module.Configurator, _ *upgrades.AppKeepers, ) upgradetypes.UpgradeHandler
func NewUpgrade ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.