From 86cb3f45d2ad0d403c467a3df66e02a4dbc8ccc2 Mon Sep 17 00:00:00 2001 From: Sam Wilson <57262657+SamWilsn@users.noreply.github.com> Date: Thu, 18 Jul 2024 04:54:02 -0400 Subject: [PATCH] Disable slasher default features (#6115) * Turn off default features for slasher. Because slasher had lmdb as a default feature, it was impossible to have a pure mdbx build of lighthouse. This commit sets `default-features = false` for slasher so lighthouse can actually choose one or the other. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fad5fbead14..d13f4f7a760 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -224,7 +224,7 @@ pretty_reqwest_error = { path = "common/pretty_reqwest_error" } proto_array = { path = "consensus/proto_array" } safe_arith = { path = "consensus/safe_arith" } sensitive_url = { path = "common/sensitive_url" } -slasher = { path = "slasher" } +slasher = { path = "slasher", default-features = false } slashing_protection = { path = "validator_client/slashing_protection" } slot_clock = { path = "common/slot_clock" } state_processing = { path = "consensus/state_processing" }