From f54330b8466eeb44b6ca768652268a5879ef780a Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Mon, 12 Aug 2024 23:43:37 +0000 Subject: [PATCH] add comments for load result variants --- svm/src/account_loader.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/svm/src/account_loader.rs b/svm/src/account_loader.rs index b3ae061279e0df..3ef174ad3e7593 100644 --- a/svm/src/account_loader.rs +++ b/svm/src/account_loader.rs @@ -38,8 +38,13 @@ pub type TransactionValidationResult = Result; #[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), }