Sorry for the noob question.
Im trying to test a program that I deployed locally, however when running anchor run test
, I receive the following error.
Error: failed to get recent blockhash: FetchError: request to http://localhost:8899/ failed, reason: connect ECONNREFUSED ::1:8899
Ive verified solana-test-validator
is running, and I can airdrop lamports no problem. Additionally, I'll see the logs from bpf loader when deploying the program.
Anchor.toml checks out I believe. Pasted in the programid already. Same with declare_id! in lib.rs.
I honestly have no clue, any help would be soo appreciated!