Skip to content

Commit

Permalink
temporary fix for any import in query.pb.go (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Jul 21, 2022
1 parent f2168c7 commit 931d85f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ Mgoogle/protobuf/any.proto=github.com/celestiaorg/celestia-app/codec/types:. \

done

# temporary import hack to use cosmos-sdk implementation of Any type.
# check https://github.com/celestiaorg/celestia-app/issues/507 for more information.
sed -i 's/types "github.com\/celestiaorg\/celestia-app\/codec\/types"/types "github.com\/cosmos\/cosmos-sdk\/codec\/types"/g' \
github.com/celestiaorg/celestia-app/x/qgb/types/query.pb.go

# move proto files to the right places
cp -r github.com/celestiaorg/celestia-app/* ./
rm -rf github.com

0 comments on commit 931d85f

Please sign in to comment.