Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 11 additions & 2 deletions Makefile
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ gen: gen-client
gen-client: copy-proto
@for dir in $(PROTO_DIRS); do \
mkdir -p ./pyinjective/$${dir}; \
python3 -m grpc_tools.protoc \
python3.10 -m grpc_tools.protoc \
-I proto \
--python_out=./pyinjective/proto \
--grpc_python_out=./pyinjective/proto \
Expand All@@ -19,8 +19,17 @@ gen-client: copy-proto
copy-proto:
rm -rf pyinjective/proto
mkdir -p proto/exchange
buf export buf.build/cosmos/cosmos-sdk:v0.47.0 --output=third_party
buf export https://github.com/cosmos/ibc-go.git --exclude-imports --output=third_party
buf export https://github.com/tendermint/tendermint.git --exclude-imports --output=third_party
buf export https://github.com/CosmWasm/wasmd.git --exclude-imports --output=./third_party
buf export https://github.com/cosmos/ics23.git --exclude-imports --output=./third_party

cp -r ../injective-core/proto/injective proto/
cp -r ../injective-core/third_party/proto/* proto/
cp -r ./third_party/* proto/

rm -rf ./third_party

@for file in $(EXCHANGE_PROTO_FILES); do \
cp "$${file}" proto/exchange/; \
done
Expand Down
30 changes: 30 additions & 0 deletions pyinjective/proto/amino/amino_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions pyinjective/proto/capability/v1/capability_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions pyinjective/proto/capability/v1/genesis_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 0 additions & 54 deletions pyinjective/proto/confio/proofs_pb2.py

This file was deleted.

30 changes: 30 additions & 0 deletions pyinjective/proto/cosmos/app/runtime/v1alpha1/module_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions pyinjective/proto/cosmos/app/v1alpha1/config_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions pyinjective/proto/cosmos/app/v1alpha1/module_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions pyinjective/proto/cosmos/app/v1alpha1/query_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading