Skip to content

Automated Feature Gates Update - #1

Open
github-actions[bot] wants to merge 1 commit into
masterfrom
feature-gates-update
Open

github-actions[bot] wants to merge 1 commit into
masterfrom
feature-gates-update

Conversation

@github-actions

Copy link
Copy Markdown

Auto-generated PR from daily feature gates check

@github-actions
github-actions Bot force-pushed the feature-gates-update branch 6 times, most recently from 7f352c8 to 102c961 Compare September 3, 2026 08:10
@github-actions
github-actions Bot force-pushed the feature-gates-update branch from 102c961 to 299be03 Compare September 4, 2026 08:09
@github-actions
github-actions Bot force-pushed the feature-gates-update branch 2 times, most recently from 9efd55f to 5e9e884 Compare September 23, 2026 08:42
deanmlittle pushed a commit that referenced this pull request Sep 24, 2026
…urface (solana-foundation#1274)

## Description

Part of
[HOO-1267](https://linear.app/solana-fndn/issue/HOO-1267/epic-unify-instruction-card-rendering-across-the-tx-page-and-inspector).
Migrates the ed25519, SAS, BPF Loader and Memo instruction cards on the
transaction page to the shared instruction-card surface.

## Changes

- Migrates all four cards to `InstructionNode` and the shared surface.
- Adds the `heading` field kind, a divider that spans the row.
- Extracts ed25519 offset decoding into `ed25519/decode.ts` as pure
functions.
- Draws the Memo and BPF Loader `<pre>` rows with the `preformatted`
field kind.
- Replaces SAS's 12-way parse `switch` with a pure function returning `{
name, parsed }`.
- Types the SAS parse result as `accounts: Record<string, AccountMeta>`
plus `data: Record<string, unknown>`.
- Removes `SolanaAttestationDetailsCard.tsx` from the
`@typescript-eslint/no-explicit-any` exemption list.
- Removes `Ed25519DetailsCard.tsx` from the `unicorn/no-null` exemption
list.
- Adds an optional `colSpan` to `ProgramField`.
- Stops passing `result` to the Memo, SAS and ed25519 cards.
- Reads the `Program` row from `node.programId` instead of a per-program
constant.
- Adds `heading` to the field union in the instruction-card spec delta.
- Adds 28 tests across five specs, replacing 3.

### SAS rows

SAS keeps its own markup under the spec's "card needing real markup"
exemption. Its argument table is three columns wide (name, type, value)
and generated from a Codama struct, so its account rows and its
`Program` row span the extra column to stay flush right. The card still
takes `Address`, `showProgramField` and the frame from the surface.

## Behavior Changes

- SAS's `Program` row renders `Solana Attestation Service Program`
instead of the base58 id on mainnet and devnet.
- BPF Loader's `(Base 64)` hint loses its muted styling.
- The `Program` row shows an instruction's own program id on a
non-canonical deployment.
- ed25519's `Message` row carries its wrapping on the value's span
instead of the cell.
- An ed25519 reference landing on fewer than 32 bytes renders `Invalid
reference` instead of throwing.
- An ed25519 signature count larger than the instruction data stops at
the end of the data instead of reading past it.

## Type of change

-   [x] Bug fix
- [x] Other: refactor — migrates four programs to the shared
instruction-card surface

## Testing

- **Memo renders unchanged.** Open the transaction —
[preview](https://explorer-git-fork-hoodieshq-refactor-s-cd4448-solana-foundation.vercel.app/tx/2vE2WzWhx9HmfFGeX6UpEGZrDpWs5xkjApwdqTDcbxD3fkbv8NAWcL3nobCrVC79czmeSzawjkPPTbWQQshQxcqw)
·
[production](https://explorer.solana.com/tx/2vE2WzWhx9HmfFGeX6UpEGZrDpWs5xkjApwdqTDcbxD3fkbv8NAWcL3nobCrVC79czmeSzawjkPPTbWQQshQxcqw)
— and read the `Memo Program: Memo` card. Expect one `Data (UTF-8)` row
holding the same text as production. This card is the control for the
migration.
- **ed25519 renders unchanged.** Open the transaction —
[preview](https://explorer-git-fork-hoodieshq-refactor-s-cd4448-solana-foundation.vercel.app/tx/57Uvp2XhKdimaYdNBdMPKpZMJooCoAnQ9QeeWAJSRHHmGF4vLPzWaDZ4GjVda4yL8ACtyRMWuCFxvcSWshv32pzP)
·
[production](https://explorer.solana.com/tx/57Uvp2XhKdimaYdNBdMPKpZMJooCoAnQ9QeeWAJSRHHmGF4vLPzWaDZ4GjVda4yL8ACtyRMWuCFxvcSWshv32pzP)
— and read the `Ed25519: Verify Signature` card. Expect one `Signature
#1` group, its three `Reference` rows pointing into instruction 3, and
the same seven rows in the same order as production, with the `Message`
value still wrapped.
- **SAS names its program.** Open the transaction —
[preview](https://explorer-git-fork-hoodieshq-refactor-s-cd4448-solana-foundation.vercel.app/tx/2PuyHeR9pG4UHWTarwzAiLwce1EAAJNCJSseEigQ41GQ8d3pWLux2SEJJZfe51VfVEHY1SWUd8zrn1GFzQc5PHXs)
·
[production](https://explorer.solana.com/tx/2PuyHeR9pG4UHWTarwzAiLwce1EAAJNCJSseEigQ41GQ8d3pWLux2SEJJZfe51VfVEHY1SWUd8zrn1GFzQc5PHXs)

## Related Issues

Closes
[HOO-1406](https://linear.app/solana-fndn/issue/HOO-1406/migrate-ed25519-sas-bpf-loader-and-memo-instruction-cards-to-the)

Part of
[HOO-1267](https://linear.app/solana-fndn/issue/HOO-1267/epic-unify-instruction-card-rendering-across-the-tx-page-and-inspector)

## Checklist

-   [x] My code follows the project's style guidelines
-   [x] I have added tests that prove my fix/feature works
- [x] All checks pass locally (`pnpm test`, `pnpm lint`, `pnpm
typecheck`)
-   [x] I have run `build:info` script to update build information

## Additional Notes

`bench/BUILD.md` is byte-identical: `build:info` on this branch and on
`master` generate the same table, so the drift a reviewer sees against
the tracked file is `master`'s, not this PR's.
deanmlittle pushed a commit that referenced this pull request Sep 24, 2026
## Description

Renders inner instructions in the transaction inspector.
`resolveInnerBatchInstructions` was the only consumer of
`meta.innerInstructions`, and its filter dropped every non-batch child,
so the inspector showed inner instructions only for Squads token
batches.

## Changes

- Replaces `resolveInnerBatchInstructions` with
`resolveInnerInstructions` in `app/entities/transaction-data/`.
- Moves `compiledToTransactionInstruction` to the same folder.
- Renders a card for every inner instruction in the inspector's
`InstructionsSection`.
- Ignores an IDL decode of `{ kind: 'unknown' }` in the inspector, so
the IDL card no longer replaces the program's own card.
- Adds `trustedInnerInstructions` and calls it from the inspector, the
transaction page and the token history card.
- Memoizes the inspector's decompile and inner resolution, keyed on
lookup-table contents, not on the array.
- Keeps an unresolved inner instruction in place and draws an error card
with its scroll anchor.
- Drops `UnknownDetailsCard`'s `programName` prop and resolves the name
from the program id.

## Behavior Changes

- The inspector shows an `Inner Instructions` block on every top-level
instruction that made a CPI, not only on token batches.
- Inner instruction cards are numbered `#N.M` under their parent.
- A token batch on a program with a resolvable IDL now renders as `Token
Program: Batch (N instructions)`, not as an unknown instruction.
- Every curated card in the inspector now wins over a raw card when the
IDL decode is `unknown`, not the batch card alone.
- The inspector draws no `Inner Instructions` block for a mainnet
transaction below slot 46915769, matching the transaction page.

## Type of change

-   [x] Bug fix

## Testing

- **Inner instructions render.** Open the inspector —
[preview](https://explorer-git-fork-hoodieshq-fix-inspec-9fe8e6-solana-foundation.vercel.app/tx/X8DpDCrFN8Ljsh4wcCKLvrsBXAeuxCt8xj4re6dZkESYT95QiVraC9Q7ra6afekg9HvQt4B78K8VNgcQrzZqBb5/inspect)
·
[production](https://explorer.solana.com/tx/X8DpDCrFN8Ljsh4wcCKLvrsBXAeuxCt8xj4re6dZkESYT95QiVraC9Q7ra6afekg9HvQt4B78K8VNgcQrzZqBb5/inspect)
— and read card `#1`. Expect an `Inner Instructions` block with `#1.1`
Token GetAccountDataSize, `#1.2` System CreateAccount, `#1.3` Token
InitializeImmutableOwner and `#1.4` Token InitializeAccount3. Production
shows no inner block.
- **The inspector matches the transaction page.** Open the same
transaction's detail page —
[preview](https://explorer-git-fork-hoodieshq-fix-inspec-9fe8e6-solana-foundation.vercel.app/tx/X8DpDCrFN8Ljsh4wcCKLvrsBXAeuxCt8xj4re6dZkESYT95QiVraC9Q7ra6afekg9HvQt4B78K8VNgcQrzZqBb5)
·
[production](https://explorer.solana.com/tx/X8DpDCrFN8Ljsh4wcCKLvrsBXAeuxCt8xj4re6dZkESYT95QiVraC9Q7ra6afekg9HvQt4B78K8VNgcQrzZqBb5)
— and read the `Programs` section. Expect the same four children under
instruction `#1`. Production renders them here already.
- **Address lookup tables still resolve.** Open the inspector on a v0
transaction that loads four lookup tables —
[preview](https://explorer-git-fork-hoodieshq-fix-inspec-9fe8e6-solana-foundation.vercel.app/tx/2CVc6bVcoVCPbn7AbVDn7QNn8mWTY1t3sLkQNVnyVFym72JG1FRKwkEYjHW13dhg5yp1XBsNXMov3tGjobaXEkJM/inspect)
·
[production](https://explorer.solana.com/tx/2CVc6bVcoVCPbn7AbVDn7QNn8mWTY1t3sLkQNVnyVFym72JG1FRKwkEYjHW13dhg5yp1XBsNXMov3tGjobaXEkJM/inspect)
— and read cards `solana-foundation#4` and `solana-foundation#5`. Expect four children under `solana-foundation#4`, eight
under `solana-foundation#5`, and every account address filled in. Production shows no
inner block on either.
- **A top-level token batch.** Open the inspector on devnet —
[preview](https://explorer-git-fork-hoodieshq-fix-inspec-9fe8e6-solana-foundation.vercel.app/tx/Qk4naQ5FLJTfypCmKwwVcKFJVtTb9PhLRZhV4r2duTKvWLZ8HmLSHUJym43mLAQ9cqhJ4u4CGqS7r3ZjTsxQBDf/inspect?cluster=devnet)
·
[production](https://explorer.solana.com/tx/Qk4naQ5FLJTfypCmKwwVcKFJVtTb9PhLRZhV4r2duTKvWLZ8HmLSHUJym43mLAQ9cqhJ4u4CGqS7r3ZjTsxQBDf/inspect?cluster=devnet)
— and read card `solana-foundation#3`. Expect a `Token Program: Batch` card listing its
sub-instructions. Production renders it as an unknown instruction.
- **An inner token batch still renders.** Open the inspector on testnet
—
[preview](https://explorer-git-fork-hoodieshq-fix-inspec-9fe8e6-solana-foundation.vercel.app/tx/3QZN2MpbYqxHp32fubqUANs2b1YSBJKQQr3BXSzziWkbjzeCaGgYLikCA24sUmmbgcxE45wisJahmxMfZDr8geS5/inspect?cluster=testnet)
·
[production](https://explorer.solana.com/tx/3QZN2MpbYqxHp32fubqUANs2b1YSBJKQQr3BXSzziWkbjzeCaGgYLikCA24sUmmbgcxE45wisJahmxMfZDr8geS5/inspect?cluster=testnet)
— and read card `#1`. Expect an `Inner Instructions` block holding a
`Token Program: Batch` card. Production renders it the same way.
- **A message carries no inner cards.** Open the inspector on a message
supplied through the URL —
[preview](https://explorer-git-fork-hoodieshq-fix-inspec-9fe8e6-solana-foundation.vercel.app/tx/inspector?message=AQAGCR99WtAIm76e49vSWxQwPj7rZAVYxiKKVNl2%2BwZ2Q2KNNSyZhZNscP90t%2Ffs3FZwGHRl%2BVWiADWvAbiIRORAgEmnImZn6w%2F6YxY3GCdat68o7LnQRQnLdUMEhn8gYoDKogAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAl%2Brcc8%2B8JVW8ZnFgTq836ET9O14Bm23FZYyfvPEjdsDBkZv5SEXMv%2Fsrbpyw5vnvIzlu8X3EmssQ5s6QAAAAAbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV%2B%2FwCpeIAJpFNCBadqT12xsRaTRlO6HAsYbQlSc180sA%2FcQj2MlyWPTiSJ8bs9ECkUjg2DC1oTmdr%2FEIQEjnvY2%2Bn4WSlMKLjfwE5n%2FitRS%2FBE96fiu%2FhWKttI%2BkM1ke03BiS0AwgGAAIHBAMGAQEGBAEEAgAKDACAxqR%2BjQMABgUABQIKegAA)
·
[production](https://explorer.solana.com/tx/inspector?message=AQAGCR99WtAIm76e49vSWxQwPj7rZAVYxiKKVNl2%2BwZ2Q2KNNSyZhZNscP90t%2Ffs3FZwGHRl%2BVWiADWvAbiIRORAgEmnImZn6w%2F6YxY3GCdat68o7LnQRQnLdUMEhn8gYoDKogAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAl%2Brcc8%2B8JVW8ZnFgTq836ET9O14Bm23FZYyfvPEjdsDBkZv5SEXMv%2Fsrbpyw5vnvIzlu8X3EmssQ5s6QAAAAAbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV%2B%2FwCpeIAJpFNCBadqT12xsRaTRlO6HAsYbQlSc180sA%2FcQj2MlyWPTiSJ8bs9ECkUjg2DC1oTmdr%2FEIQEjnvY2%2Bn4WSlMKLjfwE5n%2FitRS%2FBE96fiu%2FhWKttI%2BkM1ke03BiS0AwgGAAIHBAMGAQEGBAEEAgAKDACAxqR%2BjQMABgUABQIKegAA)
— and read the instruction list. Expect three top-level cards and no
`Inner Instructions` block. Production renders it the same way.

## Related Issues

Closes
[HOO-611](https://linear.app/solana-fndn/issue/HOO-611/no-inner-instructions-shown)

## Checklist

-   [x] My code follows the project's style guidelines
-   [x] I have added tests that prove my fix/feature works
- [x] All checks pass locally (`pnpm test`, `pnpm lint`, `pnpm
typecheck`)
-   [x] I have run `build:info` script to update build information

## Additional Notes

The two `InstructionsSection` components build their instruction lists
separately, so a change to one does not reach the other. This PR changes
the inspector's copy. Unifying them is part of
[HOO-1267](https://linear.app/solana-fndn/issue/HOO-1267/epic-unify-instruction-card-rendering-across-the-tx-page-and-inspector).
@github-actions
github-actions Bot force-pushed the feature-gates-update branch 2 times, most recently from c94a0fb to eebec89 Compare September 26, 2026 08:43
@github-actions
github-actions Bot force-pushed the feature-gates-update branch from eebec89 to 2d1ec36 Compare October 8, 2026 10:45
@github-actions
github-actions Bot force-pushed the feature-gates-update branch 4 times, most recently from e883ad2 to 6c5b5ca Compare November 2, 2026 11:27
@github-actions
github-actions Bot force-pushed the feature-gates-update branch 6 times, most recently from 02eabc8 to 73269e6 Compare November 12, 2026 11:30
@github-actions
github-actions Bot force-pushed the feature-gates-update branch 5 times, most recently from b54582f to c143d31 Compare November 24, 2026 13:58
@github-actions
github-actions Bot force-pushed the feature-gates-update branch from c143d31 to 12bbe90 Compare November 25, 2026 13:13
@github-actions
github-actions Bot force-pushed the feature-gates-update branch 2 times, most recently from a6f28bc to a466eb3 Compare November 28, 2026 12:00
@github-actions
github-actions Bot force-pushed the feature-gates-update branch from a466eb3 to af80a7b Compare November 29, 2026 12:13
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.

0 participants