From 98b33233d4b06963fce9681c0696a24918aa3ec8 Mon Sep 17 00:00:00 2001 From: musitdev Date: Wed, 26 Feb 2025 15:49:50 +0100 Subject: [PATCH] remove unused blob method convertion --- .../protocol/util/src/blob/ir/data.rs | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/protocol-units/da/movement/protocol/util/src/blob/ir/data.rs b/protocol-units/da/movement/protocol/util/src/blob/ir/data.rs index b575414a2..bea8cb110 100644 --- a/protocol-units/da/movement/protocol/util/src/blob/ir/data.rs +++ b/protocol-units/da/movement/protocol/util/src/blob/ir/data.rs @@ -79,28 +79,4 @@ pub mod block { Ok(Self::now(blob)) } } - - impl TryFrom for InnerSignedBlobV1Data - where - C: Curve + Verify + Digester, - { - type Error = anyhow::Error; - - fn try_from(id: block::Id) -> Result { - let blob = id.as_bytes().to_vec(); - Ok(Self::now(blob)) - } - } - - impl TryFrom> for InnerSignedBlobV1Data - where - C: Curve + Verify + Digester, - { - type Error = anyhow::Error; - - fn try_from(ids: Vec) -> Result { - let blob = bcs::to_bytes(&ids)?; - Ok(Self::now(blob)) - } - } }