Search code examples
rustanchorsolana

Anchor deploy --- Error: Custom: Invalid blockhash


Trying deploy a program to solana devnet.

I was using anchor deploy command.

Error: Custom: Invalid blockhash
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }.

I got this error.

OS: Ubuntu 21.10

Framework: anchor

Language: Rust

https://github.com/yeshealer/buildspace-anchor-epic-project

and This is my source project.


Solution

  • You may try to downgrade to anchor 0.18 ATM.