@@ -8,7 +8,6 @@ use alloy::{
88 dyn_abi:: DynSolValue ,
99 json_abi:: { Event , JsonAbi } ,
1010} ;
11- use colored:: Colorize ;
1211use serde_json:: Value ;
1312use tokio_postgres:: types:: Type as PgType ;
1413use tracing:: { debug, error, info, warn} ;
@@ -214,10 +213,7 @@ fn no_code_callback(params: Arc<NoCodeCallbackParams>) -> EventCallbacks {
214213 if event_length == 0 {
215214 debug ! (
216215 "{} {}: {} - {}" ,
217- params. indexer_name,
218- params. contract_name,
219- params. event_info. name,
220- "NO EVENTS" . red( )
216+ params. indexer_name, params. contract_name, params. event_info. name, "NO EVENTS"
221217 ) ;
222218
223219 return Ok ( ( ) ) ;
@@ -538,7 +534,7 @@ fn no_code_callback(params: Arc<NoCodeCallbackParams>) -> EventCallbacks {
538534 "{}::{} - {} - {} events {}" ,
539535 params. contract_name,
540536 params. event_info. name,
541- "STREAMED" . green ( ) ,
537+ "STREAMED" ,
542538 streamed,
543539 format!(
544540 "- blocks: {} - {} - network: {}" ,
@@ -560,7 +556,7 @@ fn no_code_callback(params: Arc<NoCodeCallbackParams>) -> EventCallbacks {
560556 "{}::{} - {} - messages has a max 10 block range due the rate limits - {}" ,
561557 params. contract_name,
562558 params. event_info. name,
563- "CHAT_MESSAGES_DISABLED" . yellow ( ) ,
559+ "CHAT_MESSAGES_DISABLED" ,
564560 format!( "- blocks: {} - {} - network: {}" , from_block, to_block, network)
565561 ) ;
566562 } else {
@@ -579,7 +575,7 @@ fn no_code_callback(params: Arc<NoCodeCallbackParams>) -> EventCallbacks {
579575 "{}::{} - {} - {} events {}" ,
580576 params. contract_name,
581577 params. event_info. name,
582- "CHAT_MESSAGES_SENT" . green ( ) ,
578+ "CHAT_MESSAGES_SENT" ,
583579 messages_sent,
584580 format!(
585581 "- blocks: {} - {} - network: {}" ,
@@ -600,7 +596,7 @@ fn no_code_callback(params: Arc<NoCodeCallbackParams>) -> EventCallbacks {
600596 "{}::{} - {} - {} events {}" ,
601597 params. contract_name,
602598 params. event_info. name,
603- "INDEXED" . green ( ) ,
599+ "INDEXED" ,
604600 indexed_count,
605601 format!( "- blocks: {} - {} - network: {}" , from_block, to_block, network)
606602 ) ;
0 commit comments