mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-24 22:45:45 +00:00
added signing authority (dao) to the keeper to enable dao signing checks
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
412e15449b
commit
cbcbf0ccd4
@ -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)
|
||||
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user