Skip to content

Commit

Permalink
fix MAINNET_RPC_URL empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-CCH committed Jan 23, 2024
1 parent c20e36d commit ea05e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config: HardhatUserConfig = {
initialIndex: 0,
},
forking: {
url: process.env.HTTP_RPC_URL ?? process.env.MAINNET_RPC_URL ?? 'https://eth.llamarpc.com',
url: process.env.HTTP_RPC_URL || process.env.MAINNET_RPC_URL || 'https://eth.llamarpc.com',
blockNumber: process.env.BLOCK_NUMBER ? parseInt(process.env.BLOCK_NUMBER) : undefined,
},
},
Expand Down

0 comments on commit ea05e5a

Please sign in to comment.