getwax / wax

Wallet Account eXperiments Monorepo
MIT License
26 stars 13 forks source link

Update BLS + Compression to ERC-4337 >= v0.7.0 #253

Open jacque006 opened 3 months ago

jacque006 commented 3 months ago

With the release of ERC-4337 v0.7.0, the BLS + Compression work (Contracts, tests, utilities, demo) should be updated to the latest 4337 version. The bulk of this work will likely be updating the compression logic for changes to UserOp fields.

This is a low priority item as proto-danksharding (EIP-4844) has made rollup data availability costs (blobs) extremely cheap. This would become higher priority if blob fees significantly increased.

Relevant PRs:

Previous issue & additional context:

jacque006 commented 3 months ago

@voltrevo Any additional details/context that should be added to this?

voltrevo commented 3 months ago

@jacque006

I think the modifications to make it work would be fairly small, in particular there's a change to the shape of UserOperation.

For the bundler, merging/rebasing the changes from 0.6 to 0.7 could be challenging. It might be better to just spend some time grokking the changes that were made and independently applying them to 0.7. Having a look at the merge conflicts first might be worth trying though.