-
Notifications
You must be signed in to change notification settings - Fork 743
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
Move cryptographic hashing procedures to crypto folder. #2306
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Is there a plan to handle older crates published on crates.io? Such developers know to which crates to migrate 🤔
For example, sp-core-hashing
and others could be republished with an empty source code and the readme redirecting at the new ones on crates.io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, some nits only.
@davxy maybe you could update the pr. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just trivial nits (fine to ignore)
Co-authored-by: Robert Hambrock <roberthambrock@gmail.com>
) Step towards paritytech#1975 As reported paritytech#1975 (comment) I'd like to encapsulate crypto related stuff in a dedicated folder. Currently all cryptographic primitive wrappers are all sparsed in `substrate/core` which contains "misc core" stuff. To simplify the process, as the first step with this PR I propose to move the cryptographic hashing there. The `substrate/crypto` folder was already created to contains `ec-utils` crate. Notes: - rename `sp-core-hashing` to `sp-crypto-hashing` - rename `sp-core-hashing-proc-macro` to `sp-crypto-hashing-proc-macro` - As the crates name is changed I took the freedom to restart fresh from version 0.1.0 for both crates --------- Co-authored-by: Robert Hambrock <roberthambrock@gmail.com>
Step towards #1975
As reported #1975 (comment) I'd like to encapsulate crypto related stuff in a dedicated folder.
Currently all cryptographic primitive wrappers are all sparsed in
substrate/core
which contains "misc core" stuff.To simplify the process, as the first step with this PR I propose to move the cryptographic hashing there.
The
substrate/crypto
folder was already created to containsec-utils
crate.Notes:
sp-core-hashing
tosp-crypto-hashing
sp-core-hashing-proc-macro
tosp-crypto-hashing-proc-macro
Deprecation
sp-core-hashing
andsp-core-hashing-proc-pacro
were moved tosubstrate/deprecated
folder with removal scheduled to Jun 2024