Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
aufwalletdev opened this issue Sep 14, 2024 · 2 comments · Fixed by #21730
Labels

Comments

@aufwalletdev
Copy link

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

@julienrbrt
Copy link
Member

Yes sorry, you should use proto-builder: 0.15.1
The makefile is still not updated with it.

@aufwalletdev
Copy link
Author

proto-builder 0.15.1 works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🥳 Done
Development

Successfully merging a pull request may close this issue.

2 participants