Commit 941ae589 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #5814 from ethereum-optimism/fix/hh-config

sdk: update to add mainnet network in hh config
parents 2d22fd7a c4501402
...@@ -15,6 +15,12 @@ const config: HardhatUserConfig = { ...@@ -15,6 +15,12 @@ const config: HardhatUserConfig = {
sources: './test/contracts', sources: './test/contracts',
}, },
networks: { networks: {
mainnet: {
url: process.env.L1_RPC || 'https://mainnet-l1-rehearsal.optimism.io',
accounts: [
'ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80',
],
},
devnetL1: { devnetL1: {
url: 'http://localhost:8545', url: 'http://localhost:8545',
accounts: [ accounts: [
...@@ -43,6 +49,10 @@ const config: HardhatUserConfig = { ...@@ -43,6 +49,10 @@ const config: HardhatUserConfig = {
}, },
], ],
deployments: { deployments: {
mainnet: [
'../contracts/deployments/mainnet',
'../contracts-bedrock/deployments/mainnet',
],
hivenet: ['../contracts-bedrock/deployments/hivenet'], hivenet: ['../contracts-bedrock/deployments/hivenet'],
devnetL1: ['../contracts-bedrock/deployments/devnetL1'], devnetL1: ['../contracts-bedrock/deployments/devnetL1'],
goerli: [ goerli: [
......
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