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
This commit is contained in:
yjh
2023-03-06 22:09:07 +08:00
committed by GitHub
parent f85d6dc6dd
commit 9b9964394e
5 changed files with 16 additions and 53 deletions
+1 -1
View File
@@ -5285,8 +5285,8 @@ dependencies = [
"pallet-identity",
"parity-scale-codec",
"scale-info",
"sha2 0.10.6",
"sp-core",
"sp-core-hashing",
"sp-io",
"sp-runtime",
"sp-std",