alchemyplatform / rundler

An ERC-4337 Bundler in Rust
GNU Lesser General Public License v3.0
289 stars 43 forks source link

[builder] Add a reverting UO to bundle simulation to exclude execution #903

Open dancoombs opened 2 weeks ago

dancoombs commented 2 weeks ago

Describe the feature We run a final eth_call to handleOps help ensure that our bundle won't revert onchain. Currently we run the entire handleOps, which includes all of the UOs executions.

To improve this, we can add a UO that reverts at the end of the bundle so that we can check to see if any individual UOs revert during validation, without running the full bundles execution.

This should ideally improve latency for a large bundle submission.