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

Bug in denom_metadata validation #230

Open
angelorc opened this issue Jun 21, 2024 · 0 comments
Open

Bug in denom_metadata validation #230

angelorc opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working medium-priority

Comments

@angelorc
Copy link
Collaborator

I've been setting up a new testnet for BitSong and encountered a bug during the validation of the denom_metadata in the genesis file.

To get things running, I had to manually tweak the genesis file as follows:

  1. Set .app_state.bank.denom_metadata[0].name to BitSong
  2. Set .app_state.bank.denom_metadata[0].symbol to BTSG
  3. Reordered .app_state.bank.denom_metadata[0].denom_units to move the entry {...denom:"ubtsg"...} to index 0

I'm not entirely sure if these fixes should be implemented during the import or export phase of setting up the genesis file.

I’m leaving this issue open for further discussion

@angelorc angelorc self-assigned this Jun 21, 2024
@angelorc angelorc added bug Something isn't working medium-priority labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium-priority
Projects
None yet
Development

No branches or pull requests

1 participant