timewave-computer / valence-services

Other
3 stars 0 forks source link

Fix get_price query on auctions #41

Closed Art3miX closed 7 months ago

Art3miX commented 7 months ago

Currently it doesn't factor in auctions that are not active, and errors a wrong error message.

Note: This query is actually not required because of the dutch auction system. The price delta per block can be calculated once per auction using the GetAuction query, the current price can be calculated based on the starting price, starting block and current block. But still nice to have query,

Art3miX commented 7 months ago

Fixed.