diff --git a/Cargo.lock b/Cargo.lock index 5f5b5a9df4877..056058889f5d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -260,9 +260,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.72" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "approx" @@ -426,7 +426,7 @@ dependencies = [ "async-lock", "async-task", "concurrent-queue", - "fastrand", + "fastrand 1.9.0", "futures-lite", "slab", ] @@ -507,7 +507,7 @@ dependencies = [ "log", "memchr", "once_cell", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "pin-utils", "slab", "wasm-bindgen-futures", @@ -521,9 +521,9 @@ checksum = "ecc7ab41815b3c653ccd2978ec3255c81349336702dfdf62ee6f7069b12a3aae" [[package]] name = "async-trait" -version = "0.1.71" +version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a564d521dd56509c4c47480d00b80ee55f7e385ae48db5744c67ad50c92d2ebf" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ "proc-macro2 1.0.66", "quote 1.0.31", @@ -540,7 +540,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", ] [[package]] @@ -816,7 +816,7 @@ dependencies = [ "async-lock", "async-task", "atomic-waker", - "fastrand", + "fastrand 1.9.0", "futures-lite", "log", ] @@ -1522,9 +1522,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.3.16" +version = "4.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74bb1b4028935821b2d6b439bba2e970bdcf740832732437ead910c632e30d7d" +checksum = "03aef18ddf7d879c15ce20f04826ef8418101c7e528014c3eeea13321047dca3" dependencies = [ "clap_builder", "clap_derive", @@ -1533,9 +1533,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.3.16" +version = "4.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ae467cbb0111869b765e13882a1dbbd6cb52f58203d8b80c44f667d4dd19843" +checksum = "f8ce6fffb678c9b80a70b6b6de0aad31df727623a70fd9a842c30cd573e2fa98" dependencies = [ "anstream", "anstyle", @@ -1964,7 +1964,7 @@ name = "cumulus-client-cli" version = "0.1.0" source = "git+https://github.com/paritytech/cumulus?branch=master#5386d1821a021b3ede941c5c301802856997f53c" dependencies = [ - "clap 4.3.16", + "clap 4.3.23", "parity-scale-codec", "sc-chain-spec", "sc-cli", @@ -3233,6 +3233,12 @@ dependencies = [ "instant", ] +[[package]] +name = "fastrand" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" + [[package]] name = "fatality" version = "0.0.6" @@ -3457,7 +3463,7 @@ dependencies = [ "Inflector", "array-bytes", "chrono", - "clap 4.3.16", + "clap 4.3.23", "comfy-table", "frame-benchmarking", "frame-support", @@ -3804,12 +3810,12 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ - "fastrand", + "fastrand 1.9.0", "futures-core", "futures-io", "memchr", "parking", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "waker-fn", ] @@ -3866,7 +3872,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "pin-utils", "slab", ] @@ -4229,7 +4235,7 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", ] [[package]] @@ -4272,7 +4278,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "socket2 0.4.9", "tokio", "tower-service", @@ -5955,7 +5961,7 @@ dependencies = [ name = "millau-bridge-node" version = "0.1.0" dependencies = [ - "clap 4.3.16", + "clap 4.3.23", "frame-benchmarking", "frame-benchmarking-cli", "futures", @@ -6358,7 +6364,7 @@ name = "node-inspect" version = "0.9.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9" dependencies = [ - "clap 4.3.16", + "clap 4.3.23", "parity-scale-codec", "sc-cli", "sc-client-api", @@ -8079,9 +8085,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.10" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57" +checksum = "12cc1b0bf1727a77a54b6654e7b5f1af8604923edc8b81885f8ec92f9e3f0a05" [[package]] name = "pin-utils" @@ -8203,7 +8209,7 @@ name = "polkadot-cli" version = "0.9.43" source = "git+https://github.com/paritytech/polkadot?branch=master#d00597347e2190bd1625f11c92db67a835c984e4" dependencies = [ - "clap 4.3.16", + "clap 4.3.23", "frame-benchmarking-cli", "futures", "log", @@ -9301,7 +9307,7 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "windows-sys 0.48.0", ] @@ -10253,7 +10259,7 @@ dependencies = [ name = "rialto-bridge-node" version = "0.1.0" dependencies = [ - "clap 4.3.16", + "clap 4.3.23", "frame-benchmarking", "frame-benchmarking-cli", "frame-support", @@ -10280,7 +10286,7 @@ dependencies = [ name = "rialto-parachain-collator" version = "0.1.0" dependencies = [ - "clap 4.3.16", + "clap 4.3.23", "cumulus-client-cli", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", @@ -10783,9 +10789,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.101.1" +version = "0.101.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f36a6828982f422756984e47912a7a51dcbc2a197aa791158f8ca61cd8204e" +checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d" dependencies = [ "ring", "untrusted", @@ -10946,7 +10952,7 @@ source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817 dependencies = [ "array-bytes", "chrono", - "clap 4.3.16", + "clap 4.3.23", "fdlimit", "futures", "libp2p-identity", @@ -11756,7 +11762,7 @@ name = "sc-storage-monitor" version = "0.1.0" source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9" dependencies = [ - "clap 4.3.16", + "clap 4.3.23", "fs4", "log", "sc-client-db", @@ -12234,9 +12240,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.103" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b" +checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" dependencies = [ "indexmap 2.0.0", "itoa", @@ -13816,9 +13822,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.29.5" +version = "0.29.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b949f01f9c23823744b71e0060472ecbde578ef68cc2a9e46d114efd77c3034" +checksum = "d10ed79c22663a35a255d289a7fdcb43559fc77ff15df5ce6c341809e7867528" dependencies = [ "cfg-if 1.0.0", "core-foundation-sys", @@ -13864,15 +13870,14 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "tempfile" -version = "3.6.0" +version = "3.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" +checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ - "autocfg", "cfg-if 1.0.0", - "fastrand", + "fastrand 2.0.0", "redox_syscall 0.3.5", - "rustix 0.37.23", + "rustix 0.38.4", "windows-sys 0.48.0", ] @@ -13902,18 +13907,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.43" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a35fc5b8971143ca348fa6df4f024d4d55264f3468c71ad1c2f365b0a4d58c42" +checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.43" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "463fe12d7993d3b327787537ce8dd4dfa058de32fc2b195ef3cde03dc4771e8f" +checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b" dependencies = [ "proc-macro2 1.0.66", "quote 1.0.31", @@ -14074,20 +14079,19 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.29.1" +version = "1.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" +checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" dependencies = [ - "autocfg", "backtrace", "bytes", "libc", "mio", "num_cpus", "parking_lot 0.12.1", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "signal-hook-registry", - "socket2 0.4.9", + "socket2 0.5.3", "tokio-macros", "windows-sys 0.48.0", ] @@ -14142,7 +14146,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" dependencies = [ "futures-core", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tokio", "tokio-util", ] @@ -14157,7 +14161,7 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tokio", "tracing", ] @@ -14229,7 +14233,7 @@ dependencies = [ "http", "http-body", "http-range-header", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tower-layer", "tower-service", ] @@ -14254,7 +14258,7 @@ checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" dependencies = [ "cfg-if 1.0.0", "log", - "pin-project-lite 0.2.10", + "pin-project-lite 0.2.12", "tracing-attributes", "tracing-core", ] @@ -14438,7 +14442,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#d58481569817f4a2074dbab014fa629dea7e0ec9" dependencies = [ "async-trait", - "clap 4.3.16", + "clap 4.3.23", "frame-remote-externalities", "hex", "log", @@ -14498,7 +14502,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "digest 0.10.7", "rand 0.8.5", "static_assertions", diff --git a/bin/millau/node/Cargo.toml b/bin/millau/node/Cargo.toml index a0a0e4ffbd1e0..d551694422ace 100644 --- a/bin/millau/node/Cargo.toml +++ b/bin/millau/node/Cargo.toml @@ -9,10 +9,10 @@ repository = "https://github.com/paritytech/parity-bridges-common/" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] -clap = { version = "4.3.12", features = ["derive"] } +clap = { version = "4.3.23", features = ["derive"] } futures = "0.3.28" jsonrpsee = { version = "0.16.2", features = ["server"] } -serde_json = "1.0.96" +serde_json = "1.0.105" # Bridge dependencies diff --git a/bin/rialto-parachain/node/Cargo.toml b/bin/rialto-parachain/node/Cargo.toml index 7dc89a0111c95..537098bbd6e61 100644 --- a/bin/rialto-parachain/node/Cargo.toml +++ b/bin/rialto-parachain/node/Cargo.toml @@ -17,8 +17,8 @@ default = [] runtime-benchmarks = ['rialto-parachain-runtime/runtime-benchmarks'] [dependencies] -clap = { version = "4.2.7", features = ["derive"] } -log = '0.4.17' +clap = { version = "4.3.23", features = ["derive"] } +log = '0.4.20' codec = { package = 'parity-scale-codec', version = '3.1.5' } serde = { version = '1.0', features = ['derive'] } diff --git a/bin/rialto/node/Cargo.toml b/bin/rialto/node/Cargo.toml index 7f28a15426322..aa3824e4d51de 100644 --- a/bin/rialto/node/Cargo.toml +++ b/bin/rialto/node/Cargo.toml @@ -9,8 +9,8 @@ repository = "https://github.com/paritytech/parity-bridges-common/" license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] -clap = { version = "4.2.7", features = ["derive"] } -serde_json = "1.0.96" +clap = { version = "4.3.23", features = ["derive"] } +serde_json = "1.0.105" # Bridge dependencies diff --git a/bin/runtime-common/Cargo.toml b/bin/runtime-common/Cargo.toml index 9ca6a4c5df98c..5fb75f3887f11 100644 --- a/bin/runtime-common/Cargo.toml +++ b/bin/runtime-common/Cargo.toml @@ -9,7 +9,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive"] } hash-db = { version = "0.16.0", default-features = false } -log = { version = "0.4.19", default-features = false } +log = { version = "0.4.20", default-features = false } scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } static_assertions = { version = "1.1", optional = true } diff --git a/fuzz/storage-proof/Cargo.toml b/fuzz/storage-proof/Cargo.toml index 61d0e63a8789b..7ba4a9a4d0bec 100644 --- a/fuzz/storage-proof/Cargo.toml +++ b/fuzz/storage-proof/Cargo.toml @@ -9,7 +9,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] honggfuzz = "0.5.54" -log = "0.4.0" +log = "0.4.20" env_logger = "0.10.0" # Bridge Dependencies diff --git a/modules/beefy/Cargo.toml b/modules/beefy/Cargo.toml index 421f11ddc8979..202d30b170579 100644 --- a/modules/beefy/Cargo.toml +++ b/modules/beefy/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -log = { version = "0.4.19", default-features = false } +log = { version = "0.4.20", default-features = false } scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } serde = { version = "1.0", optional = true } diff --git a/modules/grandpa/Cargo.toml b/modules/grandpa/Cargo.toml index d04c60729790e..0bd62beeaad48 100644 --- a/modules/grandpa/Cargo.toml +++ b/modules/grandpa/Cargo.toml @@ -10,7 +10,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false } finality-grandpa = { version = "0.16.2", default-features = false } -log = { version = "0.4.19", default-features = false } +log = { version = "0.4.20", default-features = false } scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } # Bridge Dependencies diff --git a/modules/messages/Cargo.toml b/modules/messages/Cargo.toml index da69f66d53868..8db52acefc0b4 100644 --- a/modules/messages/Cargo.toml +++ b/modules/messages/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false } -log = { version = "0.4.19", default-features = false } +log = { version = "0.4.20", default-features = false } num-traits = { version = "0.2", default-features = false } scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } diff --git a/modules/parachains/Cargo.toml b/modules/parachains/Cargo.toml index f7e2184a261d2..3e8d00511d533 100644 --- a/modules/parachains/Cargo.toml +++ b/modules/parachains/Cargo.toml @@ -7,7 +7,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false } -log = { version = "0.4.19", default-features = false } +log = { version = "0.4.20", default-features = false } scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } # Bridge Dependencies diff --git a/modules/relayers/Cargo.toml b/modules/relayers/Cargo.toml index ef41d70a242f2..93b0917970608 100644 --- a/modules/relayers/Cargo.toml +++ b/modules/relayers/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false } -log = { version = "0.4.19", default-features = false } +log = { version = "0.4.20", default-features = false } scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } # Bridge dependencies diff --git a/modules/xcm-bridge-hub-router/Cargo.toml b/modules/xcm-bridge-hub-router/Cargo.toml index 3d13e7cc3d7f2..8a6bcef060480 100644 --- a/modules/xcm-bridge-hub-router/Cargo.toml +++ b/modules/xcm-bridge-hub-router/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false } -log = { version = "0.4.19", default-features = false } +log = { version = "0.4.20", default-features = false } scale-info = { version = "2.8.0", default-features = false, features = ["bit-vec", "derive", "serde"] } # Bridge dependencies diff --git a/relays/bin-substrate/Cargo.toml b/relays/bin-substrate/Cargo.toml index f71920a1d182e..6e95895983098 100644 --- a/relays/bin-substrate/Cargo.toml +++ b/relays/bin-substrate/Cargo.toml @@ -12,7 +12,7 @@ async-trait = "0.1" codec = { package = "parity-scale-codec", version = "3.1.5" } futures = "0.3.28" hex = "0.4" -log = "0.4.17" +log = "0.4.20" num-format = "0.4" num-traits = "0.2" rbtag = "0.3" @@ -72,5 +72,5 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "maste bp-test-utils = { path = "../../primitives/test-utils" } hex-literal = "0.4" sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -tempfile = "3.5" +tempfile = "3.8" finality-grandpa = { version = "0.16.2" } diff --git a/relays/bin-substrate/src/bridges/rialto_millau/millau_headers_to_rialto.rs b/relays/bin-substrate/src/bridges/rialto_millau/millau_headers_to_rialto.rs index 490ded1f67cb9..2e2452eb31b8c 100644 --- a/relays/bin-substrate/src/bridges/rialto_millau/millau_headers_to_rialto.rs +++ b/relays/bin-substrate/src/bridges/rialto_millau/millau_headers_to_rialto.rs @@ -41,7 +41,7 @@ impl SubstrateFinalitySyncPipeline for MillauFinalityToRialto { >; } -//// `Millau` to `Rialto` bridge definition. +/// `Millau` to `Rialto` bridge definition. pub struct MillauToRialtoCliBridge {} impl CliBridgeBase for MillauToRialtoCliBridge { diff --git a/relays/bin-substrate/src/bridges/rialto_millau/rialto_headers_to_millau.rs b/relays/bin-substrate/src/bridges/rialto_millau/rialto_headers_to_millau.rs index c6ac05011f301..c855aa66c2983 100644 --- a/relays/bin-substrate/src/bridges/rialto_millau/rialto_headers_to_millau.rs +++ b/relays/bin-substrate/src/bridges/rialto_millau/rialto_headers_to_millau.rs @@ -41,7 +41,7 @@ impl SubstrateFinalitySyncPipeline for RialtoFinalityToMillau { >; } -//// `Rialto` to `Millau` bridge definition. +/// `Rialto` to `Millau` bridge definition. pub struct RialtoToMillauCliBridge {} impl CliBridgeBase for RialtoToMillauCliBridge { diff --git a/relays/bin-substrate/src/bridges/rialto_parachain_millau/millau_headers_to_rialto_parachain.rs b/relays/bin-substrate/src/bridges/rialto_parachain_millau/millau_headers_to_rialto_parachain.rs index 79d3bde22fa75..fd7559843022d 100644 --- a/relays/bin-substrate/src/bridges/rialto_parachain_millau/millau_headers_to_rialto_parachain.rs +++ b/relays/bin-substrate/src/bridges/rialto_parachain_millau/millau_headers_to_rialto_parachain.rs @@ -62,7 +62,7 @@ impl SubstrateFinalitySyncPipeline for MillauFinalityToRialtoParachain { type SubmitFinalityProofCallBuilder = MillauFinalityToRialtoParachainCallBuilder; } -//// `Millau` to `RialtoParachain` bridge definition. +/// `Millau` to `RialtoParachain` bridge definition. pub struct MillauToRialtoParachainCliBridge {} impl CliBridgeBase for MillauToRialtoParachainCliBridge { diff --git a/relays/bin-substrate/src/bridges/rialto_parachain_millau/rialto_parachains_to_millau.rs b/relays/bin-substrate/src/bridges/rialto_parachain_millau/rialto_parachains_to_millau.rs index 04f2b5aa7c745..6b2a1332144dc 100644 --- a/relays/bin-substrate/src/bridges/rialto_parachain_millau/rialto_parachains_to_millau.rs +++ b/relays/bin-substrate/src/bridges/rialto_parachain_millau/rialto_parachains_to_millau.rs @@ -44,7 +44,7 @@ pub type RialtoParachainsToMillauSubmitParachainHeadsCallBuilder = millau_runtime::WithRialtoParachainsInstance, >; -//// `RialtoParachain` to `Millau` bridge definition. +/// `RialtoParachain` to `Millau` bridge definition. pub struct RialtoParachainToMillauCliBridge {} impl CliBridgeBase for RialtoParachainToMillauCliBridge { diff --git a/relays/bin-substrate/src/bridges/westend_millau/westend_headers_to_millau.rs b/relays/bin-substrate/src/bridges/westend_millau/westend_headers_to_millau.rs index eadbc3057045a..afbbd064d1fe0 100644 --- a/relays/bin-substrate/src/bridges/westend_millau/westend_headers_to_millau.rs +++ b/relays/bin-substrate/src/bridges/westend_millau/westend_headers_to_millau.rs @@ -41,7 +41,7 @@ impl SubstrateFinalitySyncPipeline for WestendFinalityToMillau { >; } -//// `Westend` to `Millau` bridge definition. +/// `Westend` to `Millau` bridge definition. pub struct WestendToMillauCliBridge {} impl CliBridgeBase for WestendToMillauCliBridge { diff --git a/relays/bin-substrate/src/bridges/westend_millau/westend_parachains_to_millau.rs b/relays/bin-substrate/src/bridges/westend_millau/westend_parachains_to_millau.rs index 78164eb17e449..a3d5ba08df503 100644 --- a/relays/bin-substrate/src/bridges/westend_millau/westend_parachains_to_millau.rs +++ b/relays/bin-substrate/src/bridges/westend_millau/westend_parachains_to_millau.rs @@ -43,7 +43,7 @@ pub type WestendParachainsToMillauSubmitParachainHeadsCallBuilder = millau_runtime::WithWestendParachainsInstance, >; -//// `WestendParachain` to `Millau` bridge definition. +/// `WestendParachain` to `Millau` bridge definition. pub struct AssetHubWestendToMillauCliBridge {} impl ParachainToRelayHeadersCliBridge for AssetHubWestendToMillauCliBridge { diff --git a/relays/bin-substrate/src/cli/relay_headers_and_messages/mod.rs b/relays/bin-substrate/src/cli/relay_headers_and_messages/mod.rs index a47283400aab0..21b352aff6ef6 100644 --- a/relays/bin-substrate/src/cli/relay_headers_and_messages/mod.rs +++ b/relays/bin-substrate/src/cli/relay_headers_and_messages/mod.rs @@ -355,14 +355,14 @@ where let common = self.mut_base().mut_common(); substrate_relay_helper::messages_metrics::add_relay_balances_metrics::<_, Self::Right>( common.left.client.clone(), - &mut common.metrics_params, + &common.metrics_params, &common.left.accounts, &lanes, ) .await?; substrate_relay_helper::messages_metrics::add_relay_balances_metrics::<_, Self::Left>( common.right.client.clone(), - &mut common.metrics_params, + &common.metrics_params, &common.right.accounts, &lanes, ) diff --git a/relays/client-substrate/Cargo.toml b/relays/client-substrate/Cargo.toml index 359f049d9dbd0..e0c1a5461f971 100644 --- a/relays/client-substrate/Cargo.toml +++ b/relays/client-substrate/Cargo.toml @@ -11,12 +11,12 @@ async-trait = "0.1" codec = { package = "parity-scale-codec", version = "3.1.5" } futures = "0.3.28" jsonrpsee = { version = "0.17", features = ["macros", "ws-client"] } -log = "0.4.17" +log = "0.4.20" num-traits = "0.2" rand = "0.8" scale-info = { version = "2.9.0", features = ["derive"] } -tokio = { version = "1.28", features = ["rt-multi-thread"] } -thiserror = "1.0.40" +tokio = { version = "1.32", features = ["rt-multi-thread"] } +thiserror = "1.0.47" # Bridge dependencies diff --git a/relays/lib-substrate-relay/Cargo.toml b/relays/lib-substrate-relay/Cargo.toml index 72e97dbe69ac6..8fe86bfb06a08 100644 --- a/relays/lib-substrate-relay/Cargo.toml +++ b/relays/lib-substrate-relay/Cargo.toml @@ -7,14 +7,14 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] anyhow = "1.0" -thiserror = "1.0.40" +thiserror = "1.0.47" async-std = "1.9.0" async-trait = "0.1" codec = { package = "parity-scale-codec", version = "3.1.5" } futures = "0.3.28" hex = "0.4" num-traits = "0.2" -log = "0.4.17" +log = "0.4.20" # Bridge dependencies diff --git a/relays/lib-substrate-relay/src/messages_metrics.rs b/relays/lib-substrate-relay/src/messages_metrics.rs index 50972dfc49cb6..27bf6186c3ba0 100644 --- a/relays/lib-substrate-relay/src/messages_metrics.rs +++ b/relays/lib-substrate-relay/src/messages_metrics.rs @@ -37,7 +37,7 @@ use std::{convert::TryFrom, fmt::Debug, marker::PhantomData}; /// Add relay accounts balance metrics. pub async fn add_relay_balances_metrics( client: Client, - metrics: &mut MetricsParams, + metrics: &MetricsParams, relay_accounts: &Vec>>, lanes: &[LaneId], ) -> anyhow::Result<()> diff --git a/relays/messages/Cargo.toml b/relays/messages/Cargo.toml index a45b272810537..4d84f220a3a6d 100644 --- a/relays/messages/Cargo.toml +++ b/relays/messages/Cargo.toml @@ -11,7 +11,7 @@ async-trait = "0.1" env_logger = "0.10" futures = "0.3.28" hex = "0.4" -log = "0.4.17" +log = "0.4.20" num-traits = "0.2" parking_lot = "0.12.1" diff --git a/relays/messages/src/message_race_loop.rs b/relays/messages/src/message_race_loop.rs index 3df9eef496016..f28be78842fc1 100644 --- a/relays/messages/src/message_race_loop.rs +++ b/relays/messages/src/message_race_loop.rs @@ -664,7 +664,7 @@ pub async fn run, TC: TargetClient

>( }) .fuse(), ); - } else if source_nonces_required && best_at_source.is_some() { + } else if let (true, Some(best_at_source)) = (source_nonces_required, best_at_source) { log::debug!(target: "bridge", "Asking {} about message nonces", P::source_name()); let at_block = race_state .best_finalized_source_header_id_at_source @@ -674,11 +674,7 @@ pub async fn run, TC: TargetClient

>( best_finalized_source_header_id_at_source is Some; qed", ) .clone(); - source_nonces.set( - race_source - .nonces(at_block, best_at_source.expect("guaranteed by if condition; qed")) - .fuse(), - ); + source_nonces.set(race_source.nonces(at_block, best_at_source).fuse()); } else { source_client_is_online = true; } diff --git a/relays/parachains/Cargo.toml b/relays/parachains/Cargo.toml index 0cecf063922f9..75fec34b425f2 100644 --- a/relays/parachains/Cargo.toml +++ b/relays/parachains/Cargo.toml @@ -7,9 +7,9 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0" [dependencies] async-std = "1.6.5" -async-trait = "0.1.68" +async-trait = "0.1.73" futures = "0.3.28" -log = "0.4.17" +log = "0.4.20" relay-utils = { path = "../utils" } # Bridge dependencies diff --git a/relays/utils/Cargo.toml b/relays/utils/Cargo.toml index 65e268a07707e..5aa1a4e6bb224 100644 --- a/relays/utils/Cargo.toml +++ b/relays/utils/Cargo.toml @@ -15,13 +15,13 @@ isahc = "1.2" env_logger = "0.10.0" futures = "0.3.28" jsonpath_lib = "0.3" -log = "0.4.17" +log = "0.4.20" num-traits = "0.2" serde_json = "1.0" sysinfo = "0.29" time = { version = "0.3", features = ["formatting", "local-offset", "std"] } -tokio = { version = "1.28", features = ["rt"] } -thiserror = "1.0.40" +tokio = { version = "1.32", features = ["rt"] } +thiserror = "1.0.47" # Bridge dependencies diff --git a/tools/runtime-codegen/Cargo.lock b/tools/runtime-codegen/Cargo.lock index f4c31636572ac..9548f54c9883a 100644 --- a/tools/runtime-codegen/Cargo.lock +++ b/tools/runtime-codegen/Cargo.lock @@ -2704,9 +2704,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.100.1" +version = "0.100.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" +checksum = "e98ff011474fa39949b7e5c0428f9b4937eda7da7848bbb947786b7be0b27dab" dependencies = [ "ring", "untrusted",