joshstevens19 / reth-indexer

reth-indexer reads directly from the reth db and indexes the data into traditional and alternative databases / datastores (postgres, GCP bigquery, etc) all decoded with a simple config file and no extra setup alongside exposing a API ready to query the data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

process_block ignores transactions with `to` as none.

abdullathedruid opened this issue · comments

I was looking at indexer.rs within process_block and noticed that transactions were being ignored if the transaction.to() is none.

I haven't looked into detail at the whole project, but isn't is possible that contract creation transactions are able to emit events, and therefore these events might get missed by the indexer?

Thanks for all your work!

valid point will fix this