audius-protocol icon indicating copy to clipboard operation
audius-protocol copied to clipboard

Fix spl token indexer parsing

Open dharit-tan opened this issue 2 years ago • 0 comments

Description

Fix the parsing function in spl token indexer to lookup account indices correctly (same way as we do in index_user_bank.py). This was the bug that was causing us to skip certain transactions if accountKeys were not in a specific order.

Tests

Updated spl token indexer unit test to include 2 purchase transactions with different accountKeys ordering.

Monitoring - How will this change be monitored? Are there sufficient logs / alerts?

dharit-tan avatar Dec 11 '22 12:12 dharit-tan