From cdee231b9ad2b4480af3a5439a1149e9d5cb188c Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 19 Jun 2024 17:37:03 +0800 Subject: [PATCH] hack spl test --- .github/scripts/downstream-project-spl-common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/scripts/downstream-project-spl-common.sh b/.github/scripts/downstream-project-spl-common.sh index 0bfff86dcca2df..cf79d6378a5cb3 100644 --- a/.github/scripts/downstream-project-spl-common.sh +++ b/.github/scripts/downstream-project-spl-common.sh @@ -26,3 +26,7 @@ fi # anza migration stopgap. can be removed when agave is fully recommended for public usage. sed -i 's/solana-geyser-plugin-interface/agave-geyser-plugin-interface/g' ./Cargo.toml + +# should be removed when spl project upgrade to agave 2.0 +sed -i '/^curve25519-dalek = "3/d' token/client/Cargo.toml +sed -i 's/ curve25519_dalek::scalar::Scalar\,/ spl_token_2022::solana_zk_token_sdk::curve25519_dalek::scalar::Scalar,/' token/client/src/proof_generation.rs