Open purpleglow opened 2 years ago
I had the same issue!
Please help us @ilmoi 🙏
Could this error when running anchor build be the problem?
Struct field "address_to_whitelist" is unsafe, but is not documented.
(3rd line from the bottom)
I get a similar error
Struct field "farm_authority" is unsafe, but is not documented. Please add a `/// CHECK:` doc comment explaining why no checks through types are necessary.
after anchor build
Fixed the problem! Just needed to update to the most recent commit. Hope that fixes the problem for you as well @purpleglow
Note: Not sure if the bug was known to @ilmoi
I'm following instructions at https://github.com/gemworks/gem-farm#deploy-your-own-version-
After running
anchor build
,solana-keygen pubkey ./target/deploy/gem_farm-keypair.json
fails because gem_farm-keypair.json was not created.➜ gem-farm git:(main) ✗ solana-keygen pubkey ./target/deploy/gem_bank-keypair.json 7s9pNBAG3AyoEsZpsRJZ6WtsKBDC2Z3qGZgqfkc8pbTh ➜ gem-farm git:(main) ✗ solana-keygen pubkey ./target/deploy/gem_farm-keypair.json Error: No such file or directory (os error 2)