Transaction State Rollback
Transaction state rollback is the automatic process by which a blockchain reverts all changes made during a failed transaction. This ensures that if a flash loan strategy does not result in a successful repayment, the network returns to the exact state it was in before the loan was taken.
This atomicity is the bedrock of the flash loan model, preventing partial failures that could leave a protocol in an inconsistent or vulnerable state. It is a technical implementation of the ACID properties found in traditional database management, adapted for a distributed ledger environment.
While it provides safety for the lender, it also creates a clear binary outcome for the borrower: total success or total failure. Understanding this mechanism is vital for predicting how protocols will behave under stress.