Closed TomaszGol closed 1 month ago
The recent changes enhance the LatestOraclePriceProcessor
class by adding the logging of specific events and creating HistoricalMarketPrice
entries. A migration script introduces an index to the timestamp
field in the historical_market_price
table, and the GraphQL schema is updated to reflect this. Minor reordering of imports in the model file does not impact functionality.
Files | Change Summaries |
---|---|
src/.../latestOraclePriceProcessor.ts |
Enhanced with logging and creation of HistoricalMarketPrice entries. |
db/migrations/1721116240353-Data.js |
New migration script to add and remove an index on the timestamp column in historical_market_price . |
schema.graphql |
Added index directive to the timestamp field in HistoricalMarketPrice entity. |
src/model/.../historicalMarketPrice.model.ts |
Reordered imports of decorators without affecting functionality. |
In the code where data flows, An oracle's price now shows, Logged with care and history traced, Market's past is now embraced. Indices align with time, Enhancing queries, oh so fine.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Chores