Skip to content

Commit

Permalink
update gov MaxMetadataLen (#3025)
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Offtermatt <[email protected]>
  • Loading branch information
doggystylez and p-offtermatt authored Mar 29, 2024
1 parent e00f2ef commit c908e4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ func NewAppKeeper(

// provider depends on gov, so gov must be registered first
govConfig := govtypes.DefaultConfig()
// set the MaxMetadataLen for proposals to the same value as it was pre-sdk v0.47.x
govConfig.MaxMetadataLen = 10200
appKeepers.GovKeeper = govkeeper.NewKeeper(
appCodec,
appKeepers.keys[govtypes.StoreKey],
Expand All @@ -306,7 +308,6 @@ func NewAppKeeper(
govConfig,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)

appKeepers.ProviderKeeper = ibcproviderkeeper.NewKeeper(
appCodec,
appKeepers.keys[providertypes.StoreKey],
Expand Down

0 comments on commit c908e4b

Please sign in to comment.