Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

banks-server: Support versioned transactions #33005

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

joncinque
Copy link
Contributor

Problem

As reported in https://solana.stackexchange.com/questions/7424/why-doesnt-solana-program-test-work-with-versionedtransaction, program-test doesn't work with versioned transactions because the banks-server is trying to deserialize legacy transactions.

Summary of Changes

Pretty simple, call Bank::try_process_entry_transactions instead of try_process_transactions in banks-server, since the former takes in versioned transactions.

Fixes #

@joncinque joncinque requested a review from 2501babe August 25, 2023 19:41
@joncinque joncinque added the v1.16 PRs that should be backported to v1.16 label Aug 28, 2023
@joncinque joncinque merged commit dcad8f0 into solana-labs:master Aug 28, 2023
@joncinque joncinque deleted the ptversioned branch August 28, 2023 21:08
mergify bot pushed a commit that referenced this pull request Aug 28, 2023
joncinque added a commit that referenced this pull request Aug 29, 2023
…) (#33036)

banks-server: Support versioned transactions (#33005)

(cherry picked from commit dcad8f0)

Co-authored-by: Jon Cinque <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
v1.16 PRs that should be backported to v1.16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants