Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set default denom #137

Merged
merged 2 commits into from
May 23, 2023
Merged

feat: set default denom #137

merged 2 commits into from
May 23, 2023

Conversation

emidev98
Copy link
Contributor

@emidev98 emidev98 commented May 23, 2023

This pull request fixes the following bug #136.

There are some commented lines because the default bond denom is always the one with larger decimals precision https://github.com/terra-money/cosmos-sdk/blob/release/v0.45.x/types/denom.go#L27-L29. The idea will be to submit a pull request to CosmoSDK to be able to chose the default denom so the other denoms can be registered later on by just uncommenting the lines (cosmos/cosmos-sdk#16257)

@emidev98 emidev98 added the bug Something isn't working label May 23, 2023
@emidev98 emidev98 requested a review from javiersuweijie May 23, 2023 07:16
@emidev98 emidev98 linked an issue May 23, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Merging #137 (af78af9) into main (458ba8a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   78.03%   78.03%           
=======================================
  Files           4        4           
  Lines         701      701           
=======================================
  Hits          547      547           
  Misses        140      140           
  Partials       14       14           

@emidev98 emidev98 added the breaking changes Consensus breaking label May 23, 2023
@gregnuj gregnuj merged commit f513434 into main May 23, 2023
@gregnuj gregnuj deleted the feat/default/denom branch May 23, 2023 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking changes Consensus breaking bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Base denom not registered
3 participants