From 70203a9d7ddfda9e586f5be5f95cb2384cc1e916 Mon Sep 17 00:00:00 2001 From: Charles Dusek Date: Fri, 29 Mar 2024 00:58:52 -0500 Subject: [PATCH] Add proposal to router --- app/app.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/app.go b/app/app.go index 2dc2ad6..dfaeb4e 100644 --- a/app/app.go +++ b/app/app.go @@ -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" ) @@ -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,