-
Notifications
You must be signed in to change notification settings - Fork 707
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
[Pools] New runtime api that returns the pot accounts associated with the pool #6357
Conversation
bot fmt |
@Ank4n https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7693500 was started for your command Comment |
@Ank4n Command |
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.
Excellent, this will help applications a lot 🫡
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.
This is good to add, but we will probably migrate it to #4722 🙈
we can keep the existing APIs for backwards compatibility for some time.
closes #6358
Adds the following runtime api to pallet-nomination-pools.
pool_accounts(pool_id)
: Returns(bonded_account, reward_account)
associated with thepool_id
.cc: @rossbulat