Open Woody4618 opened 1 month ago
Maybe it's because we're on @solana/spl-token 0.3.10
?
Oh yes that is indeed the problem. Could you update to
"@solana/spl-token": "^0.4.0"
?
Or even better 0.4.1?
Updated to @solana/spl-token 0.4.3
(latest) in https://github.com/solana-playground/solana-playground/commit/911a1ea2fdc09d15b2bb9db123cae8972849116f but there is a new error now which is most likely caused by the crate version this time.
When running the tests locally in this example the tests are all green.
https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/transfer-hook/anchor/TransferHookTransferCost
When running them in playground though: https://beta.solpg.io/https://github.com/solana-developers/program-examples/tree/main/tokens/token-2022/transfer-hook/anchor/TransferHookTransferCost
There is an error TokenTransferHookInvalidSeed.
My Local versions: solana-cargo-build-sbf 1.18.4 platform-tools v1.39 rustc 1.72.0 solana-cli 1.18.4 (src:356c6a38; feat:3352961542, client:SolanaLabs) anchor-cli 0.29.0
Deps: [dependencies] anchor-lang = "0.29.0" anchor-spl = "0.29.0" solana-program = "1.17.13" spl-transfer-hook-interface = "0.4.1" spl-tlv-account-resolution = "0.5.0"