From bb453a5bbee9a3d788747e6b800d9f244c8485fa Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 12 Jun 2024 01:29:12 +0800 Subject: [PATCH] do tricks for spl downstream project --- .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 861be12c7d1a45..c738c6e12e6577 100644 --- a/.github/scripts/downstream-project-spl-common.sh +++ b/.github/scripts/downstream-project-spl-common.sh @@ -25,3 +25,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\,/ solana_zk_token_sdk::curve25519_dalek::scalar::Scalar,/' token/client/src/proof_generation.rs