New answers tagged error
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 ...
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.....
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 ...
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. ...
Top 50 recent answers are included
Related Tags
error × 110anchor × 28
solana-program × 20
solana-cli × 10
web3.js × 10
rpc × 8
transactions × 7
sendtransactionerror × 7
spl-token × 6
pda × 5
rust × 5
cli × 5
failed × 5
python × 4
typescript × 4
devnet × 4
transfer × 4
node × 4
mint × 4
anchor-test × 4
send-transaction × 4
transaction × 4
wallet × 3
development × 3
cargo × 3