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: treat all amounts as base 0 when quering #1345

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mateuszjasiuk
Copy link
Collaborator

@mateuszjasiuk mateuszjasiuk commented Nov 29, 2024

Indexer part: https://github.com/anoma/namada-indexer/pull/166/files
Issue: anoma/namada-indexer#156

Changes:

  • all amounts returned from services are in base 0
  • Added envs so you can optionally develop against localnet. You have to specify: VITE_LOCALNET=true, VITE_LOCALNET_CHAIN_ID, VITE_LOCALNET_NAM_TOKEN
  • added localnet-config.toml, by default added to gitignore. You can add it to namadillo/public/localnet-config.toml if you want to develop against local chain. Example file:
# Localnet configuration file
enabled = true
chain_id = "local.040061ff54009d1fb42c0ac5"
token_address = "tnam1qxp7u2vmlgcrpn9j0ml7hrtr79g2w2fdesteh7tu"
chain_1_channel = "channel-0"
chain_2_channel = "channel-283"

@mateuszjasiuk mateuszjasiuk force-pushed the feat/handle-queried-nam-as-denominated-amount-2 branch from 4d83335 to 250e72e Compare November 29, 2024 14:47
@mateuszjasiuk mateuszjasiuk force-pushed the feat/handle-queried-nam-as-denominated-amount-2 branch from 250e72e to 0a2bedb Compare November 29, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant