Fix return data too large test

This commit is contained in:
Sean Young
2021-09-30 07:35:09 +01:00
parent 65de0f40b8
commit 66e6110f5a
3 changed files with 10 additions and 0 deletions

View File

@@ -1084,6 +1084,12 @@ fn test_program_bpf_invoke_sanity() {
&[],
);
do_invoke_failure_test_local(
TEST_RETURN_DATA_TOO_LARGE,
TransactionError::InstructionError(0, InstructionError::ProgramFailedToComplete),
&[],
);
// Check resulting state
assert_eq!(43, bank.get_balance(&derived_key1));