File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const contractAddress = requiredEnv("CONTRACT_ADDRESS");
3131function parseEvent ( emittedEvent : EMITTED_EVENT ) : ParsedEvent {
3232 let parsedEvent : ParsedEvent | undefined = undefined ;
3333
34- if ( emittedEvent . block_number >= OLD_CONTRACT_BLOCK_END ) {
34+ if ( emittedEvent . block_number == null || emittedEvent . block_number >= OLD_CONTRACT_BLOCK_END ) {
3535 parsedEvent = contract
3636 . parseEvents ( {
3737 events : [ emittedEvent ] ,
@@ -141,7 +141,7 @@ async function pullEvents() {
141141 }
142142 }
143143
144- logger . info ( "Parsing event." , {
144+ logger . debug ( "Parsing event." , {
145145 blockNumber : emittedEvent . block_number ,
146146 transactionHash : emittedEvent . transaction_hash ,
147147 OLD_CONTRACT_BLOCK_END ,
You can’t perform that action at this time.
0 commit comments