From 8dfae0f88404fb756a082b4e3a3be755494c3cb4 Mon Sep 17 00:00:00 2001 From: Liu-Cheng Xu Date: Wed, 18 Dec 2024 17:16:08 +0800 Subject: [PATCH] Update polkadot-sdk --- Cargo.lock | 1186 ++++++++--------- Cargo.toml | 100 +- .../subcoin-snapcake/src/snapshot_manager.rs | 49 +- .../src/state_sync_wrapper.rs | 4 +- 4 files changed, 606 insertions(+), 733 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index af9fd801..9dfdac33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -506,30 +506,14 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" -[[package]] -name = "asn1-rs" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" -dependencies = [ - "asn1-rs-derive 0.4.0", - "asn1-rs-impl 0.1.0", - "displaydoc", - "nom", - "num-traits", - "rusticata-macros", - "thiserror 1.0.68", - "time", -] - [[package]] name = "asn1-rs" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22ad1373757efa0f70ec53939aabc7152e1591cb485208052993070ac8d2429d" dependencies = [ - "asn1-rs-derive 0.5.0", - "asn1-rs-impl 0.2.0", + "asn1-rs-derive", + "asn1-rs-impl", "displaydoc", "nom", "num-traits", @@ -538,18 +522,6 @@ dependencies = [ "time", ] -[[package]] -name = "asn1-rs-derive" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure 0.12.6", -] - [[package]] name = "asn1-rs-derive" version = "0.5.0" @@ -562,17 +534,6 @@ dependencies = [ "synstructure 0.13.1", ] -[[package]] -name = "asn1-rs-impl" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "asn1-rs-impl" version = "0.2.0" @@ -604,7 +565,7 @@ dependencies = [ "concurrent-queue", "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -658,7 +619,7 @@ checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ "event-listener 5.3.1", "event-listener-strategy", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -736,7 +697,20 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite", +] + +[[package]] +name = "asynchronous-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a860072022177f903e59730004fb5dc13db9275b79bb2aef7ba8ce831956c233" +dependencies = [ + "bytes", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite", ] [[package]] @@ -874,7 +848,7 @@ checksum = "d965446196e3b7decd44aa7ee49e31d630118f90ef12f97900f262eb915c951d" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "hash-db", "log", @@ -1382,6 +1356,12 @@ 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" @@ -1982,7 +1962,7 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1992,11 +1972,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-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-storage 19.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-v5)", "sp-trie", "tracing", ] @@ -2004,7 +1984,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2020,7 +2000,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2034,17 +2014,17 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ - "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-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-trie", ] [[package]] name = "cumulus-relay-chain-interface" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2063,7 +2043,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2234,27 +2214,13 @@ dependencies = [ "zeroize", ] -[[package]] -name = "der-parser" -version = "8.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" -dependencies = [ - "asn1-rs 0.5.2", - "displaydoc", - "nom", - "num-bigint", - "num-traits", - "rusticata-macros", -] - [[package]] name = "der-parser" version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ - "asn1-rs 0.6.1", + "asn1-rs", "displaydoc", "nom", "num-bigint", @@ -2393,6 +2359,15 @@ dependencies = [ "dirs-sys-next", ] +[[package]] +name = "dirs" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +dependencies = [ + "dirs-sys", +] + [[package]] name = "dirs-sys" version = "0.4.1" @@ -2602,18 +2577,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" -[[package]] -name = "enum-as-inner" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" -dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "enum-as-inner" version = "0.6.0" @@ -2675,7 +2638,7 @@ checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -2685,7 +2648,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ "event-listener 5.3.1", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -2883,7 +2846,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", ] @@ -2916,7 +2879,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "frame-support", "frame-support-procedural", @@ -2932,15 +2895,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "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)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "32.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "Inflector", "array-bytes", @@ -2970,6 +2933,7 @@ dependencies = [ "sc-client-db", "sc-executor", "sc-executor-common", + "sc-runtime-utilities", "sc-service", "sc-sysinfo", "serde", @@ -2978,21 +2942,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-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-database", - "sp-externalities 0.25.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-v5)", "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-v4)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "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-v4)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "subxt", "subxt-signer", "thiserror 1.0.68", @@ -3015,9 +2979,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3027,9 +2991,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "17.0.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" +checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3040,7 +3004,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "aquamarine", "array-bytes", @@ -3048,7 +3012,7 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 16.0.0", + "frame-metadata 18.0.0", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -3064,7 +3028,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-v4)", + "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -3072,8 +3036,8 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-state-machine", - "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-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-trie", "sp-weights", "static_assertions", @@ -3083,7 +3047,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "Inflector", "cfg-expr", @@ -3093,17 +3057,17 @@ dependencies = [ "frame-support-procedural-tools", "itertools 0.11.0", "macro_magic", - "proc-macro-warning 1.0.2", + "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "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-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -3115,7 +3079,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "proc-macro2", "quote", @@ -3125,7 +3089,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "cfg-if", "docify", @@ -3137,7 +3101,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.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-v5)", "sp-version", "sp-weights", ] @@ -3145,7 +3109,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "docify", "parity-scale-codec", @@ -3155,7 +3119,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "frame-support", "parity-scale-codec", @@ -3215,9 +3179,9 @@ dependencies = [ [[package]] name = "futures-bounded" -version = "0.1.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" +checksum = "91f328e7fb845fc832912fb6a34f40cf6d1888c92f974d1893a54e97b5ff542e" dependencies = [ "futures-timer", "futures-util", @@ -3267,7 +3231,7 @@ dependencies = [ "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3283,12 +3247,13 @@ dependencies = [ [[package]] name = "futures-rustls" -version = "0.24.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" +checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb" dependencies = [ "futures-io", - "rustls 0.21.12", + "rustls 0.23.16", + "rustls-pki-types", ] [[package]] @@ -3322,7 +3287,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite", "pin-utils", "slab", ] @@ -3373,8 +3338,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi", + "wasm-bindgen", ] [[package]] @@ -3410,19 +3377,19 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -dependencies = [ - "fallible-iterator 0.3.0", - "stable_deref_trait", -] +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] [[package]] name = "glob" @@ -3635,7 +3602,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner 0.6.0", + "enum-as-inner", "futures-channel", "futures-io", "futures-util", @@ -3643,6 +3610,7 @@ dependencies = [ "ipnet", "once_cell", "rand", + "socket2", "thiserror 1.0.68", "tinyvec", "tokio", @@ -3652,9 +3620,9 @@ dependencies = [ [[package]] name = "hickory-resolver" -version = "0.24.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28757f23aa75c98f254cf0405e6d8c25b831b32921b050a66692427679b1f243" +checksum = "0a2e2aba9c389ce5267d31cf1e4dace82390ae276b0b364ea55630b1fa1b44b4" dependencies = [ "cfg-if", "futures-util", @@ -3751,7 +3719,7 @@ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http 0.2.12", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3774,7 +3742,7 @@ dependencies = [ "futures-util", "http 1.1.0", "http-body 1.0.1", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3811,8 +3779,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.14", - "socket2 0.5.7", + "pin-project-lite", + "socket2", "tokio", "tower-service", "tracing", @@ -3834,7 +3802,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.14", + "pin-project-lite", "smallvec", "tokio", ] @@ -3850,7 +3818,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.1", "hyper 1.4.1", - "pin-project-lite 0.2.14", + "pin-project-lite", "tokio", "tower", "tower-service", @@ -3885,17 +3853,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "0.4.0" @@ -4113,7 +4070,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.7", + "socket2", "widestring", "windows-sys 0.48.0", "winreg", @@ -4252,7 +4209,7 @@ dependencies = [ "rustls 0.23.16", "rustls-pki-types", "rustls-platform-verifier", - "soketto 0.8.0", + "soketto", "thiserror 1.0.68", "tokio", "tokio-rustls 0.26.0", @@ -4318,7 +4275,7 @@ dependencies = [ "route-recognizer", "serde", "serde_json", - "soketto 0.8.0", + "soketto", "thiserror 1.0.68", "tokio", "tokio-stream", @@ -4483,16 +4440,15 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" -version = "0.52.4" +version = "0.54.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" +checksum = "bbbe80f9c7e00526cd6b838075b9c171919404a4732cb2fa8ece0a093223bfc4" dependencies = [ "bytes", "either", "futures", "futures-timer", "getrandom", - "instant", "libp2p-allow-block-list", "libp2p-connection-limits", "libp2p-core", @@ -4509,7 +4465,6 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-upnp", - "libp2p-wasm-ext", "libp2p-websocket", "libp2p-yamux", "multiaddr 0.18.1", @@ -4520,9 +4475,9 @@ dependencies = [ [[package]] name = "libp2p-allow-block-list" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" +checksum = "d1027ccf8d70320ed77e984f273bc8ce952f623762cb9bf2d126df73caef8041" dependencies = [ "libp2p-core", "libp2p-identity", @@ -4532,9 +4487,9 @@ dependencies = [ [[package]] name = "libp2p-connection-limits" -version = "0.2.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" +checksum = "8d003540ee8baef0d254f7b6bfd79bac3ddf774662ca0abf69186d517ef82ad8" dependencies = [ "libp2p-core", "libp2p-identity", @@ -4544,17 +4499,15 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" +checksum = "a61f26c83ed111104cd820fe9bc3aaabbac5f1652a1d213ed6e900b7918a1298" dependencies = [ "either", "fnv", "futures", "futures-timer", - "instant", "libp2p-identity", - "log", "multiaddr 0.18.1", "multihash 0.19.1", "multistream-select", @@ -4566,33 +4519,35 @@ dependencies = [ "rw-stream-sink", "smallvec", "thiserror 1.0.68", - "unsigned-varint 0.7.2", + "tracing", + "unsigned-varint 0.8.0", "void", + "web-time", ] [[package]] name = "libp2p-dns" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" +checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd" dependencies = [ "async-trait", "futures", + "hickory-resolver", "libp2p-core", "libp2p-identity", - "log", "parking_lot 0.12.3", "smallvec", - "trust-dns-resolver", + "tracing", ] [[package]] name = "libp2p-identify" -version = "0.43.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" +checksum = "1711b004a273be4f30202778856368683bd9a83c4c7dcc8f848847606831a4e3" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.7.0", "either", "futures", "futures-bounded", @@ -4600,12 +4555,12 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "lru", "quick-protobuf", "quick-protobuf-codec", "smallvec", "thiserror 1.0.68", + "tracing", "void", ] @@ -4629,83 +4584,84 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.44.6" +version = "0.46.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" +checksum = "ced237d0bd84bbebb7c2cad4c073160dacb4fe40534963c32ed6d4c6bb7702a3" dependencies = [ "arrayvec 0.7.4", - "asynchronous-codec", + "asynchronous-codec 0.7.0", "bytes", "either", "fnv", "futures", + "futures-bounded", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "quick-protobuf", "quick-protobuf-codec", "rand", "sha2 0.10.8", "smallvec", "thiserror 1.0.68", + "tracing", "uint 0.9.5", - "unsigned-varint 0.7.2", "void", + "web-time", ] [[package]] name = "libp2p-mdns" -version = "0.44.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" +checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417" dependencies = [ "data-encoding", "futures", + "hickory-proto", "if-watch", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand", "smallvec", - "socket2 0.5.7", + "socket2", "tokio", - "trust-dns-proto 0.22.0", + "tracing", "void", ] [[package]] name = "libp2p-metrics" -version = "0.13.1" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" +checksum = "77ebafa94a717c8442d8db8d3ae5d1c6a15e30f2d347e0cd31d057ca72e42566" dependencies = [ - "instant", + "futures", "libp2p-core", "libp2p-identify", "libp2p-identity", "libp2p-kad", "libp2p-ping", "libp2p-swarm", - "once_cell", + "pin-project", "prometheus-client", + "web-time", ] [[package]] name = "libp2p-noise" -version = "0.43.2" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" +checksum = "36b137cb1ae86ee39f8e5d6245a296518912014eaa87427d24e6ff58cfc1b28c" dependencies = [ + "asynchronous-codec 0.7.0", "bytes", "curve25519-dalek", "futures", "libp2p-core", "libp2p-identity", - "log", "multiaddr 0.18.1", "multihash 0.19.1", "once_cell", @@ -4715,33 +4671,34 @@ dependencies = [ "snow", "static_assertions", "thiserror 1.0.68", + "tracing", "x25519-dalek", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.43.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" +checksum = "005a34420359223b974ee344457095f027e51346e992d1e0dcd35173f4cdd422" dependencies = [ "either", "futures", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-quic" -version = "0.9.3" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" +checksum = "46352ac5cd040c70e88e7ff8257a2ae2f891a4076abad2c439584a31c15fd24e" dependencies = [ "bytes", "futures", @@ -4750,66 +4707,68 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-tls", - "log", "parking_lot 0.12.3", "quinn", "rand", - "ring 0.16.20", - "rustls 0.21.12", - "socket2 0.5.7", + "ring 0.17.8", + "rustls 0.23.16", + "socket2", "thiserror 1.0.68", "tokio", + "tracing", ] [[package]] name = "libp2p-request-response" -version = "0.25.3" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" +checksum = "1356c9e376a94a75ae830c42cdaea3d4fe1290ba409a22c809033d1b7dcab0a6" dependencies = [ "async-trait", "futures", - "instant", + "futures-bounded", + "futures-timer", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand", "smallvec", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-swarm" -version = "0.43.7" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" +checksum = "d7dd6741793d2c1fb2088f67f82cf07261f25272ebe3c0b0c311e0c6b50e851a" dependencies = [ "either", "fnv", "futures", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm-derive", - "log", + "lru", "multistream-select", "once_cell", "rand", "smallvec", "tokio", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-swarm-derive" -version = "0.33.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" +checksum = "206e0aa0ebe004d778d79fb0966aa0de996c19894e2c0605ba2f8524dd4443d8" dependencies = [ - "heck 0.4.1", - "proc-macro-warning 0.4.2", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.87", @@ -4817,9 +4776,9 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" +checksum = "ad964f312c59dcfcac840acd8c555de8403e295d39edf96f5240048b5fcaa314" dependencies = [ "futures", "futures-timer", @@ -4827,91 +4786,80 @@ dependencies = [ "libc", "libp2p-core", "libp2p-identity", - "log", - "socket2 0.5.7", + "socket2", "tokio", + "tracing", ] [[package]] name = "libp2p-tls" -version = "0.2.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" +checksum = "47b23dddc2b9c355f73c1e36eb0c3ae86f7dc964a3715f0731cfad352db4d847" dependencies = [ "futures", "futures-rustls", "libp2p-core", "libp2p-identity", - "rcgen", - "ring 0.16.20", - "rustls 0.21.12", + "rcgen 0.11.3", + "ring 0.17.8", + "rustls 0.23.16", "rustls-webpki 0.101.7", "thiserror 1.0.68", - "x509-parser 0.15.1", + "x509-parser", "yasna", ] [[package]] name = "libp2p-upnp" -version = "0.1.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" +checksum = "01bf2d1b772bd3abca049214a3304615e6a36fa6ffc742bdd1ba774486200b8f" dependencies = [ "futures", "futures-timer", "igd-next", "libp2p-core", "libp2p-swarm", - "log", "tokio", + "tracing", "void", ] -[[package]] -name = "libp2p-wasm-ext" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" -dependencies = [ - "futures", - "js-sys", - "libp2p-core", - "send_wrapper", - "wasm-bindgen", - "wasm-bindgen-futures", -] - [[package]] name = "libp2p-websocket" -version = "0.42.1" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3facf0691bab65f571bc97c6c65ffa836248ca631d631b7691ac91deb7fceb5f" +checksum = "888b2ff2e5d8dcef97283daab35ad1043d18952b65e05279eecbe02af4c6e347" dependencies = [ "either", "futures", "futures-rustls", "libp2p-core", "libp2p-identity", - "log", "parking_lot 0.12.3", - "quicksink", + "pin-project-lite", "rw-stream-sink", - "soketto 0.7.1", + "soketto", + "thiserror 1.0.68", + "tracing", "url", "webpki-roots 0.25.4", ] [[package]] name = "libp2p-yamux" -version = "0.44.1" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" +checksum = "788b61c80789dba9760d8c669a5bedb642c8267555c803fabd8396e4ca5c5882" dependencies = [ + "either", "futures", "libp2p-core", - "log", "thiserror 1.0.68", - "yamux", + "tracing", + "yamux 0.12.1", + "yamux 0.13.4", ] [[package]] @@ -5059,9 +5007,9 @@ dependencies = [ [[package]] name = "litep2p" -version = "0.8.1" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b67484b8ac41e1cfdf012f65fa81e88c2ef5f8a7d6dec0e2678c2d06dc04530" +checksum = "2b0fef34af8847e816003bf7fdeac5ea50b9a7a88441ac927a6166b5e812ab79" dependencies = [ "async-trait", "bs58", @@ -5084,7 +5032,7 @@ dependencies = [ "prost 0.12.6", "prost-build", "rand", - "rcgen", + "rcgen 0.10.0", "ring 0.16.20", "rustls 0.20.9", "serde", @@ -5092,7 +5040,7 @@ dependencies = [ "simple-dns", "smallvec", "snow", - "socket2 0.5.7", + "socket2", "static_assertions", "thiserror 1.0.68", "tokio", @@ -5104,7 +5052,7 @@ dependencies = [ "unsigned-varint 0.8.0", "url", "x25519-dalek", - "x509-parser 0.16.0", + "x509-parser", "yasna", "zeroize", ] @@ -5235,12 +5183,6 @@ dependencies = [ "regex-automata 0.1.10", ] -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - [[package]] name = "matrixmultiply" version = "0.3.8" @@ -5843,15 +5785,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "object" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" -dependencies = [ - "memchr", -] - [[package]] name = "object" version = "0.36.1" @@ -5861,22 +5794,13 @@ dependencies = [ "memchr", ] -[[package]] -name = "oid-registry" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" -dependencies = [ - "asn1-rs 0.5.2", -] - [[package]] name = "oid-registry" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c958dd45046245b9c3c2547369bb634eb461670b2e7e0de552905801a648d1d" dependencies = [ - "asn1-rs 0.6.1", + "asn1-rs", ] [[package]] @@ -5951,7 +5875,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "docify", "frame-benchmarking", @@ -5977,7 +5901,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 14.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-v5)", "subcoin-runtime-primitives", ] @@ -5999,15 +5923,15 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "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-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-version", ] [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "frame-benchmarking", "frame-support", @@ -6200,6 +6124,16 @@ dependencies = [ "base64 0.13.1", ] +[[package]] +name = "pem" +version = "3.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" +dependencies = [ + "base64 0.22.1", + "serde", +] + [[package]] name = "percent-encoding" version = "2.3.1" @@ -6281,12 +6215,6 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "pin-project-lite" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" - [[package]] name = "pin-project-lite" version = "0.2.14" @@ -6329,7 +6257,7 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "scale-info", @@ -6340,7 +6268,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bs58", "futures", @@ -6359,7 +6287,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -6384,7 +6312,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bitvec", "bounded-vec", @@ -6410,7 +6338,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "bitvec", @@ -6439,7 +6367,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "futures", @@ -6461,7 +6389,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bounded-collections", "derive_more 0.99.18", @@ -6477,7 +6405,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bitvec", "hex-literal", @@ -6498,7 +6426,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std 14.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-v5)", "thiserror 1.0.68", ] @@ -6514,7 +6442,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -6524,22 +6452,22 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.9.3" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +checksum = "dd044ab1d3b11567ab6b98ca71259a992b4034220d5972988a0e96518e5d343d" dependencies = [ "libc", "log", "polkavm-assembler", - "polkavm-common", + "polkavm-common 0.18.0", "polkavm-linux-raw", ] [[package]] name = "polkavm-assembler" -version = "0.9.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" +checksum = "eaad38dc420bfed79e6f731471c973ce5ff5e47ab403e63cf40358fef8a6368f" dependencies = [ "log", ] @@ -6549,8 +6477,15 @@ name = "polkavm-common" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" + +[[package]] +name = "polkavm-common" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31ff33982a807d8567645d4784b9b5d7ab87bcb494f534a57cadd9012688e102" dependencies = [ "log", + "polkavm-assembler", ] [[package]] @@ -6559,7 +6494,16 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" dependencies = [ - "polkavm-derive-impl-macro", + "polkavm-derive-impl-macro 0.9.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2eb703f3b6404c13228402e98a5eae063fd16b8f58afe334073ec105ee4117e" +dependencies = [ + "polkavm-derive-impl-macro 0.18.0", ] [[package]] @@ -6568,7 +6512,19 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" dependencies = [ - "polkavm-common", + "polkavm-common 0.9.0", + "proc-macro2", + "quote", + "syn 2.0.87", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12d2840cc62a0550156b1676fed8392271ddf2fab4a00661db56231424674624" +dependencies = [ + "polkavm-common 0.18.0", "proc-macro2", "quote", "syn 2.0.87", @@ -6580,30 +6536,41 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ - "polkavm-derive-impl", + "polkavm-derive-impl 0.9.0", + "syn 2.0.87", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48c16669ddc7433e34c1007d31080b80901e3e8e523cb9d4b441c3910cf9294b" +dependencies = [ + "polkavm-derive-impl 0.18.0", "syn 2.0.87", ] [[package]] name = "polkavm-linker" -version = "0.9.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +checksum = "e9bfe793b094d9ea5c99b7c43ba46e277b0f8f48f4bbfdbabf8d3ebf701a4bd3" dependencies = [ - "gimli 0.28.1", + "dirs", + "gimli 0.31.1", "hashbrown 0.14.5", "log", - "object 0.32.2", - "polkavm-common", + "object 0.36.1", + "polkavm-common 0.18.0", "regalloc2 0.9.3", "rustc-demangle", ] [[package]] name = "polkavm-linux-raw" -version = "0.9.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" +checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde" [[package]] name = "polling" @@ -6614,7 +6581,7 @@ dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi 0.4.0", - "pin-project-lite 0.2.14", + "pin-project-lite", "rustix 0.38.34", "tracing", "windows-sys 0.52.0", @@ -6806,17 +6773,6 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "proc-macro-warning" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - [[package]] name = "proc-macro-warning" version = "1.0.2" @@ -6853,9 +6809,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.21.2" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" +checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", @@ -6991,74 +6947,68 @@ dependencies = [ [[package]] name = "quick-protobuf-codec" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" +checksum = "15a0580ab32b169745d7a39db2ba969226ca16738931be152a3209b409de2474" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.7.0", "bytes", "quick-protobuf", "thiserror 1.0.68", - "unsigned-varint 0.7.2", -] - -[[package]] -name = "quicksink" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" -dependencies = [ - "futures-core", - "futures-sink", - "pin-project-lite 0.1.12", + "unsigned-varint 0.8.0", ] [[package]] name = "quinn" -version = "0.10.2" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" +checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef" dependencies = [ "bytes", "futures-io", - "pin-project-lite 0.2.14", + "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 1.1.0", - "rustls 0.21.12", - "thiserror 1.0.68", + "rustc-hash 2.0.0", + "rustls 0.23.16", + "socket2", + "thiserror 2.0.3", "tokio", "tracing", ] [[package]] name = "quinn-proto" -version = "0.10.6" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" +checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", + "getrandom", "rand", - "ring 0.16.20", - "rustc-hash 1.1.0", - "rustls 0.21.12", + "ring 0.17.8", + "rustc-hash 2.0.0", + "rustls 0.23.16", + "rustls-pki-types", "slab", - "thiserror 1.0.68", + "thiserror 2.0.3", "tinyvec", "tracing", + "web-time", ] [[package]] name = "quinn-udp" -version = "0.4.1" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" +checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" dependencies = [ - "bytes", + "cfg_aliases 0.2.1", "libc", - "socket2 0.5.7", + "once_cell", + "socket2", "tracing", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -7166,7 +7116,19 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ - "pem", + "pem 1.1.1", + "ring 0.16.20", + "time", + "yasna", +] + +[[package]] +name = "rcgen" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52c4f3084aa3bc7dfbba4eff4fab2a54db4324965d8872ab933565e6fbd83bc6" +dependencies = [ + "pem 3.0.4", "ring 0.16.20", "time", "yasna", @@ -7582,6 +7544,9 @@ name = "rustls-pki-types" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b" +dependencies = [ + "web-time", +] [[package]] name = "rustls-platform-verifier" @@ -7694,18 +7659,18 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "log", "sp-core", - "sp-wasm-interface 20.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-v5)", "thiserror 1.0.68", ] [[package]] name = "sc-authority-discovery" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "futures", @@ -7734,7 +7699,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "sp-api", @@ -7749,7 +7714,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "docify", @@ -7765,18 +7730,18 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "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-v4)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", ] [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -7787,7 +7752,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "chrono", @@ -7829,7 +7794,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "fnv", "futures", @@ -7844,11 +7809,11 @@ dependencies = [ "sp-consensus", "sp-core", "sp-database", - "sp-externalities 0.25.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-v5)", "sp-runtime", "sp-state-machine", "sp-statement-store", - "sp-storage 19.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-v5)", "sp-trie", "substrate-prometheus-endpoint", ] @@ -7856,7 +7821,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "hash-db", "kvdb", @@ -7882,7 +7847,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "futures", @@ -7933,7 +7898,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -7943,25 +7908,25 @@ dependencies = [ "schnellru", "sp-api", "sp-core", - "sp-externalities 0.25.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-v5)", "sp-io", "sp-panic-handler", - "sp-runtime-interface 24.0.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-v5)", "sp-trie", "sp-version", - "sp-wasm-interface 20.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-v5)", "tracing", ] [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "polkavm", "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 20.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-v5)", "thiserror 1.0.68", "wasm-instrument", ] @@ -7969,18 +7934,18 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "log", "polkavm", "sc-executor-common", - "sp-wasm-interface 20.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-v5)", ] [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "anyhow", "cfg-if", @@ -7990,15 +7955,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-v4)", - "sp-wasm-interface 20.0.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-v5)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "wasmtime", ] [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "console", "futures", @@ -8015,7 +7980,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -8029,7 +7994,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -8058,12 +8023,12 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "async-channel 1.9.0", "async-trait", - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes", "cid 0.9.0", "either", @@ -8109,7 +8074,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -8127,7 +8092,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -8148,7 +8113,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -8185,7 +8150,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "futures", @@ -8204,7 +8169,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bs58", "bytes", @@ -8223,7 +8188,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "futures", "jsonrpsee", @@ -8255,7 +8220,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8275,7 +8240,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -8299,12 +8264,13 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "futures", "futures-util", "hex", + "itertools 0.11.0", "jsonrpsee", "log", "parity-scale-codec", @@ -8327,10 +8293,25 @@ dependencies = [ "tokio-stream", ] +[[package]] +name = "sc-runtime-utilities" +version = "0.1.0" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" +dependencies = [ + "parity-scale-codec", + "sc-executor", + "sc-executor-common", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-state-machine", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "thiserror 1.0.68", +] + [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "directories", @@ -8372,12 +8353,12 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", - "sp-externalities 0.25.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-v5)", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage 19.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-v5)", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -8394,7 +8375,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "log", "parity-scale-codec", @@ -8405,7 +8386,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.16.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "clap", "fs4", @@ -8418,7 +8399,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "derive_more 0.99.18", "futures", @@ -8431,15 +8412,15 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-io", - "sp-std 14.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-v5)", ] [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "chrono", "futures", @@ -8459,7 +8440,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "chrono", "console", @@ -8477,7 +8458,7 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing 16.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-v5)", "thiserror 1.0.68", "tracing", "tracing-log", @@ -8487,7 +8468,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -8498,7 +8479,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "futures", @@ -8516,9 +8497,9 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-runtime", - "sp-tracing 16.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-v5)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror 1.0.68", @@ -8529,7 +8510,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "futures", @@ -8545,7 +8526,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-channel 1.9.0", "futures", @@ -8625,9 +8606,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa7ffc1c0ef49b0452c6e2986abf2b07743320641ffd5fc63d552458e3b779b" +checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" dependencies = [ "bitvec", "cfg-if", @@ -8639,9 +8620,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.5" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46385cc24172cf615450267463f937c10072516359b3ff1cb24228a4a08bf951" +checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -8897,12 +8878,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -[[package]] -name = "send_wrapper" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" - [[package]] name = "serde" version = "1.0.214" @@ -8963,19 +8938,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - [[package]] name = "sha1" version = "0.10.6" @@ -9180,7 +9142,7 @@ dependencies = [ "siphasher 1.0.1", "slab", "smallvec", - "soketto 0.8.0", + "soketto", "twox-hash", "wasmi", "x25519-dalek", @@ -9246,16 +9208,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "socket2" version = "0.5.7" @@ -9266,21 +9218,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "soketto" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" -dependencies = [ - "base64 0.13.1", - "bytes", - "futures", - "httparse", - "log", - "rand", - "sha-1", -] - [[package]] name = "soketto" version = "0.8.0" @@ -9300,7 +9237,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "docify", "hash-db", @@ -9309,10 +9246,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-v4)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-metadata-ir", "sp-runtime", - "sp-runtime-interface 24.0.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-v5)", "sp-state-machine", "sp-trie", "sp-version", @@ -9322,7 +9259,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "Inflector", "blake2 0.10.6", @@ -9336,7 +9273,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "scale-info", @@ -9348,7 +9285,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "docify", "integer-sqrt", @@ -9380,7 +9317,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "scale-info", @@ -9392,7 +9329,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "sp-api", "sp-inherents", @@ -9402,7 +9339,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "futures", "parity-scale-codec", @@ -9421,7 +9358,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "futures", @@ -9436,7 +9373,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "parity-scale-codec", @@ -9454,7 +9391,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "finality-grandpa", "log", @@ -9471,7 +9408,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "scale-info", @@ -9482,7 +9419,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "bandersnatch_vrfs", @@ -9512,12 +9449,12 @@ dependencies = [ "secp256k1 0.28.2", "secrecy 0.8.0", "serde", - "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)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-debug-derive 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-runtime-interface 24.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "ss58-registry", "substrate-bip39", "thiserror 1.0.68", @@ -9563,7 +9500,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "blake2b_simd", "byteorder", @@ -9576,17 +9513,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "syn 2.0.87", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -9595,7 +9532,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "proc-macro2", "quote", @@ -9615,11 +9552,11 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 19.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-v5)", ] [[package]] @@ -9635,7 +9572,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "scale-info", @@ -9647,7 +9584,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9660,7 +9597,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bytes", "docify", @@ -9668,16 +9605,16 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.18.0", "rustversion", "secp256k1 0.28.2", "sp-core", - "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-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-keystore", - "sp-runtime-interface 24.0.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-v5)", "sp-state-machine", - "sp-tracing 16.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-v5)", "sp-trie", "tracing", "tracing-core", @@ -9686,7 +9623,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "sp-core", "sp-runtime", @@ -9696,18 +9633,18 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" 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-v4)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "thiserror 1.0.68", "zstd 0.12.4", @@ -9716,9 +9653,9 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ - "frame-metadata 16.0.0", + "frame-metadata 18.0.0", "parity-scale-codec", "scale-info", ] @@ -9726,7 +9663,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "scale-info", @@ -9737,7 +9674,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "sp-api", "sp-core", @@ -9747,7 +9684,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "backtrace", "regex", @@ -9756,7 +9693,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -9766,7 +9703,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "binary-merkle-tree", "docify", @@ -9785,7 +9722,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-io", - "sp-std 14.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-v5)", "sp-trie", "sp-weights", "tracing", @@ -9795,19 +9732,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.18.0", "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)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-std 14.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-wasm-interface 20.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "static_assertions", ] @@ -9819,7 +9756,7 @@ dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.9.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)", @@ -9833,7 +9770,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "Inflector", "expander", @@ -9859,7 +9796,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "scale-info", @@ -9873,7 +9810,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9886,7 +9823,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "hash-db", "log", @@ -9895,7 +9832,7 @@ dependencies = [ "rand", "smallvec", "sp-core", - "sp-externalities 0.25.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-v5)", "sp-panic-handler", "sp-trie", "thiserror 1.0.68", @@ -9906,7 +9843,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -9919,10 +9856,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-v4)", - "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-externalities 0.25.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-runtime", - "sp-runtime-interface 24.0.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-v5)", "thiserror 1.0.68", "x25519-dalek", ] @@ -9930,7 +9867,7 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" [[package]] name = "sp-std" @@ -9940,13 +9877,13 @@ source = "git+https://github.com/paritytech/polkadot-sdk#08ec8cdbfdbdd29c7921a8a [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.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-v5)", ] [[package]] @@ -9964,7 +9901,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "parity-scale-codec", @@ -9976,7 +9913,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", "tracing", @@ -9998,7 +9935,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "sp-api", "sp-runtime", @@ -10007,7 +9944,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "async-trait", "parity-scale-codec", @@ -10021,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "ahash", "hash-db", @@ -10033,7 +9970,7 @@ dependencies = [ "scale-info", "schnellru", "sp-core", - "sp-externalities 0.25.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-v5)", "thiserror 1.0.68", "tracing", "trie-db", @@ -10043,7 +9980,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10052,7 +9989,7 @@ dependencies = [ "serde", "sp-crypto-hashing-proc-macro", "sp-runtime", - "sp-std 14.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-v5)", "sp-version-proc-macro", "thiserror 1.0.68", ] @@ -10060,10 +9997,10 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "parity-scale-codec", - "proc-macro-warning 1.0.2", + "proc-macro-warning", "proc-macro2", "quote", "syn 2.0.87", @@ -10072,7 +10009,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -10095,7 +10032,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -10103,7 +10040,7 @@ dependencies = [ "serde", "smallvec", "sp-arithmetic", - "sp-debug-derive 14.0.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-v5)", ] [[package]] @@ -10161,7 +10098,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "array-bytes", "bounded-collections", @@ -10192,7 +10129,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" dependencies = [ "bitflags 1.3.2", - "cfg_aliases", + "cfg_aliases 0.1.1", "libc", "parking_lot 0.11.2", "parking_lot_core 0.8.6", @@ -10206,7 +10143,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf" dependencies = [ - "cfg_aliases", + "cfg_aliases 0.1.1", "memchr", "proc-macro2", "quote", @@ -10323,7 +10260,7 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", - "sp-tracing 16.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-v5)", "subcoin-primitives", "subcoin-service", "subcoin-test-service", @@ -10438,7 +10375,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-runtime", - "sp-std 14.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-v5)", "sp-transaction-pool", "sp-version", "subcoin-runtime-primitives", @@ -10454,7 +10391,7 @@ dependencies = [ "serde", "sp-api", "sp-runtime", - "sp-std 14.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-v5)", ] [[package]] @@ -10496,8 +10433,8 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-state-machine", - "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-storage 19.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", + "sp-tracing 16.0.0 (git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5)", "sp-trie", "subcoin-network", "subcoin-primitives", @@ -10583,7 +10520,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -10595,12 +10532,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -10620,7 +10557,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "http-body-util", "hyper 1.4.1", @@ -10634,7 +10571,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "build-helper", "cargo_metadata", @@ -11091,9 +11028,9 @@ dependencies = [ "libc", "mio", "parking_lot 0.12.3", - "pin-project-lite 0.2.14", + "pin-project-lite", "signal-hook-registry", - "socket2 0.5.7", + "socket2", "tokio-macros", "windows-sys 0.52.0", ] @@ -11137,7 +11074,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite", "tokio", "tokio-util", ] @@ -11167,7 +11104,7 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.14", + "pin-project-lite", "tokio", ] @@ -11234,7 +11171,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.14", + "pin-project-lite", "tokio", "tower-layer", "tower-service", @@ -11252,7 +11189,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.1", "http-body-util", - "pin-project-lite 0.2.14", + "pin-project-lite", "tower-layer", "tower-service", ] @@ -11276,7 +11213,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.14", + "pin-project-lite", "tracing-attributes", "tracing-core", ] @@ -11315,7 +11252,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "coarsetime", "polkadot-primitives", @@ -11326,7 +11263,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "expander", "proc-macro-crate 3.1.0", @@ -11387,78 +11324,6 @@ dependencies = [ "hash-db", ] -[[package]] -name = "trust-dns-proto" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" -dependencies = [ - "async-trait", - "cfg-if", - "data-encoding", - "enum-as-inner 0.5.1", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.2.3", - "ipnet", - "lazy_static", - "rand", - "smallvec", - "socket2 0.4.10", - "thiserror 1.0.68", - "tinyvec", - "tokio", - "tracing", - "url", -] - -[[package]] -name = "trust-dns-proto" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3119112651c157f4488931a01e586aa459736e9d6046d3bd9105ffb69352d374" -dependencies = [ - "async-trait", - "cfg-if", - "data-encoding", - "enum-as-inner 0.6.0", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.4.0", - "ipnet", - "once_cell", - "rand", - "smallvec", - "thiserror 1.0.68", - "tinyvec", - "tokio", - "tracing", - "url", -] - -[[package]] -name = "trust-dns-resolver" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" -dependencies = [ - "cfg-if", - "futures-util", - "ipconfig", - "lru-cache", - "once_cell", - "parking_lot 0.12.3", - "rand", - "resolv-conf", - "smallvec", - "thiserror 1.0.68", - "tokio", - "tracing", - "trust-dns-proto 0.23.2", -] - [[package]] name = "try-lock" version = "0.2.5" @@ -11609,7 +11474,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes", "futures-io", "futures-util", @@ -12500,35 +12365,18 @@ dependencies = [ "zeroize", ] -[[package]] -name = "x509-parser" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" -dependencies = [ - "asn1-rs 0.5.2", - "data-encoding", - "der-parser 8.2.0", - "lazy_static", - "nom", - "oid-registry 0.6.1", - "rusticata-macros", - "thiserror 1.0.68", - "time", -] - [[package]] name = "x509-parser" version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs 0.6.1", + "asn1-rs", "data-encoding", - "der-parser 9.0.0", + "der-parser", "lazy_static", "nom", - "oid-registry 0.7.0", + "oid-registry", "rusticata-macros", "thiserror 1.0.68", "time", @@ -12537,7 +12385,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v4#b4153b97fd4d6e328e5d447c2cca74614651c497" +source = "git+https://github.com/subcoin-project/polkadot-sdk?branch=subcoin-v5#9d989840a41ad7f6f9b44c6d7956c1d5771c6a90" dependencies = [ "Inflector", "proc-macro2", @@ -12575,6 +12423,22 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "yamux" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17610762a1207ee816c6fadc29220904753648aba0a9ed61c7b8336e80a559c4" +dependencies = [ + "futures", + "log", + "nohash-hasher", + "parking_lot 0.12.3", + "pin-project", + "rand", + "static_assertions", + "web-time", +] + [[package]] name = "yap" version = "0.11.0" diff --git a/Cargo.toml b/Cargo.toml index 2fcd72d9..2882294b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ ip_network = "0.4.1" jsonrpsee = { version = "0.24.3", features = ["server"] } log = { version = "0.4", default-features = false } parking_lot = "0.12" -scale-info = { version = "2.6.0", default-features = false } +scale-info = { version = "2.11.6", default-features = false } serde = "1" serde_json = "1" sha2 = "0.9.9" @@ -62,57 +62,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-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 } +frame-benchmarking-cli = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +frame-support = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +frame-system = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +frame-try-runtime = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +pallet-balances = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +pallet-transaction-payment = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } # Disable the default `rocksdb` feature -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" } +sc-cli = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sc-client-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-consensus = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-executor = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-informant = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-network = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-network-common = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-network-sync = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-rpc = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-rpc-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } # Disable the default `rocksdb` feature -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" } +sc-service = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sc-storage-monitor = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-sysinfo = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-telemetry = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-tracing = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-transaction-pool = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-transaction-pool-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sc-utils = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sp-api = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-blockchain = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-block-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-consensus = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-core = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-database = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-genesis-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-keyring = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sp-keystore = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sp-inherents = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-io = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-rpc = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sp-runtime = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-state-machine = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +sp-std = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-storage = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-tracing = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-transaction-pool = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-trie = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +sp-version = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +substrate-build-script-utils = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +substrate-frame-rpc-system = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } +substrate-prometheus-endpoint = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5", default-features = false } +substrate-wasm-builder = { git = "https://github.com/subcoin-project/polkadot-sdk", branch = "subcoin-v5" } txoutset = { git = "https://github.com/liuchengxu/txoutset", branch = "subcoin" } pallet-bitcoin = { path = "crates/pallet-bitcoin", default-features = false } diff --git a/crates/subcoin-snapcake/src/snapshot_manager.rs b/crates/subcoin-snapcake/src/snapshot_manager.rs index 5e1c213b..306c6ebf 100644 --- a/crates/subcoin-snapcake/src/snapshot_manager.rs +++ b/crates/subcoin-snapcake/src/snapshot_manager.rs @@ -2,9 +2,11 @@ use bitcoin::hashes::Hash; use bitcoin::{BlockHash, Txid}; use rocksdb::DB; use sha2::{Digest, Sha256}; +use std::collections::HashMap; use std::fs::File; use std::io::{BufReader, Read}; use std::path::{Path, PathBuf}; +use std::sync::LazyLock; use std::time::{Duration, Instant}; use subcoin_runtime_primitives::Coin; use subcoin_utxo_snapshot::{OutputEntry, Utxo, UtxoSnapshotGenerator}; @@ -12,8 +14,14 @@ use subcoin_utxo_snapshot::{OutputEntry, Utxo, UtxoSnapshotGenerator}; const COUNT_KEY: &[u8; 12] = b"__coin_count"; const INTERVAL: Duration = Duration::from_secs(5); -const MAINNET_840000_SNAPSHOT_SHA256SUM: &str = - "dc4bb43d58d6a25e91eae93eb052d72e3318bd98ec62a5d0c11817cefbba177b"; +static MAINNET_SNAPSHOT_SHA256SUMS: LazyLock> = LazyLock::new(|| { + HashMap::from([( + "0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5" + .parse() + .expect("BlockHash for mainnet block#8400000 is correct; qed"), + "dc4bb43d58d6a25e91eae93eb052d72e3318bd98ec62a5d0c11817cefbba177b", + )]) +}); /// Storage backend for UTXO snapshots. /// @@ -331,7 +339,7 @@ impl SnapshotManager { } /// Generates a snapshot and ensures the total UTXO count matches the expected count. - pub fn create_snapshot(&mut self, expected_utxos_count: usize) { + pub fn create_snapshot(&mut self, expected_utxos_count: usize) -> std::io::Result<()> { let utxos_count = self .store .count() @@ -345,34 +353,32 @@ impl SnapshotManager { self.snapshot_generator.path().display() ); - self.store - .generate_snapshot( - &mut self.snapshot_generator, - self.target_bitcoin_block_hash, - utxos_count as u64, - ) - .expect("Failed to write UTXO set snapshot"); + self.store.generate_snapshot( + &mut self.snapshot_generator, + self.target_bitcoin_block_hash, + utxos_count as u64, + )?; - if self.target_bitcoin_block_hash - == "0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5" - .parse() - .expect("BlockHash for mainnet block#8400000 is correct; qed") + if let Some(expected_sha256sum) = + MAINNET_SNAPSHOT_SHA256SUMS.get(&self.target_bitcoin_block_hash) { - let sha256sum = calculate_sha256sum(self.snapshot_generator.path()) - .expect("Failed to calculate sha256sum of snapshot"); + let sha256sum = calculate_sha256sum(self.snapshot_generator.path())?; - if sha256sum != MAINNET_840000_SNAPSHOT_SHA256SUM { - panic!("Invalid snapshot sha256sum for block 8400000, expected: {MAINNET_840000_SNAPSHOT_SHA256SUM}, got: {sha256sum}"); + if sha256sum != *expected_sha256sum { + panic!( + "Invalid snapshot sha256sum for block#{} (expected: {expected_sha256sum}, got: {sha256sum})", + self.target_bitcoin_block_hash, + ); } } + + Ok(()) } } /// Calculates the SHA256 checksum of a file. fn calculate_sha256sum(file_path: impl AsRef) -> std::io::Result { - // Open the file - let file = File::open(file_path)?; - let mut reader = BufReader::new(file); + let mut reader = BufReader::new(File::open(file_path)?); // Create a SHA256 hasher let mut hasher = Sha256::new(); @@ -388,5 +394,6 @@ fn calculate_sha256sum(file_path: impl AsRef) -> std::io::Result { // Finalize the hash and return it as a hexadecimal string let hash_result = hasher.finalize(); + Ok(format!("{:x}", hash_result)) } diff --git a/crates/subcoin-snapcake/src/state_sync_wrapper.rs b/crates/subcoin-snapcake/src/state_sync_wrapper.rs index 45325458..21c61224 100644 --- a/crates/subcoin-snapcake/src/state_sync_wrapper.rs +++ b/crates/subcoin-snapcake/src/state_sync_wrapper.rs @@ -122,7 +122,9 @@ where self.total_coins, ); - self.snapshot_manager.create_snapshot(self.total_coins); + self.snapshot_manager + .create_snapshot(self.total_coins) + .expect("Failed to create snapshot"); tracing::info!( target: "snapcake",