From 22be1ff6e374e140d2ddf12e6a89c52a02a310e3 Mon Sep 17 00:00:00 2001 From: Arham Chordia Date: Mon, 29 Jul 2024 18:51:43 +0530 Subject: [PATCH] Update MaxMetaDataLen for gov module to allow for larger proposals summary --- app/keepers/keepers.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index ea8423782..31eff0e71 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -354,6 +354,8 @@ func (appKeepers *AppKeepers) InitNormalKeepers( AddRoute(ibchost.RouterKey, ibcclient.NewClientProposalHandler(appKeepers.IBCKeeper.ClientKeeper)) govConfig := govtypes.DefaultConfig() + // Set the maximum metadata length for government-related configurations to 10,200, deviating from the default value of 256. + govConfig.MaxMetadataLen = 10200 govKeeper := govkeeper.NewKeeper( appCodec, appKeepers.keys[govtypes.StoreKey],