Skip to content

Commit

Permalink
Merge branch 'master' into am/9023-gentx
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Treglia authored Mar 30, 2021
2 parents 2c0b329 + f8f52c6 commit 51e8df8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/auth/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ var _ AccountKeeperI = &AccountKeeper{}

// NewAccountKeeper returns a new AccountKeeperI that uses go-amino to
// (binary) encode and decode concrete sdk.Accounts.
// `maccPerms` is a map that takes accounts' addresses as keys, and their respective permissions as values. This map is used to construct
// types.PermissionsForAddress and is used in keeper.ValidatePermissions. Permissions are plain strings,
// and don't have to fit into any predefined structure. This auth module does not use account permissions internally, though other modules
// may use auth.Keeper to access the accounts permissions map.
func NewAccountKeeper(
cdc codec.BinaryMarshaler, key sdk.StoreKey, paramstore paramtypes.Subspace, proto func() types.AccountI,
maccPerms map[string][]string,
Expand Down

0 comments on commit 51e8df8

Please # to comment.