Fuzzer test and fixes (#9853) (#9858)

This commit is contained in:
sakridge
2020-05-02 10:05:13 -07:00
committed by GitHub
parent f78df36363
commit fa254ff18f
4 changed files with 228 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>;