Skip to content
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

Hotfix: Request legacy txn format #6

Merged
merged 5 commits into from Nov 17, 2022
Merged

Conversation

MHHukiewitz
Copy link
Member

@MHHukiewitz MHHukiewitz commented Oct 14, 2022

Problem: The new version of Solana RPC nodes returns the new transaction v0 format by default, which we do not yet support.

Solution: A workaround explicitly requesting transactions in the 'legacy' format.

Note to Aleph team: Will not immediately fix requests through the HA proxy.

EDIT: v0 transactions should be no issue for current indexer framework

MHHukiewitz and others added 2 commits November 16, 2022 18:17
use v0, as no breaking changes are being introduced for the indexer
@MHHukiewitz
Copy link
Member Author

Tried and tested this. Fetched transactions work still fine, as v0 transactions have all the properties of legacy transaction + some info about the lookup tables, which are not being indexed by us. All addresses are listed as expected from "legacy".
txn_v0.txt

@MHHukiewitz MHHukiewitz requested review from nesitor and removed request for amalcaraz November 17, 2022 09:45
@MHHukiewitz MHHukiewitz assigned nesitor and unassigned amalcaraz Nov 17, 2022
Copy link
Member

@nesitor nesitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So perfect! 🚀

@MHHukiewitz MHHukiewitz merged commit ab793d5 into main Nov 17, 2022
@MHHukiewitz MHHukiewitz deleted the fix/request-legacy-txn-format branch November 17, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants