razor-network / oracle-contracts

Core contracts for Razor network
http://razor.network
36 stars 21 forks source link

Add timestamp to each collection #989

Closed SamAg19 closed 1 month ago

SamAg19 commented 1 year ago

Problem Statement

The current implementation does not store the timestamp at which the latest result of a particular collection is set. Clients require a timestamp to authenticate whether the result being reported is the latest or not.

Solution

Add timestamp to each collection and update it when new values are reported in each collection.

SamAg19 commented 1 month ago

fixed #1002