Skip to content

Allow denom metadata to be defined for restricted denoms #2556

Description

@SpicyLemon

Summary

Allow Denom metadata to be defined for restricted denoms while still applying the standard SI-notation restrictions.

Problem Definition

A marker for a restricted denom can be created using a governance proposal. Significantly, this allows for a shorter denom than without using a governance proposal. However, we can't then set the denom metadata for the restricted denom because denom metadata validation only uses the unrestricted denom regex.

Proposal

Update our custom validation of denom metadata to use the standard denom regex (i.e. sdk.ValidateDenom) instead of our (more restrictive) unrestricted denom regex.

This is fine because the denom metadata has to be based off the marker denom anyway.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

Labels

markerMarker Module

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions