fix(cosmosgen): find proto dir in non conventional repo structure#4779
Merged
julienrbrt merged 5 commits intomainfrom Aug 8, 2025
Merged
fix(cosmosgen): find proto dir in non conventional repo structure#4779julienrbrt merged 5 commits intomainfrom
julienrbrt merged 5 commits intomainfrom
Conversation
Pantani
reviewed
Aug 4, 2025
Collaborator
There was a problem hiding this comment.
I can't follow the steps to test because it is throwing an error, but I think it is something related to the rollkit app
[IGNITE] cannot build app:
[IGNITE]
[IGNITE] error while running command go build -o
[IGNITE] /Users/danilopantani/Desktop/go/bin/marsd -mod readonly -tags -ldflags -X
[IGNITE] github.com/cosmos/cosmos-sdk/version.Name=Mars -X
[IGNITE] github.com/cosmos/cosmos-sdk/version.AppName=marsd -X
[IGNITE] github.com/cosmos/cosmos-sdk/version.Version= -X
[IGNITE] github.com/cosmos/cosmos-sdk/version.Commit=b76a9c9d93e7034ab09a1bbda3c9a99fd0d053f0
[IGNITE] -X github.com/cosmos/cosmos-sdk/version.BuildTags= -X
[IGNITE] mars/cmd/marsd/cmd.ChainID=mars -gcflags all=-N -l .: #
[IGNITE] github.com/quic-go/webtransport-go
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/client.go:37:94:
[IGNITE] undefined: quic.EarlyConnection
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/client.go:105:19:
[IGNITE] cannot use func(ft http3.FrameType, connTracingID quic.ConnectionTracingID, str
[IGNITE] quic.Stream, e error) (hijacked bool, err error) {…} (value of type func(ft
[IGNITE] http3.FrameType, connTracingID quic.ConnectionTracingID, str quic.Stream, e
[IGNITE] error) (hijacked bool, err error)) as func(http3.FrameType,
[IGNITE] quic.ConnectionTracingID, *quic.Stream, error) (hijacked bool, err error) value
[IGNITE] in struct literal
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/client.go:112:52:
[IGNITE] cannot use str (variable of struct type quic.Stream) as io.Reader value in
[IGNITE] argument to quicvarint.NewReader: quic.Stream does not implement io.Reader
[IGNITE] (method Read has pointer receiver)
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/client.go:122:22:
[IGNITE] cannot use func(st http3.StreamType, connTracingID quic.ConnectionTracingID, str
[IGNITE] quic.ReceiveStream, err error) (hijacked bool) {…} (value of type func(st
[IGNITE] http3.StreamType, connTracingID quic.ConnectionTracingID, str
[IGNITE] quic.ReceiveStream, err error) (hijacked bool)) as func(http3.StreamType,
[IGNITE] quic.ConnectionTracingID, *quic.ReceiveStream, error) (hijacked bool) value in
[IGNITE] struct literal
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/client.go:167:73:
[IGNITE] cannot use requestStr (variable of type *http3.RequestStream) as http3.Stream
[IGNITE] value in argument to d.conns.AddSession
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/session.go:65:19:
[IGNITE] undefined: http3.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/session.go:85:50:
[IGNITE] undefined: http3.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/server.go:89:24:
[IGNITE] cannot use func(ft http3.FrameType, connTracingID quic.ConnectionTracingID, str
[IGNITE] quic.Stream, err error) (bool, error) {…} (value of type func(ft
[IGNITE] http3.FrameType, connTracingID quic.ConnectionTracingID, str quic.Stream, err
[IGNITE] error) (bool, error)) as func(http3.FrameType, quic.ConnectionTracingID,
[IGNITE] *quic.Stream, error) (hijacked bool, err error) value in assignment
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/server.go:126:42:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/session_manager.go:167:49:
[IGNITE] undefined: http3.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/quic-go/webtransport-go@v0.8.1-0.20241018022711-4ac2c9250e66/server.go:89:24:
[IGNITE] too many errors
[IGNITE] # github.com/libp2p/go-libp2p/p2p/transport/quicreuse
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/connmgr.go:22:36:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/connmgr.go:31:89:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/connmgr.go:163:109:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/connmgr.go:168:138:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/connmgr.go:293:129:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/reuse.go:28:89:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/listener.go:20:32:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/listener.go:29:37:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/listener.go:83:54:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/listener.go:160:30:
[IGNITE] undefined: quic.Connection
[IGNITE] ../../../../../../pkg/mod/github.com/libp2p/go-libp2p@v0.41.1/p2p/transport/quicreuse/listener.go:83:54:
[IGNITE] too many errors
[IGNITE] : exit status 1
Member
Author
|
In which step are you getting this? |
Collaborator
Member
Author
Pantani
approved these changes
Aug 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Some repos, such as https://github.com/evstack/ev-abci have modules, but their protos is not at the conventional place:
repo/proto.Ignite currently fails to generate the ts-client and openapi because of that:
This PR fixes it and make it find the protos. If none are found it skips them.
Step to reproduce