refactor: move cli trace helpers to reth-tracing (#820)

This commit is contained in:
Bjerg
2023-01-11 19:20:37 +01:00
committed by GitHub
parent 8f97540bd9
commit 20ee1bb1c9
14 changed files with 142 additions and 131 deletions

View File

@ -34,7 +34,7 @@ pub fn rng_transaction(rng: &mut impl rand::RngCore) -> TransactionSigned {
#[tokio::test(flavor = "multi_thread")]
async fn test_get_body() {
reth_tracing::init_tracing();
reth_tracing::init_test_tracing();
let mut rng = rand::thread_rng();
let mock_provider = Arc::new(MockEthProvider::default());
@ -77,7 +77,7 @@ async fn test_get_body() {
#[tokio::test(flavor = "multi_thread")]
async fn test_get_header() {
reth_tracing::init_tracing();
reth_tracing::init_test_tracing();
let mut rng = rand::thread_rng();
let mock_provider = Arc::new(MockEthProvider::default());