diff --git a/app/app.go b/app/app.go index a970c25..ad6d9f3 100644 --- a/app/app.go +++ b/app/app.go @@ -548,6 +548,7 @@ func New( keys[machinemoduletypes.AddressIndexKey], keys[machinemoduletypes.MemStoreKey], app.GetSubspace(machinemoduletypes.ModuleName), + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) machineModule := machinemodule.NewAppModule(appCodec, app.MachineKeeper, app.AccountKeeper, app.BankKeeper) diff --git a/x/machine/keeper/keeper.go b/x/machine/keeper/keeper.go index 56c5cb0..499b9d4 100644 --- a/x/machine/keeper/keeper.go +++ b/x/machine/keeper/keeper.go @@ -21,6 +21,7 @@ type ( addressIndexStoreKey storetypes.StoreKey memKey storetypes.StoreKey paramstore paramtypes.Subspace + authority string } ) @@ -34,6 +35,7 @@ func NewKeeper( addressIndexStoreKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, + authority string, ) *Keeper { // set KeyTable if it has not already been set if !ps.HasKeyTable() {