Skip to content

Commit

Permalink
fix: update validation function references in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fangting-alchemy committed Aug 15, 2024
1 parent c5104b0 commit 83dc7b1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/account-abstraction
Submodule account-abstraction updated 41 files
+ audits/ERC-4337 Account Abstraction Incremental Audit Report Feb 20 2024.pdf
+0 −1 deployments/arbitrum/.chainId
+0 −1,318 deployments/arbitrum/EntryPoint.json
+0 −68 deployments/arbitrum/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −1 deployments/gnosis/.chainId
+0 −1,318 deployments/gnosis/EntryPoint.json
+0 −68 deployments/gnosis/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −1 deployments/goerli/.chainId
+0 −1,318 deployments/goerli/EntryPoint.json
+0 −68 deployments/goerli/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −1 deployments/kovan/.chainId
+0 −1,073 deployments/kovan/EntryPoint.json
+0 −338 deployments/kovan/SimpleWallet.json
+0 −118 deployments/kovan/TestCounter.json
+0 −86 deployments/kovan/solcInputs/9255faacf3ae4e81db1326413027bfa0.json
+0 −1 deployments/mainnet/.chainId
+0 −1,318 deployments/mainnet/EntryPoint.json
+0 −107 deployments/mainnet/SimpleAccountFactory.json
+0 −329 deployments/mainnet/solcInputs/02113a2ed1850c3774563305ee607f11.json
+0 −68 deployments/mainnet/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −59 deployments/mainnet/solcInputs/cfbebdf1101dd2bc0f310cb0b7d62cb7.json
+0 −1 deployments/matic/.chainId
+0 −1,318 deployments/matic/EntryPoint.json
+0 −68 deployments/matic/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −59 deployments/matic/solcInputs/cfbebdf1101dd2bc0f310cb0b7d62cb7.json
+0 −1 deployments/mumbai/.chainId
+0 −1,318 deployments/mumbai/EntryPoint.json
+0 −68 deployments/mumbai/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −1 deployments/optimism/.chainId
+0 −1,318 deployments/optimism/EntryPoint.json
+0 −68 deployments/optimism/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −1 deployments/sepolia/.chainId
+0 −1,318 deployments/sepolia/EntryPoint.json
+0 −68 deployments/sepolia/solcInputs/a4c52f0671aad8941c53d6ead2063803.json
+0 −1,024 erc/ERCS/erc-4337.md
+0 −392 erc/ERCS/erc-7562.md
+0 −1 erc/assets/erc-4337/bundle-seq-pm.svg
+0 −1 erc/assets/erc-4337/bundle-seq.svg
+ erc/assets/erc-4337/image1.png
+ erc/assets/erc-4337/image2.png
+5 −0 funding.json
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts
2 changes: 1 addition & 1 deletion src/interfaces/IAccountLoupe.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface IAccountLoupe {

/// @notice Get the validation data for a validation.
/// @dev If the selector is a native function, the module address will be the address of the account.
/// @param validationFunction The validationFunction to get the data for.
/// @param validationFunction The validation function to get the data for.
/// @return ValidationData The module address for this selector.
function getValidationData(ModuleEntity validationFunction)
external
Expand Down
4 changes: 2 additions & 2 deletions src/interfaces/IValidationModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {PackedUserOperation} from "@eth-infinitism/account-abstraction/interface
import {IModule} from "./IModule.sol";

interface IValidationModule is IModule {
/// @notice Run the user operation validationFunction specified by the `entityId`.
/// @notice Run the user operation validation function specified by the `entityId`.
/// @param entityId An identifier that routes the call to different internal implementations, should there
/// be more than one.
/// @param userOp The user operation.
Expand All @@ -16,7 +16,7 @@ interface IValidationModule is IModule {
external
returns (uint256);

/// @notice Run the runtime validationFunction specified by the `entityId`.
/// @notice Run the runtime validation function specified by the `entityId`.
/// @dev To indicate the entire call should revert, the function MUST revert.
/// @param account the account to validate for.
/// @param entityId An identifier that routes the call to different internal implementations, should there
Expand Down
8 changes: 4 additions & 4 deletions standard/ERCs/erc-6900.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ interface IAccountLoupe {
/// @notice Get the validation data for a validation.
/// @dev If the selector is a native function, the module address will be the address of the account.
/// @param validationFunction The validationFunction to get the data for.
/// @param validationFunction The validation function to get the data for.
/// @return ValidationData The module address for this selector.
function getValidationData(ModuleEntity validationFunction)
external
Expand Down Expand Up @@ -324,7 +324,7 @@ interface IModule is IERC165 {

```solidity
interface IValidationModule is IModule {
/// @notice Run the user operation validationFunction specified by the `entityId`.
/// @notice Run the user operation validation function specified by the `entityId`.
/// @param entityId An identifier that routes the call to different internal implementations, should there
/// be more than one.
/// @param userOp The user operation.
Expand All @@ -334,7 +334,7 @@ interface IValidationModule is IModule {
external
returns (uint256);
/// @notice Run the runtime validationFunction specified by the `entityId`.
/// @notice Run the runtime validation function specified by the `entityId`.
/// @dev To indicate the entire call should revert, the function MUST revert.
/// @param account the account to validate for.
/// @param entityId An identifier that routes the call to different internal implementations, should there
Expand Down Expand Up @@ -493,7 +493,7 @@ enum ManifestAssociatedFunctionType {
// on external validation functions. It MUST NOT depend on external hooks, or installation will fail.
DEPENDENCY,
// Resolves to a magic value to always bypass runtime validation for a given function.
// This is only assignable on runtime validation functions. If it were to be used on a user op validationFunction,
// This is only assignable on runtime validation functions. If it were to be used on a user op validation function,
// it would risk burning gas from the account. When used as a hook in any hook location, it is equivalent to not
// setting a hook and is therefore disallowed.
RUNTIME_VALIDATION_ALWAYS_ALLOW,
Expand Down

0 comments on commit 83dc7b1

Please sign in to comment.