Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Remove SlotsCrowdloanIndexMigration & InjectValidatorsIntoVoterList #5374

Merged
merged 12 commits into from
Apr 25, 2022

Conversation

coderobe
Copy link
Contributor

No description provided.

@coderobe coderobe added A3-in_progress Pull request is in progress. No review needed at this stage. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Apr 22, 2022
@coderobe coderobe mentioned this pull request Apr 22, 2022
29 tasks
@chevdor chevdor added this to the v0.9.20 milestone Apr 22, 2022
@coderobe coderobe marked this pull request as ready for review April 22, 2022 10:45
@github-actions github-actions bot added A0-please_review Pull request needs code review. and removed A3-in_progress Pull request is in progress. No review needed at this stage. labels Apr 22, 2022
@coderobe
Copy link
Contributor Author

i'll also pick this in a follow-up PR against master if it passes review here

Comment on lines 52 to 53
pub mod migration;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this?

Seems fine to expose this module, and keep the migration above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seemed sensible to remove the dead code together with its callsites
anyway, reverted

@paritytech-ci paritytech-ci requested review from a team April 25, 2022 04:37
@paritytech-ci paritytech-ci requested review from a team April 25, 2022 04:38
@shawntabrizi
Copy link
Member

No need to remove the migration code in general, just remove its use.

@coderobe coderobe requested a review from shawntabrizi April 25, 2022 07:44
runtime/kusama/src/lib.rs Outdated Show resolved Hide resolved
runtime/polkadot/src/lib.rs Outdated Show resolved Hide resolved
runtime/westend/src/lib.rs Outdated Show resolved Hide resolved
@paritytech-ci paritytech-ci requested a review from a team April 25, 2022 08:24
@coderobe coderobe changed the title Remove SlotsCrowdloanIndexMigration Remove SlotsCrowdloanIndexMigration & InjectValidatorsIntoVoterList Apr 25, 2022
@coderobe coderobe requested a review from dvdplm April 25, 2022 08:37
@paritytech-ci paritytech-ci requested a review from a team April 25, 2022 08:38
@coderobe coderobe merged commit 393be0c into release-v0.9.20 Apr 25, 2022
@coderobe coderobe deleted the coderobe/slotscrowdloanindexmig branch April 25, 2022 08:58
coderobe added a commit that referenced this pull request Apr 25, 2022
…5374)

* Remove SlotsCrowdloanIndexMigration

* Remove slots index migration code

* Remove crowdloan index migration code

* remove reference to migration

* rustfmt

* westend: remove unused import OnRuntimeUpgrade

* kusama: remove unused import OnRuntimeUpgrade

* polkadot: remove unused import OnRuntimeUpgrade

* Revert "Remove crowdloan index migration code"

This reverts commit fe84b59.

* Revert "Remove slots index migration code"

This reverts commit 62c5a28.

* Revert "remove reference to migration"

This reverts commit 1f8806c.

* Remove InjectValidatorsIntoVoterList migration
Copy link
Member

@shawntabrizi shawntabrizi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thank you

coderobe added a commit that referenced this pull request Apr 25, 2022
…5374) (#5379)

* Remove SlotsCrowdloanIndexMigration

* Remove slots index migration code

* Remove crowdloan index migration code

* remove reference to migration

* rustfmt

* westend: remove unused import OnRuntimeUpgrade

* kusama: remove unused import OnRuntimeUpgrade

* polkadot: remove unused import OnRuntimeUpgrade

* Revert "Remove crowdloan index migration code"

This reverts commit fe84b59.

* Revert "Remove slots index migration code"

This reverts commit 62c5a28.

* Revert "remove reference to migration"

This reverts commit 1f8806c.

* Remove InjectValidatorsIntoVoterList migration
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants