We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d136753 commit 89a6ef1Copy full SHA for 89a6ef1
app/keepers/keepers.go
@@ -374,14 +374,17 @@ func NewAppKeeper(
374
AddRoute(erc20types.RouterKey, erc20.NewErc20ProposalHandler(&appKeepers.Erc20Keeper)).
375
AddRoute(volunteertypes.RouterKey, volunteerkeeper.NewVolunteerValidatorProposalHandler(appKeepers.VolunteerKeeper))
376
377
+ govConfig := govtypes.DefaultConfig()
378
+ // set the MaxMetadataLen for proposals to the same value as it was pre-sdk v0.47.x
379
+ govConfig.MaxMetadataLen = 10200
380
govKeeper := govkeeper.NewKeeper(
381
appCodec,
382
appKeepers.keys[govtypes.StoreKey],
383
appKeepers.AccountKeeper,
384
appKeepers.BankKeeper,
385
appKeepers.StakingKeeper,
386
bApp.MsgServiceRouter(),
- govtypes.DefaultConfig(),
387
+ govConfig,
388
govModAddress,
389
)
390
0 commit comments