-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Calculate gas values for UserOperations and add comments.
- Added functionality to calculate the pre-verification gas of a UserOperation - Added comments explaining the calculation of `word_cost` and `fixed_divided_by_bundle_size` in the utils.rs file - Implemented helper functions to calculate the valid gas and call gas limit of a UserOperation
- Loading branch information
Showing
1 changed file
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters