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
so this specific function quest is supposed to be aborted if the price is stale while checking time against the constant called MAXIMUM_FRESH_DURATION_SECONDS but since there is no MAXIMUM_FRESH_DURATION_SECONDS you either have to disable the stale check which further results in the failed test case, I've attached image which show the specific failed test case
/*
Returns the latest price as long as it is attested within the default maximum attestation
duration. The default maximum attestation duration is defined by the
MAXIMUM_FRESH_DURATION_SECONDS constant. Abort if the price is stale or if the pair does
not exist.
@param pair - id of the coin pair being updated
@return - the price of the pair along with the confidence
*/
public fun get_price(pair: String): Price acquires PriceBoard {
so tell me how should I proceed with this?
also already created this issue in a private repo assigned to me, creating this one here just so we can be consistent.
The text was updated successfully, but these errors were encountered:
so this specific function quest is supposed to be aborted if the price is stale while checking time against the constant called MAXIMUM_FRESH_DURATION_SECONDS but since there is no MAXIMUM_FRESH_DURATION_SECONDS you either have to disable the stale check which further results in the failed test case, I've attached image which show the specific failed test case
so tell me how should I proceed with this?
also already created this issue in a private repo assigned to me, creating this one here just so we can be consistent.
The text was updated successfully, but these errors were encountered: