Merge "Introduce TransactionState." into main