File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,8 @@ export const runAllAdaptersTimestampRange = async (
358
358
console . log ( "runAllAdaptersTimestampRange successfully ran." ) ;
359
359
} ;
360
360
361
+ const bridgesToSkip = [ "wormhole" , "layerzero" , "hyperlane" ] ;
362
+
361
363
export const runAdapterHistorical = async (
362
364
startBlock : number ,
363
365
endBlock : number ,
@@ -371,8 +373,8 @@ export const runAdapterHistorical = async (
371
373
const bridgeNetwork = bridgeNetworks . filter ( ( bridgeNetwork ) => bridgeNetwork . id === bridgeNetworkId ) [ 0 ] ;
372
374
const { bridgeDbName } = bridgeNetwork ;
373
375
374
- if ( bridgeDbName === "wormhole" ) {
375
- console . log ( " Skipping Wormhole adapter, handled separately" ) ;
376
+ if ( bridgesToSkip . includes ( bridgeDbName ) ) {
377
+ console . log ( ` Skipping ${ bridgeDbName } adapter, handled separately` ) ;
376
378
return ;
377
379
}
378
380
You can’t perform that action at this time.
0 commit comments