kinto-core icon indicating copy to clipboard operation
kinto-core copied to clipboard

Fix KintoInflator

Open ylv-io opened this issue 6 months ago • 3 comments

Description

Before 265418 image

After 138734 image

  • Fixes the bug related to limited byte size for user operations.
  • Reduces the number of lines by 55.
  • Improves gas efficiency for simple UserOperations by 48%, with even greater improvements for larger operations.

Can be gas golfed more with assembly. A good work test for a Solidity dev.

Type of change

  • [x] Bug fix
  • [ ] New feature
  • [ ] Breaking change
  • [ ] Dependency changes
  • [ ] Deployment
  • [ ] Forge Script
  • [ ] Code refactor / cleanup
  • [ ] Documentation or wording changes
  • [ ] Other

Checklist:

  • [x] The diff is legible and has no extraneous changes
  • [x] Complex code has been commented, including external interfaces
  • [x] Tests have 100% code coverage
  • [x] The base branch is either main, or there's a description of how to merge

Issue Resolution

ylv-io avatar Aug 17 '24 17:08 ylv-io