From 8856e6122d0fb48ab4c115af15c7afb79294d27b Mon Sep 17 00:00:00 2001 From: Simon-Tl Date: Tue, 27 Jun 2023 17:47:51 +0800 Subject: [PATCH 1/2] upgrade godwoken v1.14.0 --- mainnet_v1/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainnet_v1/docker-compose.yml b/mainnet_v1/docker-compose.yml index edc47e4..7e8707b 100644 --- a/mainnet_v1/docker-compose.yml +++ b/mainnet_v1/docker-compose.yml @@ -8,7 +8,7 @@ volumes: services: gw-readonly: container_name: gw-mainnet_v1-readonly - image: ghcr.io/godwokenrises/godwoken:v1.13.0 + image: ghcr.io/godwokenrises/godwoken:v1.14.0-smt-trie expose: [8119, 8219] healthcheck: test: /bin/gw-healthcheck.sh @@ -56,7 +56,7 @@ services: - mainnet_v1-redis-data:/data web3: - image: ghcr.io/godwokenrises/godwoken-web3-prebuilds:v1.13.0 + image: ghcr.io/godwokenrises/godwoken-web3-prebuilds:v1.14.0 healthcheck: test: curl http://127.0.0.1:8024 || exit 1 volumes: @@ -73,7 +73,7 @@ services: condition: service_healthy web3-indexer: - image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.13.0 + image: ghcr.io/godwokenrises/godwoken-web3-indexer-prebuilds:v1.14.0 volumes: - ./web3-indexer-config.toml:/var/lib/web3-indexer/indexer-config.toml - ./chain-data/logs:/var/lib/web3-indexer/logs From ace10ae9ac93811b5286e1c52da2afbef4a29555 Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Tue, 4 Jul 2023 04:09:55 +0000 Subject: [PATCH 2/2] mainnet_v1: add migration command for SMT trie feature --- mainnet_v1/docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainnet_v1/docker-compose.yml b/mainnet_v1/docker-compose.yml index 7e8707b..7a65e23 100644 --- a/mainnet_v1/docker-compose.yml +++ b/mainnet_v1/docker-compose.yml @@ -26,6 +26,9 @@ services: - RUST_LOG=info command: | bash -c 'set -ex + # migrate command for SMT trie feature, only needs to be run on first activation + godwoken migrate --config /deploy/config.toml | tee -a /mnt/smt-migrate.log + # use this command to rewind the chain to the last valid block, if the node has encountered # some bad blocks accidentally due to e.g. version/configuration differences. # see also: https://github.com/godwokenrises/godwoken/pull/832