pub fn apply_transaction_first_pass<L>(
constraint_constants: &ConstraintConstants,
global_slot: Slot,
txn_state_view: &ProtocolStateView,
ledger: &mut L,
transaction: &Transaction,
) -> Result<TransactionPartiallyApplied<L>, String>where
L: LedgerNonSnark,