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

Use testnet historical data (Imperator) API on testnet #878

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

jonator
Copy link
Member

@jonator jonator commented Oct 5, 2022

Testing: you should be able to see in the frontier/main preview, it has the correct historical data for mainnet. For testnet preview, it has testnet data (I think it's returning all 0 right now).

@vercel
Copy link

vercel bot commented Oct 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
osmosis-frontend ✅ Ready (Inspect) Visit Preview Oct 5, 2022 at 6:41PM (UTC)
osmosis-frontier ✅ Ready (Inspect) Visit Preview Oct 5, 2022 at 6:41PM (UTC)
osmosis-testnet ✅ Ready (Inspect) Visit Preview Oct 5, 2022 at 6:41PM (UTC)

Copy link
Contributor

@ankurdotb ankurdotb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest sticking to declaring the base URL as a constant and even specifically not hardcoding it in the top-level file, so this can be injected as an environment variable. Perhaps set the default value as a value in constants file, and override it with value from environment if present?

packages/stores/src/queries-external/store.ts Show resolved Hide resolved
Copy link
Contributor

@daniel-farina daniel-farina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, I guess we can test it on the testnet once it's merged.

@jonator jonator merged commit 262d701 into stage Oct 5, 2022
@jonator jonator deleted the jonator/testnet-imperator-api branch October 5, 2022 20:33
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.

3 participants