Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModuleName = "group" // Group Policy Table GroupPolicyTablePrefix byte = 0x20 GroupPolicyTableSeqPrefix byte = 0x21 )
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
func Migrate( ctx context.Context, storeService store.KVStoreService, accountKeeper group.AccountKeeper, groupPolicySeq orm.Sequence, groupPolicyTable orm.PrimaryKeyTable, ) error
Migrate migrates the x/group module state from the consensus version 1 to version 2. Specifically, it changes the group policy account from module account to base account.
func MigrateGenState ¶
func MigrateGenState(oldState *authtypes.GenesisState, addressCodec address.Codec) *authtypes.GenesisState
MigrateGenState accepts exported v0.46 x/auth genesis state and migrates it to v0.47 x/auth genesis state. The migration includes: - If the group module is enabled, replace group policy accounts from module accounts to base accounts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.