Open umaid56 opened 2 months ago
yeah, try to follow compiler hint.
in jito_protos/build.rs
use tonic_build::configure;
fn main() {
configure()
.protoc_arg("--experimental_allow_proto3_optional")
.compile(
&[
"protos/auth.proto",
"protos/block.proto",
"protos/block_engine.proto",
"protos/bundle.proto",
"protos/packet.proto",
"protos/relayer.proto",
"protos/searcher.proto",
"protos/shared.proto",
],
&["protos"],
)
.unwrap();
}
Hi, I am facing this issue while cargo build "called
Result::unwrap()
on anErr
value: Custom { kind: Other, error: "protoc failed: bundle.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.\n" }"