Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zeegomo authored and danielSanchezQ committed Sep 15, 2023
1 parent 9b0c082 commit f0eb07b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ overwatch-rs = { git = "https://github.com/logos-co/Overwatch", branch = "main"
nomos-core = { path = "../nomos-core" }
consensus-engine = { path = "../consensus-engine", features = ["serde"] }
nomos-mempool = { path = "../nomos-services/mempool", features = ["mock"] }
nomos-da = { path = "../nomos-services/data-availability" }
full-replication = { path = "../nomos-da/full-replication" }
mixnode = { path = "../nodes/mixnode" }
mixnet-node = { path = "../mixnet/node" }
mixnet-client = { path = "../mixnet/client" }
mixnet-topology = { path = "../mixnet/topology" }
# Using older versions, since `mixnet-*` crates depend on `rand` v0.7.3.
rand = "0.7.3"
rand_xoshiro = "0.4"
rand_xoshiro = "0.6"
once_cell = "1"
secp256k1 = { version = "0.26", features = ["rand"] }
waku-bindings = { version = "0.1.1", optional = true }
Expand Down
10 changes: 10 additions & 0 deletions tests/src/nodes/nomos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,16 @@ fn create_node_config(
},
#[cfg(feature = "metrics")]
metrics: Default::default(),
#[cfg(feature = "libp2p")]
da: nomos_da::Settings {
da_protocol: full_replication::Settings {
num_attestations: 1,
},
backend: nomos_da::backend::memory_cache::BlobCacheSettings {
max_capacity: usize::MAX,
evicting_period: Duration::from_secs(60 * 60 * 24), // 1 day
},
},
};
#[cfg(feature = "waku")]
{
Expand Down

0 comments on commit f0eb07b

Please sign in to comment.