From 0274f63083094357c299aff3f2765d77c314f78e Mon Sep 17 00:00:00 2001 From: Fangting Liu Date: Fri, 23 Aug 2024 14:35:21 -0700 Subject: [PATCH] chore: add more comments for isntall validation --- src/account/ReferenceModularAccount.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/account/ReferenceModularAccount.sol b/src/account/ReferenceModularAccount.sol index dce75b66..84459949 100644 --- a/src/account/ReferenceModularAccount.sol +++ b/src/account/ReferenceModularAccount.sol @@ -242,6 +242,9 @@ contract ReferenceModularAccount is /// @inheritdoc IModularAccount /// @notice May be validated by a global validation. + /// @dev This function can be used to update (to a certain degree) previously installed validation functions. + /// - preValidationHook, permissionHook, and selectors can be added later. Though they won't be deleted. + /// - isGlobal and isSignatureValidation can also be updated later. function installValidation( ValidationConfig validationConfig, bytes4[] calldata selectors,