-
Notifications
You must be signed in to change notification settings - Fork 16
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
Görli contracts deployment #214
base: main
Are you sure you want to change the base?
Conversation
Add waitConfirmations to make the deployment smooth on public ethereum networks.
Configuration needed for deployment on goerli.
We clean up more data
Use more recent versions of hardhat packages.
We want to be able to configure private keys to multiple accounts for example on goerli network to be able to run initialization scripts. With this change we expect the environment property to define one or more private keys separated with a comma (`,`). The change is made also to the variable name, to better reflect the meaning.
This reverts commit 1d92e3d.
For tests we don't want to start nammed accounts with 0 as this is a default account used by the provider and may cause some false-positive results. We explicitly start with 1.
Update plugins to the latest versions.
@@ -24,6 +24,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { | |||
contract: "UniswapV2RouterStub", | |||
from: deployer, | |||
log: true, | |||
waitConfirmations: 1, |
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.
Out of curiosity - why don't we add the same for deployments in the earlier scripts?
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.
We use stubs on the hardhat network for unit tests and it works stable there.
I replied in #215 (comment). |
What is the status of this PR @nkuba @michalinacienciala ? |
In this PR we add configuration that is needed for Goerli contracts deployment.