Skip to content

Align with Agave 4.3 and handle v1 transactions - #46

Open
ArthurPaivaT wants to merge 2 commits into
mainfrom
feat/agave-4.3-v1-transactions
Open

ArthurPaivaT wants to merge 2 commits into
mainfrom
feat/agave-4.3-v1-transactions

Conversation

@ArthurPaivaT

Copy link
Copy Markdown
Contributor
  • Aligns cloudbreak with Agave 4.3 and adds v1 transaction handling to simulateTransaction.
  • Pins the solana crates at 4.3.0-beta.2 to match the Yellowstone gRPC tag the indexer runs.
  • simulateTransaction now accepts v1 transactions, which can be larger than the 1232-byte legacy packet.

Dependencies (workspace)

  • Solana crates moved to 4.3.0-beta.2. Yellowstone gRPC moved to the v16.0.0-rc3 tag for solana 4.3.0-beta.2.
  • Three new crates: solana-runtime-transaction, solana-fee, solana-packet.

Simulate transaction (crates/api)

  • Fee and budget rebuilt on TransactionConfiguration and calculate_fee_details, replacing the removed 4.2 helpers.
  • decode_transaction detects v1 base64 input and applies per-version size bounds.
  • New result arm for the NoOp processed-transaction case.
  • The nonce path uses the SVMMessage and SVMStaticMessage trait methods, so the build has no deprecation warnings.

Indexer and snapshot (crates/index, crates/snapshot)

  • Unknown slot status values now log and skip instead of panicking, matching the 4.3 proto.
  • Added the new proto fields cuckoo_account_include and bank_id.

Config and database

  • None. No config keys and no migration.

Docs

  • README: one line on legacy, v0, and v1 transaction acceptance.

@ArthurPaivaT
ArthurPaivaT marked this pull request as ready for review September 2, 2026 00:56
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