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]: Builds fail due to dependency conflict with cosmossdk.io/core v0.11.0 -> v0.12.0 comet.BlockInfo -> comet.Info symbol rename #76

Closed
lcwik opened this issue Jan 22, 2024 · 0 comments · Fixed by #82

Comments

@lcwik
Copy link

lcwik commented Jan 22, 2024

Summary of Bug

Applications which link in Cosmos SDK 0.50.3 with Rosetta 0.50.3 fail to build due to comet.BlockInfo -> comet.Info symbol rename in cosmossdk.io/core package.

# github.com/cosmos/cosmos-sdk/types
../types/context.go:65:29: undefined: comet.BlockInfo
../types/context.go:92:36: undefined: comet.BlockInfo
../types/context.go:300:48: undefined: comet.BlockInfo
make: *** [build] Error 1

Cosmos SDK in both 0.50.2 and 0.50.3 both link against cosmossdk.io/core v0.11.0 while Rosetta 0.50.3 links against github.com/cosmos/cosmos-sdk v0.53.0 and cosmossdk.io/core v0.12.0.

Version

0.50.2 and 0.50.3

Steps to Reproduce

Create any app which links both Cosmos SDK 0.50.3 and Rosetta 0.50.3 and attempt to build it.

Work around is to force a replace rule downgrading to v0.11.0 in go.mod like:

replace cosmossdk.io/core => cosmossdk.io/core v0.11.0
@JulianToledano JulianToledano linked a pull request Feb 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant