Commit 4f7f5d2
committed
refactor(bundler): Use per-op gas calculation like Rundler
- Replace flat ENTRYPOINT_BUFFER_GAS with per-op overhead:
- v0.6: verification_gas + 5k overhead
- v0.7: 10k + paymaster_post_op + 1/63 (63/64ths rule)
- Add BUNDLE_SHARED_GAS (21k) for transaction intrinsic
- Add BUNDLE_TRANSACTION_GAS_OVERHEAD_PERCENT (5%) safety buffer
- Update UserOpGasInfo with paymaster fields and proper gas calculation
- Fix default aa_gas_threshold to 50% for middle-of-block bundles1 parent 36fac2f commit 4f7f5d2
File tree
4 files changed
+416
-141
lines changed- crates/op-rbuilder/src
- args
- bundler
4 files changed
+416
-141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments