Skip to content

Commit

Permalink
use DEV_CHAIN_HOST for dev chain
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast committed Oct 19, 2023
1 parent 1757893 commit 67b583d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ const config: HardhatUserConfig = {
localhost: createTestnetConfig("localhost", "http://localhost:8545"),
// dev is still a local chain but it's based on our dev environment
// with hardcoded deterministic addresses for deployed contracts
dev: createTestnetConfig("dev", "http://localhost:8545"),
dev: createTestnetConfig(
"dev",
`http://${process.env.DEV_CHAIN_HOST ?? "localhost"}:8545`
),
hardhat: {
forking: {
url: `${process.env.FORK_RPC_URL}`,
Expand Down

0 comments on commit 67b583d

Please sign in to comment.