Skip to content

Commit

Permalink
feat: sdk-47
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed May 7, 2024
1 parent 152a822 commit 6da7daa
Show file tree
Hide file tree
Showing 813 changed files with 73,655 additions and 217,127 deletions.
23 changes: 11 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
UNAME_OS := $(shell uname -s)
UNAME_ARCH := $(shell uname -m)
PROTO_LEGACY ?= true
PROTO_LEGACY ?= false

ifeq (0, $(shell id -u))
$(warning "make was started with superuser privileges. it may cause issues with direnv")
Expand All @@ -25,17 +25,16 @@ $(error "GOTOOLCHAIN is not set")
endif

GO := GO111MODULE=$(GO111MODULE) go
GO_MOD_NAME := $(shell go list -m 2>/dev/null)
GO_MOD_NAME := $(shell cd go; go list -m 2>/dev/null)

BUF_VERSION ?= 1.28.1
PROTOC_VERSION ?= 21.12
GOGOPROTO_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/gogoproto)
# TODO https://github.com/akash-network/support/issues/77
PROTOC_GEN_GOCOSMOS_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/regen-network/cosmos-proto)
PROTOC_GEN_GO_PULSAR_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/cosmos-proto)
PROTOC_GEN_GO_VERSION ?= $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' google.golang.org/protobuf)
PROTOC_GEN_GRPC_GATEWAY_VERSION := $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/grpc-ecosystem/grpc-gateway)
PROTOC_GEN_DOC_VERSION := $(shell $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/pseudomuto/protoc-gen-doc)
PROTOC_VERSION ?= 26.1
GOGOPROTO_VERSION ?= $(shell cd go; $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/gogoproto)
PROTOC_GEN_GOCOSMOS_VERSION ?= $(GOGOPROTO_VERSION)
PROTOC_GEN_GO_PULSAR_VERSION ?= $(shell cd go; $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/cosmos/cosmos-proto)
PROTOC_GEN_GO_VERSION ?= $(shell cd go; $(GO) list -mod=readonly -m -f '{{ .Version }}' google.golang.org/protobuf)
PROTOC_GEN_GRPC_GATEWAY_VERSION := $(shell cd go; $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/grpc-ecosystem/grpc-gateway)
PROTOC_GEN_DOC_VERSION := $(shell cd go; $(GO) list -mod=readonly -m -f '{{ .Version }}' github.com/pseudomuto/protoc-gen-doc)

PROTOC_GEN_SWAGGER_VERSION := $(PROTOC_GEN_GRPC_GATEWAY_VERSION)
MODVENDOR_VERSION ?= v0.5.0
Expand All @@ -58,8 +57,8 @@ GOLANGCI_LINT_VERSION_FILE := $(AKASH_DEVCACHE_VERSIONS)/golangci-lint

BUF := $(AKASH_DEVCACHE_BIN)/buf
PROTOC := $(AKASH_DEVCACHE_BIN)/protoc
# TODO https://github.com/akash-network/support/issues/77
PROTOC_GEN_GOCOSMOS := $(AKASH_DEVCACHE_BIN)/legacy/protoc-gen-gocosmos
PROTOC_GEN_GOCOSMOS := $(AKASH_DEVCACHE_BIN)/protoc-gen-gocosmos
GOGOPROTO := $(AKASH_DEVCACHE_BIN)/gogoproto
PROTOC_GEN_GO_PULSAR := $(AKASH_DEVCACHE_BIN)/protoc-gen-go-pulsar
PROTOC_GEN_GO := $(AKASH_DEVCACHE_BIN)/protoc-gen-go
PROTOC_GEN_GRPC_GATEWAY := $(AKASH_DEVCACHE_BIN)/protoc-gen-grpc-gateway
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions buf.gen.ts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: v1
plugins:
- name: ts
out: ./ts/src/generated
strategy: all
path: ./ts/node_modules/.bin/protoc-gen-ts_proto
2 changes: 0 additions & 2 deletions buf.work.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ directories:
- proto/node
- proto/provider
- .cache/include
- vendor/github.com/cosmos/cosmos-sdk/proto
- vendor/github.com/cosmos/cosmos-sdk/third_party/proto
14 changes: 7 additions & 7 deletions docs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ info:
description: "A REST interface for state queries"
version: "1.0.0"
apis:
- url: "./.cache/tmp/swagger-gen/akash/audit/v1beta3/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/cert/v1beta3/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta3/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta3/service.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/market/v1beta3/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/market/v1beta3/service.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/provider/v1beta3/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/audit/v1/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/cert/v1/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta4/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta4/service.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/query.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/service.swagger.json"
- url: "./.cache/tmp/swagger-gen/akash/provider/v1beta4/query.swagger.json"
- url: "./vendor/github.com/cosmos/cosmos-sdk/client/docs/swagger-ui/swagger.yaml"
dereference:
circular: "ignore"
Loading

0 comments on commit 6da7daa

Please sign in to comment.