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

Görli contracts deployment #214

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Görli contracts deployment #214

wants to merge 11 commits into from

Conversation

nkuba
Copy link
Member

@nkuba nkuba commented Aug 2, 2022

In this PR we add configuration that is needed for Goerli contracts deployment.

Add waitConfirmations to make the deployment smooth on public ethereum
networks.
Configuration needed for deployment on goerli.
We clean up more data
@nkuba nkuba mentioned this pull request Aug 2, 2022
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.
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.
@nkuba nkuba self-assigned this Aug 3, 2022
@@ -24,6 +24,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
contract: "UniswapV2RouterStub",
from: deployer,
log: true,
waitConfirmations: 1,
Copy link
Contributor

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?

Copy link
Member Author

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.

@michalinacienciala
Copy link
Contributor

michalinacienciala commented Aug 16, 2022

I'm getting a failure during execution of deployment scripts (05_deploy_asset_pool.ts) on goerli, see my comments in #215 and #212.

@nkuba
Copy link
Member Author

nkuba commented Aug 17, 2022

I replied in #215 (comment).

@pdyraga
Copy link
Member

pdyraga commented Oct 4, 2022

What is the status of this PR @nkuba @michalinacienciala ?

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.

3 participants