From 837aa557b3aeeeee79b1148a3efbbdcbd48baea0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 07:22:55 +0000 Subject: [PATCH 1/3] Bump the patch-dependencies group with 2 updates (#1040) Bumps the patch-dependencies group with 2 updates: [serde_json](https://github.com/serde-rs/json) and [clap](https://github.com/clap-rs/clap). Updates `serde_json` from 1.0.127 to 1.0.128 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128) Updates `clap` from 4.5.16 to 4.5.17 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.16...clap_complete-v4.5.17) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-dependencies - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 12 ++++++------ crates/test-cli/Cargo.toml | 2 +- crates/threshold-signature-server/Cargo.toml | 2 +- node/cli/Cargo.toml | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f833f4494..818ef5b09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1307,9 +1307,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.16" +version = "4.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" +checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac" dependencies = [ "clap_builder", "clap_derive", @@ -1317,9 +1317,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.15" +version = "4.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" +checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73" dependencies = [ "anstream", "anstyle", @@ -11510,9 +11510,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.127" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ "itoa", "memchr", diff --git a/crates/test-cli/Cargo.toml b/crates/test-cli/Cargo.toml index 1e42929ec..9945fb6ef 100644 --- a/crates/test-cli/Cargo.toml +++ b/crates/test-cli/Cargo.toml @@ -10,7 +10,7 @@ edition ='2021' [dependencies] entropy-client={ version="0.2.0", path="../client" } -clap ={ version="4.5.16", features=["derive"] } +clap ={ version="4.5.17", features=["derive"] } colored ="2.0.4" subxt ="0.35.3" sp-core ="31.0.0" diff --git a/crates/threshold-signature-server/Cargo.toml b/crates/threshold-signature-server/Cargo.toml index c3142c924..6d52c3ee7 100644 --- a/crates/threshold-signature-server/Cargo.toml +++ b/crates/threshold-signature-server/Cargo.toml @@ -62,7 +62,7 @@ bip32 ={ version="0.5.2" } bip39 ={ version="2.0.0", features=["zeroize"] } bytes ={ version="1.7", default-features=false, features=["serde"] } base64 ="0.22.1" -clap ={ version="4.5.16", features=["derive"] } +clap ={ version="4.5.17", features=["derive"] } num ="0.4.3" snow ="0.9.6" sha3 ="0.10.8" diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index fd8c128e0..04a5c946f 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -19,7 +19,7 @@ name='entropy' [dependencies] # Third-party dependencies -clap ={ version="4.5.16", features=["derive"], optional=true } +clap ={ version="4.5.17", features=["derive"], optional=true } codec ={ package="parity-scale-codec", version="3.0.0" } futures ="0.3.30" hex-literal ="0.4.1" @@ -30,7 +30,7 @@ log ="0.4.22" pallet-im-online={ version="28.0.0" } rand ="0.8.5" serde ={ version="1.0.209", features=["derive"] } -serde_json ='1.0.127' +serde_json ='1.0.128' # Substrate Client @@ -99,7 +99,7 @@ pallet-staking-extension={ version="0.2.0", path="../../pallets/staking" } project-root="0.2.2" [build-dependencies] -clap={ version="4.5.16", optional=true } +clap={ version="4.5.17", optional=true } pallet-balances ={ version="29.0.0" } substrate-build-script-utils={ version="11.0.0" } From bd28bfae2e2485e077d17e13ac333a64c0be24ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 07:45:06 +0000 Subject: [PATCH 2/3] Bump the patch-dependencies group with 3 updates (#1042) Bumps the patch-dependencies group with 3 updates: [serde](https://github.com/serde-rs/serde), [anyhow](https://github.com/dtolnay/anyhow) and [serde_derive](https://github.com/serde-rs/serde). Updates `serde` from 1.0.209 to 1.0.210 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) Updates `anyhow` from 1.0.86 to 1.0.87 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.87) Updates `serde_derive` from 1.0.209 to 1.0.210 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-dependencies - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-dependencies - dependency-name: serde_derive dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 12 ++++++------ crates/client/Cargo.toml | 2 +- crates/protocol/Cargo.toml | 2 +- crates/test-cli/Cargo.toml | 2 +- crates/threshold-signature-server/Cargo.toml | 2 +- node/cli/Cargo.toml | 2 +- pallets/staking/Cargo.toml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 818ef5b09..f62564e91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -215,9 +215,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "10f00e1f6e58a40e807377c75c6a7f97bf9044fab57816f2414e6f5f4499d7b8" [[package]] name = "approx" @@ -11470,9 +11470,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] @@ -11488,9 +11488,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml index 29becb4e5..190468c64 100644 --- a/crates/client/Cargo.toml +++ b/crates/client/Cargo.toml @@ -29,7 +29,7 @@ reqwest ={ version="0.12.7", features=["json", "stream"], optional=true base64 ={ version="0.22.0", optional=true } synedrion ={ git="https://github.com/entropyxyz/synedrion", rev="1d210d149dfeb0dca1dd41d7fac4d0bf03c686fa", optional=true } hex ={ version="0.4.3", optional=true } -anyhow ="1.0.86" +anyhow ="1.0.87" # Only for the browser js-sys={ version="0.3.70", optional=true } diff --git a/crates/protocol/Cargo.toml b/crates/protocol/Cargo.toml index b54ebb3d9..9941d6973 100644 --- a/crates/protocol/Cargo.toml +++ b/crates/protocol/Cargo.toml @@ -49,7 +49,7 @@ schnorrkel ={ version="0.11.4", default-features=false, features=["std" [dev-dependencies] serial_test="3.1.1" sp-keyring ="34.0.0" -anyhow ="1.0.86" +anyhow ="1.0.87" num_cpus ="1.16.0" [features] diff --git a/crates/test-cli/Cargo.toml b/crates/test-cli/Cargo.toml index 9945fb6ef..f9a7dde3a 100644 --- a/crates/test-cli/Cargo.toml +++ b/crates/test-cli/Cargo.toml @@ -14,7 +14,7 @@ clap ={ version="4.5.17", features=["derive"] } colored ="2.0.4" subxt ="0.35.3" sp-core ="31.0.0" -anyhow ="1.0.86" +anyhow ="1.0.87" tokio ={ version="1.39", features=["macros", "rt-multi-thread", "io-util", "process"] } hex ="0.4.3" bincode ="1.3.3" diff --git a/crates/threshold-signature-server/Cargo.toml b/crates/threshold-signature-server/Cargo.toml index 6d52c3ee7..acc557344 100644 --- a/crates/threshold-signature-server/Cargo.toml +++ b/crates/threshold-signature-server/Cargo.toml @@ -12,7 +12,7 @@ edition ='2021' # Common serde ={ version="1.0", default-features=false, features=["derive"] } serde_json ="1.0" -anyhow ="1.0.86" +anyhow ="1.0.87" thiserror ="1.0.63" blake2 ="0.10.4" x25519-dalek ={ version="2.0.1", features=["static_secrets"] } diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 04a5c946f..1bb280170 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -29,7 +29,7 @@ lazy_static ={ version="1.5.0", features=["spin_no_std"] } log ="0.4.22" pallet-im-online={ version="28.0.0" } rand ="0.8.5" -serde ={ version="1.0.209", features=["derive"] } +serde ={ version="1.0.210", features=["derive"] } serde_json ='1.0.128' # Substrate Client diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 91fa49dd7..60beae497 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -15,7 +15,7 @@ targets=['x86_64-unknown-linux-gnu'] codec ={ package="parity-scale-codec", version="3.6.3", default-features=false, features=["derive"] } scale-info ={ version="2.11", default-features=false, features=["derive"] } log ={ version="0.4.22", default-features=false } -serde ={ version="1.0.209", default-features=false } +serde ={ version="1.0.210", default-features=false } rand_chacha={ version="0.3", default-features=false } frame-benchmarking={ version="29.0.0", default-features=false, optional=true } From b2297f76314e00239b42331f98cc4201f40ba1cf Mon Sep 17 00:00:00 2001 From: peg Date: Mon, 9 Sep 2024 17:25:45 +0200 Subject: [PATCH 3/3] Add missing BoundedVec imports (#1039) --- node/cli/src/chain_spec/dev.rs | 2 +- node/cli/src/chain_spec/integration_tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/cli/src/chain_spec/dev.rs b/node/cli/src/chain_spec/dev.rs index 4d8b2fd68..5f33a1b44 100644 --- a/node/cli/src/chain_spec/dev.rs +++ b/node/cli/src/chain_spec/dev.rs @@ -35,7 +35,7 @@ use sc_service::ChainType; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; use sp_consensus_babe::AuthorityId as BabeId; use sp_core::{sr25519, ByteArray}; -use sp_runtime::Perbill; +use sp_runtime::{BoundedVec, Perbill}; pub fn devnet_three_node_initial_tss_servers( ) -> Vec<(sp_runtime::AccountId32, TssX25519PublicKey, String)> { diff --git a/node/cli/src/chain_spec/integration_tests.rs b/node/cli/src/chain_spec/integration_tests.rs index 474751572..b45dfe5de 100644 --- a/node/cli/src/chain_spec/integration_tests.rs +++ b/node/cli/src/chain_spec/integration_tests.rs @@ -35,7 +35,7 @@ use sc_service::ChainType; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; use sp_consensus_babe::AuthorityId as BabeId; use sp_core::{sr25519, ByteArray}; -use sp_runtime::Perbill; +use sp_runtime::{BoundedVec, Perbill}; /// The configuration used for the Threshold Signature Scheme server integration tests. ///