mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 09:51:10 +00:00
swap ed25519-dalek for ed25519-zebra (#11781)
* swap ed25519-dalek for ed25519-zebra; no batch verificaiton fixed batch verificaiton tests removed additional zero verificaiton tests removed comments, fixed test bug, added #[derive(Clone)] Update primitives/core/src/ed25519.rs Co-authored-by: Squirrel <gilescope@gmail.com> * modified assertion to allow default ed25519-zebra zero key behavior * cargo clippy * Update primitives/core/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update primitives/core/src/ed25519.rs Co-authored-by: Davide Galassi <davxy@datawok.net> * Update primitives/core/src/ed25519.rs Co-authored-by: Davide Galassi <davxy@datawok.net> * Update primitives/core/src/ed25519.rs Co-authored-by: Davide Galassi <davxy@datawok.net> * Update primitives/core/src/ed25519.rs Co-authored-by: Davide Galassi <davxy@datawok.net> * updated Cargo.lock for sp-core * fix inaccurate comment Co-authored-by: Squirrel <gilescope@gmail.com> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Davide Galassi <davxy@datawok.net>
This commit is contained in:
@@ -47,7 +47,7 @@ thiserror = { version = "1.0.30", optional = true }
|
||||
bitflags = "1.3"
|
||||
|
||||
# full crypto
|
||||
ed25519-dalek = { version = "1.0.1", default-features = false, features = ["u64_backend", "alloc"], optional = true }
|
||||
ed25519-zebra = { version = "3.0.0", default-features = false, optional = true}
|
||||
blake2-rfc = { version = "0.2.18", default-features = false, optional = true }
|
||||
schnorrkel = { version = "0.9.1", features = [
|
||||
"preaudit_deprecated",
|
||||
@@ -97,7 +97,7 @@ std = [
|
||||
"sp-std/std",
|
||||
"serde",
|
||||
"blake2-rfc/std",
|
||||
"ed25519-dalek/std",
|
||||
"ed25519-zebra",
|
||||
"hex/std",
|
||||
"base58",
|
||||
"substrate-bip39",
|
||||
@@ -127,7 +127,7 @@ std = [
|
||||
# or Intel SGX.
|
||||
# For the regular wasm runtime builds this should not be used.
|
||||
full_crypto = [
|
||||
"ed25519-dalek",
|
||||
"ed25519-zebra",
|
||||
"blake2-rfc",
|
||||
"schnorrkel",
|
||||
"hex",
|
||||
|
||||
Reference in New Issue
Block a user