Skip to content

Commit

Permalink
fix protos
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalu committed Mar 8, 2022
1 parent 7a34fb2 commit bddcb73
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "mev/protos"]
path = mev/protos
url = [email protected]:jito-labs/mev-protos-priv.git
2 changes: 2 additions & 0 deletions mev/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ fn main() {
configure()
.compile(
&[
"protos/bundle.proto",
"protos/packet.proto",
"protos/searcher.proto",
"protos/shared.proto",
"protos/validator_interface_service.proto",
],
Expand Down
1 change: 1 addition & 0 deletions mev/protos
Submodule protos added at 85d60f
8 changes: 8 additions & 0 deletions mev/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
pub mod bundle {
tonic::include_proto!("bundle");
}

pub mod packet {
tonic::include_proto!("packet");
}

pub mod searcher {
tonic::include_proto!("searcher");
}

pub mod shared {
tonic::include_proto!("shared");
}
Expand Down
2 changes: 1 addition & 1 deletion validator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ pub fn main() {
Arg::with_name("validator_interface_address")
.long("validator_interface_address")
.value_name("VALIDATOR_INTERFACE_ADDRESS")
.required(true)
.required(false)
.takes_value(true)
.help("Validator interface listening address")
)
Expand Down

0 comments on commit bddcb73

Please sign in to comment.