Merged
Conversation
…769 (#2858) * fix(pimlico): send EIP-7702 authorization as separate field per ERC-7769 The authorization was incorrectly encoded in factoryData. Per ERC-7769, eip7702Auth must be a separate field in the UserOperation JSON. - Add eip7702Auth field to UserOperationV07 interface - Send authorization as separate eip7702Auth field instead of factoryData - Set factoryData to '0x' (used for storage init, not auth) * fix(pimlico): update EIP-7702 UserOperation format for Pimlico bundler - Use EntryPoint v0.8 (required for EIP-7702) - Use correct EIP-7702 factory marker (0x7702... right-padded) - Pass eip7702Auth as separate field with 'contractAddress' key - Remove factoryData param (not needed for EIP-7702) * fix(pimlico): remove unused EIP7702_FACTORY constant * fix(pimlico): improve EIP-7702 UserOperation structure - Remove dead code: encodeAuthorizationAsFactoryData (no longer used) - Rename UserOperationV07 to UserOperationV08 for clarity - Include eip7702Auth BEFORE gas estimation (was added after) - This ensures Pimlico bundler can properly estimate gas with the authorization context
* fix: swap result for cBTC * fix: include L1 fee
davidleomay
approved these changes
Jan 30, 2026
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.
Automatic Release PR
This PR was automatically created after changes were pushed to develop.
Commits: 1 new commit(s)
Checklist