Skip to content

Commit

Permalink
more docs, testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Zk2u authored and storopoli committed Feb 23, 2025
1 parent d3da89c commit 6f5bb5a
Show file tree
Hide file tree
Showing 15 changed files with 383 additions and 170 deletions.
123 changes: 19 additions & 104 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions crates/secret-service-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@ edition = "2021"

[dependencies]
bitcoin.workspace = true
kanal.workspace = true
musig2.workspace = true
quinn.workspace = true
rkyv.workspace = true
secret-service-proto = { version = "0.1.0", path = "../secret-service-proto" }
strata-bridge-primitives.workspace = true
terrors.workspace = true
tokio.workspace = true
tracing.workspace = true

[lints]
rust.missing_debug_implementations = "warn"
rust.rust_2018_idioms = { level = "deny", priority = -1 }
rust.unreachable_pub = "warn"
rust.unused_crate_dependencies = "deny"
rust.unused_must_use = "deny"
rust.unsafe_op_in_unsafe_fn = "warn"
rust.missing_docs = "warn"
rustdoc.all = "warn"
4 changes: 2 additions & 2 deletions crates/secret-service-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl SecretService<Client, Musig2FirstRound, Musig2SecondRound> for SecretServic

type WotsSigner = WotsClient;

type StakeChain = StakeChainClient;
type StakeChainPreimages = StakeChainClient;

fn operator_signer(&self) -> Self::OperatorSigner {
OperatorClient {
Expand Down Expand Up @@ -128,7 +128,7 @@ impl SecretService<Client, Musig2FirstRound, Musig2SecondRound> for SecretServic
}
}

fn stake_chain(&self) -> Self::StakeChain {
fn stake_chain_preimages(&self) -> Self::StakeChainPreimages {
StakeChainClient {
conn: self.conn.clone(),
config: self.config.clone(),
Expand Down
10 changes: 10 additions & 0 deletions crates/secret-service-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@ musig2.workspace = true
quinn.workspace = true
rkyv.workspace = true
strata-bridge-primitives.workspace = true

[lints]
rust.missing_debug_implementations = "warn"
rust.rust_2018_idioms = { level = "deny", priority = -1 }
rust.unreachable_pub = "warn"
rust.unused_crate_dependencies = "deny"
rust.unused_must_use = "deny"
rust.unsafe_op_in_unsafe_fn = "warn"
rust.missing_docs = "warn"
rustdoc.all = "warn"
Loading

0 comments on commit 6f5bb5a

Please sign in to comment.