forked from cosmos/cosmos-rust
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cosmrs: match upstream Cosmos SDK's Denom validation logic (cosmos#470)
Implements the same checks as the upstream Cosmos SDK's `MatchDenom`: https://github.com/cosmos/cosmos-sdk/blob/6a07568/types/coin.go#L885-L906
- Loading branch information
1 parent
d8ca2aa
commit ced74a7
Showing
1 changed file
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters