-
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
simapp/v2 start crashes with panic: proto:not found
when using go.mod replaces instead of go.work
#20492
Comments
panic: proto: not found
when using go.mod replaces instead of go.workpanic: proto:not found
when using go.mod replaces instead of go.work
The current code in #20412, when attempting to run simd, was failing with the error: panic: proto: not found" Wrapping the error returned by FindDescriptorByName gave a more informative error: panic: failed to find descriptor for "cosmos.accounts.v1.Msg": proto: not found However, there is an earlier root cause. The a.err field was set due to a failure in proto.MergedRegistry but later overridden. Fixing that early return now shows the root cause: panic: failed to build registry cache: proto: could not resolve import "tendermint/abci/types.proto": not found Helps #20492.
fixed via 0256369 |
I'm not sure this should be closed yet. From commit aa0cebd (current HEAD of #20412), while in As far as I've been able to trace, There are three other files ( I don't currently know enough about how everything ties together in the protobuf dependencies to understand 1) why there is an outstanding reference to a tendermint proto file when it doesn't appear to be referenced from the comet proto files (or maybe it is referenced and I missed it), and 2) why the dependency isn't somehow automatically included here. I'll leave it to you all to decide whether this reopens this issue or opens a new issue. |
This isn't fixed yet, but I just fixed it in fd34264 |
I can confirm that replace for |
No description provided.
The text was updated successfully, but these errors were encountered: