Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Bound estimated gas limit before relaying a bundle txn.#339

Open
wanliqun wants to merge 1 commit intostackup-wallet:mainfrom
wanliqun:upstream-bound-estimated-gaslimit-for-bundle-txn
Open

Bound estimated gas limit before relaying a bundle txn.#339
wanliqun wants to merge 1 commit intostackup-wallet:mainfrom
wanliqun:upstream-bound-estimated-gaslimit-for-bundle-txn

Conversation

@wanliqun
Copy link

We should bound the estimated gas limit before relaying a bundle txn:

Estimated gas limit for a bundle transaction should be no less than the total gas limit, otherwise this transaction may be failed due to out of gas.
Also, bundler could lose money if estimated gas limit exceeds the sum of gas limits for all user operations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant