Skip to content

Commit

Permalink
Upgraded greenlight core lightning version to 24.02.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy808 committed Apr 18, 2024
1 parent 9204fd2 commit 917021c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ CLN_VERSIONS = \
v0.11.2 \
v22.11gl1 \
v23.05gl1 \
v23.08gl1
v23.08gl1 \
v24.02.1gl1

DOCKER_OPTIONS= \
--rm \
Expand Down
4 changes: 2 additions & 2 deletions docker/gl-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ ENV GRPC_ENABLE_FORK_SUPPORT=0

# Install cln-versions
COPY --from=cln-downloader /repo/cln-versions/ /opt/cln
RUN ln -s /opt/cln/v23.08gl1 /opt/cln-latest
RUN ln -s /opt/cln/v24.02.1gl1 /opt/cln-latest
ENV PATH=/opt/cln-latest/usr/local/bin:$PATH

# Enumerate all versions that gl-testing should find
ENV CLN_PATH=/opt/cln/v0.10.1/usr/local/bin/:/opt/cln/v0.10.2/usr/local/bin/:/opt/cln/v0.11.0.1/usr/local/bin/:/opt/cln/v0.11.2gl2/usr/local/bin/:/opt/cln/v22.11gl1/usr/local/bin/:/opt/cln/v23.05gl1/usr/local/bin/:/opt/cln/v23.08gl1/usr/local/bin/
ENV CLN_PATH=/opt/cln/v0.10.1/usr/local/bin/:/opt/cln/v0.10.2/usr/local/bin/:/opt/cln/v0.11.0.1/usr/local/bin/:/opt/cln/v0.11.2gl2/usr/local/bin/:/opt/cln/v22.11gl1/usr/local/bin/:/opt/cln/v23.05gl1/usr/local/bin/:/opt/cln/v23.08gl1/usr/local/bin/:/opt/cln/v24.02.1gl1/usr/local/bin/

# Install bitcoin-core
COPY --from=bitcoin-downloader /opt/bitcoin/bin /opt/bitcoin/bin
Expand Down
2 changes: 2 additions & 0 deletions libs/gl-testing/gltesting/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def is_compat(self, nv: NodeVersion) -> bool:
"v22.11": ["v22.11gl1"],
"v23.05": ["v23.05gl1"],
"v23.08": ["v23.08gl1"],
"v24.02.1": ["v24.02.1gl1"],
}

return self.name in compat[nv.name]
Expand All @@ -33,6 +34,7 @@ def get_node_version(self):
"v22.11": "v22.11gl1",
"v23.05": "v23.05gl1",
"v23.08": "v23.08gl1",
"v24.02.1": "v24.02.1gl1",
}
return m[self.name]

Expand Down

0 comments on commit 917021c

Please sign in to comment.