-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat(create2): allow to set ifExists = "continue" #1372
Conversation
|
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.
One potential problem with this setup is that it doesn't allow for the simultaneous setting of the create2 contract address and the no strict option. It makes me feel like we need to have a separate arg all together
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.
more descriptive comment
packages/builder/src/steps/deploy.ts
Outdated
@@ -278,7 +278,7 @@ const deploySpec = { | |||
if (config.create2) { | |||
const arachnidDeployerAddress = await ensureArachnidCreate2Exists( | |||
runtime, | |||
typeof config.create2 === 'string' ? (config.create2 as viem.Address) : ARACHNID_DEFAULT_DEPLOY_ADDR |
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.
i think the previous condition here was better
fbf932d
to
9309a9e
Compare
closes https://linear.app/usecannon/issue/CAN-518/add-option-to-create-a-non-strict-create2-deploy-step