-
Notifications
You must be signed in to change notification settings - Fork 1
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
leave execution contract abstract + use interface in msa #24
leave execution contract abstract + use interface in msa #24
Conversation
🤖 Slither Analysis Report 🔎Slither reportSlither reportTHIS CHECKLIST IS NOT COMPLETE. Use name-reused🔴 Impact: High
interfaces/base/IHookManager.sol#L8-L11 unused-return🟡 Impact: Medium
shadowing-local🔵 Impact: Low
missing-zero-check🔵 Impact: Low
factory/AccountFactory.sol#L11 reentrancy-events🔵 Impact: Low
assemblyℹ️ Impact: Informational
base/AccountExecution.sol#L87-L103
base/AccountExecution.sol#L69-L84
base/AccountExecution.sol#L48-L67
base/AccountExecution.sol#L106-L121
dead-codeℹ️ Impact: Informational
base/ModuleManager.sol#L92-L96
base/AccountExecution.sol#L87-L103
base/AccountExecution.sol#L36-L46
base/AccountExecution.sol#L69-L84
base/AccountExecution.sol#L106-L121 low-level-callsℹ️ Impact: Informational
naming-conventionℹ️ Impact: Informational
redundant-statementsℹ️ Impact: Informational
This comment was automatically generated by the GitHub Actions workflow. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/phase-1-implementations #24 +/- ##
===============================================================
Coverage ? 34.84%
===============================================================
Files ? 11
Lines ? 221
Branches ? 28
===============================================================
Hits ? 77
Misses ? 144
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
We could try and implement most of the methods and leave some and still keep it abstract some methods require modifiers from other abstract classes or defined in child class hence they could not be fully implemented. what else can be done is implement methods with inner internal methods that can be left virtual / revert("not implemented") if modifier is not a problem. |
0d723d4
into
feat/phase-1-implementations
Abstract contracts methods are left virtual empty
Abstract contracts implement tiny interfaces
these tiny interfaces make up huge interface for IModularSmartAccount which is reused in implementation (in order to do this methods are overridden by specifying abstract class and interface both)