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

chore: update headings #175

Merged
merged 2 commits into from
Aug 30, 2024
Merged

chore: update headings #175

merged 2 commits into from
Aug 30, 2024

Conversation

fangting-alchemy
Copy link
Collaborator

Motivation

Some of the sections headings under specification were wrong.

Solution

Fix and improve heading under specification.

During validation uninstallation, the account MUST correctly clear flags and other fields based on the incoming data provided by the user.

- the account MUST clear all flags for the validation function, like `isGlobal`, `isSignatureValidation`, and `isUserOpValidation`.
- the account MUST remomve all hooks and SHOULD clear hook module states by calling `onUninstall` with the user-provided data for each hook, including both pre validation hooks and permission hooks, if required by user.
- the account MUST remove all selectors that the validation function can validate.
- the account MUST emit `ValidationUninstalled` as defined in the interface for all uninstalled validations.

#### Execution and their installation /uninstallation
### Execution and their installation /uninstallation
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
### Execution and their installation /uninstallation
### Execution and Their Installation/Uninstallation

@@ -527,7 +533,7 @@ During execution uninstallation, the account MUST correctly clear flags and othe
- the account SHOULD call `onUnInstall` on the execution module to initialize the states and track call success if required by user.
- the account MUST emit `ExecutionUninstalled` as defined in the interface for all uninstalled executions.

#### Hook execution order
### Hook execution order
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
### Hook execution order
### Hook Execution Order

@fangting-alchemy fangting-alchemy merged commit 800a427 into develop Aug 30, 2024
3 checks passed
@fangting-alchemy fangting-alchemy deleted the final branch August 30, 2024 20:38
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