issues
search
morpho-org
/
morpho-utils
Repository gathering useful libraries and contracts.
GNU Affero General Public License v3.0
64
stars
1
forks
source link
Improve revert condition in Compound division
#28
Closed
QGarchery
closed
2 years ago
github-actions[bot]
commented
2 years ago
Changes to gas costs
๐งพ Summary
Contract
Method
Avg (+/-)
%
CompoundMathFunctions
div
-12 โ
+0.06%
Full diff report
๐
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) | |:-|-:|:-|-:|-:|-:|-:|-:|-:|-:|-:|-:| | **CompoundMathFunctions** | 68,917 (-800) | _div_ | 401 (-12) | **+0.06%** | 401 (-12) | **+0.06%** | 401 (-12) | **+0.06%** | 401 (-12) | **+0.06%** | 1 (0) |
Changes to gas costs
๐งพ Summary
Full diff report ๐
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) | |:-|-:|:-|-:|-:|-:|-:|-:|-:|-:|-:|-:| | **CompoundMathFunctions** | 68,917 (-800) | _div_ | 401 (-12) | **+0.06%** | 401 (-12) | **+0.06%** | 401 (-12) | **+0.06%** | 401 (-12) | **+0.06%** | 1 (0) |