-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some (possibly all) car files don't contain program id index for inner instructions #138
Comments
UPDATE: checked all epochs I had, results: |
there might be some bug in You're better off just doing |
Ok and what about old epochs? |
It's gonna be one of these: yellowstone-faithful/solana-tx-meta-parsers/parsers.go Lines 39 to 56 in bcfb24a
|
You just need to make a switch statement on the type of meta. |
Ok, thank you I'll try it out |
Ok, so I checked and it is skill issue, I mean programIdIndex is actually absent but as it should, and programId is returned already parsed for me. So there is no bug, thank you for your time |
So, I stumbled upon an issue where inner instructions in all epochs that i've checked (626, 624, 623) don't have programIdIndex, here is what I get when I parse transactions from car files:
I can provide more examples if needed
For reference:
To get transaction I use FindTransactions method
To parse Transaction I use: parseTransactionAndMetaFromNode method from storage.go:174
To parse metadata I use: encodeTransactionResponseBasedOnWantedEncoding
The text was updated successfully, but these errors were encountered: