Richer runtime failure logging (#14875)

This commit is contained in:
Jack May
2021-01-28 10:04:54 -08:00
committed by GitHub
parent a53b8558cd
commit 0b1015f7d3
4 changed files with 246 additions and 147 deletions

View File

@ -916,13 +916,13 @@ fn test_program_bpf_invoke_sanity() {
do_invoke_failure_test_local(
TEST_INSTRUCTION_DATA_TOO_LARGE,
TransactionError::InstructionError(0, InstructionError::ComputationalBudgetExceeded),
TransactionError::InstructionError(0, InstructionError::ProgramFailedToComplete),
&[],
);
do_invoke_failure_test_local(
TEST_INSTRUCTION_META_TOO_LARGE,
TransactionError::InstructionError(0, InstructionError::ComputationalBudgetExceeded),
TransactionError::InstructionError(0, InstructionError::ProgramFailedToComplete),
&[],
);