Move TransactionExecutionResult to the core package.