safe-global / safe-modules

A collection of modules that can be used with the Safe contract
GNU Lesser General Public License v3.0
140 stars 73 forks source link

4337 Benchmark: Alchemy with EntryPoint 0.7.0 #466

Closed mmv08 closed 1 month ago

mmv08 commented 1 month ago

This PR partially #316:

  1. It upgrades Alchemy code to use the v0.7.0 of the entrypoint, including all the alchemy-related packages
  2. I exported all the alchemy-related utils function from src/utils/userOps.ts to alchemy/utils.ts
  3. I also added a special exception for the case where the user operations do not involve account deployment where if the account doesn't have enough stake in the entrypoint from the previous deployment user operation, it will execute a call to depositTo in the entry point and inflate the benchmark numbers. Now, a special case is added with the entrypoint deposit before the user operation submission for all user operations that do not involve a deployment.
coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 10008017937

Details


Totals Coverage Status
Change from base Build 10006957722: 0.0%
Covered Lines: 92
Relevant Lines: 92

💛 - Coveralls