2023-06-27 11:05:09 +00:00
|
|
|
[package]
|
|
|
|
name = "tests"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[dependencies]
|
2023-08-09 05:42:08 +00:00
|
|
|
nomos-node = { path = "../nodes/nomos-node", default-features = false }
|
2023-06-27 11:05:09 +00:00
|
|
|
nomos-consensus = { path = "../nomos-services/consensus" }
|
2023-08-09 05:42:08 +00:00
|
|
|
nomos-network = { path = "../nomos-services/network" }
|
2023-06-27 11:05:09 +00:00
|
|
|
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"] }
|
2023-08-09 05:42:08 +00:00
|
|
|
nomos-mempool = { path = "../nomos-services/mempool", features = ["mock"] }
|
2023-06-27 11:05:09 +00:00
|
|
|
rand = "0.8"
|
|
|
|
once_cell = "1"
|
|
|
|
rand_xoshiro = "0.6"
|
|
|
|
secp256k1 = { version = "0.26", features = ["rand"] }
|
2023-08-09 05:42:08 +00:00
|
|
|
waku-bindings = { version = "0.1.1", optional = true }
|
2023-06-27 11:05:09 +00:00
|
|
|
reqwest = { version = "0.11", features = ["json"] }
|
2023-08-09 05:42:08 +00:00
|
|
|
nomos-libp2p = { path = "../nomos-libp2p", optional = true }
|
2023-06-27 11:05:09 +00:00
|
|
|
tempfile = "3.6"
|
2023-07-04 09:39:28 +00:00
|
|
|
serde_yaml = "0.9"
|
2023-06-27 11:05:09 +00:00
|
|
|
tokio = "1"
|
|
|
|
futures = "0.3"
|
|
|
|
async-trait = "0.1"
|
2023-07-04 09:39:28 +00:00
|
|
|
fraction = "0.13"
|
2023-06-27 11:05:09 +00:00
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "test_consensus_happy_path"
|
|
|
|
path = "src/tests/happy.rs"
|
|
|
|
|
2023-07-11 09:00:11 +00:00
|
|
|
[[test]]
|
|
|
|
name = "test_consensus_unhappy_path"
|
|
|
|
path = "src/tests/unhappy.rs"
|
|
|
|
|
2023-06-27 11:05:09 +00:00
|
|
|
|
|
|
|
[features]
|
2023-07-04 09:39:28 +00:00
|
|
|
metrics = ["nomos-node/metrics"]
|
2023-08-17 15:46:07 +00:00
|
|
|
waku = ["nomos-network/waku", "nomos-mempool/waku", "nomos-node/waku", "waku-bindings"]
|
|
|
|
libp2p = ["nomos-network/libp2p", "nomos-mempool/libp2p", "nomos-libp2p", "nomos-node/libp2p"]
|