Skip to content

[Bug]: make proto-gen failed, with error is go.mod requires go >= 1.23.1 (running go 1.23.0; GOTOOLCHAIN=local) #21729

Closed
@aufwalletdev

Description

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

I just download the main branch, with go version is 1.23.1, and sudo make proto-gen,
It failed with error:
go.mod requires go >= 1.23.1 (running go 1.23.0; GOTOOLCHAIN=local)

When I change to go 1.23.0, It report that github.com/cometbft/cometbft-db v0.15.0 is using go 1.23.1

env:

Ubuntu 20.04 LTS
go version go1.23.1 linux/amd64

docker:
Client:
Version: 24.0.7
API version: 1.43
Go version: go1.21.1
Git commit: 24.0.7-0ubuntu2~20.04.1
Built: Wed Mar 13 20:29:24 2024
OS/Arch: linux/amd64
Context: default

go env

GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/ubuntu/.cache/go-build'
GOENV='/home/ubuntu/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/ubuntu/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/ubuntu/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.1'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/ubuntu/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build713849033=/tmp/go-build -gno-record-gcc-switches'

Cosmos SDK Version

main

How to reproduce?

git clone https://github.com/cosmos/cosmos-sdk
cd cosmos-sdk
sudo make proto-gen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      🥳 Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions