Skip to content

fix: support transaction v1 RPC reads - #85

Open
Kestrel-index wants to merge 1 commit into
solana-developers:mainfrom
Kestrel-index:fix/transaction-v1-read-support
Open

Kestrel-index wants to merge 1 commit into
solana-developers:mainfrom
Kestrel-index:fix/transaction-v1-read-support

Conversation

@Kestrel-index

Copy link
Copy Markdown

Summary

This updates transaction read paths to support Solana transaction v1.

  • set maxSupportedTransactionVersion: 1 in parseAnchorTransactionEvents
  • set maxSupportedTransactionVersion: 1 in decodeAnchorTransaction
  • set maxSupportedTransactionVersion: 1 in getLogs
  • bump @solana/web3.js from ^1.98.0 to ^1.99.0

Without these changes, the affected RPC reads are limited to transaction version 0.

Validation

  • npm ci --ignore-scripts on Node 21.7.3
  • npm run build passes
  • git diff --check passes

I am not reporting the local integration suite as passing. In this environment, the repository's test:ci invocation also fails on an unmodified checkout of main. Running the compiled tests directly produced the same failure signature on both the unmodified baseline and this branch, so no patch-specific regression was observed locally.

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.

1 participant