issues
search
morpho-org
/
morpho-utils
Repository gathering useful libraries and contracts.
GNU Affero General Public License v3.0
65
stars
1
forks
source link
Fixes proposal after review
#41
Closed
MathisGD
closed
1 year ago
MathisGD
commented
1 year ago
Improvements on top of #40. Better reviewed commit by commit.
github-actions[bot]
commented
1 year ago
Changes to gas costs
๐งพ Summary
Contract
Method
Avg (+/-)
%
PercentageMathFunctionsRef
weightedAvg
+105 โ
-0.52%
PercentageMathFunctions
weightedAvg
percentAdd
-34 โ
-8 โ
+0.17%
+0.04%
Full diff report
๐
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) | |:-|-:|:-|-:|-:|-:|-:|-:|-:|-:|-:|-:| | **PercentageMathFunctionsRef** | 140,583 (+19,418) | _weightedAvg_ | 764 (+105) | **-0.52%** | 764 (+105) | **-0.52%** | 764 (+105) | **-0.52%** | 764 (+105) | **-0.52%** | 2 (+1) | | **PercentageMathFunctions** | 126,771 (-3,806) | _weightedAvg_
_percentAdd_ | 495 (-34)
481 (-8) | **+0.17%**
**+0.04%** | 495 (-34)
481 (-8) | **+0.17%**
**+0.04%** | 495 (-34)
481 (-8) | **+0.17%**
**+0.04%** | 495 (-34)
481 (-8) | **+0.17%**
**+0.04%** | 1 (0)
1 (0) |
Improvements on top of #40. Better reviewed commit by commit.