Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Bug: Details page for address lookup table accounts does not appear #27287

Closed
Arrowana opened this issue Aug 22, 2022 · 2 comments · Fixed by #28137
Closed

Bug: Details page for address lookup table accounts does not appear #27287

Arrowana opened this issue Aug 22, 2022 · 2 comments · Fixed by #28137
Assignees

Comments

@Arrowana
Copy link
Contributor

Arrowana commented Aug 22, 2022

Problem

#27133 does not show Table entries for address Lookup table accounts because the validator returns jsonParsed so details.rawData is undefined

I tested with a local test validator,

the woraround to make it appear is to add the raw fetch in fetchAccountInfo rawData: (await connection.getAccountInfo(pubkey))?.data

Proposed Solution

I think it is indeed more straightforward to deserialize the data Buffer rather than handle the parsed json.

I think it could be fixed by fetching the necessary AccountInfo<Buffer> account in the AddressLookupTableAccountSection

@jstarry
Copy link
Contributor

jstarry commented Sep 29, 2022

Thanks for the report @Arrowana!

@mergify mergify bot closed this as completed in #28137 Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants