-
Notifications
You must be signed in to change notification settings - Fork 769
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
Unify staking related runtime APIs #428
Comments
A great practice here would be to make sure whatever we implement is compatible with https://docs.moonbeam.network/builders/pallets-precompiles/pallets/staking/ |
We should consider designing and implementing View Functions for staking when they are available, perhaps it is even more relevant and useful than unifying the staking runtime APIs |
jonathanudd
pushed a commit
to jonathanudd/polkadot-sdk
that referenced
this issue
Apr 10, 2024
This was referenced Jun 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, there are a few staking related runtime APIs exposed by the clients (e.g. paritytech/substrate#13119). However, the current runtime APIs are i) not exhaustive and ii) not general/unified.
We should design and implement a set of runtime APIs to query staking related data that covers the needs of wallets and other UIs and that are generic enough to decouple most of the future underlying logic/storage changes from UIs to improve interface stability in the future.
The text was updated successfully, but these errors were encountered: