Closed Perelyn-sama closed 2 weeks ago
figured it out, I used the wrong program name in program/tests/test.rs
right around here
async fn setup() -> (BanksClient, Keypair, Hash) {
let mut program_test = ProgramTest::new(
"hello_solana_program", // where I made the mistake
hello_solana_api::ID,
processor!(hello_solana_program::process_instruction),
);
program_test.prefer_bpf(true);
program_test.start().await
}
using
steel test
error:
Using
cargo test -p steel-program run_test