stricter asserts in transaction indexer.