Skip to content

Commit

Permalink
remove onft denom symbol validation
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Sep 3, 2024
1 parent e4cc1e7 commit 5859846
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ curl https://raw.githubusercontent.com/OmniFlix/mainnet/main/omniflixhub-1/genes
- [v2.1]((https://github.com/OmniFlix/docs/blob/main/guides/mainnet/omniflixhub-1/upgrades/v2.1-upgrade.md)) at block 10678600
- [v3]((https://github.com/OmniFlix/docs/blob/main/guides/mainnet/omniflixhub-1/upgrades/v3-upgrade.md)) at block 10872800
- [v3.3.0]((https://github.com/OmniFlix/docs/blob/main/guides/mainnet/omniflixhub-1/upgrades/v3.3.0-upgrade.md)) at block 11140000
- [v4]((https://github.com/OmniFlix/docs/blob/main/guides/mainnet/omniflixhub-1/upgrades/v4-upgrade.md)) at block 11914000
- [v4]((https://github.com/OmniFlix/docs/blob/main/guides/mainnet/omniflixhub-1/upgrades/v4-upgrade.md)) at block 11914000

### Testnets

Expand Down
7 changes: 4 additions & 3 deletions x/onft/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ func ValidateGenesis(data GenesisState) error {
if creator.Empty() {
return errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "missing denom creator")
}
if err := ValidateDenomID(c.Denom.Id); err != nil {
return err
}
/*
if err := ValidateDenomID(c.Denom.Id); err != nil {
return err
} */
if err := ValidateName(c.Denom.Name); err != nil {
return err
}
Expand Down

0 comments on commit 5859846

Please sign in to comment.