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-09-20 14:32:43 +00:00
|
|
|
nomos-network = { path = "../nomos-services/network", features = ["libp2p"]}
|
2023-06-27 11:05:09 +00:00
|
|
|
nomos-log = { path = "../nomos-services/log" }
|
|
|
|
nomos-http = { path = "../nomos-services/http", features = ["http"] }
|
2023-10-25 10:10:21 +00:00
|
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" }
|
2023-06-27 11:05:09 +00:00
|
|
|
nomos-core = { path = "../nomos-core" }
|
|
|
|
consensus-engine = { path = "../consensus-engine", features = ["serde"] }
|
2023-09-20 14:32:43 +00:00
|
|
|
nomos-mempool = { path = "../nomos-services/mempool", features = ["mock", "libp2p"] }
|
2023-09-18 09:43:24 +00:00
|
|
|
nomos-da = { path = "../nomos-services/data-availability" }
|
|
|
|
full-replication = { path = "../nomos-da/full-replication" }
|
2023-09-14 08:38:47 +00:00
|
|
|
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"
|
2023-06-27 11:05:09 +00:00
|
|
|
once_cell = "1"
|
|
|
|
secp256k1 = { version = "0.26", features = ["rand"] }
|
|
|
|
reqwest = { version = "0.11", features = ["json"] }
|
2023-09-20 14:32:43 +00:00
|
|
|
nomos-libp2p = { path = "../nomos-libp2p" }
|
2023-06-27 11:05:09 +00:00
|
|
|
tempfile = "3.6"
|
2023-10-05 08:56:24 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-07-04 09:39:28 +00:00
|
|
|
serde_yaml = "0.9"
|
2023-10-04 11:37:13 +00:00
|
|
|
serde_json = "1.0"
|
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-09-14 08:38:47 +00:00
|
|
|
ntest = "0.9.0"
|
|
|
|
criterion = { version = "0.5", features = ["async_tokio"] }
|
2023-09-25 09:52:45 +00:00
|
|
|
nomos-cli = { path = "../nomos-cli" }
|
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-09-14 08:38:47 +00:00
|
|
|
[[test]]
|
|
|
|
name = "test_mixnet"
|
|
|
|
path = "src/tests/mixnet.rs"
|
|
|
|
|
2023-09-25 09:52:45 +00:00
|
|
|
[[test]]
|
|
|
|
name = "test_cli"
|
|
|
|
path = "src/tests/cli.rs"
|
|
|
|
|
2023-09-14 08:38:47 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "mixnet"
|
|
|
|
path = "src/benches/mixnet.rs"
|
|
|
|
harness = false
|
|
|
|
|
2023-06-27 11:05:09 +00:00
|
|
|
|
|
|
|
[features]
|
2023-07-04 09:39:28 +00:00
|
|
|
metrics = ["nomos-node/metrics"]
|