Skip to content

deps: Bump sdk v3 crates#79

Merged
joncinque merged 6 commits intosolana-program:mainfrom
joncinque:sdkv3
Aug 8, 2025
Merged

deps: Bump sdk v3 crates#79
joncinque merged 6 commits intosolana-program:mainfrom
joncinque:sdkv3

Conversation

@joncinque
Copy link
Contributor

Problem

The SDK V3 crates are available, but the stake interface is still using the v2 crates.

Summary of changes

Start using the new crates. The commits should mostly tell the story of the other work needed:

  • move the stake-history sysvar implementation with the sysvar trait
  • fixup the error type by implementing ToStr and removing solana-decode-error
  • remove borsh 0.10 support
  • use solana-sdk-ids
  • bump everything
  • detach the program build

@joncinque joncinque requested a review from 2501babe August 8, 2025 18:06
solana-program-test = "2.3.4"
solana-program-runtime = "2.2.0"
solana-stake-interface = { path = "../interface", features = ["bincode"] }
solana-stake-interface = { version = "1", features = ["bincode"] }
Copy link
Member

Choose a reason for hiding this comment

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

assuming this is an intentional move and whats meant by "detach the program build"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep exactly!

@joncinque joncinque merged commit fcd8b92 into solana-program:main Aug 8, 2025
9 checks passed
@joncinque joncinque deleted the sdkv3 branch August 8, 2025 20:10
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