You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UpdatedAt field is a timestamp that is implicitly updated by GORM whenever a database entity is updated. This field is present in Deal entity, and gets updated whenever the deal state changes.
For the purposes of Motion integration we need to display a LastVerified field to the user. That timestamp should display the latest timestamp at which the deal integrity was verified as defined by Singularity. This is not necessarily the same timestamp at which the deal record in signularity database was updated.
Describe the workaround you currently have
Using the UpdatedAt timestamp.
Describe the feature you'd like
A separate timestamp in Deal entity that is updated by deal tracker Which exclusively corresponds to the latest timestamp at which the deal integrity was checked.
resolves#346
This adds a new field `last_verified_at` to the `deals` table. Currently
the value is set to the epoch when the deal tracker updates the deal
status to `active`.
In later iterations, we may change it to when POST message lands on
chain.
Follow-up on motion side:
- filecoin-project/motion#162
What is the problem you're trying to solve?
The
UpdatedAt
field is a timestamp that is implicitly updated by GORM whenever a database entity is updated. This field is present inDeal
entity, and gets updated whenever the deal state changes.For the purposes of Motion integration we need to display a
LastVerified
field to the user. That timestamp should display the latest timestamp at which the deal integrity was verified as defined by Singularity. This is not necessarily the same timestamp at which the deal record in signularity database was updated.Describe the workaround you currently have
Using the
UpdatedAt
timestamp.Describe the feature you'd like
A separate timestamp in
Deal
entity that is updated by deal tracker Which exclusively corresponds to the latest timestamp at which the deal integrity was checked.Additional context
See:
LastVerified
filecoin-project/motion#132The text was updated successfully, but these errors were encountered: