Refactor transactions to use default revision instead of separate field