Skip to content

Commit

Permalink
do tricks for spl downstream project
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Jun 13, 2024
1 parent f2b90e5 commit ac7bc59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\,/ spl_token_2022::solana_zk_token_sdk::curve25519_dalek::scalar::Scalar,/' token/client/src/proof_generation.rs

0 comments on commit ac7bc59

Please sign in to comment.