@@ -13,7 +13,6 @@ import { assert, describe, it } from 'vitest'
1313
1414import { Chain } from '../../src/blockchain/index.ts'
1515import { Config } from '../../src/config.ts'
16- import { getLogger } from '../../src/logging.ts'
1716import { Skeleton , errReorgDenied , errSyncMerged } from '../../src/sync/index.ts'
1817import { short } from '../../src/util/index.ts'
1918import { wait } from '../integration/util.ts'
@@ -232,7 +231,6 @@ describe('[Skeleton] / initSync', async () => {
232231 it ( `${ testCase . name } ` , async ( ) => {
233232 const config = new Config ( {
234233 common,
235- logger : getLogger ( { logLevel : 'debug' } ) ,
236234 accountCache : 10000 ,
237235 storageCache : 1000 ,
238236 } )
@@ -349,8 +347,6 @@ describe('[Skeleton] / setHead', async () => {
349347 it ( `${ testCase . name } ` , async ( ) => {
350348 const config = new Config ( {
351349 common,
352-
353- logger : getLogger ( { logLevel : 'debug' } ) ,
354350 accountCache : 10000 ,
355351 storageCache : 1000 ,
356352 } )
@@ -547,7 +543,7 @@ describe('[Skeleton] / setHead', async () => {
547543 } )
548544
549545 it ( 'should fill the canonical chain after being linked to genesis' , async ( ) => {
550- const config = new Config ( { common, logger : getLogger ( { logLevel : 'debug' } ) } )
546+ const config = new Config ( { common } )
551547 const chain = await Chain . create ( { config } )
552548 ; ( chain . blockchain [ '_validateBlocks' ] as any ) = false
553549 const skeleton = new Skeleton ( { chain, config, metaDB : new MemoryLevel ( ) } )
0 commit comments