Skip to content

Commit 05058df

Browse files
committed
feat: fix IModularAccount to return address of the account for native functions
1 parent cf43884 commit 05058df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/interfaces/IModularAccountView.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {HookConfig, ModuleEntity, ValidationFlags} from "../interfaces/IModularA
66
/// @dev Represents data associated with a specific function selector.
77
struct ExecutionDataView {
88
// The module that implements this execution function.
9-
// If this is a native function, the address must remain address(0).
9+
// If this is a native function, the address must be the address of the account.
1010
address module;
1111
// Whether or not the function needs runtime validation, or can be called by anyone. The function can still be
1212
// state changing if this flag is set to true.

standard/ERCs/erc-6900.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Module inspection interface. Modular accounts MAY implement this interface to su
226226
/// @dev Represents data associated with a specific function selector.
227227
struct ExecutionDataView {
228228
// The module that implements this execution function.
229-
// If this is a native function, the address must remain address(0).
229+
// If this is a native function, the address must be the address of the account.
230230
address module;
231231
// Whether or not the function needs runtime validation, or can be called by anyone. The function can still be
232232
// state changing if this flag is set to true.

0 commit comments

Comments
 (0)