Add testing feature to validator_client/http_api (#8909)

Create a `testing` feature which we can use to gate off `test_utils.rs` and its associated dependencies from the rest of the crate.


Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
Mac L
2026-03-02 09:19:41 +02:00
committed by GitHub
parent 6194dddc5b
commit f4b5b033a2
3 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
#[cfg(feature = "testing")]
pub mod test_utils;
mod api_secret;
mod create_signed_voluntary_exit;
mod create_validator;
@@ -6,7 +9,6 @@ mod keystores;
mod remotekeys;
mod tests;
pub mod test_utils;
pub use api_secret::PK_FILENAME;
use graffiti::{delete_graffiti, get_graffiti, set_graffiti};