Struct solana_sdk::transaction_context::ExecutionRecord
source · pub struct ExecutionRecord {
pub accounts: Vec<TransactionAccount>,
pub instruction_trace: InstructionTrace,
pub return_data: TransactionReturnData,
pub changed_account_count: u64,
pub total_size_of_all_accounts: u64,
pub total_size_of_touched_accounts: u64,
pub accounts_resize_delta: i64,
}
Expand description
Everything that needs to be recorded from a TransactionContext after execution
Fields§
§accounts: Vec<TransactionAccount>
§instruction_trace: InstructionTrace
§return_data: TransactionReturnData
§changed_account_count: u64
§total_size_of_all_accounts: u64
§total_size_of_touched_accounts: u64
§accounts_resize_delta: i64
Trait Implementations§
source§impl From<TransactionContext> for ExecutionRecord
impl From<TransactionContext> for ExecutionRecord
Used by the bank in the runtime to write back the processed accounts and recorded instructions
source§fn from(context: TransactionContext) -> Self
fn from(context: TransactionContext) -> Self
Converts to this type from the input type.