-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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]: Build Failed! Issues with building Go 1.19, ignite v0.27.2, cosmos-sdk v0.47.12 (upgrading from ignitev0.26 to v0.27.2) #21098
Comments
Even tried upgrading golang to 1.20 One issue gets resolved
but other remains -
|
I believe the problem is here /Users/pranay/.asdf/installs/golang/1.21.0/packages/pkg/mod/github.com/cosmos/[email protected]/proto/merge.go
I see this
|
v0.47 cannot use the latest gogoproto due to a breaking change in the Go x/exp library |
it is using -> github.com/cosmos/gogoproto v1.4.10 this is not the latest (there's v1.4.11/12 and v1.5.0) |
I see that issue here - how to resolve it? please note the version of gogoproto is only 1.4.10 (with x.xx.11 and x.xx.12 available) while latest is 1.5.0
|
Do you have this line in your app go.mod: // stick with compatible version or x/exp in v0.47.x line
golang.org/x/exp => golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb |
that resolved it! thanks! However I'm now on golang 1.19 with SDK v0.46.12
The next version upgrade is going to be interesting. |
Can you please provide me the source for this file - if you have it? @julienrbrt |
You should just add a |
I understood that @julienrbrt, I'm just wondering where you've been getting the actual replacements. Is this something you've used internally? or is an external team building on the cosmos-sdk also doing the same? (and if so can we see the source file) |
Chiming back here, we've deleted the x/exp dependency in gogoproto 1.7.0. |
To answer your question, from here: https://github.com/cosmos/cosmos-sdk/blob/release/v0.47.x/go.mod#L202-L203 |
Is there an existing issue for this?
What happened?
Building cosmos-sdk app is failing.
My
go.mod
Cosmos SDK Version
0.47.12
How to reproduce?
ignite27 version ─╯
·
· 🛸 Ignite CLI v28.5.0 is available!
·
· To upgrade your Ignite CLI version, see the upgrade doc: https://docs.ignite.com/guide/install#upgrading-your-ignite-cli-installation
·
··
Ignite CLI version: v0.27.2
Ignite CLI build date: 2023-10-18T11:34:58Z
Ignite CLI source hash: f3ab0d709ec41e31a1c57f2fe86c8902d8a50497
Ignite CLI config version: v1
Cosmos SDK version: v0.47.3
Your OS: darwin
Your arch: arm64
Your Node.js version: v21.7.3
Your go version: go version go1.19 darwin/arm64
Your uname -a: Darwin Pranays-MacBook-Pro-3.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64
Your cwd: /Users/pranay/Documents/covalent/covenet/covenet
Is on Gitpod: false
The text was updated successfully, but these errors were encountered: