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

ignite scaffold chain failed #3717

Closed
george2100 opened this issue Oct 29, 2023 · 2 comments
Closed

ignite scaffold chain failed #3717

george2100 opened this issue Oct 29, 2023 · 2 comments

Comments

@george2100
Copy link

george2100 commented Oct 29, 2023

This is the error which is showing when I try to run the ignite command.

andg@DIY:~/projects/hello$ ignite scaffold chain vote_chain

✘ Error while running command /tmp/protoc2812709205 -I /tmp/595249333 -I /home/andg/projects/hello/hello/proto -I /home/andg/go/pkg/mod/github.com/cosmos/[email protected]/proto -I /home/andg/go/pkg/mod/github.com/cosmos/ibc-go/[email protected]/proto --gocosmos_out=plugins=interfacetype+grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. /home/andg/projects/hello/hello/proto/votechain/votechain/genesis.proto /home/andg/projects/hello/hello/proto/votechain/votechain/params.proto /home/andg/projects/hello/hello/proto/votechain/votechain/query.proto /home/andg/projects/hello/hello/proto/votechain/votechain/tx.proto: votechain/votechain/query.proto:6:1: warning: Import cosmos/base/query/v1beta1/pagination.proto is unused.
panic: file name votechain/votechain/params.proto does not start with expected hello/votechain/; please make sure your folder structure matches the proto files fully-qualified names

$ ignite version
goroutine 1 [running]:
Ignite CLI version: v0.27.2
Ignite CLI build date: 2023-10-18T11:34:58Z
Ignite CLI source hash: f3ab0d7
Ignite CLI config version: v1
Cosmos SDK version: v0.47.3
Your OS: linux
Your arch: amd64
Your Node.js version: v18.12.1
Your go version: go version go1.21.3 linux/amd64
Your uname -a: Linux DIY 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

@george2100
Copy link
Author

It seems that ignite doesn't work with go1.21.3.

@george2100
Copy link
Author

I figured it out. The folder name should be votechain, not vote_chain.

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