Skip to content

getExecutionData() to Also Include Execution Hooks for Native Account Selectors #221

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

0xrubes
Copy link

@0xrubes 0xrubes commented May 4, 2025

There's a minor bug in the getExecutionData() view function. It will currently not return the execution hooks for the ERC-6900-native account selectors, as executionData.executionHooks is only populated in the case the selector is not an account selector.

Solution is super straight forward, to have executionStorage.executionHooks populated outside of the branch-logic.

Copy link
Collaborator

@howydev howydev left a comment

Choose a reason for hiding this comment

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

good catch! LGTM

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