Skip to content

Commit

Permalink
fix: added checking of GOERLI_ETH_NODE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsen-T committed Jan 8, 2024
1 parent 9e74216 commit 3ce40c3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ const config: HardhatUserConfig = {
ssvToken: process.env.SSVTOKEN_ADDRESS, // if empty, deploy SSV mock token
} as SSVNetworkConfig,
hardhat: {
forking: {
url: process.env.GOERLI_ETH_NODE_URL,
},
forking: process.env.GOERLI_ETH_NODE_URL
? {
url: process.env.GOERLI_ETH_NODE_URL,
// blockNumber can be specified here if needed
}
: undefined,
allowUnlimitedContractSize: true,
},
},
Expand Down

0 comments on commit 3ce40c3

Please sign in to comment.