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

panic: proto: could not resolve import #1785

Open
gupadhyaya opened this issue Jan 23, 2024 · 0 comments
Open

panic: proto: could not resolve import #1785

gupadhyaya opened this issue Jan 23, 2024 · 0 comments

Comments

@gupadhyaya
Copy link

gupadhyaya commented Jan 23, 2024

panic: proto: could not resolve import "core/crypto/pb/crypto.proto": not found

goroutine 1 [running]:
github.com/CosmWasm/wasmd/app.NewWasmApp({0x1043356d0, 0x106611700}, {0x104355010, 0x14001188b80}, {0x0, 0x0}, 0x0, {0x1042f1f78, 0x140008a2150}, {0x1400141eb00, ...}, ...)
	github.com/CosmWasm/wasmd/app/app.go:903 +0x7378
main.NewRootCmd()
	github.com/CosmWasm/wasmd/cmd/wasmd/root.go:40 +0x504
main.main()
	github.com/CosmWasm/wasmd/cmd/wasmd/main.go:14 +0x1c

commenting out https://github.com/CosmWasm/wasmd/blob/main/app/app.go#L902-L904 works fine.

Steps to reproduce:

  • go mod replace github.com/cosmos/cosmos-sdk => github.com/rollkit/cosmos-sdk v0.50.1-rollkit-v0.11.19-no-fraud-proofs
  • github.com/rollkit/cosmos-sdk uses github.com/rollkit/rollkit, which in turn uses go-libp2p which looks like having the core/crypto/pb/crypto.proto that is not found above.
  • make install
  • wasmd start throws the error above
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

No branches or pull requests

1 participant