Skip to content

Commit d00cabb

Browse files
committed
fix: build issues
1 parent c4108c6 commit d00cabb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

hardhat.config.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ const config: HardhatUserConfig = {
5454
chainId: 30,
5555
accounts: getAccounts("mainnet"),
5656
},
57-
tenderly: {
58-
url: process.env.FORK_NETWORK_URL,
59-
chainId: 30,
60-
timeout: rpcDefaultTimeout,
61-
},
57+
...(process.env.FORK_NETWORK_URL && {
58+
tenderly: {
59+
url: process.env.FORK_NETWORK_URL,
60+
chainId: 30,
61+
timeout: rpcDefaultTimeout,
62+
},
63+
}),
6264
hardhat: {
6365
...(forkEnabled
6466
? {

0 commit comments

Comments
 (0)