Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
zakir-code committed Oct 10, 2023
1 parent 6a56389 commit 60f5c56
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fxsdk/x/marginx/oracle/v1/query_pb2.py

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

2 changes: 1 addition & 1 deletion fxsdk/x/marginx/oracle/v1/query_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

from marginx.oracle.v1 import query_pb2 as marginx_dot_oracle_dot_v1_dot_query__pb2
from fxsdk.x.marginx.oracle.v1 import query_pb2 as marginx_dot_oracle_dot_v1_dot_query__pb2


class QueryStub(object):
Expand Down
2 changes: 1 addition & 1 deletion fxsdk/x/marginx/oracle/v1/tx_pb2.py

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

2 changes: 1 addition & 1 deletion fxsdk/x/marginx/oracle/v1/tx_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

from marginx.oracle.v1 import tx_pb2 as marginx_dot_oracle_dot_v1_dot_tx__pb2
from fxsdk.x.marginx.oracle.v1 import tx_pb2 as marginx_dot_oracle_dot_v1_dot_tx__pb2


class MsgStub(object):
Expand Down
1 change: 1 addition & 0 deletions gen-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ find "$OUT_DIR" -name '*.py' -print0 | xargs -0 -I{} perl -pi -e 's|from cosmos.
find "$OUT_DIR" -name '*.py' -print0 | xargs -0 -I{} perl -pi -e 's|from tendermint.|from fxsdk.x.tendermint.|g' {}
find "$OUT_DIR" -name '*_pb2.py' -print0 | xargs -0 -I{} perl -pi -e 's|from gogoproto import|from fxsdk.x.gogoproto import|g' {}
find "$OUT_DIR" -name '*_pb2.py' -print0 | xargs -0 -I{} perl -pi -e 's|from ibc.|from fxsdk.x.ibc.|g' {}
find "$OUT_DIR" -name '*.py' -print0 | xargs -0 -I{} perl -pi -e 's|from marginx.|from fxsdk.x.marginx.|g' {}

0 comments on commit 60f5c56

Please sign in to comment.