Skip to content

Add Solana V1 transaction support to TXM - #1669

Open
Unheilbar wants to merge 15 commits into
developfrom
PLEX-3402-v1-support-txm
Open

Unheilbar wants to merge 15 commits into
developfrom
PLEX-3402-v1-support-txm

Conversation

@Unheilbar

@Unheilbar Unheilbar commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

V1 transaction upgrade
Add V1 enqueueing with inline compute limits and priority fees, including simulation, fee bumps, and rebroadcasts.
Route V1 submissions through the new TXM path; retain the existing path for legacy and V0 transactions.
Add V1 unit and integration coverage, and update the CI Solana validator version.
V1 Tx diff:

  • Increased Size Limit: Maximum transaction size expands from 1,232 bytes to 4,096 bytes (defined in SIMD-0296 and SIMD-0385), aligning with validator memory pages.
  • No Address Lookup Tables (ALTs): v1 drops ALTs because the larger size allows a full 64-account set to fit directly inline
  • Native Metadata & Resource Limits: Compute budget instructions (such as SetComputeUnitLimit) are ignored as no-ops; priority fees and resource limits are moved into fixed-position fields directly inside the transaction message
  • Priority Fees: Expressed as an absolute total in lamports rather than micro-lamports per compute unit
  • Wire Identification: The first byte of a v1 decoded base64 message is 0x81

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-solana/contracts

View full report

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-solana/integration-tests

View full report

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

✅ API Diff Results - github.com/smartcontractkit/chainlink-solana

✅ Compatible Changes (2)

pkg/solana/txm (2)
  • DefaultInstructionComputeUnitLimit — ➕ Added

  • MaxLoadedAccountsDataSizeLimit — ➕ Added


📄 View full apidiff report

@cl-sonarqube-production

Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 75%)
5.8% Duplication on New Code (required ≤ 5%)

See analysis details on SonarQube

@Unheilbar
Unheilbar force-pushed the PLEX-3402-v1-support-txm branch from 5f75b6a to 5cd016f Compare November 3, 2026 23:53
@Unheilbar Unheilbar changed the title Add v1 tx support to txm Add Solana V1 transaction support to TXM Nov 4, 2026
@Unheilbar
Unheilbar marked this pull request as ready for review November 4, 2026 15:14
@Unheilbar
Unheilbar requested review from a team as code owners November 4, 2026 15:14
Comment thread pkg/solana/txm/txm_v1.go Resolved
Comment thread pkg/solana/txm/txm.go Resolved
Comment thread pkg/solana/solana_service.go Resolved
Comment thread pkg/solana/solana_service.go Resolved
Comment thread pkg/solana/txm/txm_v1.go Resolved
Comment thread pkg/solana/txm/txm.go Resolved
@Unheilbar
Unheilbar requested a review from a team as a code owner November 6, 2026 17:19
Comment thread .golangci.yml
- mirror
- loggercheck
- staticcheck
settings:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes bump common required bump go-version, which required bump golangci-lint, which required config update

This branch has not been deployed

No deployments
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