-
Notifications
You must be signed in to change notification settings - Fork 0
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: add deploy script and Dockerfile #1
base: master
Are you sure you want to change the base?
Conversation
networks: { | ||
hardhat: { | ||
allowUnlimitedContractSize: true, | ||
accounts: [ | ||
{ | ||
privateKey: '0x6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1', |
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.
Is this needed? I think default hardhat keys are always the same...
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 wasn't sure about the addresses, and I didn't want to take any chances as building + pushing a fix would take 1hr. This setup we have in the elcollectoorr contracts as well.
# in case the build fails because it cannot download the solidity compilers | ||
# run these commands locally, and comment them out from here. Notice the path! |
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.
This has happened a couple of time already on my local while building the image, with the same error as here: NomicFoundation/hardhat#1280
I haven't encountered it while building without docker.
const { gnosisSafeFactory, gnosisSafeL2, defaultCallbackHandler } = await deploySafeContractDeps(); | ||
const configuredSafeAddress = await deploySafeContract(gnosisSafeL2, gnosisSafeFactory, defaultCallbackHandler); | ||
|
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.
Regardless if used or not, we deploy the contracts. In this way we ensure that the balancer contracts will always have the same address.
No description provided.