Skip to content

Commit c09ceeb

Browse files
chore: add more comments for install validation (#158)
1 parent a70a20c commit c09ceeb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/account/ReferenceModularAccount.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ contract ReferenceModularAccount is
242242

243243
/// @inheritdoc IModularAccount
244244
/// @notice May be validated by a global validation.
245+
/// @dev This function can be used to update (to a certain degree) previously installed validation functions.
246+
/// - preValidationHook, permissionHook, and selectors can be added later. Though they won't be deleted.
247+
/// - isGlobal and isSignatureValidation can also be updated later.
245248
function installValidation(
246249
ValidationConfig validationConfig,
247250
bytes4[] calldata selectors,

0 commit comments

Comments
 (0)