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.
55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[package]
|
|
name = "synor-storage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Decentralized storage layer for the Synor blockchain"
|
|
license = "MIT"
|
|
authors = ["Synor Team"]
|
|
repository = "https://github.com/synor/synor"
|
|
|
|
[dependencies]
|
|
# Core
|
|
thiserror = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_bytes = "0.11"
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
async-trait = "0.1"
|
|
bytes = "1"
|
|
parking_lot = "0.12"
|
|
|
|
# Cryptography
|
|
blake3 = "1"
|
|
sha2 = "0.10"
|
|
ed25519-dalek = "2"
|
|
|
|
# Encoding
|
|
bs58 = "0.5"
|
|
hex = "0.4"
|
|
base64 = "0.22"
|
|
borsh = { version = "1.3", features = ["derive"] }
|
|
|
|
# Erasure coding
|
|
reed-solomon-erasure = "6"
|
|
|
|
# Storage
|
|
rocksdb = { version = "0.22" }
|
|
|
|
# Networking (for storage nodes)
|
|
libp2p = { version = "0.54", features = ["tcp", "quic", "noise", "yamux", "kad", "identify", "gossipsub"], optional = true }
|
|
|
|
# Local workspace crates
|
|
synor-types = { path = "../synor-types" }
|
|
synor-crypto = { path = "../synor-crypto" }
|
|
|
|
[features]
|
|
default = []
|
|
node = ["libp2p"]
|
|
|
|
[[bin]]
|
|
name = "synor-storage-node"
|
|
path = "src/bin/storage-node.rs"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
rand = "0.8"
|