Skip to content
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

anchor-spl 0.27.0 crate depends on spl-token-2022 0.5.0 #2502

Closed
aperire opened this issue May 23, 2023 · 3 comments
Closed

anchor-spl 0.27.0 crate depends on spl-token-2022 0.5.0 #2502

aperire opened this issue May 23, 2023 · 3 comments
Labels
compile error Issues related to compile errors

Comments

@aperire
Copy link

aperire commented May 23, 2023

anchor-spl v0.27.0 has been updated to use spl-token-2022 v0.6.1 as dependency. However, the crate still depends on spl-token v0.5.0. A simple trick of using
anchor-spl = { git = "https://github.com/coral-xyz/anchor" } in Cargo.toml fixes the issue for now, but this should be fixed.

@0xksure
Copy link

0xksure commented May 30, 2023

@aperire This only works when doing cargo build-bpf however the error persists when doing cargo build for crates using anchor-spl. Are there any quick fixes for this?

@0xksure
Copy link

0xksure commented May 30, 2023

@aperire This only works when doing cargo build-bpf however the error persists when doing cargo build for crates using anchor-spl. Are there any quick fixes for this?

Scratch that. It works now 👍 I had to update some local dependencies to target the anchor repo for anchor-spl

@acheroncrypto acheroncrypto added the compile error Issues related to compile errors label Jun 12, 2023
@acheroncrypto
Copy link
Collaborator

This is fixed in 0.28.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compile error Issues related to compile errors
Projects
None yet
Development

No branches or pull requests

3 participants