mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
use normal
This commit is contained in:
parent
d2d60c2b48
commit
9a42aeb8de
2 changed files with 7 additions and 7 deletions
10
.github/workflows/ci-deploy.yaml
vendored
10
.github/workflows/ci-deploy.yaml
vendored
|
|
@ -77,10 +77,14 @@ jobs:
|
|||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-latest,${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-${{ steps.autotag.outputs.tag }}
|
||||
labels: ${{ steps.metadata.outputs.labels }}
|
||||
|
||||
- name: Stop Geth Devnet
|
||||
run: |
|
||||
docker compose down
|
||||
|
||||
- name: Start Contracts Geth Devnet
|
||||
run: |
|
||||
docker run -d \
|
||||
-p 8546:8545 \
|
||||
-p 8545:8545 \
|
||||
-p 30303:30303 \
|
||||
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-latest \
|
||||
--dev \
|
||||
|
|
@ -91,8 +95,8 @@ jobs:
|
|||
- name: Wait for Contracts Geth JSON-RPC
|
||||
run: |
|
||||
echo "Waiting for Contracts Geth to be ready..."
|
||||
until curl -s http://localhost:8546; do sleep 1; done
|
||||
until curl -s http://localhost:8545; do sleep 1; done
|
||||
|
||||
- name: Test Contracts
|
||||
working-directory: ./hardhat
|
||||
run: npx hardhat test test/Lock.ts --network localcontracts
|
||||
run: npx hardhat test test/Lock.ts --network local
|
||||
|
|
|
|||
|
|
@ -8,10 +8,6 @@ const config: HardhatUserConfig = {
|
|||
url: "http://127.0.0.1:8545",
|
||||
chainId: 1337
|
||||
},
|
||||
localcontracts: {
|
||||
url: "http://127.0.0.1:8546",
|
||||
chainId: 1337
|
||||
},
|
||||
node: {
|
||||
url: "http:127.0.0.1:8545",
|
||||
chainId: 31337
|
||||
|
|
|
|||
Loading…
Reference in a new issue