-
Notifications
You must be signed in to change notification settings - Fork 2
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
Nomination pools rewards #21
Conversation
Tested on last blocks of Polkadot, Kusama, Westend and Aleph-zero: Log: |
This reverts commit 2837b82.
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.
I think we should cache pool members storage to avoid cases when for each event we will fetch it from blockchain. But we can do this in a separate PR
return | ||
} | ||
|
||
const members = await api.query.nominationPools.poolMembers.entries() |
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.
Let's cache this request for a given block number
tests for nomination pools handlers
Base implementation that will be extended