Repository navigation
Fix CI: replace live RPC lookup table resolution with offline mock - #20
Merged
marshalokos merged 2 commits intoOct 29, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job
Fix CI: replace live RPC lookup table resolution with offline mock
Aug 25, 2026
…tions-job-again
The `EDDSpjZHrsFKYTMJDcBqXAjkLcu9EKdvrQR4XnqsXErH` address lookup table account has been deactivated/removed from Solana mainnet, causing five tests to fail with "Failed to find address lookup table account". Add `getMockAddressLookupTable()` to `app/__tests__/mocks.ts` with a pre-built `AddressLookupTableAccount` for that key (130 addresses, index 69 = TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA as required by the `aTokenCreateIdempotentMsg` fixture). Update the four affected test files to use the mock instead of real RPC calls. Co-authored-by: marshalokos <211153994+marshalokos@users.noreply.github.com>
marshalokos
force-pushed
the
copilot/fix-github-actions-job-one-more-time
branch
from
October 29, 2026 01:20
c06009f to
9239229
Compare
marshalokos
marked this pull request as ready for review
October 29, 2026 01:29
marshalokos
added a commit
that referenced
this pull request
Oct 29, 2026
…b-one-more-time Fix CI: replace live RPC lookup table resolution with offline mock
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The address lookup table
EDDSpjZHrsFKYTMJDcBqXAjkLcu9EKdvrQR4XnqsXErHreferenced by theaTokenCreateIdempotentMsgfixture no longer exists on Solana mainnet, causing 5 tests across 4 files to fail with"Failed to find address lookup table account".Changes
app/__tests__/mocks.ts— AddedgetMockAddressLookupTable(key)that returns a pre-builtAddressLookupTableAccountfor known fixture keys without any RPC call. The map can be extended as other lookup tables get deactivated.Connection-based lookup resolution withgetMockAddressLookupTablein thecreateIdempotent-related test cases:app/components/inspector/__tests__/AssociatedTokenDetailsCard.spec.tsxapp/components/inspector/__tests__/into-parsed-data.spec.tsapp/components/common/__tests__/BaseInstructionCard.spec.tsxapp/components/instruction/__tests__/AssociatedTokenDetailsCard.spec.tsx