CosmWasm / wasmd

Basic cosmos-sdk app with web assembly smart contracts
Other
369 stars 403 forks source link

panic: proto: could not resolve import #1785

Open gupadhyaya opened 9 months ago

gupadhyaya commented 9 months ago
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:

bap2pecs commented 4 months ago

we also met w the same issue and we are commenting out the code as a tmp fix as well

    protoFiles, err := proto.MergedRegistry()
    // if err != nil {
    //  panic(err)
    // }

but we want to know:

the code was originally added from the upstream PR https://github.com/cosmos/cosmos-sdk/pull/13793

so we should probably ask there