safe-global/safe-transaction-service

ERC-20 events indexed but token list is empty

leopaul36 opened this issue · 1 comments

Describe the bug
I am running safe-transaction-service instances for multiple Avalanche L1s and I don't understand how the ERC-20 token list is indexed.

For example, the Safe Transaction Service instance I deployed for the Lamina1 blockchain has successfully parsed this ERC-20 event:

image

This corresponds to this Tx: 0xcadb7277052db61d3da45d3db4c4984142592a3506a772fc2fe77d102af266b0 which is indeed a Safe Smart Account receiving 1 ERC-20 token.

But no token has been created in the database:

image

This result in the ERC-20 not showing in the "Assets" tab of the Safe Wallet UI.

I can always create the token manually but what I don't understand is that using the same setup on some other Avalanche L1s (e.g.: Meld), the tokens related to the indexed ERC-20 events are automatically created in the database and thus visible in the Safe Wallet UI.

AFAIK all necessary JSON-RPC are available on the configured RPC.

Is there something I'm missing here?