diff --git a/Cargo.toml b/Cargo.toml index 432abe0..5962f18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,6 @@ serde = { version = "1.0", features = ["derive", "alloc"] } thiserror = "2.0" ssz = { package = "ethereum_ssz", version = "0.10.0" } -ssz_derive = { package = "ethereum_ssz_derive", version = "0.10.0" } p3-field = { git = "https://github.com/Plonky3/Plonky3.git", rev = "a33a312" } p3-baby-bear = { git = "https://github.com/Plonky3/Plonky3.git", rev = "a33a312" } diff --git a/src/serialization.rs b/src/serialization.rs index bee25fc..2ce5303 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -16,7 +16,6 @@ pub trait Serializable: Serialize + DeserializeOwned + Encode + Decode + Sized { /// /// A `Vec` containing the canonical byte representation of this object. fn to_bytes(&self) -> Vec { - // TODO: Update this to not use SSZ internally. self.as_ssz_bytes() } @@ -37,7 +36,6 @@ pub trait Serializable: Serialize + DeserializeOwned + Encode + Decode + Sized { /// - `Ok(Self)` if the bytes represent a valid object /// - `Err(DecodeError)` if the bytes are malformed or invalid fn from_bytes(bytes: &[u8]) -> Result { - // TODO: Update this to not use SSZ internally. Self::from_ssz_bytes(bytes) } }