Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Admin Migration #21

Merged
merged 1 commit into from
Jul 2, 2024
Merged

feat: Admin Migration #21

merged 1 commit into from
Jul 2, 2024

Conversation

deluca-mike
Copy link
Collaborator

No description provided.

@deluca-mike deluca-mike added the enhancement New feature or request label Jul 2, 2024
@deluca-mike deluca-mike self-assigned this Jul 2, 2024
Copy link

github-actions bot commented Jul 2, 2024

Changes to gas cost

Generated at commit: f789064b171c4d061a62a70948d0f3aefc2106f3, compared to commit: a5b81bb0b1a641f64544fbb97c690a311e234206

🧾 Summary (20% most significant diffs)

Contract Method Avg (+/-) %

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
WrappedMTokenHarness 3,097,444 (+60,007) balanceOf
implementation
mToken
principalOfTotalEarningSupply
registrar
setBalanceOf
setIndexOf
setPrincipalOfTotalEarningSupply
setTotalNonEarningSupply
totalNonEarningSupply
transfer
unwrap
wrap
802 (-22)
447 (+66)
306 (-22)
468 (+45)
284 (-22)
3,071 (-22)
6,359 (-22)
22,490 (+45)
5,345 (-22)
496 (+67)
6,051 (+67)
637 (-22)
497 (-22)
-2.67%
+17.32%
-6.71%
+10.64%
-7.19%
-0.71%
-0.34%
+0.20%
-0.41%
+15.62%
+1.12%
-3.34%
-4.24%
950 (-22)
447 (+66)
306 (-22)
2,437 (+45)
284 (-22)
22,755 (-22)
6,359 (-22)
22,490 (+45)
22,253 (-22)
517 (+67)
26,145 (+67)
13,783 (-22)
19,404 (-22)
-2.26%
+17.32%
-6.71%
+1.88%
-7.19%
-0.10%
-0.34%
+0.20%
-0.10%
+14.89%
+0.26%
-0.16%
-0.11%
1,025 (-22)
447 (+66)
306 (-22)
2,468 (+45)
284 (-22)
22,971 (-22)
6,359 (-22)
22,490 (+45)
22,445 (-22)
496 (+67)
25,951 (+67)
16,837 (-22)
19,736 (-22)
-2.10%
+17.32%
-6.71%
+1.86%
-7.19%
-0.10%
-0.34%
+0.20%
-0.10%
+15.62%
+0.26%
-0.13%
-0.11%
1,025 (-22)
447 (+66)
306 (-22)
2,468 (+45)
284 (-22)
22,971 (-22)
6,359 (-22)
22,490 (+45)
22,445 (-22)
2,496 (+67)
43,051 (+67)
22,409 (-22)
51,170 (-22)
-2.10%
+17.32%
-6.71%
+1.86%
-7.19%
-0.10%
-0.34%
+0.20%
-0.10%
+2.76%
+0.16%
-0.10%
-0.04%
6 (0)
1 (0)
1 (0)
263 (0)
1 (0)
525 (0)
1 (0)
8 (0)
268 (0)
273 (0)
264 (0)
7 (0)
7 (0)
WrappedMToken 2,898,532 (+60,019) accruedYieldOf
balanceOf
totalAccruedYield
totalNonEarningSupply
transfer
unwrap
wrap
908 (-22)
757 (-22)
2,114 (-22)
429 (-22)
44,550 (-22)
16,785 (-22)
23,420 (-22)
-2.37%
-2.82%
-1.03%
-4.88%
-0.05%
-0.13%
-0.09%
1,613 (-22)
875 (-22)
2,126 (-22)
429 (-22)
44,553 (-22)
25,340 (-22)
37,032 (-22)
-1.35%
-2.45%
-1.02%
-4.88%
-0.05%
-0.09%
-0.06%
2,272 (-22)
980 (-22)
2,130 (-22)
429 (-22)
44,553 (-22)
25,340 (-22)
36,795 (-22)
-0.96%
-2.20%
-1.02%
-4.88%
-0.05%
-0.09%
-0.06%
2,272 (-22)
980 (-22)
2,130 (-22)
429 (-22)
44,556 (-22)
33,896 (-22)
51,118 (-22)
-0.96%
-2.20%
-1.02%
-4.88%
-0.05%
-0.06%
-0.04%
29 (0)
30 (0)
18 (0)
18 (0)
2 (0)
4 (0)
4 (0)
MockM 214,604 (0) setCurrentIndex 26,553 (0) 0.00% 34,877 (+130) +0.37% 26,565 (0) 0.00% 43,653 (0) 0.00% 74 (+3)

Copy link

github-actions bot commented Jul 2, 2024

LCOV of commit a807adf during Forge Coverage #92

Summary coverage rate:
  lines......: 95.3% (141 of 148 lines)
  functions..: 93.9% (46 of 49 functions)
  branches...: no data found

Files changed coverage rate:
                           |Lines       |Functions  |Branches    
  Filename                 |Rate     Num|Rate    Num|Rate     Num
  ===============================================================
  src/Migratable.sol       | 100%     10| 100%     3|    -      0
  src/WrappedMToken.sol    |98.3%    121|97.2%    36|    -      0

@deluca-mike deluca-mike merged commit 1fbabd5 into main Jul 2, 2024
2 checks passed
@deluca-mike deluca-mike deleted the feat/admin-upgradeable branch July 2, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants