Skip to content

Bug fixes 1004#3

Merged
AamirAlam merged 10 commits intoAddCancelVestfrom
bug-fixes-1004
Apr 11, 2026
Merged

Bug fixes 1004#3
AamirAlam merged 10 commits intoAddCancelVestfrom
bug-fixes-1004

Conversation

@AamirAlam
Copy link
Copy Markdown
Collaborator

No description provided.

getProgramAccounts batch bug

Triton's RPC backend returns a single -32700 parse-error response
when it receives a JSON-RPC batch where every item is a
getProgramAccounts call on BPFLoaderUpgradeab1e11111111111111111111111.
Mixed batches and single requests work fine. governance-ui sends
exactly this broken pattern on every page load to discover which
programs the DAO governs, leaving the Governance dropdown empty for
all Adrena admin proposal forms.

Workaround: in the proxy handler, detect the bug response shape
(HTTP 200 + non-array body + error.code -32700 + original was a
batch) and retry by sending each batched item as an individual
request in parallel, then recombine into a batch-shaped response.
Verified end-to-end against the live Triton endpoint with a
standalone Python dry run mirroring the TS logic (29/29 assertions
passed, including the exact failing batch from the production HAR).
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
governance-ui Ready Ready Preview, Comment Apr 11, 2026 7:56am

Request Review

Copy link
Copy Markdown
Collaborator

@br0wnD3v br0wnD3v left a comment

Choose a reason for hiding this comment

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

Good work myself

Copy link
Copy Markdown
Collaborator Author

@AamirAlam AamirAlam left a comment

Choose a reason for hiding this comment

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

GG

@AamirAlam AamirAlam merged commit 6c931c7 into AddCancelVest Apr 11, 2026
2 checks passed
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.

2 participants