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

fix REST endpoints in migration docs #8648

Merged
merged 7 commits into from
Feb 24, 2021
Merged

Conversation

aleem1314
Copy link
Contributor

@aleem1314 aleem1314 commented Feb 20, 2021

Description

closes: #8599
closes: #8657


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@aleem1314 aleem1314 marked this pull request as ready for review February 20, 2021 11:43
@aleem1314 aleem1314 added the T:Docs Changes and features related to documentation. label Feb 20, 2021
@amaury1093
Copy link
Contributor

thanks @aleem1314 for auditing these links! Do you think we can add #8657 too?

| `GET /distribution/validators/{validatorAddr}` | Validator distribution information | `GET /cosmos/distribution/v1beta1/validators/{validatorAddr}` |
| `GET /distribution/validators/{validatorAddr}/rewards` | Commission and self-delegation rewards of a single a validator | `GET /cosmos/distribution/v1beta1/validators/{validatorAddr}/rewards` |
| `GET /distribution/validators/{validatorAddr}` | Validator distribution information | N/A |
| `GET /distribution/validators/{validatorAddr}/rewards` | Commission and self-delegation rewards of a single a validator | N/A |
Copy link
Contributor

Choose a reason for hiding this comment

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

Could that be replaced with ValidatorOutstandingRewards and ValidatorCommission?

@amaury1093 amaury1093 added the A:automerge Automatically merge PR once all prerequisites pass. label Feb 24, 2021
@mergify mergify bot merged commit 897f20b into master Feb 24, 2021
@mergify mergify bot deleted the aleem/8599-rest-migration-docs branch February 24, 2021 15:03
mergify bot pushed a commit that referenced this pull request Feb 24, 2021
* fix endpoints

* update docs

* fix routes

* update docs

Co-authored-by: Anil Kumar Kammari <[email protected]>
(cherry picked from commit 897f20b)

# Conflicts:
#	docs/migrations/rest.md
alessio pushed a commit that referenced this pull request Feb 26, 2021
Co-authored-by: Anil Kumar Kammari <[email protected]>
(cherry picked from commit 897f20b)
Co-authored-by: MD Aleem <[email protected]>
Co-authored-by: Marko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. T:Docs Changes and features related to documentation.
Projects
None yet
3 participants