Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 6975

Error: failed to get recent blockhash: TypeError: fetch failed

$
0
0

Getting this error while trying to run my tests cases with anchor

Error: failed to get recent blockhash: TypeError: fetch failed    at Connection.getLatestBlockhash (/home/jimii/Documents/crew/stream-nft/node_modules/@solana/web3.js/src/connection.ts:4593:13)    at processTicksAndRejections (node:internal/process/task_queues:95:5)    at AnchorProvider.sendAndConfirm (/home/jimii/Documents/crew/stream-nft/node_modules/@coral-xyz/anchor/src/provider.ts:147:9)    at MethodsBuilder.rpc [as _rpcFn] (/home/jimii/Documents/crew/stream-nft/node_modules/@coral-xyz/anchor/src/program/namespace/rpc.ts:29:16)✔ Admin initializes the protocol sate (860ms)

Not sure why the RPC call is failing given that airdrop and deploying the program still works on my machine.


Viewing all articles
Browse latest Browse all 6975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>