evmparamsmigration

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 NewUpgrade

func NewUpgrade() upgrades.Upgrade

Types

This section is empty.

Jump to

Keyboard shortcuts

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