diff --git a/cmd/config/init/init.go b/cmd/config/init/init.go index b74f65d5..40dbea61 100644 --- a/cmd/config/init/init.go +++ b/cmd/config/init/init.go @@ -51,7 +51,7 @@ A valid RollApp ID should follow the format 'name_uniqueID-revision', where - 'uniqueID' is a number up to the length of 5 digits representing the unique ID EIP155 rollapp ID - 'revision' is a number up to the length of 5 digits representing the revision number for this rollapp -A valid denom should consist of exactly 3 English alphabet letters, for example 'btc', 'eth'` +A valid denom should consist of 3-6 English alphabet letters, for example, 'btc', 'eth', 'pepe', etc.` } func runInit(cmd *cobra.Command, args []string) error { diff --git a/cmd/consts/consts.go b/cmd/consts/consts.go index 666ac155..6ffa7b66 100644 --- a/cmd/consts/consts.go +++ b/cmd/consts/consts.go @@ -35,8 +35,9 @@ var KeysIds = struct { HubSequencer: "hub_sequencer", RollappSequencer: "rollapp_sequencer", RollappRelayer: "relayer-rollapp-key", - DALightNode: "da-key", - HubRelayer: "relayer-hub-key", + //TODO(#76): da key name should be more generic + DALightNode: "my_celes_key", + HubRelayer: "relayer-hub-key", } var AddressPrefixes = struct { diff --git a/cmd/register/register.go b/cmd/register/register.go index 7b057b72..64764119 100644 --- a/cmd/register/register.go +++ b/cmd/register/register.go @@ -11,7 +11,6 @@ import ( "github.com/dymensionxyz/roller/cmd/consts" initconfig "github.com/dymensionxyz/roller/cmd/config/init" - "github.com/dymensionxyz/roller/cmd/consts" "github.com/dymensionxyz/roller/cmd/utils" "github.com/dymensionxyz/roller/config" "github.com/spf13/cobra" diff --git a/config/config.go b/config/config.go index de8954ca..19387fc4 100644 --- a/config/config.go +++ b/config/config.go @@ -123,7 +123,7 @@ func IsValidDenom(s string) error { } func IsValidTokenSymbol(s string) bool { - if len(s) != 3 { + if len(s) < 3 || len(s) > 6 { return false } for _, r := range s {