Skip to content

Conversation

@adam-alchemy
Copy link
Contributor

Motivation

The ERC-6900 spec has a (somewhat) ambiguous comment about which hooks should be run, because it implies a special casing for uninstallPlugin specifically. The behavior described there should apply to all execution functions.

Solution

Expand that note into two sentences and clarify that it applies to all execution functions, along with some rationale.

Note that this does not fully extend the requirement to load all account state that is used, it specifically only requires it for hooks, as it was before.

We should consider extending this requirement to the validation and execution functions themselves.

Copy link
Collaborator

@jaypaik jaypaik left a comment

Choose a reason for hiding this comment

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

lgtm!

Base automatically changed from 01-22-feat_update_spec_for_v0.7.0 to main January 24, 2024 22:33
@jaypaik jaypaik force-pushed the adam/expand-hook-spec branch from 7272c0c to fc9de69 Compare January 24, 2024 22:41
@jaypaik jaypaik force-pushed the adam/expand-hook-spec branch from fc9de69 to 3b85fa1 Compare January 24, 2024 22:49
@jaypaik jaypaik merged commit a178bd4 into main Jan 24, 2024
@jaypaik jaypaik deleted the adam/expand-hook-spec branch January 24, 2024 22:50
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.

4 participants