2023-06-27 11:05:09 +00:00
|
|
|
[package]
|
|
|
|
name = "tests"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
nomos-node = { path = "../nodes/nomos-node" }
|
|
|
|
nomos-consensus = { path = "../nomos-services/consensus" }
|
|
|
|
nomos-network = { path = "../nomos-services/network", features = ["waku"] }
|
|
|
|
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 = ["waku", "mock"] }
|
|
|
|
rand = "0.8"
|
|
|
|
once_cell = "1"
|
|
|
|
rand_xoshiro = "0.6"
|
|
|
|
secp256k1 = { version = "0.26", features = ["rand"] }
|
|
|
|
waku-bindings = "0.1.1"
|
|
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
|
|
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"]
|