Skip to content

Commit

Permalink
Fix default env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Oct 25, 2022
1 parent 8c5c21e commit d8d271b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const config: HardhatUserConfig = {
hardhat: {
forking: {
enabled: true,
url: `https://${process.env.NETWORK}.g.alchemy.com/v2/${process.env.ALCHEMY_KEY}`,
blockNumber: Number(process.env.BLOCK_NUMBER ?? 15_500_000),
url: `https://${process.env.NETWORK || "eth-mainnet"}.g.alchemy.com/v2/${process.env.ALCHEMY_KEY}`,
blockNumber: Number(process.env.BLOCK_NUMBER || 15_500_000),
},
},
},
Expand Down

0 comments on commit d8d271b

Please sign in to comment.