chore: reduce copy times for bytes in core-hashing (#13519)
* chore: reduce copy bytes for core-hashing * improve by suggestions and remove unused `xx_into` * chore: replace sha2 crate by `sp_core::hashing` for pallet-alliance * fix features * use sp-core-hashing directly * add to dev-dep
Showing
- substrate/Cargo.lock 1 addition, 1 deletionsubstrate/Cargo.lock
- substrate/frame/alliance/Cargo.toml 4 additions, 3 deletionssubstrate/frame/alliance/Cargo.toml
- substrate/frame/alliance/src/benchmarking.rs 2 additions, 5 deletionssubstrate/frame/alliance/src/benchmarking.rs
- substrate/frame/alliance/src/mock.rs 2 additions, 5 deletionssubstrate/frame/alliance/src/mock.rs
- substrate/primitives/core/hashing/src/lib.rs 7 additions, 39 deletionssubstrate/primitives/core/hashing/src/lib.rs
Please register or sign in to comment