Skip to content

Commit

Permalink
chore: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Oct 23, 2024
1 parent e22118f commit 98608b7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions bolt-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ pub enum Commands {

/// The action to perform.
#[derive(Debug, Clone, ValueEnum, Deserialize)]
#[clap(rename_all = "kebab_case")]
pub enum Action {
/// Create a delegation message.
Delegate,
Expand Down
2 changes: 1 addition & 1 deletion bolt-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn main() -> Result<()> {
println!("Signed delegation messages generated and saved to {}", out);
}
KeySource::Dirk { opts } => {
let dirk = Dirk::connect(opts.url, opts.tls_credentials).await?;
let _dirk = Dirk::connect(opts.url, opts.tls_credentials).await?;

todo!("generate delegations from dirk");
}
Expand Down
6 changes: 5 additions & 1 deletion bolt-cli/test_data/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# test data for the bolt cli tool

- `lighthouse`: A lighthouse-format keystore according to the [specs][lh-specs].
- [`lighthouse`](./lighthouse/): A lighthouse-format keystore according to the [specs][lh-specs].
It contains two directories: `validators` for the voting-keystores, and `secrets` for the passwords
needed to decrypt the keypairs.

- [`dirk`](./dirk/): A directory containing test TLS certificates and keys for authenticating a test [Dirk][dirk]
server on localhost. The certificates are self-signed for test purposes and are not to be used in production.

[lh-specs]: https://lighthouse-book.sigmaprime.io/validator-management.html#automatic-validator-discovery
[dirk]: https://github.com/attestantio/dirk

0 comments on commit 98608b7

Please sign in to comment.