Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom errors and Gas optimizations (#1) #216

Closed
wants to merge 4 commits into from
Closed

Conversation

rya-sge
Copy link
Collaborator

@rya-sge rya-sge commented Aug 4, 2023

  • For loops and function arguments optimization in SnapshotModule
  • Substitute require statements with custom errors
    This task is made of these following subtasks:
    -- [x] Substitute require statements with custom errors inside the solidity code
    -- [x] Update the OpenZeppelin version to the latest commit
    --- [x] The internal function from OpenZeppelin _beforeTokenTransfer is replaced by _update
    --- [x] The forwarder from OpenZeppelin used in mock have also several improvements, requiring to update the tests.
    -- [ ] Update the tests to check the custom errors

Closes #188 , #133

Closes #131, #61

* For loops and function arguments optimization
* Substitute require statements with custom errors
@rya-sge rya-sge added the enhancement New feature or request label Aug 4, 2023
@rya-sge rya-sge self-assigned this Aug 4, 2023
…idity version to 0.8.20, update code and test for MetaTxModule, replace _beforeTokenTransfer by _update
@rya-sge
Copy link
Collaborator Author

rya-sge commented Aug 15, 2023

Replaced by #217

@rya-sge rya-sge closed this Aug 15, 2023
@rya-sge rya-sge deleted the custom-errorsV2 branch January 18, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants