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

Remove Duplicate Traits #5536

Merged
merged 2 commits into from May 17, 2022

Conversation

shawntabrizi
Copy link
Contributor

@shawntabrizi shawntabrizi commented May 16, 2022

Found these traits laying around the Parachain Primitives, all of which exist in sp-runtime already.

#360 was supposed to track this but was prematurely closed.

I see no reason why these traits need to be duplicated at this point.

Cumulus Companion: paritytech/cumulus#1264

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label May 16, 2022
@shawntabrizi shawntabrizi added 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 May 16, 2022
@shawntabrizi shawntabrizi added this to In progress in Runtime via automation May 16, 2022
@shawntabrizi shawntabrizi added B7-runtimenoteworthy and removed B0-silent Changes should not be mentioned in any release notes labels May 16, 2022
Copy link
Contributor

@KiChjang KiChjang left a comment

Choose a reason for hiding this comment

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

It looks to me that we pulled in sp_runtime anyway, so the issue raised in #360 doesn't apply anymore.

Runtime automation moved this from In progress to Needs Audit May 17, 2022
@shawntabrizi
Copy link
Contributor Author

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 21323b7 into master May 17, 2022
Runtime automation moved this from Needs Audit to Done May 17, 2022
@paritytech-processbot paritytech-processbot bot deleted the shawntabrizi-eliminate-duplicate-traits branch May 17, 2022 06:37
@shawntabrizi
Copy link
Contributor Author

It looks to me that we pulled in sp_runtime anyway, so the issue raised in #360 doesn't apply anymore.

I believe this was an issue back in the day, before a large refactor of the crates. Note the crate name is sr rather than sp. I believe the refactor happened here.

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. 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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants