Skip to content

Commit

Permalink
Fixed proto import
Browse files Browse the repository at this point in the history
  • Loading branch information
Olshansk committed Jul 18, 2023
1 parent aa8a8ff commit 61977ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,12 @@ protogen_local: go_protoc-go-inject-tag ## Generate go structures for all of the
$(PROTOC_SHARED) -I=./p2p/types/proto --go_out=./p2p/types ./p2p/types/proto/*.proto

# IBC
$(PROTOC_SHARED) -I=./ibc/types/proto --go_out=./ibc/types ./ibc/types/proto/*.proto
$(PROTOC_SHARED) -I=./ibc/client/types/proto --go_out=./ibc/client/types ./ibc/client/types/proto/*.proto
$(PROTOC_SHARED) -I=./ibc/client/light_clients/types/proto --go_out=./ibc/client/light_clients/types ./ibc/client/light_clients/types/proto/*.proto
# $(PROTOC_SHARED) -I=./ibc/types/proto --go_out=./ibc/types ./ibc/types/proto/*.proto
# $(PROTOC_SHARED) -I=./ibc/client/types/proto --go_out=./ibc/client/types ./ibc/client/types/proto/*.proto
# $(PROTOC_SHARED) -I=./ibc/client/light_clients/types/proto --go_out=./ibc/client/light_clients/types ./ibc/client/light_clients/types/proto/*.proto
$(PROTOC_SHARED) -I=./ibc/ --go_out=./ibc/types ./ibc/types/proto/*.proto
$(PROTOC_SHARED) -I=./ibc/ --go_out=./ibc/client/types ./ibc/client/types/proto/*.proto
$(PROTOC_SHARED) -I=./ibc/ --go_out=./ibc/client/light_clients/types ./ibc/client/light_clients/types/proto/*.proto

# echo "View generated proto files by running: make protogen_show"

Expand Down
2 changes: 1 addition & 1 deletion ibc/client/light_clients/types/proto/pocket.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package core;
option go_package = "github.com/pokt-network/pocket/ibc/client/light_client/types";

import "google/protobuf/timestamp.proto";
import "github.com/pokt-network/pocket/ibc/client/types/proto/wasm.proto";
import "client/types/proto/wasm.proto";

// PocketConsensusState defines the ibc client consensus state for Pocket
message PocketConsensusState {
Expand Down

0 comments on commit 61977ec

Please sign in to comment.