diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index a3edee1..f5c6647 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,13 +3,13 @@ ## Release notes - Godwoken Web3 - https://github.com/nervosnetwork/godwoken-web3/releases + https://github.com/godwokenrises/godwoken-web3/releases - Godwoken - https://github.com/nervosnetwork/godwoken/releases + https://github.com/godwokenrises/godwoken/releases - Scripts - https://github.com/nervosnetwork/godwoken-scripts/releases + https://github.com/godwokenrises/godwoken-scripts/releases - Polyjuice - https://github.com/nervosnetwork/godwoken-polyjuice/releases + https://github.com/godwokenrises/godwoken-polyjuice/releases ## Changed Configs @@ -18,16 +18,9 @@ diff --git a/.github/workflows/readonly-node-sync.yml b/.github/workflows/readonly-node-sync.yml index 2cb0d66..868d46b 100644 --- a/.github/workflows/readonly-node-sync.yml +++ b/.github/workflows/readonly-node-sync.yml @@ -94,7 +94,7 @@ jobs: script: | const { getTipBlockNumber } = require("./godwoken-tests/scripts/helper"); const sleep = ms => new Promise(resolve => setTimeout(resolve, ms)); - const PUBLIC_WEB3_RPC='https://godwoken-testnet-v1.ckbapp.dev'; + const PUBLIC_WEB3_RPC='https://v1.testnet.godwoken.io/rpc'; let isSyncedToTip = false; while (!isSyncedToTip) { await sleep(6666); diff --git a/testnet_v1_1/docker-compose.yml b/testnet_v1_1/docker-compose.yml index 5f5497b..4e2f277 100644 --- a/testnet_v1_1/docker-compose.yml +++ b/testnet_v1_1/docker-compose.yml @@ -1,13 +1,17 @@ # Requires docker-compose >= 1.29.0 version: '3.9' +volumes: + testnet_v1-web3-indexer-data: + testnet_v1-redis-data: + services: # Note: To achieve higher sync speed, please run your own ckb-testnet-node and ckb-testnet-indexer, # and update [rpc_client] in gw-testnet_v1-config-readonly.toml. # see: https://docs.nervos.org/docs/basics/guides/run-ckb-with-docker#run-a-ckb-testnet-node gw-readonly: container_name: gw-testnet_v1-readonly - image: ghcr.io/godwokenrises/godwoken-prebuilds:1.7.1-poly1.5.0 + image: ghcr.io/godwokenrises/godwoken-prebuilds:1.7.3 expose: [8119, 8219] healthcheck: test: /bin/gw-healthcheck.sh @@ -37,16 +41,16 @@ services: POSTGRES_USER: your_db_user_name POSTGRES_PASSWORD: your_password volumes: - - ./chain-data/postgresql/data:/var/lib/postgresql/data + - testnet_v1-web3-indexer-data:/var/lib/postgresql/data redis: image: redis:bullseye user: redis:redis volumes: - - ./chain-data/redis-data:/data + - testnet_v1-redis-data:/data web3: - image: ghcr.io/godwokenrises/godwoken-web3-prebuilds:v1.8.6 + image: ghcr.io/godwokenrises/godwoken-web3-prebuilds:v1.9.0 healthcheck: test: curl http://127.0.0.1:8024 || exit 1 volumes: @@ -63,13 +67,20 @@ services: condition: service_healthy web3-indexer: - image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.8.6 + image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.9.0 volumes: - ./web3-indexer-config.toml:/var/lib/web3-indexer/indexer-config.toml + - ./chain-data/logs:/var/lib/web3-indexer/logs + # How to re-sync web3-indexer at /var/lib/web3-indexer/ ? + # ➜ nohup gw-web3-indexer update > logs/web3-indexer-update.log 2>&1 & + # or + # ➜ nohup gw-web3-indexer update > logs/web3-indexer-update.log 2>&1 & + # refer to: https://github.com/godwokenrises/godwoken-web3/blob/main/README.md#update-blocks working_dir: /var/lib/web3-indexer command: [ "gw-web3-indexer" ] environment: - RUST_LOG=info + restart: unless-stopped depends_on: web3: condition: service_healthy