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

Query proto types don't satisfy protoreflect.ProtoMessage #20

Closed
sunnya97 opened this issue Jan 11, 2021 · 1 comment · Fixed by #23
Closed

Query proto types don't satisfy protoreflect.ProtoMessage #20

sunnya97 opened this issue Jan 11, 2021 · 1 comment · Fixed by #23

Comments

@sunnya97
Copy link
Collaborator

When you run make all twice, it gives me a bunch of errors about the Query proto types not satisfying protoreflect.ProtoMessage (missing ProtoReflect method)

# github.com/c-osmosis/osmosis/x/gamm/types
x/gamm/types/query.pb.gw.go:56:2: cannot use msg (type *QueryPoolResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryPoolResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:82:2: cannot use msg (type *QueryPoolResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryPoolResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:97:44: cannot use &protoReq (type *QueryPoolsRequest) as type protoreflect.ProtoMessage in argument to "github.com/grpc-ecosystem/grpc-gateway/v2/runtime".PopulateQueryParameters:
	*QueryPoolsRequest does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:102:2: cannot use msg (type *QueryPoolsResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryPoolsResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:113:44: cannot use &protoReq (type *QueryPoolsRequest) as type protoreflect.ProtoMessage in argument to "github.com/grpc-ecosystem/grpc-gateway/v2/runtime".PopulateQueryParameters:
	*QueryPoolsRequest does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:118:2: cannot use msg (type *QueryPoolsResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryPoolsResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:144:2: cannot use msg (type *QueryPoolParamsResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryPoolParamsResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:170:2: cannot use msg (type *QueryPoolParamsResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryPoolParamsResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:196:2: cannot use msg (type *QueryTotalShareResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryTotalShareResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:222:2: cannot use msg (type *QueryTotalShareResponse) as type protoreflect.ProtoMessage in return argument:
	*QueryTotalShareResponse does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
x/gamm/types/query.pb.gw.go:222:2: too many errors
make: *** [osmosis] Error 2
@sunnya97
Copy link
Collaborator Author

@Thunnini @antstalepresh Do you guy have any ideas for how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant