buf.gen.yaml 419 B

1234567891011
  1. # This file specifies how `buf` should generate `p2p.pb.go`. The `- M` flag
  2. # rewrites the module from `gossipsubv1` as specified in the Wormhole repo to
  3. # `main` so it can compile in our repo (as we don't have a full Go project).
  4. version: v1beta1
  5. plugins:
  6. - name: go
  7. out: .
  8. path: tools/bin/protoc-gen-go
  9. opt:
  10. - Msrc/network/p2p.proto=github.com/pyth-network/main;main
  11. - paths=source_relative