Skip to content

Commit 8c8b042

Browse files
Merge pull request #200 from InjectiveLabs/f/sdk47
F/sdk47
2 parents 1fc36c7 + 231f8cc commit 8c8b042

File tree

332 files changed

+13472
-5864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

332 files changed

+13472
-5864
lines changed

Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gen: gen-client
77
gen-client: copy-proto
88
@for dir in $(PROTO_DIRS); do \
99
mkdir -p ./pyinjective/$${dir}; \
10-
python3 -m grpc_tools.protoc \
10+
python3.10 -m grpc_tools.protoc \
1111
-I proto \
1212
--python_out=./pyinjective/proto \
1313
--grpc_python_out=./pyinjective/proto \
@@ -19,8 +19,17 @@ gen-client: copy-proto
1919
copy-proto:
2020
rm -rf pyinjective/proto
2121
mkdir -p proto/exchange
22+
buf export buf.build/cosmos/cosmos-sdk:v0.47.0 --output=third_party
23+
buf export https://github.com/cosmos/ibc-go.git --exclude-imports --output=third_party
24+
buf export https://github.com/tendermint/tendermint.git --exclude-imports --output=third_party
25+
buf export https://github.com/CosmWasm/wasmd.git --exclude-imports --output=./third_party
26+
buf export https://github.com/cosmos/ics23.git --exclude-imports --output=./third_party
27+
2228
cp -r ../injective-core/proto/injective proto/
23-
cp -r ../injective-core/third_party/proto/* proto/
29+
cp -r ./third_party/* proto/
30+
31+
rm -rf ./third_party
32+
2433
@for file in $(EXCHANGE_PROTO_FILES); do \
2534
cp "$${file}" proto/exchange/; \
2635
done

pyinjective/proto/amino/amino_pb2.py

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

pyinjective/proto/capability/v1/capability_pb2.py

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

pyinjective/proto/capability/v1/genesis_pb2.py

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

pyinjective/proto/confio/proofs_pb2.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyinjective/proto/google/protobuf/descriptor_pb2_grpc.py renamed to pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2_grpc.py

File renamed without changes.

0 commit comments

Comments
 (0)