diff --git a/x/staking/simulation/msg_factory.go b/x/staking/simulation/msg_factory.go index 7c2d4fa3a7e4..49aff2505298 100644 --- a/x/staking/simulation/msg_factory.go +++ b/x/staking/simulation/msg_factory.go @@ -48,7 +48,7 @@ func MsgCreateValidatorFactory(k *keeper.Keeper) simsx.SimMsgFactoryFn[*types.Ms r.StringN(10), types.Metadata{ ProfilePicUri: RandURIOfHostLength(r.Rand, 10), - SocialHandleUris: RandSocialHandles(r.Rand, 2, 10), + SocialHandleUris: RandSocialHandleURIs(r.Rand, 2, 10), }, ) @@ -145,7 +145,7 @@ func MsgEditValidatorFactory(k *keeper.Keeper) simsx.SimMsgFactoryFn[*types.MsgE valOper := testData.GetAccountbyAccAddr(reporter, valOpAddrBz) d := types.NewDescription(r.StringN(10), r.StringN(10), r.StringN(10), r.StringN(10), r.StringN(10), types.Metadata{ ProfilePicUri: RandURIOfHostLength(r.Rand, 10), - SocialHandleUris: RandSocialHandles(r.Rand, 2, 10), + SocialHandleUris: RandSocialHandleURIs(r.Rand, 2, 10), }) msg := types.NewMsgEditValidator(val.GetOperator(), d, &newCommissionRate, nil)