Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MarkerStoreKeyPrefixLegacy legacy prefix for marker-address < v043 MarkerStoreKeyPrefixLegacy = []byte{0x01} )
Functions ¶
func MarkerStoreKeyLegacy ¶
func MarkerStoreKeyLegacy(addr sdk.AccAddress) []byte
MarkerStoreKeyLegacy turn an address to key used to get it from the account store
func MigrateMarkerAddressKeys ¶
func MigrateMarkerAddressKeys(ctx sdk.Context, storeKey storetypes.StoreKey) error
func MigrateMarkerPermissions ¶
func MigrateMarkerPermissions(ctx sdk.Context, k MarkerKeeperI) error
MigrateMarkerPermissions inspects existing COIN markers for grants of Access_Transfer and removes the invalid grant to prevent validation errors with the strict access validation updates in 1.6.0
Types ¶
type MarkerKeeperI ¶
type MarkerKeeperI interface { // Set a marker in the auth account store SetMarker(sdk.Context, types.MarkerAccountI) // IterateMarker processes all markers with the given handler function. IterateMarkers(sdk.Context, func(types.MarkerAccountI) bool) }
MarkerKeeperI is a minimal set of marker keeper operations required for store migrations
Click to show internal directories.
Click to hide internal directories.