Skip to content

Commit

Permalink
feat: support exporting sepolia and ethereum deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Nov 17, 2023
1 parent 33f92fc commit db0ef9c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,11 @@ jobs:
run: |
yarn hardhat export --network bsctestnet --export ./deployments/bsctestnet.json
yarn hardhat export --network bscmainnet --export ./deployments/bscmainnet.json
yarn hardhat export --network sepolia --export ./deployments/sepolia.json
yarn hardhat export --network ethereum --export ./deployments/ethereum.json
yarn prettier
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "feat: updating deployment files"
commit_message: "feat: updating deployment files"
file_pattern: "deployments/*.json"
12 changes: 12 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,18 @@ const config: HardhatUserConfig = {
mnemonic: process.env.MNEMONIC || "",
},
},
sepolia: {
url: process.env.RPC_URL || "https://rpc.notadegen.com/eth/sepolia",
chainId: 11155111,
live: true,
gasPrice: 20000000000, // 20 gwei
},
ethereum: {
url: process.env.ETHEREUM_ARCHIVE_NODE_URL || "https://eth-mainnet.public.blastapi.io",
chainId: 1,
live: true,
timeout: 1200000, // 20 minutes
},
},
gasReporter: {
enabled: process.env.REPORT_GAS !== undefined,
Expand Down

0 comments on commit db0ef9c

Please sign in to comment.