Skip to content

Commit

Permalink
Merge pull request #309 from nomic-io/frost-updates
Browse files Browse the repository at this point in the history
Frost updates
  • Loading branch information
mappum authored Sep 28, 2024
2 parents 1a68304 + 6e4fc1f commit 9f2ea08
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ lazy_static = "1.4.0"
prost = "0.13.3"
cosmrs = "0.14.0"
ripemd = "0.1.3"
frost-secp256k1-tr = { git = "https://github.com/ZcashFoundation/frost", rev = "20c2c98a931c564655e2a03719e19ba916e11545", features = [
frost-secp256k1-tr = { git = "https://github.com/ZcashFoundation/frost", rev = "51fa7d09f3742563a35d065afcff6ad486430dac", features = [
"nightly",
] }
alloy = { version = "0.2.1", features = [
Expand Down Expand Up @@ -79,7 +79,7 @@ semver = "1.0.18"
glob = "0.3.1"

[features]
default = ["full", "feat-ibc", "testnet", "ethereum", "legacy-bin"]
default = ["full", "feat-ibc", "testnet", "ethereum"]
full = [
"bitcoincore-rpc-async",
"clap",
Expand Down
6 changes: 3 additions & 3 deletions rest/Cargo.lock

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

9 changes: 6 additions & 3 deletions src/bin/nomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ pub enum Command {
PayToFeePool(PayToFeePoolCmd),
BabylonRelayer(BabylonRelayerCmd),
StakeNbtc(StakeNbtcCmd),
FrostSigner(FrostSignerCmd),
#[cfg(feature = "ethereum")]
RelayEthereum(RelayEthereumCmd),
#[cfg(feature = "ethereum")]
Expand Down Expand Up @@ -251,7 +250,6 @@ impl Command {
PayToFeePool(cmd) => cmd.run().await,
BabylonRelayer(cmd) => cmd.run().await,
StakeNbtc(cmd) => cmd.run().await,
FrostSigner(cmd) => cmd.run().await,
#[cfg(feature = "ethereum")]
RelayEthereum(cmd) => cmd.run().await,
#[cfg(feature = "ethereum")]
Expand Down Expand Up @@ -1485,7 +1483,12 @@ impl SignerCmd {

let relaunch = relaunch_on_migrate(&self.config);

futures::try_join!(signer, relaunch).unwrap();
let frost_cmd = FrostSignerCmd {
config: self.config.clone(),
};
let frost_signer = frost_cmd.run();

futures::try_join!(signer, relaunch, frost_signer).unwrap();

Ok(())
}
Expand Down

0 comments on commit 9f2ea08

Please sign in to comment.