File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
subgraphs/protocol-reserve/src/mappings Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ export function handleInitializationWBnbBurnConverter(block: ethereum.Block): vo
6868}
6969
7070export function handleConversionConfigUpdated ( event : ConversionConfigUpdated ) : void {
71+ // workaround for Ethereum
72+ // some ConversionConfigUpdated events were raised with addresses that don't correspond to real tokens
73+ // this is meant to ignore them
74+ if ( event . transaction . hash . toHexString ( ) == '0xf497402d1f21a8ed6fb49a784c4d9ae570a9721e44cee173a0c60977f02fb104' && event . block . number . toString ( ) == '21836871' ) {
75+ return ;
76+ }
7177 getOrCreateTokenConverter ( event . address ) ;
7278 updateOrCreateTokenConverterConfig ( event . address , event . params ) ;
7379}
You can’t perform that action at this time.
0 commit comments