Skip to content
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

AA-453: Support EIP-7702 tuples in ERC-4337 bundlers #226

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

forshtat
Copy link
Contributor

No description provided.

packages/bundler/src/BundlerServer.ts Outdated Show resolved Hide resolved
try {
const feeData = await this.provider.getFeeData()
// TODO: estimate is not enough. should trace with validation rules, to prevent on-chain revert.
const type = eip7702Tuples.length > 0 ? TX_TYPE_EIP_7702 : TX_TYPE_EIP_1559
const tx = await this.entryPoint.populateTransaction.handleOps(userOps.map(packUserOp), beneficiary, {
Copy link
Contributor

Choose a reason for hiding this comment

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

this is where the tuples should be sent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please see the code now. You were looking at a partially checked in code.

packages/bundler/src/BundlerServer.ts Outdated Show resolved Hide resolved
@forshtat forshtat changed the title AA-453: (WIP) Support EIP-7702 tuples in ERC-4337 bundlers AA-453: Support EIP-7702 tuples in ERC-4337 bundlers Sep 24, 2024
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