-
Notifications
You must be signed in to change notification settings - Fork 25
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
fix: Rename plugin to module #106
Conversation
README.md
Outdated
@@ -11,7 +11,7 @@ The implementation includes an upgradable modular account with two plugins (`Sin | |||
|
|||
## Development | |||
|
|||
Anyone is welcome to submit feedback and/or PRs to improve code or add Plugins. | |||
Anyone is welcome to submit feedback and/or PRs to improve code or add Modules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor note/todo: we should consider if having modules be on this repo is the way to go, or if we should split them out into another repo (long term)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think we've already started encouraging people to put these in their own repos or in https://github.com/erc6900/sample-plugins, to make the maintenance load easier. The README has some other out-of-date things, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, gonna remove the add modules part.
src/interfaces/IStandardExecutor.sol
Outdated
@@ -12,15 +12,15 @@ struct Call { | |||
|
|||
interface IStandardExecutor { | |||
/// @notice Standard execute method. | |||
/// @dev If the target is a plugin, the call SHOULD revert. | |||
/// @dev If the target is a module, the call SHOULD revert. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Todo for later: remove this line
src/account/AccountStorage.sol
Outdated
@@ -43,11 +43,11 @@ struct AccountStorage { | |||
// AccountStorageInitializable variables | |||
uint8 initialized; | |||
bool initializing; | |||
// Plugin metadata storage | |||
EnumerableMap.AddressToUintMap pluginManifestHashes; | |||
// Module metadata storage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is outdated, todo: update
Rename plugin to module as discussed.