Commit 0a5ca8bf authored by Ben Wilson's avatar Ben Wilson Committed by GitHub

Deployment for bedrock contracts on goerli (#2783)

* Deployment for bedrock contracts on goerli

* Added changeset

* Use single quotes
Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent a320e744
---
'@eth-optimism/contracts-bedrock': patch
---
Deployment for bedrock contracts on goerli
...@@ -50,6 +50,8 @@ Create a file that corresponds to the network name in the `deploy-config` ...@@ -50,6 +50,8 @@ Create a file that corresponds to the network name in the `deploy-config`
directory and then run the command: directory and then run the command:
```shell ```shell
L1_RPC=<ETHEREUM L1 RPC endpoint> \
PRIVATE_KEY_DEPLOYER=<PRIVATE KEY TO PAY FOR THE DEPLOYMENT> \
npx hardhat deploy --network <network-name> npx hardhat deploy --network <network-name>
``` ```
......
import { ethers } from 'ethers'
const config = {
submissionInterval: 6,
l2BlockTime: 2,
genesisOutput: ethers.constants.HashZero,
historicalBlocks: 0,
startingBlockTimestamp: 1652907966,
sequencerAddress: '0x7431310e026B69BFC676C0013E12A1A11411EEc9',
}
export default config
...@@ -34,6 +34,13 @@ const config: HardhatUserConfig = { ...@@ -34,6 +34,13 @@ const config: HardhatUserConfig = {
'ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80', 'ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80',
], ],
}, },
goerli: {
chainId: 5,
url: (process.env.L1_RPC || ''),
accounts: [
(process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero),
],
},
}, },
paths: { paths: {
deploy: './deploy', deploy: './deploy',
......
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