Skip to content

Commit

Permalink
update (#11177)
Browse files Browse the repository at this point in the history
  • Loading branch information
nidz-the-fact authored Jul 18, 2024
1 parent b7f8188 commit 5be9141
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/devnet-tasks/.example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PRIVATE_KEY_DEPLOYER=
L1_RPC=
9 changes: 9 additions & 0 deletions packages/devnet-tasks/hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'dotenv/config'
import { HardhatUserConfig } from 'hardhat/types'
import { ethers } from 'ethers'

Expand Down Expand Up @@ -55,6 +56,10 @@ const config: HardhatUserConfig = {
url: process.env.L1_RPC || '',
accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero],
},
sepolia: {
url: process.env.L1_RPC || '',
accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero],
},
},
external: {
contracts: [
Expand All @@ -73,6 +78,10 @@ const config: HardhatUserConfig = {
'../contracts-bedrock/deployments/goerli',
'../contracts/deployments/goerli',
],
sepolia: [
'../contracts-bedrock/deployments/sepolia',
'../contracts/deployments/sepolia',
],
},
},
}
Expand Down
3 changes: 2 additions & 1 deletion packages/devnet-tasks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
},
"dependencies": {
"@eth-optimism/core-utils": "^0.13.2",
"@eth-optimism/sdk": "^3.3.2"
"@eth-optimism/sdk": "^3.3.2",
"dotenv": "^16.4.5"
},
"peerDependencies": {
"ethers": "^5"
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5be9141

Please sign in to comment.