Skip to content

Commit

Permalink
feat(group): Increased group policy metadata (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
omritoptix authored Dec 4, 2024
1 parent 459526c commit 9c96919
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (a *AppKeepers) InitKeepers(
a.SequencerKeeper.SetHooks(sequencermoduletypes.MultiHooks{rollappmodulekeeper.SequencerHooks{Keeper: a.RollappKeeper}})

groupConfig := grouptypes.DefaultConfig()
groupConfig.MaxMetadataLen = 2500
groupConfig.MaxMetadataLen = 5500

a.GroupKeeper = groupkeeper.NewKeeper(
a.keys[grouptypes.StoreKey],
Expand Down
2 changes: 1 addition & 1 deletion x/rollapp/keeper/msg_server_create_rollapp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ var mockRollappMetadata = types.RollappMetadata{
LogoUrl: "https://dymension.xyz/logo.png",
Telegram: "https://t.me/rolly",
X: "https://x.dymension.xyz",
Tags: []string{"AI", "DeFI", "NFT"},
Tags: []string{"AI", "DeFi", "NFT"},
}

var mockGenesisInfo = &types.GenesisInfo{
Expand Down
2 changes: 1 addition & 1 deletion x/rollapp/types/message_update_rollapp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestMsgUpdateRollappInformation_ValidateBasic(t *testing.T) {
Metadata: &RollappMetadata{
Website: "https://dymension.xyz",
Description: "Sample description",
Tags: []string{"AI", "DeFI", "AI"},
Tags: []string{"AI", "DeFi", "AI"},
},
},
err: ErrDuplicateTag,
Expand Down
2 changes: 1 addition & 1 deletion x/rollapp/types/rollapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
var RollappTags = []string{
"Meme",
"AI",
"DeFI",
"DeFi",
"NFT",
"Gaming",
"Betting",
Expand Down

0 comments on commit 9c96919

Please sign in to comment.