-
Notifications
You must be signed in to change notification settings - Fork 46
fix: resolve Anchor dependency conflicts in Rust client (#196) #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix: resolve Anchor dependency conflicts in Rust client (#196) #237
Conversation
…ersions - Update solana-program from '> 1.14' to '^1.17' in clients/rust - Update solana-program-test and solana-sdk to '^1.17' for consistency - Resolves Pubkey type conflicts between Anchor and MPL Core - Fixes issue where users couldn't build Anchor projects with mpl-core Fixes metaplex-foundation#196
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Summary by CodeRabbit
WalkthroughThe dependency versions for Changes
Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes were found. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)
|
Summary
Resolves dependency version conflicts between MPL Core Rust client and Anchor framework that prevented compilation of Anchor projects using MPL Core.
Problem
Issue #196: Users encountered
expected 'anchor_lang::prelude::Pubkey', found '__Pubkey'
errors when building Anchor projects with MPL Core due to incompatiblesolana-program
version constraints.Solution
Updated
clients/rust/Cargo.toml
dependency constraints:This aligns the client dependencies with the program's
solana-program = "^1.17"
constraint, ensuring consistent dependency resolution.Testing
Impact
Enables developers to use MPL Core in Anchor-based applications without dependency conflicts.
Closes #196