diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b843a36a5..8b2ffcd98 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -267,7 +267,7 @@ jobs: - uses: actions/setup-go@v5 with: name: set up go - go-version: 1.23 # The Go version to download (if necessary) and use. + go-version: 1.21 # The Go version to download (if necessary) and use. - name: Build macos darwin/arm64 run: SGX_MODE=SW make build_cli - uses: actions/upload-artifact@v3 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 24e5b80c4..5df521608 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -151,7 +151,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.23 # The Go version to download (if necessary) and use. + go-version: 1.21 # The Go version to download (if necessary) and use. - name: Build CLI shell: bash run: | @@ -175,7 +175,7 @@ jobs: - uses: actions/setup-go@v5 with: name: set up go - go-version: 1.23 # The Go version to download (if necessary) and use. + go-version: 1.21 # The Go version to download (if necessary) and use. - name: Build macos darwin/arm64 run: make build_cli - uses: actions/upload-artifact@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6681ca9eb..f7e88a74c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,6 @@ # 1.15.0 - Update build OS to Ubuntu 22.04 -- Update go to v1.23 - Update cosmos-sdk to v0.50.10. All the related changes can be found [here](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md) - Update ibc-go to v8.1.0. Full changelog can be found [here](https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md) - Update cometbft to v0.38.12. Full changelog can be found [here](https://github.com/cometbft/cometbft/blob/v0.38.12/CHANGELOG.md) diff --git a/deployment/dockerfiles/Dockerfile b/deployment/dockerfiles/Dockerfile index a69095a51..c62f7c0f3 100644 --- a/deployment/dockerfiles/Dockerfile +++ b/deployment/dockerfiles/Dockerfile @@ -90,7 +90,7 @@ ENV GOROOT=/usr/local/go ENV GOPATH=/go/ ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin -ADD https://go.dev/dl/go1.23.2.linux-amd64.tar.gz go.linux-amd64.tar.gz +ADD https://go.dev/dl/go1.21.1.linux-amd64.tar.gz go.linux-amd64.tar.gz RUN tar -C /usr/local -xzf go.linux-amd64.tar.gz RUN go install github.com/jteeuwen/go-bindata/go-bindata@latest && go-bindata -version diff --git a/deployment/dockerfiles/tests/compile-contracts.Dockerfile b/deployment/dockerfiles/tests/compile-contracts.Dockerfile index 02267fa8f..55e105bd8 100644 --- a/deployment/dockerfiles/tests/compile-contracts.Dockerfile +++ b/deployment/dockerfiles/tests/compile-contracts.Dockerfile @@ -15,7 +15,7 @@ ENV GOROOT=/usr/local/go ENV GOPATH=/go/ ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin -ADD https://go.dev/dl/go1.23.2.linux-amd64.tar.gz go.linux-amd64.tar.gz +ADD https://go.dev/dl/go1.21.1.linux-amd64.tar.gz go.linux-amd64.tar.gz RUN tar -C /usr/local -xzf go.linux-amd64.tar.gz RUN apt-get update -y && \ diff --git a/go.mod b/go.mod index f55979c9d..a9344e948 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/scrtlabs/SecretNetwork -go 1.23 +go 1.21 replace ( cosmossdk.io/api => github.com/scrtlabs/cosmos-sdk-api v0.7.5-secret.1