Skip to content

Commit

Permalink
rename parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
himaster committed Nov 12, 2024
1 parent 38ee989 commit 27518e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chain/substreams/build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fn main() {
println!("cargo:rerun-if-changed=proto");
tonic_build::configure()
.protoc_arg("--experimental_allow_proto3_optional")
.protoc_arg("--allow_proto3_optional")
.out_dir("src/protobuf")
.compile(&["proto/codec.proto"], &["proto"])
.expect("Failed to compile Substreams entity proto(s)");
Expand Down
4 changes: 2 additions & 2 deletions graph/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ fn main() {
.expect("Failed to compile Firehose proto(s)");

tonic_build::configure()
.protoc_arg("--experimental_allow_proto3_optional")
.protoc_arg("--allow_proto3_optional")
.out_dir("src/substreams")
.compile(&["proto/substreams.proto"], &["proto"])
.expect("Failed to compile Substreams proto(s)");

tonic_build::configure()
.protoc_arg("--experimental_allow_proto3_optional")
.protoc_arg("--allow_proto3_optional")
.extern_path(".sf.substreams.v1", "crate::substreams")
.out_dir("src/substreams_rpc")
.compile(&["proto/substreams-rpc.proto"], &["proto"])
Expand Down

0 comments on commit 27518e2

Please sign in to comment.