alchemyplatform / rundler

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

[alloy] Consider DRY of Alloy EntryPointProvider implementations #788

Open dancoombs opened 2 weeks ago

dancoombs commented 2 weeks ago

Describe the feature The 2 (v0.6 and v0.7) Alloy entry point implementations share a lot of common logic. However, many of the onchain contracts/types were redefined slightly between v0.6 and v0.7 that made sharing code between the two difficult.

We should consider an approach to DRY the two implementations.

However, this approach should NOT complicate the interfaces, or make the code more complicated to read/modify. I'm completely fine if the result of this ticket is a no-op close.