Fix zero-len slice translations (#12642)
This commit is contained in:
@ -117,6 +117,16 @@ fn process_instruction(
|
||||
invoke(&instruction, accounts)?;
|
||||
}
|
||||
|
||||
info!("Test no instruction data");
|
||||
{
|
||||
let instruction = create_instruction(
|
||||
*accounts[INVOKED_PROGRAM_INDEX].key,
|
||||
&[(accounts[ARGUMENT_INDEX].key, true, true)],
|
||||
vec![],
|
||||
);
|
||||
invoke(&instruction, accounts)?;
|
||||
}
|
||||
|
||||
info!("Test return error");
|
||||
{
|
||||
let instruction = create_instruction(
|
||||
|
Reference in New Issue
Block a user