-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Bug report
I have cloned the graph-node repo and when I try to run cargo build
I get these errors
Using protoc version 3.6.1
thread 'main' panicked at 'Failed to compile Substreams proto(s): Custom { kind: Other, error: "protoc failed: Unknown flag: --experimental_allow_proto3_optional\n" }', graph/build.rs:20:10
if I just remove the experimental flags I get
thread 'main' panicked at 'Failed to compile Substreams entity proto(s): Custom { kind: Other, error: "protoc failed: codec.proto:44:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\ncodec.prot
Where I see it uses proto2 syntax, so my question is which version of proto should I use to make it work?
Relevant log output
No response
IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out
- Tick this box if this bug is caused by a regression found in the latest release.
- Tick this box if this bug is specific to the hosted service.
- I have searched the issue tracker to make sure this issue is not a duplicate.
OS information
None
smrMadhan7