Skip to content
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

sp-std -> core #3199

Merged
merged 11 commits into from
Feb 6, 2024
Merged

sp-std -> core #3199

merged 11 commits into from
Feb 6, 2024

Conversation

gilescope
Copy link
Contributor

@gilescope gilescope commented Feb 4, 2024

First in a series of PRs that reduces our use of sp-std with a view to deprecating it.

This is just looking at /substrate and moving some of the references from sp-std to core.
These particular changes should be uncontroversial.

Where macros are used ::core should be used to remove any ambiguity.

part of #2101

prdoc/pr_3199.prdoc Outdated Show resolved Hide resolved
Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

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

I am glad we are doing this step by step.

As noted in #2101, I am not super convinced that the whole deprecation is a winning tradeoff, but I am too late to that conversation 🎩

@gilescope
Copy link
Contributor Author

There is merit in just doing all the core references (there are a lot of extern crate alloc references that would have to be put almost everywhere if we do the alloc).

@gilescope gilescope marked this pull request as ready for review February 5, 2024 20:49
@gilescope
Copy link
Contributor Author

ok that set of changes looks good to me.

@davxy davxy added the R0-silent Changes should not be mentioned in any release notes label Feb 6, 2024
@koute koute added this pull request to the merge queue Feb 6, 2024
Merged via the queue into paritytech:master with commit bc2e5e1 Feb 6, 2024
129 of 131 checks passed
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
First in a series of PRs that reduces our use of sp-std with a view to
deprecating it.

This is just looking at /substrate and moving some of the references
from `sp-std` to `core`.
These particular changes should be uncontroversial.

Where macros are used `::core` should be used to remove any ambiguity.

part of paritytech#2101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants