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

refactor: updated Taostats api call endpoints #1206

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

UrbanWill
Copy link
Contributor

Description

Updated Taostats api calls and response parsing to match upcoming changes. See docs.

Attention ⚠️

Update the API URL between November 1st and before December 1st. Check import API Updates for more details

Type of change

Please delete options that are not relevant.

  • Ready to merge

🧪 How to test:

  • Visit /staking/providers
    Expected: Est. return should be displayed

  • Click on "stake" on TAO row
    Expected: Total Staked should display selected currency amount, or TAO amount when currency price is not available. Estimated APR should be displayed

  • Click on Select Delegate
    Expected: Estimated APR should be displayed and sorting by Estimated APR should work

🖼️ Screenshots:

Screen.Recording.2024-10-29.at.12.19.01.mov

Copy link
Contributor

@chidg chidg left a comment

Choose a reason for hiding this comment

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

LGTM

@UrbanWill UrbanWill merged commit e8421b5 into main Oct 30, 2024
9 checks passed
@UrbanWill UrbanWill deleted the refactor/taostats-api-migration branch October 30, 2024 07:30
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.

2 participants