erigon-pulse/cmd/lightclient/rpc/Makefile
Giulio rebuffo 2fd96a0b1c
[Experimental] GRPC Prototype with --experimental.lightclient to have Erigon listen on ConsenSUS gossip. (#5590)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 11:01:56 +02:00

10 lines
460 B
Makefile

all:
protoc --proto_path=proto --go_out=lightrpc --go_opt=paths=source_relative proto/*.proto --go-grpc_out=lightrpc
protoc-go-inject-tag -input="lightrpc/*.pb.go"
sed -i 's/sszsize/ssz-size/g' lightrpc/*.pb.go
sed -i 's/sszmax/ssz-max/g' lightrpc/*.pb.go
go run github.com/ferranbt/fastssz/sszgen -path lightrpc/metadata.pb.go lightrpc/beacon_block.pb.go -exclude-objs {{range $key, $val := .Aliases}}{{$key}},{{end}}Ignore
clean:
rm lightrpc/*.pb.go