-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test Coverage #43
Test Coverage #43
Conversation
* feat: completed call breaker deployment script * feat: added laminator script * feat: deploy script for smarted contract * refactor: formating * feat: added deploy script for SelfCheckout * refactor * fix: format * feat: added crontwoCounter deployment script * refactor: renaming and removing unused variables * feat: added base and sepolia to networks * refactor: removed todo comment
if (owner() != address(0)) { | ||
revert AlreadyInit(); | ||
} | ||
if (_owner == address(0)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we removing these checks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, so there are two reasons here:
- This condition will not occur since we are initialising this through our own Laminator contract
- Even if we do manage to break this, it is initialized using create2 code block which does not revert and emits a
ProxyCreated
event anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, that's fair, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm except for the removed checks on the setters, lmk if that's repetitive and we can merge.
No description provided.