Move cryptographic hashing procedures to crypto folder. (#2306)
Step towards https://github.com/paritytech/polkadot-sdk/issues/1975
As reported
https://github.com/paritytech/polkadot-sdk/issues/1975#issuecomment-1774534225
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>
Showing
- Cargo.lock 60 additions, 20 deletionsCargo.lock
- Cargo.toml 4 additions, 2 deletionsCargo.toml
- bridges/snowbridge/parachain/pallets/outbound-queue/merkle-tree/Cargo.toml 1 addition, 0 deletions...e/parachain/pallets/outbound-queue/merkle-tree/Cargo.toml
- bridges/snowbridge/parachain/pallets/outbound-queue/merkle-tree/src/lib.rs 1 addition, 1 deletion...e/parachain/pallets/outbound-queue/merkle-tree/src/lib.rs
- cumulus/client/parachain-inherent/Cargo.toml 1 addition, 1 deletioncumulus/client/parachain-inherent/Cargo.toml
- cumulus/client/parachain-inherent/src/mock.rs 1 addition, 1 deletioncumulus/client/parachain-inherent/src/mock.rs
- cumulus/pallets/parachain-system/Cargo.toml 1 addition, 0 deletionscumulus/pallets/parachain-system/Cargo.toml
- cumulus/pallets/parachain-system/src/tests.rs 1 addition, 1 deletioncumulus/pallets/parachain-system/src/tests.rs
- cumulus/xcm/xcm-emulator/Cargo.toml 1 addition, 0 deletionscumulus/xcm/xcm-emulator/Cargo.toml
- cumulus/xcm/xcm-emulator/src/lib.rs 2 additions, 1 deletioncumulus/xcm/xcm-emulator/src/lib.rs
- polkadot/node/core/pvf/common/Cargo.toml 1 addition, 0 deletionspolkadot/node/core/pvf/common/Cargo.toml
- polkadot/node/core/pvf/common/src/pvf.rs 1 addition, 2 deletionspolkadot/node/core/pvf/common/src/pvf.rs
- polkadot/node/network/gossip-support/Cargo.toml 1 addition, 0 deletionspolkadot/node/network/gossip-support/Cargo.toml
- polkadot/node/network/gossip-support/src/lib.rs 1 addition, 1 deletionpolkadot/node/network/gossip-support/src/lib.rs
- polkadot/runtime/parachains/Cargo.toml 1 addition, 0 deletionspolkadot/runtime/parachains/Cargo.toml
- polkadot/runtime/parachains/src/ump_tests.rs 5 additions, 5 deletionspolkadot/runtime/parachains/src/ump_tests.rs
- substrate/bin/node/cli/Cargo.toml 1 addition, 0 deletionssubstrate/bin/node/cli/Cargo.toml
- substrate/bin/node/cli/tests/common.rs 1 addition, 1 deletionsubstrate/bin/node/cli/tests/common.rs
- substrate/bin/node/testing/Cargo.toml 2 additions, 4 deletionssubstrate/bin/node/testing/Cargo.toml
- substrate/bin/node/testing/src/bench.rs 3 additions, 2 deletionssubstrate/bin/node/testing/src/bench.rs
Please register or sign in to comment