From 18e65ceb7e862591b8d49bad5d7d9a1011c24eae Mon Sep 17 00:00:00 2001 From: Daithi Hearn Date: Tue, 9 Jun 2026 16:29:42 +0200 Subject: [PATCH 1/2] chore: switch indexer/api defaults to Docker Hub tag 6 Use vechain/indexer:6 and vechain/indexer-api:6 from Docker Hub as the default images, replacing the ghcr.io references. Bumps version to 0.3.1. Co-Authored-By: Claude Opus 4.7 (1M context) --- AGENTS.md | 2 +- README.md | 4 ++-- compose/indexer.yaml | 4 ++-- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 815d0b3..08e8e8a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -59,7 +59,7 @@ Two things consumers depend on. Any change here is a breaking change for every d - **Address book is the only contract for inter-project state.** The shape of `~/.vechain-dev/config/.json` (`{ project, profiles, addresses, updatedAt }`) is load-bearing — changing it changes the contract every consumer has already written against. - **Spring profile names live in consumer projects.** When adding a new profile-keyed start-block env var to the indexer, append it to `SOLO_START_BLOCKS` in `lib/addressBook.mjs` so its cursor defaults to `0` for solo. - **Container/service names are stable identifiers** (`thor-solo`, `mongo-node1`, `vechain-indexer`, `vechain-indexer-api`, `block-explorer`). The CLI references them by name; don't rename without updating every callsite. -- **Images are pinned via env var with a default tag** in each compose file (e.g. `${VECHAIN_DEV_INDEXER_IMAGE:-ghcr.io/vechain/vechain-indexer/indexer:6.28}`). Bump the default tag when intentionally upgrading. +- **Images are pinned via env var with a default tag** in each compose file (e.g. `${VECHAIN_DEV_INDEXER_IMAGE:-vechain/indexer:6}`). Bump the default tag when intentionally upgrading. ## Testing diff --git a/README.md b/README.md index 325db6d..3a94db2 100644 --- a/README.md +++ b/README.md @@ -138,8 +138,8 @@ All optional, all read from the environment: | `VECHAIN_DEV_THOR_API_CORS` | `*` | `--api-cors` | | `VECHAIN_DEV_GENESIS` | bundled `solo.default.json` | mounted genesis file | | `VECHAIN_DEV_HOME` | `~/.vechain-dev` | state directory | -| `VECHAIN_DEV_INDEXER_IMAGE` | `ghcr.io/vechain/vechain-indexer/indexer:6.31.5` | indexer image | -| `VECHAIN_DEV_INDEXER_API_IMAGE` | `ghcr.io/vechain/vechain-indexer/api:6.31.5` | indexer-api image | +| `VECHAIN_DEV_INDEXER_IMAGE` | `vechain/indexer:6` | indexer image | +| `VECHAIN_DEV_INDEXER_API_IMAGE` | `vechain/indexer-api:6` | indexer-api image | | `VECHAIN_DEV_EXPLORER_IMAGE` | `ghcr.io/vechain/block-explorer:2.41.0` | block-explorer image | These work for both `vechain-dev solo up` and `vechain-dev up`. diff --git a/compose/indexer.yaml b/compose/indexer.yaml index 7d8b135..0f9df90 100644 --- a/compose/indexer.yaml +++ b/compose/indexer.yaml @@ -43,7 +43,7 @@ services: - vechain-thor vechain-indexer: - image: ${VECHAIN_DEV_INDEXER_IMAGE:-ghcr.io/vechain/vechain-indexer/indexer:6.31.5} + image: ${VECHAIN_DEV_INDEXER_IMAGE:-vechain/indexer:6} container_name: vechain-indexer depends_on: mongo-setup: @@ -61,7 +61,7 @@ services: - vechain-thor vechain-indexer-api: - image: ${VECHAIN_DEV_INDEXER_API_IMAGE:-ghcr.io/vechain/vechain-indexer/api:6.31.5} + image: ${VECHAIN_DEV_INDEXER_API_IMAGE:-vechain/indexer-api:6} container_name: vechain-indexer-api depends_on: mongo-setup: diff --git a/package.json b/package.json index e227bf3..efcc9e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vechain/dev-stack", - "version": "0.3.0", + "version": "0.3.1", "description": "Shared local dev environment for VeChain projects: thor-solo + indexer + block-explorer, with per-project address registration.", "license": "MIT", "author": "VeChain", From c9c0291eb9a6e7db32bfefe940b21be41f359563 Mon Sep 17 00:00:00 2001 From: Daithi Hearn <37153003+daithihearn@users.noreply.github.com> Date: Tue, 9 Jun 2026 16:32:45 +0200 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 08e8e8a..bda1826 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -59,7 +59,7 @@ Two things consumers depend on. Any change here is a breaking change for every d - **Address book is the only contract for inter-project state.** The shape of `~/.vechain-dev/config/.json` (`{ project, profiles, addresses, updatedAt }`) is load-bearing — changing it changes the contract every consumer has already written against. - **Spring profile names live in consumer projects.** When adding a new profile-keyed start-block env var to the indexer, append it to `SOLO_START_BLOCKS` in `lib/addressBook.mjs` so its cursor defaults to `0` for solo. - **Container/service names are stable identifiers** (`thor-solo`, `mongo-node1`, `vechain-indexer`, `vechain-indexer-api`, `block-explorer`). The CLI references them by name; don't rename without updating every callsite. -- **Images are pinned via env var with a default tag** in each compose file (e.g. `${VECHAIN_DEV_INDEXER_IMAGE:-vechain/indexer:6}`). Bump the default tag when intentionally upgrading. +- **Images are configurable via env var with a default tag** in each compose file (e.g. `${VECHAIN_DEV_INDEXER_IMAGE:-vechain/indexer:6}`). Override via `VECHAIN_DEV_INDEXER_IMAGE` / `VECHAIN_DEV_INDEXER_API_IMAGE` if you need an exact (non-floating) tag. ## Testing