-
Notifications
You must be signed in to change notification settings - Fork 18
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
Capacity runtime api with list_unclaimed_rewards endpoint #2088
Capacity runtime api with list_unclaimed_rewards endpoint #2088
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work!! Nothing unusual stood out, looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
earned_amount: 'Balance', | ||
} | ||
}, | ||
runtime: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. By the way, do this show up in PolkadotUI now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won't until it merges to main and is released, and I think you also have to post a PR with the updated release to PolkadotJS ui
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Read through changes
- Executed unit tests (All Passed)
- Executed e2e-test-serial (All passed)
- nit: one typo
🚀 LGTM 🚀
Co-authored-by: Matthew Orris <1466844+mattheworris@users.noreply.github.com>
# Goal The goal of this PR is to implement a capacity runtime api for the `list_unclaimed_rewards` endpoint. Following the current recommendation of Parity, there is no custom RPC matching this runtime API endpoint; instead, use state.call to access the endpoint. For examples using either Observable or APIPromise, see the e2e tests. Closes #1698
Goal
The goal of this PR is to implement a capacity runtime api for the list_unclaimed_rewards endpoint.
Following the current recommendation of Parity, there is no custom RPC matching this runtime API endpoint; instead, use state.call to access the endpoint. For examples using either Observable or APIPromise, see the e2e tests.
Closes #1698
Checklist