-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf!: replace error strings by custom errors + use
enum
for `OPERA…
…TION_TYPE` (#175) * chore: improve docs comments and variable names * refactor!: use enum for operation type * build: add gas reporter configs * refactor!: change revert reason errors with custom errors * refactor: add custom error for ERC725Y + extract error to separate file * chore: apply prettier * chore: remove section comments * refactor: add type casting in events * docs: improve docs for operation type and contract creation * perf: save gas on deployment by removing unused params in internal functions * perf: remove modifier + inline constructor/initializer check for `newOwner != address(0)` * test: add test for contract deployment code not provided * docs: rename variables from `data` to `creationCode` * docs: fix order constructor + runtime code * docs: use term "creationCode" for consistency * revert: use enum for operation type
- Loading branch information
Showing
20 changed files
with
281 additions
and
150 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
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
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
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
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
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
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
Oops, something went wrong.