v3

package
v5.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigratePermissions

func MigratePermissions(permissions v2.Permission) (types.Permissions, error)

MigratePermissions migrates the given v2 permissions to the new system

func MigrateStore

func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) error

MigrateStore migrates the store from version 2 to version 3. The migration includes the following:

- migrate all the group permissions from the old system to the new one - migrate all the user permissions from the old system to the new one - set the NextSectionID to 1 for all the existing subspaces - create the default section for all the existing subspaces

Types

This section is empty.

Jump to

Keyboard shortcuts

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