From 1982c9026c98975a92a99b9c2e54b4688a2aed98 Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 3 Jul 2024 13:08:59 +0800 Subject: [PATCH] hack spl test 2 --- .github/scripts/downstream-project-spl-common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/downstream-project-spl-common.sh b/.github/scripts/downstream-project-spl-common.sh index 06e66f11b1dfbe..0f5245544b7de1 100644 --- a/.github/scripts/downstream-project-spl-common.sh +++ b/.github/scripts/downstream-project-spl-common.sh @@ -28,9 +28,9 @@ 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 +# should be removed when spl bump their curve25519-dalek +sed -i "s/^curve25519-dalek =.*/curve25519-dalek = \"4.1.3\"/" token/client/Cargo.toml +sed -i "s/^curve25519-dalek =.*/curve25519-dalek = \"4.1.3\"/" token/confidential-transfer/proof-generation/Cargo.toml # ignore these tests temporarily. see: https://github.com/anza-xyz/agave/pull/1693#issuecomment-2182615788 sed -i 's/\([ \t]*\)async_trial!(confidential_transfer,/\1\/\/ async_trial!(confidential_transfer,/' token/cli/tests/command.rs