Skip to content

Commit 23f9017

Browse files
committed
fix(ci): use official lotus image for devnet check
1 parent de39853 commit 23f9017

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

scripts/devnet/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LOTUS_IMAGE=ghcr.io/chainsafe/lotus-devnet:2025-09-08-b9a0bb4
1+
LOTUS_IMAGE=filecoin/lotus-all-in-one:v1.34.3-2k
22
FOREST_DATA_DIR=/forest_data
33
LOTUS_DATA_DIR=/lotus_data
44
FIL_PROOFS_PARAMETER_CACHE=/var/tmp/filecoin-proof-parameters

scripts/devnet/docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ services:
5151
lotus_init:
5252
condition: service_completed_successfully
5353
healthcheck:
54-
test: >-
55-
curl -s -x post -h "content-type: application/json"
56-
--data '{ "jsonrpc": "2.0", "method": "filecoin.chainhead", "params": [], "id": 1 }'
57-
http://lotus_node:${LOTUS_RPC_PORT}/rpc/v0 || exit 1
54+
test: |
55+
export FULLNODE_API_INFO="/ip4/127.0.0.1/tcp/${LOTUS_RPC_PORT}/http"
56+
lotus chain head || exit 1
5857
interval: 10s
5958
retries: 10
6059
timeout: 5s

0 commit comments

Comments
 (0)