Skip to content

Commit

Permalink
Using pnpm node:forking to launch hardhad node with forked mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpar committed Apr 26, 2024
1 parent 97ad079 commit c8cf265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/solidity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:

- name: Run Hardhat Node
run: |
MAINNET_RPC_URL=${{ secrets.MAINNET_CHAIN_API_URL }} pnpm node:forking
MAINNET_RPC_URL=${{ secrets.MAINNET_CHAIN_API_URL }} pnpm node:forking &
while [[ -z $(lsof -i :8545 -t) ]]; do echo "Waiting for port 8545 to be open..."; sleep 10; done
- name: Run Integration Tests
Expand Down

0 comments on commit c8cf265

Please sign in to comment.