Skip to content

Commit

Permalink
Update MaxMetaDataLen for gov module to allow for larger proposals su…
Browse files Browse the repository at this point in the history
…mmary
  • Loading branch information
arhamchordia committed Jul 29, 2024
1 parent 0641702 commit 22be1ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 22be1ff

Please sign in to comment.