Skip to content

Conversation

@github-actions
Copy link

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

…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 davidleomay merged commit f042bf5 into main Jan 30, 2026
11 checks passed
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