diff --git a/Makefile b/Makefile index 7542ac32e..08d2fb68b 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ format: tools: go install github.com/cosmos/gogoproto/protoc-gen-gocosmos go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway - go install github.com/golang/mock/mockgen + go install github.com/golang/mock/mockgen@v1.6.0 proto-gen: cd proto && buf generate && cp -r github.com/bnb-chain/greenfield/x/* ../x && cp -r github.com/bnb-chain/greenfield/types/* ../types && rm -rf github.com && go mod tidy