v6

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlipOnTopicWhitelists

func FlipOnTopicWhitelists(
	ctx sdk.Context,
	store storetypes.KVStore,
	cdc codec.BinaryCodec,
	emissionsKeeper keeper.Keeper,
) error

Iterate through all topics and turn on their respective worker and reputer whitelists

func MigrateParams

func MigrateParams(store storetypes.KVStore, cdc codec.BinaryCodec) error

Migrate params for this new version The changes are the addition of GlobalWhitelistEnabled, TopicCreatorWhitelistEnabled

func MigrateStore

func MigrateStore(ctx sdk.Context, emissionsKeeper keeper.Keeper) error

MigrateStore migrates the store from version 5 to version 6 It does the following: - Migrate params to add and set GlobalWhitelistEnabled, TopicCreatorWhitelistEnabled - Iterates through all topics to turn on their respective worker and reputer whitelists

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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