bcnmy / nexus

Nexus by Biconomy: ERC-7579 Modular Smart Account for Enhanced Account Abstraction
https://github.com/bcnmy/nexus/wiki
MIT License
27 stars 5 forks source link

Feat/release nexus 1.0.0 #203

Closed livingrockrises closed 1 month ago

github-actions[bot] commented 1 month ago

Changes to gas cost

Generated at commit: 651c523c5770f935dcaa34a68e7980d1eaf08218, compared to commit: 04e88dc2cc95b981e9b011cec8a736e3d8b39869

🧾 Summary (5% most significant diffs)

Contract Method Avg (+/-) %
MockPaymaster addStake -145 ✅ -0.24%
Nexus execute -84 ✅ -0.18%

Full diff report 👇
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) | |:-|-:|:-|-:|-:|-:|-:|-:|-:|-:|-:|-:| | **MockPaymaster** | 1,063,705 (0) | _addStake_ | 60,354 (-145) | **-0.24%** | 60,354 (-145) | **-0.24%** | 60,354 (-145) | **-0.24%** | 60,354 (-145) | **-0.24%** | 15 (0) | | **Nexus** | 4,725,590 (+35,152) | _execute_
_validateUserOp_ | 3,740 (-45)
13,859 (0) | **-1.19%**
**0.00%** | 46,159 (-84)
15,430 (-1) | **-0.18%**
**-0.01%** | 37,940 (-45)
13,859 (0) | **-0.12%**
**0.00%** | 143,012 (-51)
42,628 (-112) | **-0.04%**
**-0.26%** | 73 (0)
347 (0) | | **NexusBootstrap** | 1,980,502 (-220) | | | | | | | | | | |
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 91.42857% with 3 lines in your changes missing coverage. Please review.

Project coverage is 85.68%. Comparing base (72ed2b8) to head (9a137ae). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
contracts/base/ExecutionHelper.sol 88.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #203 +/- ## ======================================= Coverage 85.68% 85.68% ======================================= Files 14 14 Lines 922 943 +21 Branches 253 256 +3 ======================================= + Hits 790 808 +18 - Misses 117 120 +3 Partials 15 15 ``` | [Files with missing lines](https://app.codecov.io/gh/bcnmy/nexus/pull/203?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy) | Coverage Δ | | |---|---|---| | [contracts/Nexus.sol](https://app.codecov.io/gh/bcnmy/nexus/pull/203?src=pr&el=tree&filepath=contracts%2FNexus.sol&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy#diff-Y29udHJhY3RzL05leHVzLnNvbA==) | `85.05% <100.00%> (ø)` | | | [contracts/base/BaseAccount.sol](https://app.codecov.io/gh/bcnmy/nexus/pull/203?src=pr&el=tree&filepath=contracts%2Fbase%2FBaseAccount.sol&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy#diff-Y29udHJhY3RzL2Jhc2UvQmFzZUFjY291bnQuc29s) | `97.36% <ø> (ø)` | | | [contracts/base/ModuleManager.sol](https://app.codecov.io/gh/bcnmy/nexus/pull/203?src=pr&el=tree&filepath=contracts%2Fbase%2FModuleManager.sol&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy#diff-Y29udHJhY3RzL2Jhc2UvTW9kdWxlTWFuYWdlci5zb2w=) | `86.75% <100.00%> (ø)` | | | [contracts/modules/validators/K1Validator.sol](https://app.codecov.io/gh/bcnmy/nexus/pull/203?src=pr&el=tree&filepath=contracts%2Fmodules%2Fvalidators%2FK1Validator.sol&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy#diff-Y29udHJhY3RzL21vZHVsZXMvdmFsaWRhdG9ycy9LMVZhbGlkYXRvci5zb2w=) | `71.08% <100.00%> (+0.71%)` | :arrow_up: | | [contracts/utils/NexusBootstrap.sol](https://app.codecov.io/gh/bcnmy/nexus/pull/203?src=pr&el=tree&filepath=contracts%2Futils%2FNexusBootstrap.sol&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy#diff-Y29udHJhY3RzL3V0aWxzL05leHVzQm9vdHN0cmFwLnNvbA==) | `100.00% <ø> (ø)` | | | [contracts/base/ExecutionHelper.sol](https://app.codecov.io/gh/bcnmy/nexus/pull/203?src=pr&el=tree&filepath=contracts%2Fbase%2FExecutionHelper.sol&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy#diff-Y29udHJhY3RzL2Jhc2UvRXhlY3V0aW9uSGVscGVyLnNvbA==) | `82.17% <88.00%> (+0.35%)` | :arrow_up: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/bcnmy/nexus/pull/203?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/bcnmy/nexus/pull/203?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy). Last update [04e88dc...9a137ae](https://app.codecov.io/gh/bcnmy/nexus/pull/203?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bcnmy).
openzeppelin-code[bot] commented 1 month ago

Feat/release nexus 1.0.0

Generated at commit: 9a137ae7ef1e94acae6185a9e16eb58d2a0a7d65

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
6
26
34

For more details view the full report in OpenZeppelin Code Inspector