Phase 1 - Test Writing (8 parallel agents): - synord: Added 133 unit tests for node, config, services - synor-rpc: Expanded to 207 tests for API endpoints - synor-bridge: Added 144 tests for transfer lifecycle - synor-zk: Added 279 tests for circuits, proofs, state - synor-mining: Added 147 tests for kHeavyHash, miner - synor-types: Added 146 tests for hash, amount, address - cross-crate: Created 75 integration tests - byzantine: Created 40+ fault scenario tests Key additions: - tests/cross_crate_integration.rs (new) - apps/synord/tests/byzantine_fault_tests.rs (new) - crates/synor-storage/src/cf.rs (new) - src/lib.rs for workspace integration tests Fixes during testing: - synor-compute: Added Default impl for GpuVariant - synor-bridge: Fixed replay protection in process_lock_event - synor-storage: Added cf module and database exports All 1,357 tests pass with 0 failures.
72 lines
1.7 KiB
TOML
72 lines
1.7 KiB
TOML
[package]
|
|
name = "synord"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Synor blockchain node daemon"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/synorcc/synor"
|
|
keywords = ["blockchain", "dag", "node", "synor"]
|
|
categories = ["cryptography::cryptocurrencies"]
|
|
|
|
[[bin]]
|
|
name = "synord"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# Synor crates
|
|
synor-types = { path = "../../crates/synor-types" }
|
|
synor-crypto = { path = "../../crates/synor-crypto" }
|
|
synor-dag = { path = "../../crates/synor-dag" }
|
|
synor-consensus = { path = "../../crates/synor-consensus" }
|
|
synor-storage = { path = "../../crates/synor-storage" }
|
|
synor-network = { path = "../../crates/synor-network" }
|
|
synor-mining = { path = "../../crates/synor-mining" }
|
|
synor-vm = { path = "../../crates/synor-vm" }
|
|
synor-rpc = { path = "../../crates/synor-rpc" }
|
|
synor-governance = { path = "../../crates/synor-governance" }
|
|
|
|
# Async runtime
|
|
tokio = { workspace = true, features = ["full", "signal"] }
|
|
|
|
# CLI
|
|
clap = { version = "4.4", features = ["derive", "env"] }
|
|
|
|
# Configuration
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
toml = "0.8"
|
|
config = "0.14"
|
|
|
|
# Logging
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
|
|
# Error handling
|
|
thiserror = { workspace = true }
|
|
anyhow = "1.0"
|
|
|
|
# Utils
|
|
hex = { workspace = true }
|
|
dirs = "5.0"
|
|
blake3 = "1.8"
|
|
num_cpus = "1.17"
|
|
|
|
# Serialization
|
|
borsh = { version = "1.3", features = ["derive"] }
|
|
|
|
# P2P networking types
|
|
libp2p = { version = "0.54", default-features = false }
|
|
|
|
# RPC
|
|
jsonrpsee = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
proptest = "1.4"
|
|
tokio-test = "0.4"
|
|
|
|
[features]
|
|
default = ["mining"]
|
|
mining = []
|
|
dev = []
|