Skip to content

Commit

Permalink
Bound blob in da backend to blob trait
Browse files Browse the repository at this point in the history
  • Loading branch information
danielSanchezQ committed Sep 7, 2023
1 parent ffd460a commit 44ce2fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nomos-services/data-availability/src/backend/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mod memory_cache;

use nomos_core::blob::Blob;
use overwatch_rs::DynError;

#[derive(Debug)]
Expand All @@ -11,7 +12,7 @@ pub enum DaError {
pub trait DaBackend {
type Settings: Clone;

type Blob;
type Blob: Blob;

fn new(settings: Self::Settings) -> Self;

Expand Down

0 comments on commit 44ce2fb

Please sign in to comment.