Skip to content

Commit cae59d1

Browse files
fix: add validation expected behavior
1 parent fa24073 commit cae59d1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

standard/ERCs/erc-6900.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ Each step is modular, supporting different implementations for each execution fu
101101

102102
**Modules** **May** implement one of the following module types
103103

104-
- `IValidationModule`
105-
- `IValidationHookModule`
106-
- `IExecutionModule`
107-
- `IExecutionHookModule`
104+
- `IValidationModule` to support validations for account.
105+
- `IValidationHookModule` to support hooks for validations.
106+
- `IExecutionModule` to support execution functions and their installations on account.
107+
- `IExecutionHookModule` to support pre & post execution hooks for execution functions.
108108

109109
#### `IModuleManager.sol`
110110

@@ -575,6 +575,12 @@ struct ModuleManifest {
575575

576576
### Expected behavior
577577

578+
#### Validations and their installation /uninstallation
579+
580+
An account can have more than one validation installed.
581+
An account can have the same validation module installed more than once.
582+
The entityId of a validation installed on an account MUST be unique.
583+
578584
#### Responsibilties of `StandardExecutor` and `ModuleExecutor`
579585

580586
`StandardExecutor` functions are used for open-ended calls to external addresses.

0 commit comments

Comments
 (0)