You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@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?
@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
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" }
inCargo.toml
fixes the issue for now, but this should be fixed.The text was updated successfully, but these errors were encountered: