Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions internal/cmd/build/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,24 +95,25 @@ func buildServices(dir string) {

func buildMirror(dir string) {
cmd := exec.Command("protoc",
"--go_out=mirror/",
"--go_out=./",
"--go_opt=Mbasic_types.proto=github.com/hashgraph/hedera-protobufs-go/services",
"--go_opt=Mtimestamp.proto=github.com/hashgraph/hedera-protobufs-go/services",
"--go_opt=Mconsensus_submit_message.proto=github.com/hashgraph/hedera-protobufs-go/services",
"--go_opt=Mconsensus_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go_opt=Mmirror_network_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go_opt=Mmirror/consensus_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go_opt=Mmirror/mirror_network_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go_opt=paths=source_relative",
"--go-grpc_out=mirror/",
"--go-grpc_out=./",
"--go-grpc_opt=Mbasic_types.proto=github.com/hashgraph/hedera-protobufs-go/services",
"--go-grpc_opt=Mtimestamp.proto=github.com/hashgraph/hedera-protobufs-go/services",
"--go-grpc_opt=Mconsensus_submit_message.proto=github.com/hashgraph/hedera-protobufs-go/services",
"--go-grpc_opt=Mconsensus_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go-grpc_opt=Mmirror_network_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go-grpc_opt=Mmirror/consensus_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go-grpc_opt=Mmirror/mirror_network_service.proto=github.com/hashgraph/hedera-protobufs-go/mirror",
"--go-grpc_opt=paths=source_relative",
"--proto_path=proto/",
"-Iproto/mirror",
"-Iproto/services",
"proto/mirror/consensus_service.proto",
"proto/mirror/mirror_network_service.proto",
"proto/mirror/mirror_network_service.proto",
)

cmd.Dir = dir
Expand Down
169 changes: 85 additions & 84 deletions mirror/consensus_service.pb.go

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

2 changes: 1 addition & 1 deletion mirror/consensus_service_grpc.pb.go

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

Loading