From 46f2675b60717c041005a5efd3e0a485d9c19696 Mon Sep 17 00:00:00 2001 From: Liu-Cheng Xu Date: Fri, 22 Nov 2024 21:27:31 +0800 Subject: [PATCH] Update polkadot-sdk (#77) * Update polkadot-sdk * Upgrade to 1.82 --- Cargo.lock | 1215 ++++++++--------- Cargo.toml | 98 +- crates/subcoin-service/src/lib.rs | 4 +- .../subcoin-service/src/transaction_pool.rs | 43 +- crates/subcoin-snapcake/src/main.rs | 4 +- rust-toolchain.toml | 2 +- 6 files changed, 615 insertions(+), 751 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 15baac7a..910de031 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -717,9 +717,9 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.82" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", @@ -871,19 +871,10 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d965446196e3b7decd44aa7ee49e31d630118f90ef12f97900f262eb915c951d" -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "hash-db", "log", @@ -1216,9 +1207,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.2.0" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" +checksum = "3d077619e9c237a5d1875166f5e8033e8f6bff0c96f8caf81e1c2d7738c431bf" dependencies = [ "log", "parity-scale-codec", @@ -1390,12 +1381,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" -[[package]] -name = "cfg_aliases" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" - [[package]] name = "chacha" version = "0.3.0" @@ -1520,7 +1505,7 @@ dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim 0.11.1", + "strsim", "terminal_size", ] @@ -1948,6 +1933,21 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "crypto_secretbox" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d6cf87adf719ddf43a805e92c6870a531aedda35ff640442cbaf8674e141e1" +dependencies = [ + "aead", + "cipher 0.4.4", + "generic-array 0.14.7", + "poly1305", + "salsa20", + "subtle 2.6.1", + "zeroize", +] + [[package]] name = "csv" version = "1.3.1" @@ -1981,7 +1981,7 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1991,11 +1991,11 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sp-api", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", "tracing", ] @@ -2003,7 +2003,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2019,7 +2019,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2033,22 +2033,22 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", ] [[package]] name = "cumulus-relay-chain-interface" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "cumulus-primitives-core", "futures", - "jsonrpsee-core 0.24.3", + "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", "sc-client-api", @@ -2062,7 +2062,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2143,38 +2143,14 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "darling" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" -dependencies = [ - "darling_core 0.14.4", - "darling_macro 0.14.4", -] - [[package]] name = "darling" version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" dependencies = [ - "darling_core 0.20.10", - "darling_macro 0.20.10", -] - -[[package]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn 1.0.109", + "darling_core", + "darling_macro", ] [[package]] @@ -2187,28 +2163,17 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", + "strsim", "syn 2.0.87", ] -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core 0.14.4", - "quote", - "syn 1.0.109", -] - [[package]] name = "darling_macro" version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ - "darling_core 0.20.10", + "darling_core", "quote", "syn 2.0.87", ] @@ -2351,6 +2316,27 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", + "unicode-xid", +] + [[package]] name = "difflib" version = "0.4.0" @@ -2680,16 +2666,6 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" -[[package]] -name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "pin-project-lite 0.2.14", -] - [[package]] name = "event-listener" version = "5.3.1" @@ -2870,16 +2846,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "finito" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2384245d85162258a14b43567a9ee3598f5ae746a1581fb5d3d2cb780f0dbf95" -dependencies = [ - "futures-timer", - "pin-project", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -2916,7 +2882,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", ] @@ -2949,7 +2915,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "frame-support", "frame-support-procedural", @@ -2965,15 +2931,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "32.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "Inflector", "array-bytes", @@ -3011,21 +2977,21 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-database", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-genesis-builder", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-timestamp", "sp-transaction-pool", "sp-trie", "sp-version", - "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "subxt", "subxt-signer", "thiserror", @@ -3033,14 +2999,17 @@ dependencies = [ ] [[package]] -name = "frame-metadata" -version = "15.1.0" +name = "frame-decode" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +checksum = "02d3379df61ff3dd871e2dde7d1bcdc0263e613c21c7579b149fd4f0ad9b1dc2" dependencies = [ - "cfg-if", + "frame-metadata 17.0.0", "parity-scale-codec", + "scale-decode", "scale-info", + "scale-type-resolver", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3055,10 +3024,22 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-metadata" +version = "17.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "aquamarine", "array-bytes", @@ -3082,7 +3063,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-crypto-hashing-proc-macro", - "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -3090,8 +3071,8 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", "sp-weights", "static_assertions", @@ -3101,7 +3082,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "Inflector", "cfg-expr", @@ -3114,14 +3095,14 @@ dependencies = [ "proc-macro-warning 1.0.2", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "syn 2.0.87", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -3133,7 +3114,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "proc-macro2", "quote", @@ -3143,7 +3124,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "cfg-if", "docify", @@ -3155,7 +3136,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-version", "sp-weights", ] @@ -3163,7 +3144,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "docify", "parity-scale-codec", @@ -3173,7 +3154,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "frame-support", "parity-scale-codec", @@ -3857,22 +3838,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http 0.2.12", - "hyper 0.14.29", - "log", - "rustls 0.21.12", - "rustls-native-certs 0.6.3", - "tokio", - "tokio-rustls 0.24.1", -] - [[package]] name = "hyper-util" version = "0.1.6" @@ -3998,15 +3963,6 @@ dependencies = [ "xmltree", ] -[[package]] -name = "impl-codec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" -dependencies = [ - "parity-scale-codec", -] - [[package]] name = "impl-codec" version = "0.7.0" @@ -4027,15 +3983,6 @@ dependencies = [ "uint 0.10.0", ] -[[package]] -name = "impl-serde" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" -dependencies = [ - "serde", -] - [[package]] name = "impl-serde" version = "0.5.0" @@ -4221,6 +4168,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" @@ -4267,72 +4223,30 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" -dependencies = [ - "jsonrpsee-client-transport 0.22.5", - "jsonrpsee-core 0.22.5", - "jsonrpsee-http-client", - "jsonrpsee-types 0.22.5", -] - -[[package]] -name = "jsonrpsee" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" +checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" dependencies = [ - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", - "jsonrpsee-ws-client", -] - -[[package]] -name = "jsonrpsee" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ec465b607a36dc5dd45d48b7689bc83f679f66a3ac6b6b21cc787a11e0f8685" -dependencies = [ - "jsonrpsee-core 0.24.3", + "jsonrpsee-client-transport", + "jsonrpsee-core", "jsonrpsee-proc-macros", "jsonrpsee-server", - "jsonrpsee-types 0.24.3", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" -dependencies = [ - "futures-util", - "http 0.2.12", - "jsonrpsee-core 0.22.5", - "pin-project", - "rustls-native-certs 0.7.3", - "rustls-pki-types", - "soketto 0.7.1", - "thiserror", + "jsonrpsee-types", + "jsonrpsee-ws-client", "tokio", - "tokio-rustls 0.25.0", - "tokio-util", "tracing", - "url", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" +checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" dependencies = [ "base64 0.22.1", "futures-util", "http 1.1.0", - "jsonrpsee-core 0.23.2", + "jsonrpsee-core", "pin-project", "rustls 0.23.16", "rustls-pki-types", @@ -4348,97 +4262,35 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "futures-timer", - "futures-util", - "hyper 0.14.29", - "jsonrpsee-types 0.22.5", - "pin-project", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "thiserror", - "tokio", - "tokio-stream", - "tracing", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "futures-timer", - "futures-util", - "jsonrpsee-types 0.23.2", - "pin-project", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "thiserror", - "tokio", - "tokio-stream", - "tracing", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e942c55635fbf5dc421938b8558a8141c7e773720640f4f1dbe1f4164ca4e221" +checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" dependencies = [ "async-trait", "bytes", + "futures-timer", "futures-util", "http 1.1.0", "http-body 1.0.1", "http-body-util", - "jsonrpsee-types 0.24.3", + "jsonrpsee-types", "parking_lot 0.12.3", + "pin-project", "rand", "rustc-hash 2.0.0", "serde", "serde_json", "thiserror", "tokio", + "tokio-stream", "tracing", ] -[[package]] -name = "jsonrpsee-http-client" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" -dependencies = [ - "async-trait", - "hyper 0.14.29", - "hyper-rustls", - "jsonrpsee-core 0.22.5", - "jsonrpsee-types 0.22.5", - "serde", - "serde_json", - "thiserror", - "tokio", - "tower", - "tracing", - "url", -] - [[package]] name = "jsonrpsee-proc-macros" -version = "0.24.3" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b07a2daf52077ab1b197aea69a5c990c060143835bf04c77070e98903791715" +checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" dependencies = [ "heck 0.5.0", "proc-macro-crate 3.1.0", @@ -4449,9 +4301,9 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.24.3" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038fb697a709bec7134e9ccbdbecfea0e2d15183f7140254afef7c5610a3f488" +checksum = "82ad8ddc14be1d4290cd68046e7d1d37acd408efed6d3ca08aefcc3ad6da069c" dependencies = [ "futures-util", "http 1.1.0", @@ -4459,8 +4311,8 @@ dependencies = [ "http-body-util", "hyper 1.4.1", "hyper-util", - "jsonrpsee-core 0.24.3", - "jsonrpsee-types 0.24.3", + "jsonrpsee-core", + "jsonrpsee-types", "pin-project", "route-recognizer", "serde", @@ -4476,35 +4328,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af" -dependencies = [ - "beef", - "http 1.1.0", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b67d6e008164f027afbc2e7bb79662650158d26df200040282d2aa1cbb093b" +checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" dependencies = [ "http 1.1.0", "serde", @@ -4514,14 +4340,14 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" +checksum = "0fe322e0896d0955a3ebdd5bf813571c53fea29edd713bc315b76620b327e86d" dependencies = [ "http 1.1.0", - "jsonrpsee-client-transport 0.23.2", - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", "url", ] @@ -4550,11 +4376,11 @@ dependencies = [ [[package]] name = "keccak-hash" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b286e6b663fb926e1eeb68528e69cb70ed46c6d65871a21b2215ae8154c6d3c" +checksum = "3e1b8590eb6148af2ea2d75f38e7d29f5ca970d5a4df456b3ef19b8b415d0264" dependencies = [ - "primitive-types 0.12.2", + "primitive-types", "tiny-keccak", ] @@ -5230,9 +5056,9 @@ dependencies = [ [[package]] name = "litep2p" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7286b1971f85d1d60be40ef49e81c1f3b5a0d8b83cfa02ab53591cdacae22901" +checksum = "5b67484b8ac41e1cfdf012f65fa81e88c2ef5f8a7d6dec0e2678c2d06dc04530" dependencies = [ "async-trait", "bs58", @@ -5590,6 +5416,12 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "multi-stash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f" + [[package]] name = "multiaddr" version = "0.17.1" @@ -5854,12 +5686,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" -[[package]] -name = "no-std-net" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" - [[package]] name = "nodrop" version = "0.1.14" @@ -5935,6 +5761,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "num-format" version = "0.4.4" @@ -6111,7 +5948,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "docify", "frame-benchmarking", @@ -6137,7 +5974,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "subcoin-runtime-primitives", ] @@ -6159,15 +5996,15 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-version", ] [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "frame-benchmarking", "frame-support", @@ -6341,6 +6178,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", + "hmac 0.12.1", "password-hash", ] @@ -6488,7 +6326,7 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "scale-info", @@ -6499,7 +6337,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bs58", "futures", @@ -6518,12 +6356,12 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-channel 1.9.0", "async-trait", "bitvec", - "derive_more", + "derive_more 0.99.18", "fatality", "futures", "hex", @@ -6543,7 +6381,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bitvec", "bounded-vec", @@ -6569,11 +6407,11 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "bitvec", - "derive_more", + "derive_more 0.99.18", "fatality", "futures", "orchestra", @@ -6598,7 +6436,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "futures", @@ -6620,10 +6458,10 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bounded-collections", - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "polkadot-core-primitives", "scale-info", @@ -6636,7 +6474,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bitvec", "hex-literal", @@ -6657,14 +6495,23 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "thiserror", ] +[[package]] +name = "polkadot-sdk" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775" +dependencies = [ + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "polkadot-statement-table" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -6861,19 +6708,6 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "primitive-types" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" -dependencies = [ - "fixed-hash", - "impl-codec 0.6.0", - "impl-serde 0.4.0", - "scale-info", - "uint 0.9.5", -] - [[package]] name = "primitive-types" version = "0.13.1" @@ -6881,9 +6715,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" dependencies = [ "fixed-hash", - "impl-codec 0.7.0", + "impl-codec", "impl-num-traits", - "impl-serde 0.5.0", + "impl-serde", "scale-info", "uint 0.10.0", ] @@ -6896,7 +6730,7 @@ checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", - "derive_more", + "derive_more 0.99.18", "futures", "futures-timer", "nanorand", @@ -6947,6 +6781,28 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "proc-macro-warning" version = "0.4.2" @@ -7313,22 +7169,6 @@ dependencies = [ "yasna", ] -[[package]] -name = "reconnecting-jsonrpsee-ws-client" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06fa4f17e09edfc3131636082faaec633c7baa269396b4004040bc6c52f49f65" -dependencies = [ - "cfg_aliases 0.2.1", - "finito", - "futures", - "jsonrpsee 0.23.2", - "serde_json", - "thiserror", - "tokio", - "tracing", -] - [[package]] name = "redox_syscall" version = "0.2.16" @@ -7414,14 +7254,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.5" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.7", - "regex-syntax 0.8.4", + "regex-automata 0.4.9", + "regex-syntax 0.8.5", ] [[package]] @@ -7435,13 +7275,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.4", + "regex-syntax 0.8.5", ] [[package]] @@ -7452,9 +7292,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "resolv-conf" @@ -7676,20 +7516,6 @@ dependencies = [ "sct", ] -[[package]] -name = "rustls" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" -dependencies = [ - "log", - "ring 0.17.8", - "rustls-pki-types", - "rustls-webpki 0.102.8", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "rustls" version = "0.23.16" @@ -7810,13 +7636,12 @@ checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "ruzstd" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" +checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" dependencies = [ "byteorder", - "derive_more", - "twox-hash", + "derive_more 0.99.18", ] [[package]] @@ -7845,6 +7670,15 @@ dependencies = [ "bytemuck", ] +[[package]] +name = "salsa20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" +dependencies = [ + "cipher 0.4.4", +] + [[package]] name = "same-file" version = "1.0.6" @@ -7857,24 +7691,23 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "log", "sp-core", - "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "thiserror", ] [[package]] name = "sc-authority-discovery" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "futures", "futures-timer", "ip_network", - "libp2p", "linked_hash_set", "log", "multihash 0.19.1", @@ -7898,7 +7731,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "sp-api", @@ -7913,7 +7746,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "docify", @@ -7929,18 +7762,18 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-genesis-builder", "sp-io", "sp-runtime", "sp-state-machine", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -7951,7 +7784,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "chrono", @@ -7993,7 +7826,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "fnv", "futures", @@ -8008,11 +7841,11 @@ dependencies = [ "sp-consensus", "sp-core", "sp-database", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-runtime", "sp-state-machine", "sp-statement-store", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", "substrate-prometheus-endpoint", ] @@ -8020,7 +7853,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "hash-db", "kvdb", @@ -8046,7 +7879,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "futures", @@ -8097,7 +7930,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -8107,25 +7940,25 @@ dependencies = [ "schnellru", "sp-api", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-io", "sp-panic-handler", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", "sp-version", - "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "tracing", ] [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "polkavm", "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "thiserror", "wasm-instrument", ] @@ -8133,18 +7966,18 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "log", "polkavm", "sc-executor-common", - "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "anyhow", "cfg-if", @@ -8154,15 +7987,15 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "wasmtime", ] [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "console", "futures", @@ -8179,7 +8012,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -8193,7 +8026,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -8222,7 +8055,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -8273,7 +8106,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -8291,7 +8124,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -8312,7 +8145,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -8349,7 +8182,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "futures", @@ -8368,11 +8201,13 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bs58", + "bytes", "ed25519-dalek", "libp2p-identity", + "libp2p-kad", "litep2p", "log", "multiaddr 0.18.1", @@ -8385,10 +8220,10 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "futures", - "jsonrpsee 0.24.3", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -8417,9 +8252,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ - "jsonrpsee 0.24.3", + "jsonrpsee", "parity-scale-codec", "sc-chain-spec", "sc-mixnet", @@ -8437,7 +8272,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -8447,7 +8282,7 @@ dependencies = [ "http-body-util", "hyper 1.4.1", "ip_network", - "jsonrpsee 0.24.3", + "jsonrpsee", "log", "sc-rpc-api", "serde", @@ -8461,13 +8296,13 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "futures", "futures-util", "hex", - "jsonrpsee 0.24.3", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -8492,14 +8327,14 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.24.3", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -8534,12 +8369,12 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -8556,7 +8391,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "log", "parity-scale-codec", @@ -8567,7 +8402,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.16.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "clap", "fs4", @@ -8580,9 +8415,9 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ - "derive_more", + "derive_more 0.99.18", "futures", "libc", "log", @@ -8593,15 +8428,15 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-io", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "chrono", "futures", @@ -8621,7 +8456,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "chrono", "console", @@ -8639,7 +8474,7 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "thiserror", "tracing", "tracing-log", @@ -8649,7 +8484,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -8660,7 +8495,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "futures", @@ -8678,9 +8513,9 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -8691,7 +8526,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "futures", @@ -8707,7 +8542,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-channel 1.9.0", "futures", @@ -8732,13 +8567,13 @@ dependencies = [ [[package]] name = "scale-decode" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +checksum = "f8ae9cc099ae85ff28820210732b00f019546f36f33225f509fe25d5816864a0" dependencies = [ - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", - "primitive-types 0.12.2", + "primitive-types", "scale-bits", "scale-decode-derive", "scale-type-resolver", @@ -8747,25 +8582,25 @@ dependencies = [ [[package]] name = "scale-decode-derive" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb22f574168103cdd3133b19281639ca65ad985e24612728f727339dcaf4021" +checksum = "5ed9401effa946b493f9f84dc03714cca98119b230497df6f3df6b84a2b03648" dependencies = [ - "darling 0.14.4", + "darling", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.87", ] [[package]] name = "scale-encode" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602" +checksum = "5f9271284d05d0749c40771c46180ce89905fd95aa72a2a2fddb4b7c0aa424db" dependencies = [ - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", - "primitive-types 0.12.2", + "primitive-types", "scale-bits", "scale-encode-derive", "scale-type-resolver", @@ -8774,11 +8609,11 @@ dependencies = [ [[package]] name = "scale-encode-derive" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd" +checksum = "102fbc6236de6c53906c0b262f12c7aa69c2bdc604862c12728f5f4d370bc137" dependencies = [ - "darling 0.20.10", + "darling", "proc-macro-crate 3.1.0", "proc-macro2", "quote", @@ -8787,13 +8622,13 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.3" +version = "2.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +checksum = "1aa7ffc1c0ef49b0452c6e2986abf2b07743320641ffd5fc63d552458e3b779b" dependencies = [ "bitvec", "cfg-if", - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", "scale-info-derive", "serde", @@ -8801,14 +8636,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.3" +version = "2.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "46385cc24172cf615450267463f937c10072516359b3ff1cb24228a4a08bf951" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.87", ] [[package]] @@ -8823,9 +8658,9 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "498d1aecf2ea61325d4511787c115791639c0fd21ef4f8e11e49dd09eff2bbac" +checksum = "0dc4c70c7fea2eef1740f0081d3fe385d8bee1eef11e9272d3bec7dc8e5438e0" dependencies = [ "proc-macro2", "quote", @@ -8836,15 +8671,14 @@ dependencies = [ [[package]] name = "scale-value" -version = "0.16.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" +checksum = "f5e0ef2a0ee1e02a69ada37feb87ea1616ce9808aca072befe2d3131bf28576e" dependencies = [ "base58", "blake2 0.10.6", - "derive_more", + "derive_more 1.0.0", "either", - "frame-metadata 15.1.0", "parity-scale-codec", "scale-bits", "scale-decode", @@ -8906,6 +8740,18 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" +[[package]] +name = "scrypt" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" +dependencies = [ + "password-hash", + "pbkdf2", + "salsa20", + "sha2 0.10.8", +] + [[package]] name = "sct" version = "0.7.1" @@ -8953,6 +8799,17 @@ dependencies = [ "serde", ] +[[package]] +name = "secp256k1" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" +dependencies = [ + "bitcoin_hashes 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand", + "secp256k1-sys 0.10.0", +] + [[package]] name = "secp256k1-sys" version = "0.9.2" @@ -8980,6 +8837,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "secrecy" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a" +dependencies = [ + "zeroize", +] + [[package]] name = "security-framework" version = "2.11.0" @@ -9266,34 +9132,33 @@ dependencies = [ [[package]] name = "smoldot" -version = "0.16.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9" +checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818" dependencies = [ "arrayvec 0.7.4", "async-lock", "atomic-take", - "base64 0.21.7", + "base64 0.22.1", "bip39", "blake2-rfc", "bs58", "chacha20", "crossbeam-queue", - "derive_more", + "derive_more 0.99.18", "ed25519-zebra", "either", - "event-listener 4.0.3", + "event-listener 5.3.1", "fnv", "futures-lite", "futures-util", "hashbrown 0.14.5", "hex", "hmac 0.12.1", - "itertools 0.12.1", + "itertools 0.13.0", "libm", "libsecp256k1", "merlin", - "no-std-net", "nom", "num-bigint", "num-rational", @@ -9312,7 +9177,7 @@ dependencies = [ "siphasher 1.0.1", "slab", "smallvec", - "soketto 0.7.1", + "soketto 0.8.0", "twox-hash", "wasmi", "x25519-dalek", @@ -9321,27 +9186,27 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "0.14.0" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5496f2d116b7019a526b1039ec2247dd172b8670633b1a64a614c9ea12c9d8c7" +checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f" dependencies = [ "async-channel 2.3.1", "async-lock", - "base64 0.21.7", + "base64 0.22.1", "blake2-rfc", - "derive_more", + "bs58", + "derive_more 0.99.18", "either", - "event-listener 4.0.3", + "event-listener 5.3.1", "fnv", "futures-channel", "futures-lite", "futures-util", "hashbrown 0.14.5", "hex", - "itertools 0.12.1", + "itertools 0.13.0", "log", "lru", - "no-std-net", "parking_lot 0.12.3", "pin-project", "rand", @@ -9432,7 +9297,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "docify", "hash-db", @@ -9441,10 +9306,10 @@ dependencies = [ "scale-info", "sp-api-proc-macro", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-metadata-ir", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-state-machine", "sp-trie", "sp-version", @@ -9454,7 +9319,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "Inflector", "blake2 0.10.6", @@ -9468,7 +9333,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "scale-info", @@ -9480,7 +9345,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "docify", "integer-sqrt", @@ -9512,7 +9377,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "scale-info", @@ -9524,7 +9389,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "sp-api", "sp-inherents", @@ -9534,7 +9399,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "futures", "parity-scale-codec", @@ -9553,7 +9418,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "futures", @@ -9568,7 +9433,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "parity-scale-codec", @@ -9586,7 +9451,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "finality-grandpa", "log", @@ -9603,7 +9468,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "scale-info", @@ -9614,7 +9479,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "bandersnatch_vrfs", @@ -9627,7 +9492,7 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "impl-serde 0.5.0", + "impl-serde", "itertools 0.11.0", "k256", "libsecp256k1", @@ -9637,19 +9502,19 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "paste", - "primitive-types 0.13.1", + "primitive-types", "rand", "scale-info", "schnorrkel", "secp256k1 0.28.2", - "secrecy", + "secrecy 0.8.0", "serde", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "ss58-registry", "substrate-bip39", "thiserror", @@ -9695,7 +9560,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "blake2b_simd", "byteorder", @@ -9708,17 +9573,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "syn 2.0.87", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -9727,7 +9592,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "proc-macro2", "quote", @@ -9747,11 +9612,11 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] @@ -9767,7 +9632,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "scale-info", @@ -9779,7 +9644,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9792,7 +9657,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bytes", "docify", @@ -9804,12 +9669,12 @@ dependencies = [ "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-keystore", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-state-machine", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", "tracing", "tracing-core", @@ -9818,7 +9683,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "sp-core", "sp-runtime", @@ -9828,18 +9693,18 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "thiserror", "zstd 0.12.4", @@ -9848,7 +9713,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -9858,7 +9723,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "scale-info", @@ -9869,7 +9734,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "sp-api", "sp-core", @@ -9879,7 +9744,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "backtrace", "regex", @@ -9888,7 +9753,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -9898,7 +9763,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "binary-merkle-tree", "docify", @@ -9917,7 +9782,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-io", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", "sp-weights", "tracing", @@ -9927,19 +9792,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive", - "primitive-types 0.13.1", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "primitive-types", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "static_assertions", ] @@ -9952,7 +9817,7 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive", - "primitive-types 0.13.1", + "primitive-types", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", @@ -9965,7 +9830,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "Inflector", "expander", @@ -9991,7 +9856,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "scale-info", @@ -10005,7 +9870,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10018,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "hash-db", "log", @@ -10027,7 +9892,7 @@ dependencies = [ "rand", "smallvec", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-panic-handler", "sp-trie", "thiserror", @@ -10038,7 +9903,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -10051,10 +9916,10 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "thiserror", "x25519-dalek", ] @@ -10062,7 +9927,7 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" [[package]] name = "sp-std" @@ -10072,13 +9937,13 @@ source = "git+https://github.com/paritytech/polkadot-sdk#e98c1ac6994766411f96bd7 [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ - "impl-serde 0.5.0", + "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] @@ -10086,7 +9951,7 @@ name = "sp-storage" version = "19.0.0" source = "git+https://github.com/paritytech/polkadot-sdk#e98c1ac6994766411f96bd7c14e8049cc5284396" dependencies = [ - "impl-serde 0.5.0", + "impl-serde", "parity-scale-codec", "ref-cast", "serde", @@ -10096,7 +9961,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "parity-scale-codec", @@ -10108,7 +9973,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "tracing", @@ -10130,7 +9995,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "sp-api", "sp-runtime", @@ -10139,7 +10004,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "async-trait", "parity-scale-codec", @@ -10153,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "ahash", "hash-db", @@ -10165,7 +10030,7 @@ dependencies = [ "scale-info", "schnellru", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "thiserror", "tracing", "trie-db", @@ -10175,16 +10040,16 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ - "impl-serde 0.5.0", + "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", "sp-crypto-hashing-proc-macro", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-version-proc-macro", "thiserror", ] @@ -10192,7 +10057,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "parity-scale-codec", "proc-macro-warning 1.0.2", @@ -10204,7 +10069,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -10227,7 +10092,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -10235,7 +10100,7 @@ dependencies = [ "serde", "smallvec", "sp-arithmetic", - "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] @@ -10293,7 +10158,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "array-bytes", "bounded-collections", @@ -10324,7 +10189,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" dependencies = [ "bitflags 1.3.2", - "cfg_aliases 0.1.1", + "cfg_aliases", "libc", "parking_lot 0.11.2", "parking_lot_core 0.8.6", @@ -10338,7 +10203,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf" dependencies = [ - "cfg_aliases 0.1.1", + "cfg_aliases", "memchr", "proc-macro2", "quote", @@ -10346,10 +10211,14 @@ dependencies = [ ] [[package]] -name = "strsim" -version = "0.10.0" +name = "string-interner" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" +dependencies = [ + "cfg-if", + "hashbrown 0.14.5", +] [[package]] name = "strsim" @@ -10451,7 +10320,7 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "subcoin-primitives", "subcoin-service", "subcoin-test-service", @@ -10473,7 +10342,7 @@ dependencies = [ "futures", "hex", "indicatif", - "jsonrpsee 0.24.3", + "jsonrpsee", "pallet-bitcoin", "parity-scale-codec", "sc-cli", @@ -10535,7 +10404,7 @@ version = "0.1.0" dependencies = [ "async-trait", "bitcoin 0.32.2", - "jsonrpsee 0.24.3", + "jsonrpsee", "sc-client-api", "serde", "serde_json", @@ -10565,7 +10434,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-transaction-pool", "sp-version", "subcoin-runtime-primitives", @@ -10581,7 +10450,7 @@ dependencies = [ "serde", "sp-api", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", ] [[package]] @@ -10594,7 +10463,7 @@ dependencies = [ "bitcoin 0.32.2", "frame-system", "futures", - "jsonrpsee 0.24.3", + "jsonrpsee", "pallet-bitcoin", "parity-scale-codec", "parking_lot 0.12.3", @@ -10623,8 +10492,8 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", - "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", "sp-trie", "subcoin-network", "subcoin-primitives", @@ -10705,7 +10574,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -10717,17 +10586,17 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "docify", "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.24.3", + "jsonrpsee", "log", "parity-scale-codec", "sc-rpc-api", @@ -10742,7 +10611,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "http-body-util", "hyper 1.4.1", @@ -10756,7 +10625,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "build-helper", "cargo_metadata", @@ -10788,22 +10657,21 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subxt" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a160cba1edbf3ec4fbbeaea3f1a185f70448116a6bccc8276bb39adb3b3053bd" +checksum = "c53029d133e4e0cb7933f1fe06f2c68804b956de9bb8fa930ffca44e9e5e4230" dependencies = [ "async-trait", "derive-where", "either", - "frame-metadata 16.0.0", + "frame-metadata 17.0.0", "futures", "hex", - "impl-serde 0.4.0", - "instant", - "jsonrpsee 0.22.5", + "impl-serde", + "jsonrpsee", "parity-scale-codec", - "primitive-types 0.12.2", - "reconnecting-jsonrpsee-ws-client", + "polkadot-sdk", + "primitive-types", "scale-bits", "scale-decode", "scale-encode", @@ -10811,27 +10679,25 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "subxt-lightclient", "subxt-macro", "subxt-metadata", "thiserror", + "tokio", "tokio-util", "tracing", "url", + "web-time", ] [[package]] name = "subxt-codegen" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786" +checksum = "3cfcfb7d9589f3df0ac87c4988661cf3fb370761fcb19f2fd33104cc59daf22a" dependencies = [ - "frame-metadata 16.0.0", "heck 0.5.0", - "hex", - "jsonrpsee 0.22.5", "parity-scale-codec", "proc-macro2", "quote", @@ -10840,24 +10706,26 @@ dependencies = [ "subxt-metadata", "syn 2.0.87", "thiserror", - "tokio", ] [[package]] name = "subxt-core" -version = "0.37.1" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a" +checksum = "7ea28114366780d23684bd55ab879cd04c9d4cbba3b727a3854a3eca6bf29a1a" dependencies = [ "base58", "blake2 0.10.6", "derive-where", - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "hex", - "impl-serde 0.4.0", + "impl-serde", + "keccak-hash", "parity-scale-codec", - "primitive-types 0.12.2", + "polkadot-sdk", + "primitive-types", "scale-bits", "scale-decode", "scale-encode", @@ -10865,16 +10733,15 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-metadata", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d9406fbdb9548c110803cb8afa750f8b911d51eefdf95474b11319591d225d9" +checksum = "534d4b725183a9fa09ce0e0f135674473297fdd97dee4d683f41117f365ae997" dependencies = [ "futures", "futures-util", @@ -10889,56 +10756,74 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c195f803d70687e409aba9be6c87115b5da8952cd83c4d13f2e043239818fcd" +checksum = "228db9a5c95a6d8dc6152b4d6cdcbabc4f60821dd3f482a4f8791e022b7caadb" dependencies = [ - "darling 0.20.10", + "darling", "parity-scale-codec", - "proc-macro-error", + "proc-macro-error2", "quote", "scale-typegen", "subxt-codegen", + "subxt-utils-fetchmetadata", "syn 2.0.87", ] [[package]] name = "subxt-metadata" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" +checksum = "ee13e6862eda035557d9a2871955306aff540d2b89c06e0a62a1136a700aed28" dependencies = [ - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "parity-scale-codec", + "polkadot-sdk", "scale-info", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "subxt-signer" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" +checksum = "1e7a336d6a1f86f126100a4a717be58352de4c8214300c4f7807f974494efdb9" dependencies = [ + "base64 0.22.1", "bip32", "bip39", "cfg-if", + "crypto_secretbox", "hex", "hmac 0.12.1", "keccak-hash", "parity-scale-codec", "pbkdf2", + "polkadot-sdk", "regex", "schnorrkel", - "secp256k1 0.28.2", - "secrecy", + "scrypt", + "secp256k1 0.30.0", + "secrecy 0.10.3", + "serde", + "serde_json", "sha2 0.10.8", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "zeroize", ] +[[package]] +name = "subxt-utils-fetchmetadata" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3082b17a86e3c3fe45d858d94d68f6b5247caace193dad6201688f24db8ba9bb" +dependencies = [ + "hex", + "parity-scale-codec", + "thiserror", +] + [[package]] name = "syn" version = "1.0.109" @@ -11205,17 +11090,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "tokio-rustls" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" -dependencies = [ - "rustls 0.22.4", - "rustls-pki-types", - "tokio", -] - [[package]] name = "tokio-rustls" version = "0.26.0" @@ -11229,9 +11103,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", "pin-project-lite 0.2.14", @@ -11256,9 +11130,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", @@ -11412,7 +11286,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "coarsetime", "polkadot-primitives", @@ -11423,7 +11297,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "expander", "proc-macro-crate 3.1.0", @@ -11971,28 +11845,37 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.31.2" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" +checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca" dependencies = [ + "arrayvec 0.7.4", + "multi-stash", + "num-derive", + "num-traits", "smallvec", "spin 0.9.8", - "wasmi_arena", + "wasmi_collections", "wasmi_core", "wasmparser-nostd", ] [[package]] -name = "wasmi_arena" -version = "0.4.1" +name = "wasmi_collections" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" +dependencies = [ + "ahash", + "hashbrown 0.14.5", + "string-interner", +] [[package]] name = "wasmi_core" -version = "0.13.0" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" +checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41" dependencies = [ "downcast-rs", "libm", @@ -12625,7 +12508,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v3#b9d8c2d3546eae2b566fa4695ba764b7d4332c50" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b83487588db83d94042cce973bdc38f746078380" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 673bdcdd..0c2081c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,57 +60,57 @@ tokio = "1.41.1" tracing = "0.1" # Disable the default `rocksdb` feature -frame-benchmarking-cli = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -frame-support = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -frame-system = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -frame-try-runtime = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -pallet-balances = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -pallet-transaction-payment = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +frame-support = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +frame-system = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +frame-try-runtime = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +pallet-balances = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +pallet-transaction-payment = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } # Disable the default `rocksdb` feature -sc-cli = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sc-client-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-consensus = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-executor = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-informant = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-network = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-network-common = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-network-sync = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-rpc = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-rpc-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } +sc-cli = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sc-client-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-consensus = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-executor = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-informant = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-network = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-network-common = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-network-sync = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-rpc = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-rpc-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } # Disable the default `rocksdb` feature -sc-service = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sc-storage-monitor = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-sysinfo = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-telemetry = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-tracing = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-transaction-pool = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-transaction-pool-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sc-utils = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sp-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-blockchain = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-block-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-consensus = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-core = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-database = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-genesis-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-keyring = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sp-keystore = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sp-inherents = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-io = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-rpc = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sp-runtime = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-state-machine = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -sp-std = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-storage = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-tracing = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-transaction-pool = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-trie = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -sp-version = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -substrate-build-script-utils = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -substrate-frame-rpc-system = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } -substrate-prometheus-endpoint = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3", default-features = false } -substrate-wasm-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v3" } +sc-service = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sc-storage-monitor = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-sysinfo = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-telemetry = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-tracing = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-transaction-pool = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-transaction-pool-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sc-utils = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sp-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-blockchain = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-block-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-consensus = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-core = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-database = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-genesis-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-keyring = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sp-keystore = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sp-inherents = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-io = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-rpc = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sp-runtime = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-state-machine = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +sp-std = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-storage = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-tracing = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-transaction-pool = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-trie = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +sp-version = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +substrate-build-script-utils = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +substrate-frame-rpc-system = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } +substrate-prometheus-endpoint = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4", default-features = false } +substrate-wasm-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v4" } txoutset = { git = "https://github.com/liuchengxu/txoutset", branch = "subcoin" } pallet-bitcoin = { path = "crates/pallet-bitcoin", default-features = false } diff --git a/crates/subcoin-service/src/lib.rs b/crates/subcoin-service/src/lib.rs index f4bdfd90..049d4e92 100644 --- a/crates/subcoin-service/src/lib.rs +++ b/crates/subcoin-service/src/lib.rs @@ -304,7 +304,7 @@ where None, ); - let (network, system_rpc_tx, _tx_handler_controller, network_starter, sync_service) = + let (network, system_rpc_tx, _tx_handler_controller, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { config, net_config, @@ -381,8 +381,6 @@ where sc_informant::build(client.clone(), Arc::new(network), sync_service.clone()), ); - network_starter.start_network(); - Ok((system_rpc_tx, sync_service)) } diff --git a/crates/subcoin-service/src/transaction_pool.rs b/crates/subcoin-service/src/transaction_pool.rs index 7dd5327f..553edb64 100644 --- a/crates/subcoin-service/src/transaction_pool.rs +++ b/crates/subcoin-service/src/transaction_pool.rs @@ -1,7 +1,6 @@ -use futures::Future; use sc_transaction_pool_api::{ - ImportNotificationStream, PoolFuture, PoolStatus, ReadyTransactions, TransactionFor, - TransactionSource, TransactionStatusStreamFor, TxHash, + ImportNotificationStream, PoolStatus, ReadyTransactions, TransactionFor, TransactionSource, + TransactionStatusStreamFor, TxHash, }; use sp_runtime::OpaqueExtrinsic; use std::collections::HashMap; @@ -78,6 +77,7 @@ impl ReadyTransactions for TransactionsIterator { fn report_invalid(&mut self, _tx: &Self::Item) {} } +#[async_trait::async_trait] impl sc_transaction_pool_api::TransactionPool for Transactions { type Block = OpaqueBlock; type Hash = sp_core::H256; @@ -85,47 +85,39 @@ impl sc_transaction_pool_api::TransactionPool for Transactions { type Error = sc_transaction_pool_api::error::Error; /// Returns a future that imports a bunch of unverified transactions to the pool. - fn submit_at( + async fn submit_at( &self, _at: Self::Hash, _source: TransactionSource, _xts: Vec>, - ) -> PoolFuture>, Self::Error> { + ) -> Result>, Self::Error> { unimplemented!() } /// Returns a future that imports one unverified transaction to the pool. - fn submit_one( + async fn submit_one( &self, _at: Self::Hash, _source: TransactionSource, _xt: TransactionFor, - ) -> PoolFuture, Self::Error> { + ) -> Result, Self::Error> { unimplemented!() } - fn submit_and_watch( + async fn submit_and_watch( &self, _at: Self::Hash, _source: TransactionSource, _xt: TransactionFor, - ) -> PoolFuture>>, Self::Error> { + ) -> Result>>, Self::Error> { unimplemented!() } - fn ready_at( + async fn ready_at( &self, _at: Self::Hash, - ) -> Pin< - Box< - dyn Future< - Output = Box> + Send>, - > + Send, - >, - > { - let iter: Box> + Send> = - Box::new(TransactionsIterator(self.0.clone().into_iter())); - Box::pin(futures::future::ready(iter)) + ) -> Box> + Send> { + Box::new(TransactionsIterator(self.0.clone().into_iter())) } fn ready(&self) -> Box> + Send> { @@ -160,18 +152,11 @@ impl sc_transaction_pool_api::TransactionPool for Transactions { unimplemented!() } - fn ready_at_with_timeout( + async fn ready_at_with_timeout( &self, _at: Self::Hash, _timeout: std::time::Duration, - ) -> Pin< - Box< - dyn Future< - Output = Box> + Send>, - > + Send - + '_, - >, - > { + ) -> Box> + Send> { unimplemented!() } } diff --git a/crates/subcoin-snapcake/src/main.rs b/crates/subcoin-snapcake/src/main.rs index ffe4274c..6fc06c19 100644 --- a/crates/subcoin-snapcake/src/main.rs +++ b/crates/subcoin-snapcake/src/main.rs @@ -232,7 +232,7 @@ where spawn_handle.spawn_blocking("syncing", None, syncing_engine.run()); - let (network, _system_rpc_tx, _tx_handler_controller, network_starter, sync_service) = + let (network, _system_rpc_tx, _tx_handler_controller, sync_service) = sc_service::build_network_advanced(sc_service::BuildNetworkAdvancedParams { role: config.role, protocol_id, @@ -257,7 +257,5 @@ where sc_informant::build(client.clone(), Arc::new(network), sync_service.clone()), ); - network_starter.start_network(); - Ok(()) } diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 9afa6dc3..4e285372 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.80" +channel = "1.82" components = ["rust-src"] targets = ["wasm32-unknown-unknown"]