v040

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Overview

Package v040 creates in-place store migrations for fixing multisig pubkey migration problem ref: https://github.com/terra-rebirth/core/issues/562

Index

Constants

View Source
const (
	// ModuleName nolint
	ModuleName = "auth"
)

Variables

This section is empty.

Functions

func Migrate

func Migrate(authGenState v039auth.GenesisState) *v040auth.GenesisState

Migrate accepts exported x/auth genesis state from v0.38/v0.39 and migrates it to v0.40 x/auth genesis state. The migration includes:

- Removing coins from account encoding. - Re-encode in v0.40 GenesisState.

func MigrateAccount

func MigrateAccount(account types.AccountI) (types.AccountI, error)

MigrateAccount migrates multisig account's PubKey as nil to restore mistakenly set PubKey References: https://github.com/terra-rebirth/core/issues/562

Types

This section is empty.

Jump to

Keyboard shortcuts

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