Drop null_logger (#6013)

* Drop null_logger
This commit is contained in:
Lion - dapplion
2024-08-19 11:21:10 +02:00
committed by GitHub
parent 6faa9c678e
commit d957161740
23 changed files with 51 additions and 60 deletions

View File

@@ -44,10 +44,10 @@ bytes = { workspace = true }
beacon_processor = { workspace = true }
[dev-dependencies]
environment = { workspace = true }
serde_json = { workspace = true }
proto_array = { workspace = true }
genesis = { workspace = true }
logging = { workspace = true }
[[test]]
name = "bn_http_api_tests"

View File

@@ -3,7 +3,6 @@ use beacon_chain::{
test_utils::{AttestationStrategy, BeaconChainHarness, BlockStrategy, EphemeralHarnessType},
BeaconChain, ChainConfig, StateSkipConfig, WhenSlotSkipped,
};
use environment::null_logger;
use eth2::{
mixin::{RequestAccept, ResponseForkName, ResponseOptional},
reqwest::RequestBuilder,
@@ -24,6 +23,7 @@ use http_api::{
BlockId, StateId,
};
use lighthouse_network::{types::SyncState, Enr, EnrExt, PeerId};
use logging::test_logger;
use network::NetworkReceivers;
use proto_array::ExecutionStatus;
use sensitive_url::SensitiveUrl;
@@ -251,7 +251,7 @@ impl ApiTester {
"precondition: justification"
);
let log = null_logger().unwrap();
let log = test_logger();
let ApiServer {
ctx,
@@ -349,7 +349,7 @@ impl ApiTester {
let chain = harness.chain.clone();
let log = null_logger().unwrap();
let log = test_logger();
let ApiServer {
ctx,