indexer
indexer copied to clipboard
[Investigate] Historical account information incorrect before creation
Summary
When querying the account information for a round before the account creation, instead of indicating that the account does not exist, the indexer returns values that do not seem to match anything I could see.
For example:
curl -s "https://indexerURL/v2/accounts/IWG4ZPOKGVS554U4HBKQEHHAQTV5EH2A4A6QSYWLG66MSSMA523CK4DZ6A?round=1000000" | jq
returns
{
"account": {
"address": "IWG4ZPOKGVS554U4HBKQEHHAQTV5EH2A4A6QSYWLG66MSSMA523CK4DZ6A",
"amount": 200000,
"amount-without-pending-rewards": 200000,
"pending-rewards": 0,
"reward-base": 143051,
"rewards": 0,
"round": 1000000,
"sig-type": "sig",
"status": "Offline"
},
"current-round": 9481115
}
while the account was only created at round 8709370 and received 9.99 Algos (https://algoexplorer.io/tx/FIH3KER5D5GABDVOCZRSUCPNHNFUJ6IWNB6PIN5JCWHUD3HJR34A).
Requirements/Solution
Investigation of why this is happening
Urgency
We're returning wrong information about user accounts so we should fix this asap.