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

Optimize Module Manager (#178) #179

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/account/ModuleManagerInternals.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,7 @@ abstract contract ModuleManagerInternals is IModularAccount {

_validationData.isGlobal = false;
_validationData.isSignatureValidation = false;

// Clear the selectors
uint256 length = _validationData.selectors.length();
for (uint256 i = 0; i < length; ++i) {
_validationData.selectors.remove(_validationData.selectors.at(0));
}
_validationData.isUserOpValidation = false;
}

function _addExecHooks(EnumerableSet.Bytes32Set storage hooks, HookConfig hookConfig) internal {
Expand Down
Loading