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

Fix initcode is not always array and prevent incompatible hardhat and ethers verions #102

Merged
merged 7 commits into from
Dec 30, 2022

Conversation

asgeir-s
Copy link
Contributor

@asgeir-s asgeir-s commented Dec 23, 2022

Fix bug: we assumed that the init code is always an array, but it can also be a string.

Fix: Make sure that compatible versions of hardhat and ethers are used.

Fix: Use preexisting initCode and salt for deploying the ModuleFactory.

To make sure that an incompatible version is not used.
Bothe for consistency and so that we can use deployModuleFactory from other project that import the zodiac package
src/factory/singletonFactory.ts Outdated Show resolved Hide resolved
src/factory/mastercopyDeployer.ts Show resolved Hide resolved
src/factory/deployModuleFactory.ts Outdated Show resolved Hide resolved
src/factory/deployModuleFactory.ts Show resolved Hide resolved
cristovaoth
cristovaoth previously approved these changes Dec 30, 2022
@asgeir-s asgeir-s merged commit 4387adc into master Dec 30, 2022
@asgeir-s asgeir-s deleted the fix-ArrayLike-is-not-Array branch December 30, 2022 12:36
@github-actions github-actions bot locked and limited conversation to collaborators Dec 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants