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
A user has trouble purchasing a cover, turned out they were getting a PriceExceedsMaxPremiumInAsset from the contract when trying to execute the tx. After further investigation, it looks like the premium value we get from the cover router is different (smaller) from the one in the contract. See the repro steps below:
Connect wallet with account: 0xE4994082A0E7f38B565e6c5f4afD608de5EDDfBb
mixplore
changed the title
Quote endpoint value for premium (cover price) is diffr
Quote price value is different/smaller than the contract computed value
Jan 12, 2024
mixplore
changed the title
Quote price value is different/smaller than the contract computed value
Quote price value is different/smaller than the contract computed value causing the buy cover tx to fail
Jan 12, 2024
Context
A user has trouble purchasing a cover, turned out they were getting a
PriceExceedsMaxPremiumInAsset
from the contract when trying to execute the tx. After further investigation, it looks like the premium value we get from the cover router is different (smaller) from the one in the contract. See the repro steps below:0xE4994082A0E7f38B565e6c5f4afD608de5EDDfBb
205
DAI
NXM
premiumInNXM
value (14712328767123287
)premiumInNXM
param value (17917808219178082
) - it’s different from the one in the quote endpoint responseThe text was updated successfully, but these errors were encountered: