Skip to content

add staking/election related view functions #8337

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

Merged
merged 13 commits into from
May 2, 2025

Conversation

kianenigma
Copy link
Contributor

@kianenigma kianenigma commented Apr 25, 2025

Adds two self-explanatory view functions to staking/election related pallets. To be used by wallets wishing to perform rebag operation, and use by staking miner(s) to know how much deposit they need in advance.

@kianenigma kianenigma requested a review from a team as a code owner April 25, 2025 10:29
@kianenigma
Copy link
Contributor Author

/cmd prdoc --bump patch

@kianenigma kianenigma added the T2-pallets This PR/Issue is related to a particular pallet. label Apr 25, 2025
@sigurpol
Copy link
Contributor

Nice! Will be used in the scope of paritytech/polkadot-staking-miner#1030 🚀

@Ank4n
Copy link
Contributor

Ank4n commented May 1, 2025

cmd fmt

@kianenigma
Copy link
Contributor Author

/cmd fmt

@kianenigma kianenigma enabled auto-merge May 1, 2025 10:19
@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/14776824005
Failed job name: test-linux-stable-no-try-runtime

@kianenigma kianenigma added this pull request to the merge queue May 2, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 2, 2025
@kianenigma kianenigma added this pull request to the merge queue May 2, 2025
Merged via the queue into master with commit e7ca25f May 2, 2025
237 of 249 checks passed
@kianenigma kianenigma deleted the kiz-view-functions-here-and-there branch May 2, 2025 11:20
alvicsam pushed a commit that referenced this pull request May 2, 2025
Adds two self-explanatory view functions to staking/election related
pallets. To be used by wallets wishing to perform rebag operation, and
use by staking miner(s) to know how much deposit they need in advance.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankan <[email protected]>
Co-authored-by: Giuseppe Re <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T2-pallets This PR/Issue is related to a particular pallet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants