Skip to content

Commit

Permalink
hack spl test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Jul 3, 2024
1 parent 2bc7e6b commit 1c02f31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c02f31

Please sign in to comment.