Skip to content

Commit

Permalink
update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Feb 6, 2025
1 parent 676cd19 commit a859a96
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/interchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
needs: build-image
steps:
- name: Set up Go 1.20
- name: Set up Go 1.22
uses: actions/setup-go@v4
with:
go-version: "1.22"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

ARG source=./
ARG GO_VERSION="1.20"
ARG GO_VERSION="1.22"
ARG BUILDPLATFORM=linux/amd64
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.18"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} as base
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The easiest way to get started is by downloading a pre-built binary for your ope

**Step 1. Install Golang**

Go v1.20 is required for Terra Core.
Go v1.22 is required for Terra Core.

If you haven't already, install Golang by following the [official docs](https://golang.org/doc/install). Make sure that your `GOPATH` and `GOBIN` environment variables are properly set up.

Expand Down
2 changes: 1 addition & 1 deletion contrib/terra-operator/Dockerfile.core
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker build . -t cosmwasm/wasmd:latest
# docker run --rm -it cosmwasm/wasmd:latest /bin/sh
FROM golang:1.20-alpine3.18 AS go-builder
FROM golang:1.22-alpine3.18 AS go-builder
ARG source=.

# this comes from standard alpine nightly file
Expand Down
2 changes: 1 addition & 1 deletion contrib/updates/Dockerfile.cosmovisor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18
FROM golang:1.22-alpine3.18

RUN set -eux; apk add --no-cache ca-certificates build-base;

Expand Down
2 changes: 1 addition & 1 deletion contrib/updates/Dockerfile.old
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

ARG source=./
ARG GO_VERSION="1.20"
ARG GO_VERSION="1.22"
ARG BUILDPLATFORM=linux/amd64
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.18"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} as base
Expand Down
2 changes: 1 addition & 1 deletion go.work.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.20
go 1.22

use (
./
Expand Down
2 changes: 1 addition & 1 deletion shared.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20 AS go-builder
FROM golang:1.22 AS go-builder

# Install minimum necessary dependencies, build Cosmos SDK, remove packages
RUN apt update
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/e2e.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

ARG source=./
ARG GO_VERSION="1.20"
ARG GO_VERSION="1.22"
ARG BUILDPLATFORM=linux/amd64
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.18"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} as base
Expand Down
13 changes: 9 additions & 4 deletions tests/interchaintest/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/classic-terra/core/v3/test/interchaintest

go 1.20
go 1.22.7

toolchain go1.22.12

require (
cosmossdk.io/math v1.3.0
Expand Down Expand Up @@ -52,7 +54,7 @@ require (
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect
github.com/cometbft/cometbft v0.37.13 // indirect
github.com/cometbft/cometbft v0.37.15 // indirect
github.com/cometbft/cometbft-db v0.11.0 // indirect
github.com/confio/ics23/go v0.9.0 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
Expand Down Expand Up @@ -125,6 +127,7 @@ require (
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hdevalence/ed25519consensus v0.1.0 // indirect
github.com/huandu/skiplist v1.2.0 // indirect
Expand Down Expand Up @@ -152,6 +155,7 @@ require (
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/mtibben/percent v0.2.1 // indirect
github.com/multiformats/go-base32 v0.1.0 // indirect
Expand All @@ -172,7 +176,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.59.1 // indirect
github.com/prometheus/common v0.60.1 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rakyll/statik v0.1.7 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
Expand Down Expand Up @@ -254,8 +258,9 @@ replace (

replace (
github.com/CosmWasm/wasmd => github.com/classic-terra/wasmd v0.45.0-classic
github.com/CosmWasm/wasmvm => github.com/CosmWasm/wasmvm v1.5.8
github.com/classic-terra/core/v3 => ../../
github.com/cometbft/cometbft => github.com/cometbft/cometbft v0.37.4
github.com/cometbft/cometbft => github.com/cometbft/cometbft v0.37.15
github.com/cosmos/ibc-go/v7 => github.com/classic-terra/ibc-go/v7 v7.0.0-20240419072319-aa9d74dc39ae
github.com/cosmos/ledger-cosmos-go => github.com/terra-money/ledger-terra-go v0.11.2
github.com/creachadair/taskgroup => github.com/creachadair/taskgroup v0.6.0
Expand Down
Loading

0 comments on commit a859a96

Please sign in to comment.