Skip to content

[simplex]: fix verification-gas efficiency rejection on sponsored vault sweep/redeem#986

Open
royvardhan wants to merge 2 commits into
mainfrom
roy/sweep-redeem-gas-limits
Open

[simplex]: fix verification-gas efficiency rejection on sponsored vault sweep/redeem#986
royvardhan wants to merge 2 commits into
mainfrom
roy/sweep-redeem-gas-limits

Conversation

@royvardhan

Copy link
Copy Markdown
Collaborator

Sponsored vault sweep/redeem UserOps were rejected by the Alchemy bundler ("Verification gas limit efficiency too low. Required: 0.4, Actual: 0.20") and fell back to native txs, paying gas in ETH instead of USDC.

Root cause: the sweep/redeem path used the 200k Circle paymaster verification default. The bundler echoes input gas limits for these ops rather than simulating, so the verification-gas efficiency ratio used / (accountVerif + paymasterVerif) fell below rundler's 0.4 floor.

Fix: pass measured fixed gas limits for these ops instead of relying on the default. Measured on Base via the bundler — account validation ~24k, Circle paymaster verification ~75k (the dominant term) — set to account 60k, paymaster 140k, with callGas scaled by batch size. Predicted efficiency 0.49.

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.

1 participant