Add note about Smart Wallet gas limits to FAQ #101
Merged
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.
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.