Add BPF Sanity program-test based test (#19159)

This commit is contained in:
Jack May
2021-08-11 12:07:15 -07:00
committed by GitHub
parent 446816de52
commit 9dfeee2993
6 changed files with 51 additions and 5 deletions

View File

@ -22,7 +22,7 @@ fn return_sstruct() -> SStruct {
entrypoint!(process_instruction);
#[allow(clippy::unnecessary_wraps)]
fn process_instruction(
pub fn process_instruction(
program_id: &Pubkey,
accounts: &[AccountInfo],
instruction_data: &[u8],