Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update/add interfaces (updatePlugin, modularAccount), update hooks requirements #2

Merged
merged 2 commits into from
Apr 25, 2023

Conversation

fangting-alchemy
Copy link
Collaborator

update/add interfaces (updatePlugin, modularAccount), update hooks requirements

Comment on lines 112 to 120
> event Executed(
> bytes4 _executePlugin,
> bytes4 _uoValidator,
> bytes4 _rtValidator,
> bytes4 _preHook,
> bytes4 _postHook,
> bytes4[] _globalPreHooks,
> bytes4[] _globalPostHooks
> );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be part of the standard in this form. Listing all associated functions (non-execution) is not necessary, because plugin state is derivable from other events. Also, bytes4 does not uniquely identify a function according to the spec - it might be enough depending on the spec implementation's internal storage representation, but not in a general sense.

@fangting-alchemy fangting-alchemy merged commit 074d89a into smart-contract-account-plugins Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants