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
Wei's pow uses Big.js pow which uses the currently set rounding mode. Default Big.js rounding mode is round up. This is a problem because our powDecimal in solidity rounds down (truncation).
Wei's
pow
uses Big.js pow which uses the currently set rounding mode. Default Big.js rounding mode is round up. This is a problem because ourpowDecimal
in solidity rounds down (truncation).js-monorepo/packages/wei/src/wei.ts
Line 218 in 7beca44
https://github.com/Synthetixio/synthetix/blob/645a49c07c148d1cef91aafb95e0e05a0f103740/contracts/Math.sol#L17-L29
The text was updated successfully, but these errors were encountered: