Skip to content

Conversation

@wolfy-nft
Copy link
Contributor

@wolfy-nft wolfy-nft commented Jan 23, 2025

replaced LibClone with ZKProxy

factory
Screenshot 2025-01-23 at 6 47 17 PM

registry; no changes required, but showign tests pass with zksync flag
Screenshot 2025-01-23 at 6 49 23 PM

Signed-off-by: Adam Wolf <[email protected]>
}

// Create a deterministic clone of the implementation contract
address instance = address(new ZKProxy{salt: salt}(impl));
Copy link
Contributor Author

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));
Copy link
Contributor Author

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";

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants