diff --git a/Cargo.lock b/Cargo.lock index 774ed724..bdb69e84 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10190,7 +10190,6 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "sp-runtime", "thiserror", "tokio", ] diff --git a/coordinator/tributary/tendermint/Cargo.toml b/coordinator/tributary/tendermint/Cargo.toml index d49f8a2f..91153e8a 100644 --- a/coordinator/tributary/tendermint/Cargo.toml +++ b/coordinator/tributary/tendermint/Cargo.toml @@ -17,8 +17,3 @@ parity-scale-codec = { version = "3", features = ["derive"] } futures = "0.3" tokio = { version = "1", features = ["macros", "sync", "time", "rt"] } - -sp-runtime = { git = "https://github.com/serai-dex/substrate", version = "7.0.0", optional = true } - -[features] -substrate = ["sp-runtime"] diff --git a/coordinator/tributary/tendermint/src/ext.rs b/coordinator/tributary/tendermint/src/ext.rs index f78b3608..91c27248 100644 --- a/coordinator/tributary/tendermint/src/ext.rs +++ b/coordinator/tributary/tendermint/src/ext.rs @@ -187,14 +187,6 @@ pub trait Block: Send + Sync + Clone + PartialEq + Debug + Encode + Decode { fn id(&self) -> Self::Id; } -#[cfg(feature = "substrate")] -impl Block for B { - type Id = B::Hash; - fn id(&self) -> B::Hash { - self.hash() - } -} - /// Trait representing the distributed system Tendermint is providing consensus over. #[async_trait] pub trait Network: Send + Sync {