Skip to content

Commit b6d8dd4

Browse files
committed
✨ Build thomas/archive-patch as 2.0.2
2.0.0 is leading to a AppHash at block 804212. This is fixed via thomas/archive-patch, but not tagged as of 2025/01. The error was: ``` validation error: wrong Block.Header.AppHash. Expected AE0346892A400D6EB0B956FC5B5806FCCEE5A5679102E6DFD8BEE92BE40DDD76, got 374EC05458F04346A1F0F97EFB0DDF9133F510EF28F453849955FC0C23539815 ``` See upstream issue for more details: Canto-Network/Canto#97
1 parent 4c591ee commit b6d8dd4

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,21 @@ jobs:
1919
matrix:
2020
version: [
2121
1.0.0,
22-
2.0.0,
23-
3.0.0,
24-
4.0.0,
25-
5.0.0,
26-
5.0.2,
27-
6.0.0,
28-
7.0.0,
29-
7.0.1,
30-
7.1.0,
31-
8.0.0,
32-
8.1.0,
33-
8.1.1,
34-
8.1.3,
22+
# TODO
23+
# 2.0.0,
24+
# 2.0.2,
25+
# 3.0.0,
26+
# 4.0.0,
27+
# 5.0.0,
28+
# 5.0.2,
29+
# 6.0.0,
30+
# 7.0.0,
31+
# 7.0.1,
32+
# 7.1.0,
33+
# 8.0.0,
34+
# 8.1.0,
35+
# 8.1.1,
36+
# 8.1.3,
3537
]
3638
# prevents from reaching Docker Hub pull rate limit
3739
max-parallel: 5
@@ -67,7 +69,8 @@ jobs:
6769
tags: ${{ steps.meta.outputs.tags }}
6870
labels: ${{ steps.meta.outputs.labels }}
6971
build-args: |
70-
VERSION=${{ env.VERSION }}
72+
# TODO: v prefix?
73+
VERSION=v${{ env.VERSION }}
7174
GO_VERSION=${{ env.GO_VERSION }}
7275
platforms: linux/amd64,linux/arm64
7376
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:${{ matrix.version }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN apk add --update --no-cache \
1717
# Set working directory for the build
1818
WORKDIR /app
1919

20-
RUN git clone --depth 1 --branch v$VERSION https://github.com/Canto-Network/Canto.git Canto-$VERSION && \
20+
RUN git clone --depth 1 --branch $VERSION https://github.com/Canto-Network/Canto.git Canto-$VERSION && \
2121
cd Canto-$VERSION && \
2222
make && \
2323
cd /app

0 commit comments

Comments
 (0)