Skip to content

Commit

Permalink
increase metadata length limit to 5000 (#243)
Browse files Browse the repository at this point in the history
increase gov metadata length to 5000
  • Loading branch information
ajeet97 authored Oct 13, 2023
1 parent fa507f0 commit 205452c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,7 @@ func NewAppKeeper(
}

govConfig := govtypes.DefaultConfig()
// Example of setting gov params:
// govConfig.MaxMetadataLen = 10000
govConfig.MaxMetadataLen = 5000

appKeepers.GovKeeper = govkeeper.NewKeeper(
appCodec,
Expand Down

0 comments on commit 205452c

Please sign in to comment.