mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-13 03:25:20 +00:00
instantiate kava disk keeper before passing to community multi spend (#1153)
proposal handler in gov routing
This commit is contained in:
parent
9f73659274
commit
699dca8913
19
app/app.go
19
app/app.go
@ -421,6 +421,16 @@ func NewApp(
|
|||||||
scopedIBCKeeper,
|
scopedIBCKeeper,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
app.kavadistKeeper = kavadistkeeper.NewKeeper(
|
||||||
|
appCodec,
|
||||||
|
keys[kavadisttypes.StoreKey],
|
||||||
|
kavadistSubspace,
|
||||||
|
app.bankKeeper,
|
||||||
|
app.accountKeeper,
|
||||||
|
app.distrKeeper,
|
||||||
|
app.ModuleAccountAddrs(),
|
||||||
|
)
|
||||||
|
|
||||||
govRouter := govtypes.NewRouter()
|
govRouter := govtypes.NewRouter()
|
||||||
govRouter.
|
govRouter.
|
||||||
AddRoute(govtypes.RouterKey, govtypes.ProposalHandler).
|
AddRoute(govtypes.RouterKey, govtypes.ProposalHandler).
|
||||||
@ -456,15 +466,6 @@ func NewApp(
|
|||||||
ibcRouter.AddRoute(ibctransfertypes.ModuleName, transferModule)
|
ibcRouter.AddRoute(ibctransfertypes.ModuleName, transferModule)
|
||||||
app.ibcKeeper.SetRouter(ibcRouter)
|
app.ibcKeeper.SetRouter(ibcRouter)
|
||||||
|
|
||||||
app.kavadistKeeper = kavadistkeeper.NewKeeper(
|
|
||||||
appCodec,
|
|
||||||
keys[kavadisttypes.StoreKey],
|
|
||||||
kavadistSubspace,
|
|
||||||
app.bankKeeper,
|
|
||||||
app.accountKeeper,
|
|
||||||
app.distrKeeper,
|
|
||||||
app.ModuleAccountAddrs(),
|
|
||||||
)
|
|
||||||
app.auctionKeeper = auctionkeeper.NewKeeper(
|
app.auctionKeeper = auctionkeeper.NewKeeper(
|
||||||
appCodec,
|
appCodec,
|
||||||
keys[auctiontypes.StoreKey],
|
keys[auctiontypes.StoreKey],
|
||||||
|
Loading…
Reference in New Issue
Block a user