removes syncer and rpc-syncer features

This commit is contained in:
Arya 2024-06-17 22:35:33 -04:00
parent d1b25b40ef
commit 28902fa397
3 changed files with 3 additions and 8 deletions

View File

@ -15,7 +15,6 @@ keywords = ["zebra", "zcash"]
categories = ["asynchronous", "cryptography::cryptocurrencies", "encoding", "network-programming"]
[features]
default = ["syncer"]
# Production features that activate extra dependencies, or extra features in dependencies
@ -32,8 +31,6 @@ getblocktemplate-rpcs = [
# Experimental internal miner support
internal-miner = []
syncer = ["zebra-node-services/rpc-client"]
# Test-only features
proptest-impl = [
"proptest",
@ -79,7 +76,7 @@ proptest = { version = "1.4.0", optional = true }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.37", features = ["json-conversion"] }
zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.37" }
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.37" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.37" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.37", features = ["rpc-client"]}
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.37" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.37" }

View File

@ -100,8 +100,6 @@ progress-bar = [
prometheus = ["metrics-exporter-prometheus"]
rpc-syncer = ["zebra-rpc/syncer"]
# Production features that modify dependency behaviour
# Enable additional error debugging in release builds
@ -287,7 +285,7 @@ zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.37", feat
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.37", features = ["proptest-impl"] }
zebra-scan = { path = "../zebra-scan", version = "0.1.0-alpha.6", features = ["proptest-impl"] }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.37", features = ["proptest-impl"] }
zebra-rpc = { path = "../zebra-rpc", version = "1.0.0-beta.37", features = ["syncer"] }
zebra-rpc = { path = "../zebra-rpc", version = "1.0.0-beta.37" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.37", features = ["rpc-client"] }

View File

@ -3208,7 +3208,7 @@ async fn trusted_chain_sync_handles_forks_correctly() -> Result<()> {
))?;
#[cfg(target_os = "windows")]
tokio::time::sleep(Duration::from_secs(LAUNCH_DELAY)).await;
tokio::time::sleep(LAUNCH_DELAY).await;
tracing::info!("starting read state with syncer");
// Spawn a read state with the RPC syncer to check that it has the same best chain as Zebra