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

Add note about Smart Wallet gas limits to FAQ #101

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

amiecorso
Copy link
Contributor

We recently had a lengthy conversation with a partner whose app uses almost 25 million gas per transaction about the limitations of maximum transaction gas when using smart wallet. These expensive transactions are possible when using an EOA, but not when users have a smart wallet. I learned through investigating that any given bundle is capped at 18 million base gas, to accommodate 4337 meta operation gas (verification, entrypoint calls, postOp steps if using a paymaster, etc.) and conservative gas estimation to avoid the bundle blowing the block gas limit and placing the burden of this failed txn gas on the bundler.

As a developer, this is something that would be very important for me to understand when building an application that supports smart wallet! I think we should add it at least to the FAQs so it's more searchable.

Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
smart-wallet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 1:23am

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Nov 21, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Copy link
Contributor

@eric-ships eric-ships left a comment

Choose a reason for hiding this comment

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

Looks great

@cb-heimdall
Copy link
Collaborator

Review Error for eric-ships @ 2024-11-21 15:24:35 UTC
User failed mfa authentication, see go/mfa-help

@amiecorso amiecorso merged commit fdd183f into main Nov 21, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants