Skip to content

Commit

Permalink
wip: signature request
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Oct 23, 2024
1 parent 98608b7 commit fd1120e
Show file tree
Hide file tree
Showing 5 changed files with 730 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bolt-cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn main() -> io::Result<()> {
}

tonic_build::configure().build_client(true).out_dir(PB_OUT_DIR).compile_protos(
&["proto/eth2-signer-api/v1/lister.proto"],
&["proto/eth2-signer-api/v1/lister.proto", "proto/eth2-signer-api/v1/signer.proto"],
&["proto/eth2-signer-api/v1/", "proto/eth2-signer-api/"],
)
}
17 changes: 11 additions & 6 deletions bolt-cli/src/pb/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
pub mod v1;
mod v1;

#[allow(unused_imports)]
pub use v1::{
lister_client::ListerClient, Account, DistributedAccount, ListAccountsRequest,
ListAccountsResponse, ResponseState,
};
/// Re-exported protobuf API for the ETH2 remote signer service.
pub mod eth2_signer_api {

#[allow(unused_imports)]
pub use super::v1::{
lister_client::ListerClient, sign_request::Id as SignRequestId,
signer_client::SignerClient, Account, DistributedAccount, ListAccountsRequest,
ListAccountsResponse, ResponseState, SignRequest, SignResponse,
};
}
Loading

0 comments on commit fd1120e

Please sign in to comment.