[package] name = "tests" version = "0.1.0" edition = "2021" publish = false [dependencies] nomos-node = { path = "../nodes/nomos-node", default-features = false } nomos-consensus = { path = "../nomos-services/consensus" } nomos-network = { path = "../nomos-services/network" } nomos-log = { path = "../nomos-services/log" } nomos-http = { path = "../nomos-services/http", features = ["http"] } 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"] } rand = "0.8" once_cell = "1" rand_xoshiro = "0.6" secp256k1 = { version = "0.26", features = ["rand"] } waku-bindings = { version = "0.1.1", optional = true } reqwest = { version = "0.11", features = ["json"] } nomos-libp2p = { path = "../nomos-libp2p", optional = true } tempfile = "3.6" serde_yaml = "0.9" tokio = "1" futures = "0.3" async-trait = "0.1" fraction = "0.13" [[test]] name = "test_consensus_happy_path" path = "src/tests/happy.rs" [[test]] name = "test_consensus_unhappy_path" path = "src/tests/unhappy.rs" [features] metrics = ["nomos-node/metrics"] waku = ["nomos-network/waku", "nomos-mempool/waku", "waku-bindings"] libp2p = ["nomos-network/libp2p", "nomos-mempool/libp2p", "nomos-libp2p"]