Skip to main content

New answers tagged

0 votes

Run rpc node connection timed out Unable to determine the validator's public IP address

Your startup script mixes testnet and mainnet info -- the --expected-genesis-hash is from testnet, but the entrypoints are for mainnet. Try to update your parameters to the following: --entrypoint ...
Jon C's user avatar
  • 19.6k
1 vote

How to resolve error code":-32010,"message":"2UR.... excluded from account secondary indexes; this RPC method unavailable for key

If you want to index all of the token accounts for a particular mint, you need to include that mint id in the account indexes, so in your startup script, try adding: --account-index-include-key 2URzn.....
Jon C's user avatar
  • 19.6k
1 vote

Error "Reached maximum depth for account resolution" when the length the String parameter is too long. When its short it works fine

I realized i was using the passed string ,"name" as a seed . The seed cant be more than 32 bytes ... thats on anchor's side. An old thread is here : best ways to store long string as PDA ...
yeahdixon's user avatar
  • 141
0 votes

How do I determine the cause of an "Unknown instruction error"?

This is probably a duplicate question but I couldn't find an existing answer. > Instruction #4 Failed - Unknown instruction error" Solana transactions have many steps, called instructions. ...
mikemaccana's user avatar
  • 2,734

Top 50 recent answers are included