From 13ef8e804a91d11715b416bd5357eefc80836830 Mon Sep 17 00:00:00 2001 From: postmeback Date: Fri, 21 Jul 2023 16:19:26 +0530 Subject: [PATCH] First change to validate --- validator_client/src/doppelganger_service.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/validator_client/src/doppelganger_service.rs b/validator_client/src/doppelganger_service.rs index 558b9e199f0..57c4a742c13 100644 --- a/validator_client/src/doppelganger_service.rs +++ b/validator_client/src/doppelganger_service.rs @@ -671,8 +671,9 @@ impl DoppelgangerService { #[cfg(test)] mod test { use super::*; - use environment::null_logger; + // use environment::null_logger; use futures::executor::block_on; + use logging::test_logger; use slot_clock::TestingSlotClock; use std::collections::HashSet; use std::future; @@ -717,7 +718,7 @@ mod test { fn build(self) -> TestScenario { let mut rng = XorShiftRng::from_seed([42; 16]); let slot_clock = TestingSlotClock::new(Slot::new(0), GENESIS_TIME, SLOT_DURATION); - let log = null_logger().unwrap(); + let log = test_logger().unwrap(); TestScenario { validators: (0..self.validator_count)