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
when for a token price feed is changed to zero price feed, Price for that token is added while syncing priceOracle. as a result, zero priceFeed is added first, and price events from previous pricefeed are yet to be synced. So, check (old.block< new.block) fails.
Solution:
Ignore this check if the saved price event has 0 price. In such case, last price block number can be greater than new price event being added.
when for a token price feed is changed to zero price feed, Price for that token is added while syncing priceOracle. as a result, zero priceFeed is added first, and price events from previous pricefeed are yet to be synced. So, check (old.block< new.block) fails.
Solution:
Ignore this check if the saved price event has 0 price. In such case, last price block number can be greater than new price event being added.
a0db78c fix.
The text was updated successfully, but these errors were encountered: