Fuzzer test and fixes (#9853)

This commit is contained in:
sakridge
2020-05-02 08:07:52 -07:00
committed by GitHub
parent de04563f18
commit f37f83fd12
3 changed files with 227 additions and 39 deletions

View File

@ -64,6 +64,11 @@ pub enum TransactionError {
/// This program may not be used for executing instructions
InvalidProgramForExecution,
/// Transaction failed to sanitize accounts offsets correctly
/// implies that account locks are not taken for this TX, and should
/// not be unlocked.
SanitizeFailure,
}
pub type Result<T> = result::Result<T, TransactionError>;