Skip to content

rename the name of new staking pallets in all runtimes#8801

Merged
kianenigma merged 4 commits intodonal-ahmfrom
kiz-rename-westend-staking-pallets
Jun 11, 2025
Merged

rename the name of new staking pallets in all runtimes#8801
kianenigma merged 4 commits intodonal-ahmfrom
kiz-rename-westend-staking-pallets

Conversation

@kianenigma
Copy link
Copy Markdown
Contributor

closes #8763

Needs to be merged after the base branch is merged, and timed for a RU when Phase::Off.

This will make the job of all tooling related to new staking pallets easier (such as polkadot-js/apps#11401), ensuring the names in westend + test-runtimes are the same as what we intend to put in Polkadot and Kusama.

@kianenigma kianenigma requested a review from a team as a code owner June 9, 2025 14:22
@kianenigma kianenigma added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Jun 9, 2025
@kianenigma
Copy link
Copy Markdown
Contributor Author

kianenigma commented Jun 10, 2025

This is being retrofitted into oty-donal-ahm-builds via #8812 and @ggwpez will do a RU with it.

Once done, I will remove the migration code form here, and merge it into the base branch

Or @karolk91 do you pull oty-donal-ahm-builds into donal-ahm regularly?

sigurpol added a commit to paritytech/polkadot-staking-miner that referenced this pull request Jun 10, 2025
Following the changes introduced in [SDK
 8801](paritytech/polkadot-sdk#8801):
- Updated metadata for multi-block path
- Track SDK's `oty-donal-ahm-builds` instead of `master` branch to be
able to test on WAH
- Updated all reference to election pallet to comply with the new names
- Driven-by: bumped subxt to 0.42.1 to be able to deal with Metadata v16
  used in WAH
- Fixed related breaking changes in subxt 0.42 around hasher
(see paritytech/subxt#1974)
- Fixed `sp_staking::PagedExposureMetadata<Balance>` vs
  `parity_scale_codec` traits (we should use subxt codec now)
sigurpol added a commit to paritytech/polkadot-staking-miner that referenced this pull request Jun 10, 2025
Following the changes introduced in [SDK
 8801](paritytech/polkadot-sdk#8801):
- Updated metadata for multi-block path
- Track SDK's `oty-donal-ahm-builds` instead of `master` branch to be
able to test on WAH
- Updated all reference to election pallet to comply with the new names
- Driven-by: bumped subxt to 0.42.1 to be able to deal with Metadata v16
  used in WAH
- Fixed related breaking changes in subxt 0.42 around hasher
(see paritytech/subxt#1974)
- Fixed `sp_staking::PagedExposureMetadata<Balance>` vs
  `parity_scale_codec` traits (we should use subxt codec now)
@kianenigma kianenigma merged commit c3aebf5 into donal-ahm Jun 11, 2025
58 of 60 checks passed
@kianenigma kianenigma deleted the kiz-rename-westend-staking-pallets branch June 11, 2025 08:58
@paritytech-workflow-stopper
Copy link
Copy Markdown

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

sigurpol added a commit to paritytech/polkadot-staking-miner that referenced this pull request Jun 11, 2025
Following the changes introduced in [SDK
 8801](paritytech/polkadot-sdk#8801):
- Updated metadata for multi-block path
- Track SDK's `oty-donal-ahm-builds` instead of `master` branch to be
able to test on WAH
- Updated all reference to election pallet to comply with the new names
- Driven-by: bumped subxt to 0.42.1 to be able to deal with Metadata v16
  used in WAH
- Fixed related breaking changes in subxt 0.42 around hasher
(see paritytech/subxt#1974)
- Fixed `sp_staking::PagedExposureMetadata<Balance>` vs
  `parity_scale_codec` traits (we should use subxt codec now)
sigurpol added a commit to paritytech/polkadot-staking-miner that referenced this pull request Jun 11, 2025
….42.1 (#1082)

* Update metadata after election pallet renaming

Following the changes introduced in [SDK
 8801](paritytech/polkadot-sdk#8801):
- Updated metadata for multi-block path
- Track SDK's `oty-donal-ahm-builds` instead of `master` branch to be
able to test on WAH
- Updated all reference to election pallet to comply with the new names
- Driven-by: bumped subxt to 0.42.1 to be able to deal with Metadata v16
  used in WAH
- Fixed related breaking changes in subxt 0.42 around hasher
(see paritytech/subxt#1974)
- Fixed `sp_staking::PagedExposureMetadata<Balance>` vs
  `parity_scale_codec` traits (we should use subxt codec now)

* Always log block number even if a not interesting phase

* Track sdk's donal-ahm branch for WAH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants