OriginProtocol / origin-bridge

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/infra/bridge
MIT License
15 stars 7 forks source link

Support indexing Fractional Listings / only index Unit Listings #105

Closed ambertch closed 5 years ago

ambertch commented 6 years ago

Currently, with the refactor to Unit and Fractional Listings, the two subclasses have different data fields.

The indexer code has been modified to retrieve listing data for Unit Listings https://github.com/OriginProtocol/origin-bridge/blob/develop/logic/indexer_service.py#L153 , however NewListing events are emitted for all listings, so the celery worker will invoke the indexer with a NewListing event that is for a Fractional Listing.

ambertch commented 6 years ago

(this is strangely both a bug and a feature)

tomlinton commented 5 years ago

Closed because bridge no longer does indexing.