Skip to content

Commit 21445c0

Browse files
committed
chain/ethereum: set --experimental_allow_proto3_optional flag for tonic build
1 parent 1b14208 commit 21445c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chain/ethereum/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ fn main() {
33

44
tonic_build::configure()
55
.out_dir("src/protobuf")
6+
.protoc_arg("--experimental_allow_proto3_optional")
67
.compile_protos(&["proto/ethereum.proto"], &["proto"])
78
.expect("Failed to compile Firehose Ethereum proto(s)");
89
}

0 commit comments

Comments
 (0)