Skip to content

Commit

Permalink
Add proposal to router
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Dusek committed Mar 29, 2024
1 parent 747e08f commit 70203a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ import (
market "github.com/pendulum-labs/market/x/market"
marketclient "github.com/pendulum-labs/market/x/market/client"
marketkeeper "github.com/pendulum-labs/market/x/market/keeper"

markettypes "github.com/pendulum-labs/market/x/market/types"
)

Expand Down Expand Up @@ -414,8 +415,8 @@ func New(
AddRoute(distrtypes.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.DistrKeeper)).
// TODO: remove upgrade handler from gov once admin module or decision for only signaling proposal is made.
AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.UpgradeKeeper)).
AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper))

AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)).
AddRoute(markettypes.RouterKey, market.NewDenomMetadataProposalHandler(app.MarketKeeper))
govKeeper := govkeeper.NewKeeper(
appCodec, keys[govtypes.StoreKey], app.GetSubspace(govtypes.ModuleName), app.AccountKeeper, app.BankKeeper,
&ccvstakingKeeper, ccvgovRouter,
Expand Down

0 comments on commit 70203a9

Please sign in to comment.