From b593605dbd38c5c9c31b7525665e16e8e0df3f5f Mon Sep 17 00:00:00 2001 From: 0xfnzero <0xfnzero@users.noreply.github.com> Date: Fri, 3 Apr 2026 12:57:54 +0800 Subject: [PATCH] fix(deps): pin spl-token-group-interface to 0.7.1 for spl-token-2022 10.0.0 spl-token-group-interface 0.7.2 changed TokenGroup.update_authority to MaybeNull, while spl-token-2022 10.0.0 still expects OptionalNonZeroPubkey, causing E0308 build failures. Pinning to 0.7.1 aligns transitive deps until upstream publishes a compatible release. Made-with: Cursor --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5c3e70c..04ec241 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,5 +36,7 @@ prost-types = "0.14.3" crossbeam-queue = "0.3.12" spl-token = { version = "9.0.0", default-features = false, features = ["no-entrypoint"] } spl-token-2022 = { version = "10.0.0", default-features = false, features = ["no-entrypoint"] } +# spl-token-2022 10.0.0 does not compile against spl-token-group-interface 0.7.2+ (E0308). +spl-token-group-interface = "=0.7.1" solana-commitment-config = { version = "3.1.1", features = ["serde"] } tonic-prost = "0.14.5"