Skip to content

deps: Bump sdk crates to v3#126

Merged
joncinque merged 3 commits intosolana-program:mainfrom
joncinque:bump-sdk
Aug 11, 2025
Merged

deps: Bump sdk crates to v3#126
joncinque merged 3 commits intosolana-program:mainfrom
joncinque:bump-sdk

Conversation

@joncinque
Copy link
Contributor

Problem

The SDK v3 crates are available, but all of the libraries are still on v2 crates.

Summary of changes

Bump everything to v3 and v3-compatible crates. A few other changes:

  • generic-token-tests: use the interface crates instead, but since we have a circular dependency between spl-pod and spl-token-2022-interface, they pull in different versions of Pubkey, so compare those via their bytes instead
  • remove solana-decode-error
  • remove the generic type parameter for the error type in to_str
  • use resize instead of realloc for account-info

#### Problem

The SDK v3 crates are available, but all of the libraries are still on
v2 crates.

#### Summary of changes

Bump everything to v3 and v3-compatible crates. A few other changes:

* generic-token-tests: use the interface crates instead, but since we
  have a circular dependency between spl-pod and
  spl-token-2022-interface, they pull in different versions of `Pubkey`,
  so compare those via their bytes instead
* remove solana-decode-error
* remove the generic type parameter for the error type in `to_str`
* use `resize` instead of `realloc` for account-info
@joncinque joncinque requested a review from grod220 August 8, 2025 18:32
Copy link
Member

@grod220 grod220 left a comment

Choose a reason for hiding this comment

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

LGTM

@joncinque joncinque merged commit 6aa588f into solana-program:main Aug 11, 2025
29 checks passed
@joncinque joncinque deleted the bump-sdk branch August 11, 2025 11:55
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