Skip to content

Commit

Permalink
add comments for load result variants
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Aug 12, 2024
1 parent 194fc18 commit f54330b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions svm/src/account_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ pub type TransactionValidationResult = Result<ValidatedTransactionDetails>;

#[derive(PartialEq, Eq, Debug)]
pub enum TransactionLoadResult {
/// All transaction accounts were loaded successfully
Loaded(LoadedTransaction),
/// Some transaction accounts needed for execution were unable to be loaded
/// but the accounts needed for fee collection were loaded successfully
FeesOnly(FeesOnlyTransaction),
/// Some transaction accounts needed for fee collection were unable to be
/// loaded
NotLoaded(TransactionError),
}

Expand Down

0 comments on commit f54330b

Please sign in to comment.