feat: introduce ScopedExecutionHook - #60
Open
leekt wants to merge 19 commits into
Open
Conversation
leekt
force-pushed
the
feat/permission-hook-module-type
branch
2 times, most recently
from
August 5, 2026 00:51
e4ecad4 to
1b86de0
Compare
leekt
force-pushed
the
feat/permission-hook-module-type
branch
4 times, most recently
from
August 5, 2026 10:14
5a6c453 to
8b21813
Compare
leekt
changed the base branch from
fix/audit-batch-enable-install-factory-nonce-validity-format
to
v0.4.0
August 5, 2026 10:18
Remove generic type-4 hooks, hook registration storage, sentinel-based installation state, and embedded hook configuration from validations, executors, and fallback selectors.
Remove stateless ERC-1271 module installation and the validation-mode signature byte. Structured signatures now begin with their validation type while ERC-4337 enable mode remains supported.
Add type-11 hooks scoped to validations, executors, and selectors, with explicit scoped identifiers and lifecycle checks. Route hooked validation execution through executeUserOp and prevent direct validation reentry.
Replace generic-hook coverage with validation-, executor-, and selector-scoped lifecycle and execution tests. Update formal harnesses, invariants, mocks, and gas snapshots for the scoped model.
Replace stateless enable-mode coverage with the validation-type-first structured signature format and Kernel7702 raw-signature cases. Remove obsolete stateless validators and formal tests, and differentially fuzz Lib4337 validity handling against EntryPoint v0.9.
leekt
force-pushed
the
feat/permission-hook-module-type
branch
from
August 5, 2026 10:21
8b21813 to
8b08d55
Compare
Restore the v0.4.0 entry-point gate on fallback selectors that have no scoped execution hook installed. Installing a type-11 selector-scoped execution hook makes a selector publicly callable; without one only the entry point may route to it. Update tests to install scoped hooks where public access is asserted, add a regression test and halmos proofs for the gate, and document the access control in the README.
leekt
added a commit
that referenced
this pull request
Sep 2, 2026
leekt
force-pushed
the
feat/permission-hook-module-type
branch
from
September 2, 2026 08:36
1184bb8 to
bda40bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.