-
Notifications
You must be signed in to change notification settings - Fork 49
zksync factory #170
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
base: main
Are you sure you want to change the base?
zksync factory #170
Conversation
Signed-off-by: Adam Wolf <[email protected]>
| } | ||
|
|
||
| // Create a deterministic clone of the implementation contract | ||
| address instance = address(new ZKProxy{salt: salt}(impl)); |
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.
replaced LibClone
| } | ||
|
|
||
| // Create a non-deterministic clone of the implementation contract | ||
| address instance = address(new ZKProxy(impl)); |
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.
replaced LibClone
| import {LibClone} from "solady/src/utils/LibClone.sol"; | ||
|
|
||
| import {MagicDropCloneFactory} from "../../contracts/factory/MagicDropCloneFactory.sol"; | ||
| import {MagicDropCloneFactory} from "../../contracts/factory/zksync/MagicDropCloneFactory.sol"; |
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.
Should we create a new test file for the zksync factory?
Signed-off-by: Adam Wolf <[email protected]>
Signed-off-by: Adam Wolf <[email protected]>
Signed-off-by: Adam Wolf <[email protected]>
replaced LibClone with ZKProxy
factory

registry; no changes required, but showign tests pass with zksync flag
