Commit 0ca17ef5 authored by Mark Tyneway's avatar Mark Tyneway

contracts-periphery: make the network name match contracts

This is required for tooling to work with the migration,
it expects that network names are consistent across packages.
parent eea9a538
...@@ -52,7 +52,7 @@ const config: HardhatUserConfig = { ...@@ -52,7 +52,7 @@ const config: HardhatUserConfig = {
}, },
}, },
companionNetworks: { companionNetworks: {
l1: 'ethereum', l1: 'mainnet',
}, },
}, },
'optimism-kovan': { 'optimism-kovan': {
...@@ -81,7 +81,7 @@ const config: HardhatUserConfig = { ...@@ -81,7 +81,7 @@ const config: HardhatUserConfig = {
l1: 'goerli', l1: 'goerli',
}, },
}, },
ethereum: { mainnet: {
chainId: 1, chainId: 1,
url: `https://mainnet.infura.io/v3/${getenv('INFURA_PROJECT_ID')}`, url: `https://mainnet.infura.io/v3/${getenv('INFURA_PROJECT_ID')}`,
accounts, accounts,
...@@ -164,7 +164,7 @@ const config: HardhatUserConfig = { ...@@ -164,7 +164,7 @@ const config: HardhatUserConfig = {
deployments: { deployments: {
goerli: ['../contracts/deployments/goerli'], goerli: ['../contracts/deployments/goerli'],
kovan: ['../contracts/deployments/kovan'], kovan: ['../contracts/deployments/kovan'],
ethereum: ['../contracts/deployments/mainnet'], mainnet: ['../contracts/deployments/mainnet'],
}, },
}, },
deployConfigSpec: configSpec, deployConfigSpec: configSpec,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment