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
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 response