Skip to content

Commit 0ff2091

Browse files
committed
chore(deps)!: remove unused deps
they're reexported from the `k256` crate; were previously explicitly imported to enable `serde` feature flag, that's not necessary any longer after type simplifications around inner ECDSA pubkey/signature representation.
1 parent 9907059 commit 0ff2091

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ blst = "0.3.11"
6262
tree_hash = "0.5"
6363
tree_hash_derive = "0.5"
6464
eth2_keystore = { git = "https://github.com/sigp/lighthouse", rev = "9e12c21f268c80a3f002ae0ca27477f9f512eb6f" }
65-
elliptic-curve = { version = "0.13", features = ["serde"] }
66-
generic-array = { version = "0.14.7", features = ["serde"] }
6765
k256 = "0.13"
6866

6967
# docker

crates/common/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ blst.workspace = true
3535
tree_hash.workspace = true
3636
tree_hash_derive.workspace = true
3737
eth2_keystore.workspace = true
38-
elliptic-curve.workspace = true
39-
generic-array.workspace = true
4038
k256.workspace = true
4139

4240
# misc

crates/common/src/signer/schemes/ecdsa.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ use core::fmt;
22
use std::hash::Hash;
33

44
use derive_more::derive::{Deref, From, Into};
5-
use generic_array::GenericArray;
6-
use k256::ecdsa::{Signature as EcdsaSignatureInner, VerifyingKey as EcdsaPublicKeyInner};
5+
use k256::{
6+
ecdsa::{Signature as EcdsaSignatureInner, VerifyingKey as EcdsaPublicKeyInner},
7+
elliptic_curve::generic_array::GenericArray,
8+
};
79
use serde::{Deserialize, Serialize};
810
use serde_utils::hex;
911
use ssz_types::{

0 commit comments

Comments
 (0)