@agoric/cosmos 0.34.2-dev-2aba395.0 → 0.34.2-dev-b5bea48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +29 -26
- package/git-revision.txt +1 -1
- package/package.json +2 -2
package/Makefile
CHANGED
|
@@ -98,11 +98,11 @@ proto-lint: proto-tools
|
|
|
98
98
|
proto-check-breaking: proto-tools
|
|
99
99
|
${BIN}/buf breaking --against $(PR_TARGET_REPO)#branch=$(PR_TARGET_BRANCH),subdir=golang/cosmos
|
|
100
100
|
|
|
101
|
-
GOGO_PROTO_URL
|
|
102
|
-
# GOOGLE_API_URL
|
|
103
|
-
IBC_PROTO_URL
|
|
104
|
-
COSMOS_PROTO_PROTO_URL
|
|
105
|
-
COSMOS_SDK_PROTO_URL
|
|
101
|
+
GOGO_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/gogo/protobuf)
|
|
102
|
+
# GOOGLE_API_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/googleapis/googleapis)/google/api
|
|
103
|
+
IBC_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/ibc-go/v6)/proto/ibc/core
|
|
104
|
+
COSMOS_PROTO_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/cosmos-proto)/proto/cosmos_proto
|
|
105
|
+
COSMOS_SDK_PROTO_URL = file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/cosmos-sdk)/proto/cosmos
|
|
106
106
|
|
|
107
107
|
COSMOS_PROTO_TYPES = third_party/proto/cosmos_proto
|
|
108
108
|
GOGO_PROTO_TYPES = third_party/proto/gogoproto
|
|
@@ -116,34 +116,37 @@ SDK_UPGRADE_TYPES = third_party/proto/cosmos/upgrade/v1beta1
|
|
|
116
116
|
|
|
117
117
|
proto-update-deps:
|
|
118
118
|
mkdir -p $(COSMOS_PROTO_TYPES)
|
|
119
|
-
|
|
119
|
+
url="$(COSMOS_PROTO_PROTO_URL)"; \
|
|
120
|
+
curl -sSL $$url/cosmos.proto > $(COSMOS_PROTO_TYPES)/cosmos.proto
|
|
120
121
|
|
|
121
122
|
mkdir -p $(GOGO_PROTO_TYPES)
|
|
122
|
-
|
|
123
|
+
url="$(GOGO_PROTO_URL)"; \
|
|
124
|
+
curl -sSL $$url/gogoproto/gogo.proto > $(GOGO_PROTO_TYPES)/gogo.proto
|
|
123
125
|
|
|
124
126
|
# Downloading from a not-a-go-module is problematic. These files are artifacts for now.
|
|
125
127
|
# mkdir -p $(GOOGLE_API_TYPES)
|
|
126
|
-
#
|
|
127
|
-
# curl -sSL
|
|
128
|
-
# curl -sSL
|
|
128
|
+
# url="$(GOOGLE_API_URL)"; \
|
|
129
|
+
# curl -sSL $$url/annotations.proto > $(GOOGLE_API_TYPES)/annotations.proto && \
|
|
130
|
+
# curl -sSL $$url/http.proto > $(GOOGLE_API_TYPES)/http.proto && \
|
|
131
|
+
# curl -sSL $$url/httpbody.proto > $(GOOGLE_API_TYPES)/httpbody.proto &&
|
|
129
132
|
|
|
130
133
|
mkdir -p $(GOOGLE_PROTO_TYPES)
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
mkdir -p $(SDK_UPGRADE_TYPES)
|
|
146
|
-
curl -sSL
|
|
134
|
+
url="$(GOGO_PROTO_URL)"; \
|
|
135
|
+
curl -sSL $$url/protobuf/google/protobuf/any.proto > $(GOOGLE_PROTO_TYPES)/any.proto
|
|
136
|
+
|
|
137
|
+
url="$(IBC_PROTO_URL)"; \
|
|
138
|
+
mkdir -p $(IBC_CHANNEL_TYPES) && \
|
|
139
|
+
curl -sSL $$url/channel/v1/channel.proto > $(IBC_CHANNEL_TYPES)/channel.proto && \
|
|
140
|
+
mkdir -p $(IBC_CLIENT_TYPES) && \
|
|
141
|
+
curl -sSL $$url/client/v1/client.proto > $(IBC_CLIENT_TYPES)/client.proto
|
|
142
|
+
|
|
143
|
+
url="$(COSMOS_SDK_PROTO_URL)"; \
|
|
144
|
+
mkdir -p $(SDK_BASE_TYPES) && \
|
|
145
|
+
curl -sSL $$url/base/v1beta1/coin.proto > $(SDK_BASE_TYPES)/coin.proto && \
|
|
146
|
+
mkdir -p $(SDK_QUERY_TYPES) && \
|
|
147
|
+
curl -sSL $$url/base/query/v1beta1/pagination.proto > $(SDK_QUERY_TYPES)/pagination.proto && \
|
|
148
|
+
mkdir -p $(SDK_UPGRADE_TYPES) && \
|
|
149
|
+
curl -sSL $$url/upgrade/v1beta1/upgrade.proto > $(SDK_UPGRADE_TYPES)/upgrade.proto
|
|
147
150
|
|
|
148
151
|
UNAME_S ?= $(shell uname -s)
|
|
149
152
|
UNAME_M ?= $(shell uname -m)
|
package/git-revision.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b5bea48
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/cosmos",
|
|
3
|
-
"version": "0.34.2-dev-
|
|
3
|
+
"version": "0.34.2-dev-b5bea48.0+b5bea48",
|
|
4
4
|
"description": "Connect JS to the Cosmos blockchain SDK",
|
|
5
5
|
"parsers": {
|
|
6
6
|
"js": "mjs"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"typeCoverage": {
|
|
40
40
|
"atLeast": 0
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "b5bea48f098cde5cef7940f645d12b2075bcbffc"
|
|
43
43
|
}
|