Skip to content

Commit 0dc47ce

Browse files
committed
change network for core tests
1 parent 53bd54f commit 0dc47ce

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/core_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
tests-runner:
2525
image: ghcr.io/lidofinance/scripts:v21
2626
ports:
27-
- 8546:8546
27+
- 8545:8545
2828
volumes:
2929
- ${{ github.workspace }}:/root/scripts
3030
options: >-
@@ -40,16 +40,16 @@ jobs:
4040
CORE_BRANCH: develop
4141

4242
- name: Run node
43-
run: docker exec -e ETH_RPC_URL --detach tests-runner bash -c 'NODE_PORT=8546 make node'
43+
run: docker exec -e ETH_RPC_URL --detach tests-runner bash -c 'NODE_PORT=8545 make node'
4444
env:
4545
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }}
4646

4747
- name: Check that the fork is ready
4848
shell: bash
4949
run: |
50-
echo "Waiting for fork node on 127.0.0.1:8546..."
50+
echo "Waiting for fork node on 127.0.0.1:8545..."
5151
for i in {1..30}; do
52-
if (echo > /dev/tcp/127.0.0.1/8546) >/dev/null 2>&1; then
52+
if (echo > /dev/tcp/127.0.0.1/8545) >/dev/null 2>&1; then
5353
echo "Fork is ready ✅"
5454
exit 0
5555
fi
@@ -68,4 +68,4 @@ jobs:
6868
- name: Run core tests
6969
run: docker exec -e CORE_TESTS_TARGET_RPC_URL tests-runner bash -c 'make test-core'
7070
env:
71-
CORE_TESTS_TARGET_RPC_URL: http://127.0.0.1:8546
71+
CORE_TESTS_TARGET_RPC_URL: http://127.0.0.1:8545

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ slots:
103103
@rm -f slots.ts
104104

105105
ci-prepare-environment:
106-
poetry run brownie run scripts/ci/prepare_environment --network $(SECONDARY_NETWORK)
106+
poetry run brownie run scripts/ci/prepare_environment --network mfh-1
107107

108108
enact-fork:
109109
poetry run brownie run $(vote) start_and_execute_vote_on_fork_manual --network=mfh-1

0 commit comments

Comments
 (0)