Skip to content

Hook fix: Update toKernelPluginManager.ts#259

Open
maxsch-xmint wants to merge 4 commits intozerodevapp:mainfrom
maxsch-xmint:patch-1
Open

Hook fix: Update toKernelPluginManager.ts#259
maxsch-xmint wants to merge 4 commits intozerodevapp:mainfrom
maxsch-xmint:patch-1

Conversation

@maxsch-xmint
Copy link
Copy Markdown

Missing hook forwarding in getPluginsEnableTypedDataV2

Missing hook forwarding
encodeCalls unconditionally wraps calldata with executeUserOp when plugins?.hook is truthy, even during enable flow when the hook isn't installed yet. Fixed by checking isEnabled    
  first.
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.

1 participant