diff --git a/Cargo.lock b/Cargo.lock index bb3ba568..a1145f8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,17 +91,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom 0.2.15", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.11" @@ -109,7 +98,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.15", + "getrandom", "once_cell", "version_check", "zerocopy", @@ -172,7 +161,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "syn-solidity", "tiny-keccak", ] @@ -210,15 +199,6 @@ dependencies = [ "libc", ] -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - [[package]] name = "anstream" version = "0.6.18" @@ -294,7 +274,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -303,7 +283,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -315,7 +295,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-models-ext", "ark-std 0.4.0", ] @@ -326,7 +306,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -339,7 +319,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" dependencies = [ "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-models-ext", "ark-serialize 0.4.2", @@ -353,7 +333,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -365,7 +345,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" dependencies = [ "ark-bw6-761", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-models-ext", "ark-std 0.4.0", @@ -378,7 +358,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ "ark-ff 0.4.2", - "ark-poly", + "ark-poly 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", "derivative", @@ -389,6 +369,27 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ec" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.2", + "itertools 0.13.0", + "num-bigint", + "num-integer", + "num-traits", + "zeroize", +] + [[package]] name = "ark-ed-on-bls12-377" version = "0.4.0" @@ -396,7 +397,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -407,7 +408,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-377", "ark-ff 0.4.2", "ark-models-ext", @@ -421,7 +422,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" dependencies = [ "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -432,7 +433,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-381-bandersnatch", "ark-ff 0.4.2", "ark-models-ext", @@ -477,6 +478,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" +dependencies = [ + "ark-ff-asm 0.5.0", + "ark-ff-macros 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "arrayvec 0.7.6", + "digest 0.10.7", + "educe", + "itertools 0.13.0", + "num-bigint", + "num-traits", + "paste", + "zeroize", +] + [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -497,6 +518,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-asm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" +dependencies = [ + "quote", + "syn 2.0.94", +] + [[package]] name = "ark-ff-macros" version = "0.3.0" @@ -522,13 +553,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 2.0.94", +] + [[package]] name = "ark-models-ext" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -548,13 +592,28 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "ark-poly" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.2", +] + [[package]] name = "ark-scale" version = "0.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -562,6 +621,21 @@ dependencies = [ "scale-info", ] +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "ark-transcript", + "digest 0.10.7", + "getrandom_or_panic", + "zeroize", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -578,12 +652,25 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "ark-std 0.4.0", "digest 0.10.7", "num-bigint", ] +[[package]] +name = "ark-serialize" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" +dependencies = [ + "ark-serialize-derive 0.5.0", + "ark-std 0.5.0", + "arrayvec 0.7.6", + "digest 0.10.7", + "num-bigint", +] + [[package]] name = "ark-serialize-derive" version = "0.4.2" @@ -595,6 +682,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-serialize-derive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.94", +] + [[package]] name = "ark-std" version = "0.3.0" @@ -617,10 +715,27 @@ dependencies = [ ] [[package]] -name = "array-bytes" -version = "4.2.0" +name = "ark-std" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3", +] [[package]] name = "array-bytes" @@ -643,12 +758,6 @@ dependencies = [ "nodrop", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.6" @@ -707,7 +816,7 @@ checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "synstructure 0.13.1", ] @@ -730,7 +839,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -747,15 +856,14 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "frame-support", "frame-system", - "pallet-asset-conversion", "pallet-assets", "pallet-balances", "pallet-collator-selection", @@ -766,20 +874,19 @@ dependencies = [ "parachains-common", "parachains-runtimes-test-utils", "parity-scale-codec", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", - "xcm-runtime-apis", ] [[package]] name = "assets-common" -version = "0.18.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -792,7 +899,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 39.0.5", + "sp-runtime", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -847,6 +954,17 @@ dependencies = [ "futures-lite 1.13.0", ] +[[package]] +name = "async-fs" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a" +dependencies = [ + "async-lock 3.4.0", + "blocking", + "futures-lite 2.5.0", +] + [[package]] name = "async-io" version = "1.13.0" @@ -917,6 +1035,17 @@ dependencies = [ "futures-lite 1.13.0", ] +[[package]] +name = "async-net" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" +dependencies = [ + "async-io 2.4.0", + "blocking", + "futures-lite 2.5.0", +] + [[package]] name = "async-process" version = "1.8.1" @@ -934,6 +1063,25 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "async-process" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" +dependencies = [ + "async-channel 2.3.1", + "async-io 2.4.0", + "async-lock 3.4.0", + "async-signal", + "async-task", + "blocking", + "cfg-if", + "event-listener 5.3.1", + "futures-lite 2.5.0", + "rustix 0.38.42", + "tracing", +] + [[package]] name = "async-signal" version = "0.2.10" @@ -960,13 +1108,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.83" +version = "0.1.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" +checksum = "1b1244b10dcd56c92219da4e14caa97e312079e185f04ba3eea25061561dc0a0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -991,12 +1139,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "atomic" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59bdb34bc650a32731b31bd8f0829cc15d24a708ee31559e0bb34f2bc320cba" - [[package]] name = "atomic-take" version = "1.1.0" @@ -1028,7 +1170,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -1060,7 +1202,7 @@ dependencies = [ "rustversion", "serde", "sync_wrapper 0.1.2", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", ] @@ -1097,6 +1239,27 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.4" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-bls12-381", + "ark-ec 0.4.2", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "dleq_vrf", + "rand_chacha", + "rand_core 0.6.4", + "ring 0.1.0", + "sha2 0.10.8", + "sp-ark-bls12-381", + "sp-ark-ed-on-bls12-381-bandersnatch", + "zeroize", +] + [[package]] name = "base-x" version = "0.2.11" @@ -1163,11 +1326,12 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "15.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hash-db", "log", + "parity-scale-codec", ] [[package]] @@ -1197,7 +1361,23 @@ dependencies = [ "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.91", + "syn 2.0.94", +] + +[[package]] +name = "bip32" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa13fae8b6255872fd86f7faf4b41168661d7d78609f7bfe6771b85c6739a15b" +dependencies = [ + "bs58", + "hmac 0.12.1", + "k256", + "rand_core 0.6.4", + "ripemd", + "sha2 0.10.8", + "subtle 2.6.1", + "zeroize", ] [[package]] @@ -1207,6 +1387,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" dependencies = [ "bitcoin_hashes", + "serde", + "unicode-normalization", ] [[package]] @@ -1343,18 +1525,6 @@ dependencies = [ "constant_time_eq 0.3.1", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" @@ -1373,15 +1543,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "blocking" version = "1.6.1" @@ -1395,18 +1556,6 @@ dependencies = [ "piper", ] -[[package]] -name = "bounded-collections" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" -dependencies = [ - "log", - "parity-scale-codec", - "scale-info", - "serde", -] - [[package]] name = "bounded-collections" version = "0.2.2" @@ -1430,8 +1579,8 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.18.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1440,15 +1589,15 @@ dependencies = [ "scale-info", "serde", "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "bp-messages" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1456,15 +1605,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-std", ] [[package]] name = "bp-parachains" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1473,46 +1622,45 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "bp-polkadot" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.5.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-polkadot-core", "bp-runtime", "frame-support", "sp-api", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "bp-polkadot-core" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-messages", "bp-runtime", "frame-support", "frame-system", "parity-scale-codec", - "parity-util-mem", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "bp-relayers" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -1523,14 +1671,14 @@ dependencies = [ "pallet-utility", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "bp-runtime" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -1541,39 +1689,39 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-std 14.0.0", - "sp-trie 37.0.0", - "trie-db 0.29.1", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "trie-db", ] [[package]] name = "bp-test-utils" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-parachains", "bp-polkadot-core", "bp-runtime", - "ed25519-dalek 2.1.1", + "ed25519-dalek", "finality-grandpa", "parity-scale-codec", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", - "sp-trie 37.0.0", + "sp-core", + "sp-runtime", + "sp-std", + "sp-trie", ] [[package]] name = "bp-xcm-bridge-hub" -version = "0.4.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-messages", "bp-runtime", @@ -1581,28 +1729,28 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-std", "staging-xcm", ] [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.14.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "staging-xcm", ] [[package]] name = "bridge-hub-common" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1610,16 +1758,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "snowbridge-core", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-runtime", + "sp-std", "staging-xcm", ] [[package]] name = "bridge-hub-test-utils" -version = "0.20.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -1649,11 +1797,11 @@ dependencies = [ "parachains-common", "parachains-runtimes-test-utils", "parity-scale-codec", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-runtime", + "sp-tracing", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -1661,8 +1809,8 @@ dependencies = [ [[package]] name = "bridge-runtime-common" -version = "0.18.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -1682,26 +1830,22 @@ dependencies = [ "pallet-utility", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", - "sp-trie 37.0.0", + "sp-io", + "sp-runtime", + "sp-std", + "sp-trie", + "sp-weights", "staging-xcm", "tuplex", ] -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - [[package]] name = "bs58" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ + "sha2 0.10.8", "tinyvec", ] @@ -1805,9 +1949,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.5" +version = "1.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31a0499c1dc64f458ad13872de75c0eb7e3fdb0e67964610c914b034fc5956e" +checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7" dependencies = [ "jobserver", "libc", @@ -1824,14 +1968,14 @@ version = "0.1.0" dependencies = [ "aead 0.4.3", "aead-io", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "hex", "rand 0.8.5", "ring 0.16.20", "rsa", "schnorrkel 0.11.4", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", + "sp-application-crypto", + "sp-core", "typenum", ] @@ -1848,7 +1992,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", + "sp-core", "spin 0.9.8", "tracing", ] @@ -1862,7 +2006,7 @@ dependencies = [ "ces-pallet-mq", "ces-pallet-mq-runtime-api", "hex", - "impl-serde", + "impl-serde 0.5.0", "jsonrpsee 0.24.7", "log", "parity-scale-codec", @@ -1872,8 +2016,8 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-runtime", + "sp-state-machine", "thiserror 1.0.69", ] @@ -1881,7 +2025,7 @@ dependencies = [ name = "ces-node-rpc-ext-types" version = "0.1.0" dependencies = [ - "impl-serde", + "impl-serde 0.5.0", "parity-scale-codec", "scale-info", "serde", @@ -1896,15 +2040,16 @@ dependencies = [ "frame-support", "frame-system", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-info", "serde", "serde_json", "sgx-attestation", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] @@ -1959,7 +2104,7 @@ dependencies = [ "env_logger 0.11.6", "log", "tracing-core", - "tracing-subscriber 0.3.19", + "tracing-subscriber", ] [[package]] @@ -1970,7 +2115,7 @@ dependencies = [ "parity-scale-codec", "rsa", "serde", - "sp-core 34.0.0", + "sp-core", ] [[package]] @@ -1981,20 +2126,20 @@ dependencies = [ "hash256-std-hasher", "hex", "im", - "impl-serde", + "impl-serde 0.5.0", "keccak-hasher", "log", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", - "trie-db 0.29.1", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-trie", + "trie-db", ] [[package]] @@ -2011,16 +2156,16 @@ dependencies = [ "serde", "serde_json", "sgx-attestation", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "cess-node" -version = "0.8.1" +version = "0.8.2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-trait", "ces-node-rpc-ext", "ces-pallet-mq", @@ -2060,13 +2205,13 @@ dependencies = [ name = "cess-node-primitives" version = "2.0.0" dependencies = [ - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "cess-node-runtime" -version = "0.9.0" +version = "0.9.1" dependencies = [ "ces-pallet-mq", "ces-pallet-mq-runtime-api", @@ -2103,7 +2248,7 @@ dependencies = [ "pallet-tee-worker", "parity-scale-codec", "polkadot-sdk", - "primitive-types", + "primitive-types 0.13.1", "scale-info", "serde_json", "static_assertions", @@ -2124,7 +2269,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.3", - "rand_chacha 0.3.1", + "rand_chacha", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -2137,19 +2282,19 @@ dependencies = [ "sc-transaction-pool-api", "scale-info", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", "sp-inherents", "sp-keyring", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "sp-timestamp", - "sp-tracing 17.0.1", + "sp-tracing", "substrate-prometheus-endpoint", "substrate-test-runtime-client", "thiserror 1.0.69", @@ -2172,13 +2317,13 @@ dependencies = [ "serde", "serde_json", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", + "sp-core", "sp-keyring", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "substrate-test-runtime-client", "thiserror 1.0.69", "tokio", @@ -2198,7 +2343,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", ] @@ -2211,12 +2356,12 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-slots", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -2281,14 +2426,14 @@ dependencies = [ "serde_json", "serde_path_to_error", "sgx-api-lite", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "sp-core", + "sp-externalities", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-trie", "thiserror 1.0.69", "threadpool", "tokio", @@ -2316,15 +2461,15 @@ dependencies = [ "insta", "log", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "prost 0.11.9", "scale-info", "serde", "serde_json", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "tonic", "tonic-build", ] @@ -2351,14 +2496,16 @@ dependencies = [ "anyhow", "ces-node-rpc-ext-types", "ces-types", - "jsonrpsee 0.20.4", + "jsonrpsee 0.24.7", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-encode 0.7.2", "scale-info", "serde", "serde_json", - "subxt", + "sp-core", + "sp-runtime", + "subxt 0.38.0", "tokio", ] @@ -2502,7 +2649,7 @@ dependencies = [ [[package]] name = "cifrost" -version = "0.2.2" +version = "0.2.3" dependencies = [ "anyhow", "async-trait", @@ -2531,9 +2678,9 @@ dependencies = [ "serde", "serde_json", "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-trie 37.0.0", + "sp-core", + "sp-runtime", + "sp-trie", "tokio", "tonic", ] @@ -2601,7 +2748,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -2660,7 +2807,7 @@ dependencies = [ "nom", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -2690,6 +2837,22 @@ dependencies = [ "unicode-width 0.2.0", ] +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-poly 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "fflonk", + "getrandom_or_panic", + "merlin", + "rand_chacha", +] + [[package]] name = "common-path" version = "1.0.0" @@ -2752,7 +2915,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.15", + "getrandom", "once_cell", "tiny-keccak", ] @@ -2791,6 +2954,16 @@ dependencies = [ "libc", ] +[[package]] +name = "core-foundation" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -2812,7 +2985,7 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 34.0.0", + "sp-core", ] [[package]] @@ -2823,8 +2996,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-std 14.0.0", + "sp-core", + "sp-std", ] [[package]] @@ -3075,16 +3248,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "crypto-mac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" -dependencies = [ - "generic-array 0.14.7", - "subtle 2.6.1", -] - [[package]] name = "ctr" version = "0.9.2" @@ -3096,8 +3259,8 @@ dependencies = [ [[package]] name = "cumulus-client-cli" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "clap", "parity-scale-codec", @@ -3106,15 +3269,15 @@ dependencies = [ "sc-client-api", "sc-service", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "url", ] [[package]] name = "cumulus-client-collator" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -3129,15 +3292,15 @@ dependencies = [ "sc-client-api", "sp-api", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "tracing", ] [[package]] name = "cumulus-client-consensus-aura" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-client-collator", @@ -3152,6 +3315,7 @@ dependencies = [ "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", "sc-client-api", @@ -3163,16 +3327,16 @@ dependencies = [ "sc-utils", "schnellru", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-keystore", + "sp-runtime", + "sp-state-machine", "sp-timestamp", "substrate-prometheus-endpoint", "tokio", @@ -3181,8 +3345,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -3200,10 +3364,10 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "sp-timestamp", - "sp-trie 37.0.0", + "sp-trie", "sp-version", "substrate-prometheus-endpoint", "tracing", @@ -3211,23 +3375,23 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "anyhow", "async-trait", "cumulus-primitives-parachain-inherent", "sp-consensus", "sp-inherents", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-runtime", + "sp-state-machine", "thiserror 1.0.69", ] [[package]] name = "cumulus-client-consensus-relay-chain" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -3240,17 +3404,17 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-network" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -3266,17 +3430,17 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-core", + "sp-runtime", + "sp-state-machine", "sp-version", "tracing", ] [[package]] name = "cumulus-client-parachain-inherent" -version = "0.12.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3288,17 +3452,17 @@ dependencies = [ "sp-api", "sp-crypto-hashing", "sp-inherents", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", - "sp-trie 37.0.0", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-trie", "tracing", ] [[package]] name = "cumulus-client-pov-recovery" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3316,15 +3480,15 @@ dependencies = [ "sp-api", "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime 39.0.5", + "sp-runtime", "sp-version", "tracing", ] [[package]] name = "cumulus-client-service" -version = "0.19.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -3352,16 +3516,16 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-transaction-pool", ] [[package]] name = "cumulus-pallet-aura-ext" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -3370,15 +3534,15 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -3387,15 +3551,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.17.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -3414,48 +3578,48 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", - "sp-core 34.0.0", - "sp-externalities 0.29.0", + "sp-core", + "sp-externalities", "sp-inherents", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-std 14.0.0", - "sp-trie 37.0.0", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", "sp-version", "staging-xcm", "staging-xcm-builder", - "trie-db 0.29.1", + "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "cumulus-pallet-session-benchmarking" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", "parity-scale-codec", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "cumulus-pallet-solo-to-para" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -3464,30 +3628,30 @@ dependencies = [ "parity-scale-codec", "polkadot-primitives", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "bounded-collections 0.2.2", + "bounded-collections", "bp-xcm-bridge-hub-router", "cumulus-primitives-core", "frame-benchmarking", @@ -3499,9 +3663,9 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -3509,8 +3673,8 @@ dependencies = [ [[package]] name = "cumulus-ping" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -3518,14 +3682,14 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", "staging-xcm", ] [[package]] name = "cumulus-primitives-aura" -version = "0.15.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", "sp-consensus-aura", @@ -3533,8 +3697,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -3542,55 +3706,56 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-api", - "sp-runtime 39.0.5", - "sp-trie 37.0.0", + "sp-runtime", + "sp-trie", "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-primitives-core", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-trie 37.0.0", + "sp-trie", ] [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "sp-externalities 0.29.0", - "sp-runtime-interface 28.0.0", - "sp-trie 37.0.0", + "sp-externalities", + "sp-runtime-interface", + "sp-trie", ] [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "8.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", "docify", + "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "cumulus-primitives-timestamp" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -3599,8 +3764,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3608,7 +3773,7 @@ dependencies = [ "pallet-asset-conversion", "parity-scale-codec", "polkadot-runtime-common", - "sp-runtime 39.0.5", + "sp-runtime", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -3616,8 +3781,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.19.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3633,15 +3798,15 @@ dependencies = [ "sc-tracing", "sp-api", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] name = "cumulus-relay-chain-interface" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3652,17 +3817,17 @@ dependencies = [ "sc-client-api", "sp-api", "sp-blockchain", - "sp-state-machine 0.43.0", + "sp-state-machine", "sp-version", "thiserror 1.0.69", ] [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.19.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -3686,7 +3851,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-runtime 39.0.5", + "sp-runtime", "substrate-prometheus-endpoint", "tokio", "tracing", @@ -3694,8 +3859,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -3707,6 +3872,7 @@ dependencies = [ "parity-scale-codec", "pin-project", "polkadot-overseer", + "prometheus", "rand 0.8.5", "sc-client-api", "sc-rpc-api", @@ -3719,11 +3885,12 @@ dependencies = [ "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-storage", "sp-version", + "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", "tokio-util", @@ -3733,41 +3900,15 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", -] - -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle 2.6.1", - "zeroize", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle 2.6.1", - "zeroize", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -3794,7 +3935,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -3812,9 +3953,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d44ff199ff93242c3afe480ab588d544dd08d72e92885e152ffebc670f076ad" +checksum = "ad7c7515609502d316ab9a24f67dc045132d93bfd3f00713389e90d9898bf30d" dependencies = [ "cc", "cxxbridge-cmd", @@ -3826,47 +3967,47 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66fd8f17ad454fc1e4f4ab83abffcc88a532e90350d3ffddcb73030220fcbd52" +checksum = "8bfd16fca6fd420aebbd80d643c201ee4692114a0de208b790b9cd02ceae65fb" dependencies = [ "cc", "codespan-reporting", "proc-macro2", "quote", "scratch", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "cxxbridge-cmd" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4717c9c806a9e07fdcb34c84965a414ea40fafe57667187052cf1eb7f5e8a8a9" +checksum = "6c33fd49f5d956a1b7ee5f7a9768d58580c6752838d92e39d0d56439efdedc35" dependencies = [ "clap", "codespan-reporting", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "cxxbridge-flags" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6515329bf3d98f4073101c7866ff2bec4e635a13acb82e3f3753fff0bf43cb" +checksum = "be0f1077278fac36299cce8446effd19fe93a95eedb10d39265f3bf67b3036c9" [[package]] name = "cxxbridge-macro" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb93e6a7ce8ec985c02bbb758237a31598b340acbbc3c19c5a4fa6adaaac92ab" +checksum = "3da7e4d6e74af6b79031d264b2f13c3ea70af1978083741c41ffce9308f1f24f" dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -3914,7 +4055,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -3936,7 +4077,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core 0.20.10", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4046,7 +4187,7 @@ checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4077,7 +4218,18 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", +] + +[[package]] +name = "derive-where" +version = "1.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.94", ] [[package]] @@ -4090,7 +4242,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4110,7 +4262,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "unicode-xid", ] @@ -4206,7 +4358,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4215,6 +4367,22 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59f8e79d1fbf76bdfbde321e902714bf6c49df88a7dda6fc682fc2979226962d" +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-scale", + "ark-secret-scalar", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "ark-transcript", + "arrayvec 0.7.6", + "zeroize", +] + [[package]] name = "docify" version = "0.2.9" @@ -4236,7 +4404,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.91", + "syn 2.0.94", "termcolor", "toml 0.8.19", "walkdir", @@ -4310,19 +4478,10 @@ dependencies = [ "elliptic-curve", "rfc6979", "serdect", - "signature 2.2.0", + "signature", "spki 0.7.3", ] -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature 1.6.4", -] - [[package]] name = "ed25519" version = "2.2.3" @@ -4330,19 +4489,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8 0.10.2", - "signature 2.2.0", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519 1.5.3", - "sha2 0.9.9", - "zeroize", + "signature", ] [[package]] @@ -4351,8 +4498,8 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.3", - "ed25519 2.2.3", + "curve25519-dalek", + "ed25519", "rand_core 0.6.4", "serde", "sha2 0.10.8", @@ -4362,31 +4509,29 @@ dependencies = [ [[package]] name = "ed25519-zebra" -version = "3.1.0" +version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" +checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", + "curve25519-dalek", + "ed25519", + "hashbrown 0.14.5", "hex", "rand_core 0.6.4", - "sha2 0.9.9", + "sha2 0.10.8", "zeroize", ] [[package]] -name = "ed25519-zebra" -version = "4.0.3" +name = "educe" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" dependencies = [ - "curve25519-dalek 4.1.3", - "ed25519 2.2.3", - "hashbrown 0.14.5", - "hex", - "rand_core 0.6.4", - "sha2 0.10.8", - "zeroize", + "enum-ordinalize", + "proc-macro2", + "quote", + "syn 2.0.94", ] [[package]] @@ -4445,7 +4590,27 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", +] + +[[package]] +name = "enum-ordinalize" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.94", ] [[package]] @@ -4465,7 +4630,7 @@ checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4476,7 +4641,7 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4540,15 +4705,14 @@ dependencies = [ [[package]] name = "ethabi" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898" +source = "git+https://github.com/CESSProject/ethabi?branch=upgrade-ethereum-types#b966d27f07792b8261f07afed241df8b41577992" dependencies = [ - "ethereum-types", + "ethereum-types 0.15.1", "hex", "serde", "sha3", "thiserror 1.0.69", - "uint", + "uint 0.10.0", ] [[package]] @@ -4557,7 +4721,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d398648d65820a727d6a81e58b962f874473396a047e4c30bafe3240953417" dependencies = [ - "ethereum-types", + "ethereum-types 0.14.1", "tiny-keccak", ] @@ -4569,9 +4733,20 @@ checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" dependencies = [ "crunchy", "fixed-hash", - "impl-codec", + "tiny-keccak", +] + +[[package]] +name = "ethbloom" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c321610643004cf908ec0f5f2aa0d8f1f8e14b540562a2887a1111ff1ecbf7b" +dependencies = [ + "crunchy", + "fixed-hash", + "impl-codec 0.7.0", "impl-rlp", - "impl-serde", + "impl-serde 0.5.0", "scale-info", "tiny-keccak", ] @@ -4579,15 +4754,14 @@ dependencies = [ [[package]] name = "ethereum" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e04d24d20b8ff2235cffbf242d5092de3aa45f77c5270ddbfadd2778ca13fea" +source = "git+https://github.com/CESSProject/ethereum.git?branch=upgrade-ethereum-types#c2c8281eeee9eee11bb9b86f98e08a6aeae944a2" dependencies = [ "bytes", - "ethereum-types", + "ethereum-types 0.15.1", "hash-db", "hash256-std-hasher", "parity-scale-codec", - "rlp", + "rlp 0.6.1", "scale-info", "serde", "sha3", @@ -4600,14 +4774,26 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" dependencies = [ - "ethbloom", + "ethbloom 0.13.0", + "fixed-hash", + "primitive-types 0.12.2", + "uint 0.9.5", +] + +[[package]] +name = "ethereum-types" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ab15ed80916029f878e0267c3a9f92b67df55e79af370bf66199059ae2b4ee3" +dependencies = [ + "ethbloom 0.14.1", "fixed-hash", - "impl-codec", + "impl-codec 0.7.0", "impl-rlp", - "impl-serde", - "primitive-types", + "impl-serde 0.5.0", + "primitive-types 0.13.1", "scale-info", - "uint", + "uint 0.10.0", ] [[package]] @@ -4627,6 +4813,16 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "pin-project-lite", +] + [[package]] name = "event-listener" version = "5.3.1" @@ -4650,9 +4846,8 @@ dependencies = [ [[package]] name = "evm" -version = "0.41.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767f43e9630cc36cf8ff2777cbb0121b055f0d1fd6eaaa13b46a1808f0d0e7e9" +version = "0.41.0" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "auto_impl", "environmental", @@ -4662,8 +4857,8 @@ dependencies = [ "evm-runtime", "log", "parity-scale-codec", - "primitive-types", - "rlp", + "primitive-types 0.13.1", + "rlp 0.6.1", "scale-info", "serde", "sha3", @@ -4672,11 +4867,10 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da6cedc5cedb4208e59467106db0d1f50db01b920920589f8e672c02fdc04f" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-info", "serde", ] @@ -4684,25 +4878,23 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dc0eb591abc5cd7b05bef6a036c2bb6c66ab6c5e0c5ce94bfe377ab670b1fd7" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "environmental", "evm-core", "evm-runtime", - "primitive-types", + "primitive-types 0.13.1", ] [[package]] name = "evm-runtime" version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bbe09b64ae13a29514048c1bb6fda6374ac0b4f6a1f15a443348ab88ef42cd" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "auto_impl", "environmental", "evm-core", - "primitive-types", + "primitive-types 0.13.1", "sha3", ] @@ -4727,15 +4919,9 @@ dependencies = [ "prettyplease 0.2.25", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fallible-iterator" version = "0.2.0" @@ -4806,28 +4992,28 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "async-trait", "fp-storage", "parity-scale-codec", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "fc-cli" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "clap", - "ethereum-types", + "ethereum-types 0.15.1", "fc-db", "fp-rpc", "fp-storage", @@ -4836,13 +5022,13 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "async-trait", "fp-consensus", @@ -4851,14 +5037,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "async-trait", "ethereum", @@ -4878,9 +5064,9 @@ dependencies = [ "smallvec", "sp-api", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-database", - "sp-runtime 39.0.5", + "sp-runtime", "sqlx", "tokio", ] @@ -4888,7 +5074,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fc-db", "fc-storage", @@ -4903,18 +5089,18 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "tokio", ] [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "evm", "fc-api", "fc-mapping-sync", @@ -4932,7 +5118,7 @@ dependencies = [ "parity-scale-codec", "prometheus", "rand 0.8.5", - "rlp", + "rlp 0.6.1", "sc-client-api", "sc-consensus-aura", "sc-network", @@ -4949,13 +5135,13 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 34.0.0", - "sp-externalities 0.29.0", + "sp-core", + "sp-externalities", "sp-inherents", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-storage", "sp-timestamp", "substrate-prometheus-endpoint", "thiserror 1.0.69", @@ -4965,12 +5151,12 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "jsonrpsee 0.24.7", - "rlp", + "rlp 0.6.1", "rustc-hex", "serde", "serde_json", @@ -4980,18 +5166,18 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "fp-rpc", "fp-storage", "parity-scale-codec", "sc-client-api", "sp-api", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-storage 21.0.0", + "sp-io", + "sp-runtime", + "sp-storage", ] [[package]] @@ -5014,6 +5200,19 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "fflonk" +version = "0.1.1" +source = "git+https://github.com/w3f/fflonk#eda051ea3b80042e844a3ebd17c2f60536e6ee3f" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "merlin", +] + [[package]] name = "fiat-crypto" version = "0.2.9" @@ -5068,6 +5267,16 @@ dependencies = [ "scale-info", ] +[[package]] +name = "finito" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2384245d85162258a14b43567a9ee3598f5ae746a1581fb5d3d2cb780f0dbf95" +dependencies = [ + "futures-timer", + "pin-project", +] + [[package]] name = "fixed-hash" version = "0.8.0" @@ -5141,8 +5350,8 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" -version = "13.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "12.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", ] @@ -5169,50 +5378,50 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "hex", - "impl-serde", + "impl-serde 0.5.0", "libsecp256k1", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", "staging-xcm", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", "parity-scale-codec", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "fp-dynamic-fee" version = "1.0.0" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "async-trait", - "sp-core 34.0.0", + "sp-core", "sp-inherents", ] [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "fp-evm", "frame-support", "parity-scale-codec", @@ -5221,7 +5430,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "evm", "frame-support", @@ -5229,42 +5438,42 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "fp-evm", "parity-scale-codec", "scale-info", "sp-api", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "parity-scale-codec", "serde", @@ -5278,8 +5487,8 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-support-procedural", @@ -5291,35 +5500,39 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", - "sp-storage 21.0.0", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-storage", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "43.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "32.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", - "array-bytes 6.2.3", + "array-bytes", "chrono", "clap", "comfy-table", + "cumulus-client-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", "frame-benchmarking", "frame-support", "frame-system", "gethostname", "handlebars", + "hex", "itertools 0.11.0", - "lazy_static", "linked-hash-map", "log", "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-primitives", "rand 0.8.5", "rand_pcg", "sc-block-builder", @@ -5328,73 +5541,95 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-executor", + "sc-executor-common", "sc-service", "sc-sysinfo", "serde", "serde_json", "sp-api", + "sp-block-builder", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", + "sp-crypto-hashing", "sp-database", - "sp-externalities 0.29.0", + "sp-externalities", "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", - "sp-trie 37.0.0", - "sp-wasm-interface 21.0.1", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-timestamp", + "sp-transaction-pool", + "sp-trie", + "sp-version", + "sp-wasm-interface", + "subxt 0.37.0", + "subxt-signer", "thiserror 1.0.69", "thousands", ] [[package]] name = "frame-benchmarking-pallet-pov" -version = "28.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "18.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] -name = "frame-election-provider-solution-type" -version = "14.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +name = "frame-decode" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8a784e501ed2cec99eb00a1e78e42740fcb05f1aea7bbea90bf46f0a9f255bb" +dependencies = [ + "frame-metadata 18.0.0", + "parity-scale-codec", + "scale-decode 0.16.0", + "scale-info", + "scale-type-resolver", + "sp-crypto-hashing", +] + +[[package]] +name = "frame-election-provider-solution-type" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-election-provider-support" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-election-provider-solution-type", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "frame-executive" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aquamarine", "frame-support", @@ -5403,10 +5638,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-core", + "sp-io", + "sp-runtime", + "sp-tracing", ] [[package]] @@ -5432,25 +5667,38 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-metadata" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "frame-metadata-hash-extension" -version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", + "const-hex", "docify", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "frame-remote-externalities" -version = "0.46.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.35.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "indicatif", @@ -5458,11 +5706,11 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-io", + "sp-runtime", + "sp-state-machine", "spinners", "substrate-rpc-client", "tokio", @@ -5471,15 +5719,16 @@ dependencies = [ [[package]] name = "frame-support" -version = "38.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aquamarine", - "array-bytes 6.2.3", + "array-bytes", + "binary-merkle-tree", "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 16.0.0", + "frame-metadata 18.0.0", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -5492,28 +5741,29 @@ dependencies = [ "serde_json", "smallvec", "sp-api", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", + "sp-arithmetic", + "sp-core", "sp-crypto-hashing-proc-macro", - "sp-debug-derive 14.0.0", + "sp-debug-derive", "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", + "sp-io", "sp-metadata-ir", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", - "sp-state-machine 0.43.0", - "sp-std 14.0.0", - "sp-tracing 17.0.1", - "sp-weights 31.0.0", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-trie", + "sp-weights", "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "30.0.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "cfg-expr", @@ -5527,39 +5777,39 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-support-procedural-tools" -version = "13.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "12.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "11.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-executive", - "frame-metadata 16.0.0", + "frame-metadata 18.0.0", "frame-support", "frame-support-test-pallet", "frame-system", @@ -5569,12 +5819,12 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-metadata-ir", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-runtime", + "sp-state-machine", "sp-version", "static_assertions", "trybuild", @@ -5582,21 +5832,21 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" -version = "4.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "4.0.0-dev" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "frame-system" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cfg-if", "docify", @@ -5605,32 +5855,32 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "sp-version", - "sp-weights 31.0.0", + "sp-weights", ] [[package]] name = "frame-system-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "parity-scale-codec", @@ -5639,13 +5889,13 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] @@ -5795,7 +6045,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -5825,6 +6075,10 @@ name = "futures-timer" version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" +dependencies = [ + "gloo-timers", + "send_wrapper 0.4.0", +] [[package]] name = "futures-util" @@ -5889,17 +6143,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.15" @@ -5959,12 +6202,62 @@ name = "gimli" version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] [[package]] name = "glob" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" + +[[package]] +name = "gloo-net" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06f627b1a58ca3d42b45d6104bf1e1a03799df472df00988b6ba21accc10580" +dependencies = [ + "futures-channel", + "futures-core", + "futures-sink", + "gloo-utils", + "http 1.2.0", + "js-sys", + "pin-project", + "serde", + "serde_json", + "thiserror 1.0.69", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "gloo-utils" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5555354113b18c547c1d3a98fbf7fb32a9ff4f6fa112ce823a21641a0ba3aa" +dependencies = [ + "js-sys", + "serde", + "serde_json", + "wasm-bindgen", + "web-sys", +] [[package]] name = "governor" @@ -6094,9 +6387,6 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.8", -] [[package]] name = "hashbrown" @@ -6104,7 +6394,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash", ] [[package]] @@ -6113,7 +6403,7 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.11", + "ahash", "allocator-api2", "serde", ] @@ -6253,16 +6543,6 @@ dependencies = [ "digest 0.9.0", ] -[[package]] -name = "hmac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac 0.11.0", - "digest 0.9.0", -] - [[package]] name = "hmac" version = "0.12.1" @@ -6450,6 +6730,7 @@ dependencies = [ "hyper-util", "log", "rustls 0.23.20", + "rustls-native-certs 0.8.1", "rustls-pki-types 1.10.1", "tokio", "tokio-rustls 0.26.1", @@ -6626,7 +6907,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -6694,7 +6975,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdf9d64cfcf380606e64f9a0bcf493616b65331199f984151a6fa11a7b3cde38" dependencies = [ "async-io 2.4.0", - "core-foundation", + "core-foundation 0.9.4", "fnv", "futures", "if-addrs", @@ -6753,24 +7034,33 @@ dependencies = [ "parity-scale-codec", ] +[[package]] +name = "impl-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67aa010c1e3da95bf151bd8b4c059b2ed7e75387cdb969b4f8f2723a43f9941" +dependencies = [ + "parity-scale-codec", +] + [[package]] name = "impl-num-traits" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" +checksum = "803d15461ab0dcc56706adf266158acbc44ccf719bf7d0af30705f58b90a4b8c" dependencies = [ "integer-sqrt", "num-traits", - "uint", + "uint 0.10.0", ] [[package]] name = "impl-rlp" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +checksum = "54ed8ad1f3877f7e775b8cbf30ed1bd3209a95401817f19a0eb4402d13f8cf90" dependencies = [ - "rlp", + "rlp 0.6.1", ] [[package]] @@ -6782,6 +7072,15 @@ dependencies = [ "serde", ] +[[package]] +name = "impl-serde" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a143eada6a1ec4aefa5049037a26a6d597bfd64f8c026d07b77133e02b7dd0b" +dependencies = [ + "serde", +] + [[package]] name = "impl-trait-for-tuples" version = "0.2.3" @@ -6790,7 +7089,7 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -6882,12 +7181,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "integer-encoding" -version = "3.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" - [[package]] name = "integer-sqrt" version = "0.1.5" @@ -6897,12 +7190,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "intx" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f38a50a899dc47a6d0ed5508e7f601a2e34c3a85303514b5d137f3c10a0c75" - [[package]] name = "io-lifetimes" version = "1.0.11" @@ -7047,14 +7334,25 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.20.4" +version = "0.22.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" +dependencies = [ + "jsonrpsee-client-transport 0.22.5", + "jsonrpsee-core 0.22.5", + "jsonrpsee-http-client 0.22.5", + "jsonrpsee-types 0.22.5", +] + +[[package]] +name = "jsonrpsee" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138572befc78a9793240645926f30161f8b4143d2be18d09e44ed9814bd7ee2c" +checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" dependencies = [ - "jsonrpsee-client-transport 0.20.4", - "jsonrpsee-core 0.20.4", - "jsonrpsee-http-client 0.20.4", - "jsonrpsee-types 0.20.4", + "jsonrpsee-core 0.23.2", + "jsonrpsee-types 0.23.2", + "jsonrpsee-ws-client 0.23.2", ] [[package]] @@ -7063,31 +7361,57 @@ version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" dependencies = [ + "jsonrpsee-client-transport 0.24.7", "jsonrpsee-core 0.24.7", "jsonrpsee-http-client 0.24.7", "jsonrpsee-proc-macros", "jsonrpsee-server", "jsonrpsee-types 0.24.7", - "jsonrpsee-ws-client", + "jsonrpsee-wasm-client", + "jsonrpsee-ws-client 0.24.7", "tokio", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.20.4" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c671353e4adf926799107bd7f5724a06b6bc0a333db442a0843c58640bdd0c1" +checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" dependencies = [ "futures-util", "http 0.2.12", - "jsonrpsee-core 0.20.4", + "jsonrpsee-core 0.22.5", "pin-project", - "rustls-native-certs 0.6.3", + "rustls-native-certs 0.7.3", + "rustls-pki-types 1.10.1", "soketto 0.7.1", "thiserror 1.0.69", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls 0.25.0", + "tokio-util", + "tracing", + "url", +] + +[[package]] +name = "jsonrpsee-client-transport" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" +dependencies = [ + "base64 0.22.1", + "futures-util", + "http 1.2.0", + "jsonrpsee-core 0.23.2", + "pin-project", + "rustls 0.23.20", + "rustls-pki-types 1.10.1", + "rustls-platform-verifier", + "soketto 0.8.1", + "thiserror 1.0.69", + "tokio", + "tokio-rustls 0.26.1", "tokio-util", "tracing", "url", @@ -7100,7 +7424,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" dependencies = [ "base64 0.22.1", + "futures-channel", "futures-util", + "gloo-net", "http 1.2.0", "jsonrpsee-core 0.24.7", "pin-project", @@ -7118,23 +7444,46 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.20.4" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f24ea59b037b6b9b0e2ebe2c30a3e782b56bd7c76dcc5d6d70ba55d442af56e3" +checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" dependencies = [ "anyhow", - "async-lock 2.8.0", "async-trait", "beef", "futures-timer", "futures-util", "hyper 0.14.32", - "jsonrpsee-types 0.20.4", + "jsonrpsee-types 0.22.5", + "pin-project", + "rustc-hash 1.1.0", + "serde", + "serde_json", + "thiserror 1.0.69", + "tokio", + "tokio-stream", + "tracing", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b" +dependencies = [ + "anyhow", + "async-trait", + "beef", + "futures-timer", + "futures-util", + "jsonrpsee-types 0.23.2", + "pin-project", "rustc-hash 1.1.0", "serde", "serde_json", "thiserror 1.0.69", "tokio", + "tokio-stream", "tracing", ] @@ -7162,24 +7511,25 @@ dependencies = [ "tokio", "tokio-stream", "tracing", + "wasm-bindgen-futures", ] [[package]] name = "jsonrpsee-http-client" -version = "0.20.4" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c7b9f95208927653e7965a98525e7fc641781cab89f0e27c43fa2974405683" +checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" dependencies = [ "async-trait", "hyper 0.14.32", "hyper-rustls 0.24.2", - "jsonrpsee-core 0.20.4", - "jsonrpsee-types 0.20.4", + "jsonrpsee-core 0.22.5", + "jsonrpsee-types 0.22.5", "serde", "serde_json", "thiserror 1.0.69", "tokio", - "tower", + "tower 0.4.13", "tracing", "url", ] @@ -7204,7 +7554,7 @@ dependencies = [ "serde_json", "thiserror 1.0.69", "tokio", - "tower", + "tower 0.4.13", "tracing", "url", ] @@ -7219,7 +7569,7 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -7245,22 +7595,34 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", - "tower", + "tower 0.4.13", "tracing", ] [[package]] name = "jsonrpsee-types" -version = "0.20.4" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3264e339143fe37ed081953842ee67bfafa99e3b91559bdded6e4abd8fc8535e" +checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" dependencies = [ "anyhow", "beef", "serde", "serde_json", "thiserror 1.0.69", - "tracing", +] + +[[package]] +name = "jsonrpsee-types" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af" +dependencies = [ + "beef", + "http 1.2.0", + "serde", + "serde_json", + "thiserror 1.0.69", ] [[package]] @@ -7275,6 +7637,30 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "jsonrpsee-wasm-client" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a01cd500915d24ab28ca17527e23901ef1be6d659a2322451e1045532516c25" +dependencies = [ + "jsonrpsee-client-transport 0.24.7", + "jsonrpsee-core 0.24.7", + "jsonrpsee-types 0.24.7", +] + +[[package]] +name = "jsonrpsee-ws-client" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" +dependencies = [ + "http 1.2.0", + "jsonrpsee-client-transport 0.23.2", + "jsonrpsee-core 0.23.2", + "jsonrpsee-types 0.23.2", + "url", +] + [[package]] name = "jsonrpsee-ws-client" version = "0.24.7" @@ -7311,6 +7697,26 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "keccak-hash" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b286e6b663fb926e1eeb68528e69cb70ed46c6d65871a21b2215ae8154c6d3c" +dependencies = [ + "primitive-types 0.12.2", + "tiny-keccak", +] + +[[package]] +name = "keccak-hash" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e1b8590eb6148af2ea2d75f38e7d29f5ca970d5a4df456b3ef19b8b415d0264" +dependencies = [ + "primitive-types 0.13.1", + "tiny-keccak", +] + [[package]] name = "keccak-hasher" version = "0.16.0" @@ -7419,7 +7825,7 @@ dependencies = [ "either", "futures", "futures-timer", - "getrandom 0.2.15", + "getrandom", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -7543,8 +7949,8 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "257b5621d159b32282eac446bed6670c39c7dc68a200a992d8f056afa0066f6d" dependencies = [ - "bs58 0.5.1", - "ed25519-dalek 2.1.1", + "bs58", + "ed25519-dalek", "hkdf", "multihash 0.19.3", "quick-protobuf", @@ -7579,7 +7985,7 @@ dependencies = [ "sha2 0.10.8", "smallvec", "thiserror 1.0.69", - "uint", + "uint 0.9.5", "unsigned-varint 0.7.2", "void", ] @@ -7629,7 +8035,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" dependencies = [ "bytes", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "futures", "libp2p-core", "libp2p-identity", @@ -7740,7 +8146,7 @@ dependencies = [ "proc-macro-warning 0.4.2", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -7804,7 +8210,7 @@ dependencies = [ "futures", "js-sys", "libp2p-core", - "send_wrapper", + "send_wrapper 0.6.0", "wasm-bindgen", "wasm-bindgen-futures", ] @@ -8015,10 +8421,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b0fef34af8847e816003bf7fdeac5ea50b9a7a88441ac927a6166b5e812ab79" dependencies = [ "async-trait", - "bs58 0.5.1", + "bs58", "bytes", "cid 0.10.1", - "ed25519-dalek 2.1.1", + "ed25519-dalek", "futures", "futures-timer", "hex-literal", @@ -8051,7 +8457,7 @@ dependencies = [ "tokio-tungstenite", "tokio-util", "tracing", - "uint", + "uint 0.9.5", "unsigned-varint 0.8.0", "url", "x25519-dalek", @@ -8078,33 +8484,18 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" -version = "0.8.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" -dependencies = [ - "hashbrown 0.12.3", -] +checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" [[package]] name = "lru" -version = "0.10.1" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" - -[[package]] -name = "lru" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a83fb7698b3643a0e34f9ae6f2e8f0178c0fd42f8b59d493aa271ff3a5bf21" - -[[package]] -name = "lru" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" -dependencies = [ - "hashbrown 0.15.2", -] +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +dependencies = [ + "hashbrown 0.15.2", +] [[package]] name = "lru-cache" @@ -8152,7 +8543,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8166,7 +8557,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8177,7 +8568,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8188,7 +8579,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8203,15 +8594,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" -[[package]] -name = "matchers" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" -dependencies = [ - "regex-automata 0.1.10", -] - [[package]] name = "matchers" version = "0.1.0" @@ -8311,30 +8693,18 @@ checksum = "b879f617ec392ad9c11a50356ca373009c52363c0953b34c2e1b2234037a26a9" [[package]] name = "merkleized-metadata" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f313fcff1d2a4bcaa2deeaa00bf7530d77d5f7bd0467a117dde2e29a75a7a17a" +checksum = "38c592efaf1b3250df14c8f3c2d952233f0302bb81d3586db2f303666c1cd607" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "blake3", - "frame-metadata 16.0.0", + "frame-metadata 18.0.0", "parity-scale-codec", "scale-decode 0.13.1", "scale-info", ] -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "merlin" version = "3.0.0" @@ -8347,17 +8717,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "mick-jaeger" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" -dependencies = [ - "futures", - "rand 0.8.5", - "thrift", -] - [[package]] name = "mime" version = "0.3.17" @@ -8401,14 +8760,14 @@ dependencies = [ "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "either", "hashlink", "lioness", "log", "parking_lot 0.12.3", "rand 0.8.5", - "rand_chacha 0.3.1", + "rand_chacha", "rand_distr", "subtle 2.6.1", "thiserror 1.0.69", @@ -8417,8 +8776,8 @@ dependencies = [ [[package]] name = "mmr-gadget" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "log", @@ -8429,24 +8788,24 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 34.0.0", + "sp-core", "sp-mmr-primitives", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "mmr-rpc" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "jsonrpsee 0.24.7", "parity-scale-codec", "serde", "sp-api", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-mmr-primitives", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] @@ -8499,7 +8858,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8658,7 +9017,7 @@ checksum = "1bb5c1d8184f13f7d0ccbeeca0def2f9a181bce2624302793005f5ca8aa62e5e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8703,7 +9062,7 @@ dependencies = [ "openssl-probe", "openssl-sys", "schannel", - "security-framework", + "security-framework 2.11.1", "security-framework-sys", "tempfile", ] @@ -8935,7 +9294,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -9017,7 +9376,7 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -9115,7 +9474,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -9175,15 +9534,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ordered-float" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7" -dependencies = [ - "num-traits", -] - [[package]] name = "overload" version = "0.1.1" @@ -9192,10 +9542,10 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-alliance" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "frame-benchmarking", "frame-support", "frame-system", @@ -9204,16 +9554,16 @@ dependencies = [ "pallet-identity", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-asset-conversion" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9222,16 +9572,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-asset-conversion-ops" -version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9240,44 +9590,45 @@ dependencies = [ "pallet-asset-conversion", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-asset-conversion-tx-payment" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "pallet-asset-conversion", "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-asset-rate" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-asset-tx-payment" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9286,15 +9637,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-assets" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9303,14 +9654,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-assets-freezer" -version = "0.5.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9319,21 +9670,21 @@ dependencies = [ "pallet-assets", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-atomic-swap" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] @@ -9367,18 +9718,18 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "pallet-aura" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -9386,43 +9737,43 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-authority-discovery" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-authority-discovery", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-authorship" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-babe" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9433,19 +9784,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", "sp-staking", ] [[package]] name = "pallet-bags-list" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aquamarine", "docify", @@ -9457,16 +9808,16 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-core", + "sp-io", + "sp-runtime", + "sp-tracing", ] [[package]] name = "pallet-balances" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -9475,27 +9826,27 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-beefy" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -9506,17 +9857,17 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", "sp-staking", ] [[package]] name = "pallet-beefy-mmr" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "binary-merkle-tree", "frame-benchmarking", "frame-support", @@ -9530,16 +9881,16 @@ dependencies = [ "serde", "sp-api", "sp-consensus-beefy", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", ] [[package]] name = "pallet-bounties" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9548,15 +9899,15 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-bridge-grandpa" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-runtime", @@ -9568,14 +9919,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-consensus-grandpa", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-bridge-messages" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -9586,15 +9937,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", - "sp-std 14.0.0", - "sp-trie 37.0.0", + "sp-runtime", + "sp-std", + "sp-trie", ] [[package]] name = "pallet-bridge-parachains" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-parachains", @@ -9607,14 +9958,14 @@ dependencies = [ "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-bridge-relayers" -version = "0.18.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -9630,15 +9981,15 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-broker" -version = "0.17.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "frame-benchmarking", @@ -9648,9 +9999,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-runtime", ] [[package]] @@ -9665,10 +10016,10 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -9687,17 +10038,17 @@ dependencies = [ "pallet-staking-reward-curve", "pallet-timestamp", "parity-scale-codec", - "rand_chacha 0.3.1", + "rand_chacha", "scale-info", "serde", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", - "sp-std 14.0.0", - "sp-tracing 17.0.1", + "sp-std", + "sp-tracing", "substrate-test-utils", ] @@ -9711,15 +10062,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "pallet-child-bounties" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9729,15 +10080,15 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-collator-selection" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9749,44 +10100,45 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", ] [[package]] name = "pallet-collective" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-collective-content" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-contracts" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "environmental", @@ -9806,10 +10158,10 @@ dependencies = [ "serde", "smallvec", "sp-api", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", "wasm-instrument", @@ -9818,8 +10170,8 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "3.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -9840,11 +10192,11 @@ dependencies = [ "polkadot-runtime-parachains", "scale-info", "sp-api", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-tracing", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -9853,30 +10205,29 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" -version = "23.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "18.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "pallet-contracts-uapi" -version = "12.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "5.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "paste", - "polkavm-derive 0.9.1", "scale-info", ] [[package]] name = "pallet-conviction-voting" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9885,14 +10236,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-core-fellowship" -version = "22.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "12.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9901,31 +10252,31 @@ dependencies = [ "pallet-ranked-collective", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-delegated-staking" -version = "5.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "sp-staking", ] [[package]] name = "pallet-democracy" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9934,15 +10285,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-dev-mode" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -9950,14 +10301,14 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-dynamic-fee" version = "4.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-dynamic-fee", "fp-evm", @@ -9965,14 +10316,14 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", + "sp-core", "sp-inherents", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9983,31 +10334,31 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "strum 0.26.3", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-elections-phragmen" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10015,20 +10366,20 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", ] [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "evm", "fp-consensus", "fp-ethereum", @@ -10040,15 +10391,15 @@ dependencies = [ "pallet-evm", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "sp-version", ] [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "environmental", "evm", @@ -10063,9 +10414,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] @@ -10082,16 +10433,16 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "frame-support", "frame-system", @@ -10102,7 +10453,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "num", @@ -10111,7 +10462,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "tiny-keccak", @@ -10120,17 +10471,17 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "ripemd", - "sp-io 38.0.0", + "sp-io", ] [[package]] name = "pallet-fast-unstake" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -10140,8 +10491,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "sp-staking", ] @@ -10175,22 +10526,22 @@ dependencies = [ "pallet-tee-worker", "pallet-timestamp", "parity-scale-codec", - "rand_chacha 0.3.1", + "rand_chacha", "scale-info", "serde", "serde_json", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "pallet-glutton" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "14.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -10199,16 +10550,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-grandpa" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10218,19 +10569,19 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", "sp-staking", ] [[package]] name = "pallet-identity" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "enumflags2", "frame-benchmarking", @@ -10239,14 +10590,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-im-online" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10255,59 +10606,59 @@ dependencies = [ "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", "sp-staking", ] [[package]] name = "pallet-indices" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-insecure-randomness-collective-flip" -version = "26.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "16.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-lottery" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-membership" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10315,15 +10666,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-message-queue" -version = "41.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "31.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "environmental", "frame-benchmarking", @@ -10332,18 +10683,19 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-migrations" -version = "8.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "cfg-if", "docify", "frame-benchmarking", "frame-support", @@ -10352,14 +10704,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-mixnet" -version = "0.14.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.4.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10368,17 +10720,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", - "sp-io 38.0.0", + "sp-application-crypto", + "sp-arithmetic", + "sp-io", "sp-mixnet", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-mmr" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10386,31 +10738,27 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-multisig" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", ] [[package]] name = "pallet-nft-fractionalization" -version = "21.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10420,13 +10768,13 @@ dependencies = [ "pallet-nfts", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-nfts" -version = "32.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "22.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "enumflags2", "frame-benchmarking", @@ -10435,15 +10783,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-nfts-runtime-api" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "14.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "pallet-nfts", "parity-scale-codec", @@ -10452,38 +10800,38 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-node-authorization" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-nomination-pools" -version = "35.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "25.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -10491,17 +10839,17 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-staking", - "sp-tracing 17.0.1", + "sp-tracing", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "36.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10513,15 +10861,15 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", + "sp-runtime", + "sp-runtime-interface", "sp-staking", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "33.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -10530,8 +10878,8 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -10540,14 +10888,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", ] [[package]] name = "pallet-offences-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10563,7 +10911,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", ] @@ -10581,16 +10929,16 @@ dependencies = [ "pallet-evm-account-mapping", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-paged-list" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -10598,16 +10946,16 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-metadata-ir", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-parameters" -version = "0.9.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -10617,14 +10965,14 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-preimage" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10632,29 +10980,25 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-proxy" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", ] [[package]] name = "pallet-ranked-collective" -version = "38.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10663,30 +11007,30 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-recovery" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-referenda" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "assert_matches", "frame-benchmarking", @@ -10696,15 +11040,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 26.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-remark" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10712,9 +11056,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] @@ -10726,58 +11070,70 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-revive" -version = "0.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", + "derive_more 0.99.18", "environmental", + "ethereum-types 0.15.1", "frame-benchmarking", "frame-support", "frame-system", + "hex", "impl-trait-for-tuples", + "jsonrpsee 0.24.7", "log", "pallet-balances", "pallet-revive-fixtures", "pallet-revive-proc-macro", "pallet-revive-uapi", + "pallet-transaction-payment", "parity-scale-codec", "paste", - "polkavm 0.10.0", + "polkavm 0.13.0", + "rlp 0.6.1", "scale-info", "serde", "sp-api", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", "staging-xcm", "staging-xcm-builder", + "subxt-signer", ] [[package]] name = "pallet-revive-fixtures" -version = "0.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "anyhow", "frame-system", + "log", "parity-wasm", - "polkavm-linker 0.10.0", - "sp-runtime 39.0.5", + "polkavm-linker 0.14.0", + "sp-core", + "sp-io", + "sp-runtime", "tempfile", "toml 0.8.19", ] [[package]] name = "pallet-revive-mock-network" -version = "0.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -10797,11 +11153,11 @@ dependencies = [ "polkadot-runtime-parachains", "scale-info", "sp-api", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-tracing", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -10810,30 +11166,30 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" -version = "0.1.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "pallet-revive-uapi" -version = "0.1.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "paste", - "polkavm-derive 0.10.0", + "polkavm-derive 0.14.0", "scale-info", ] [[package]] name = "pallet-root-offences" -version = "35.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "25.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -10841,22 +11197,22 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", ] [[package]] name = "pallet-root-testing" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "4.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] @@ -10878,20 +11234,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", "sp-staking", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "pallet-safe-mode" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -10902,14 +11258,14 @@ dependencies = [ "pallet-utility", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-runtime", ] [[package]] name = "pallet-salary" -version = "23.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10918,16 +11274,16 @@ dependencies = [ "pallet-ranked-collective", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-scheduler" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -10936,9 +11292,9 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-io", + "sp-runtime", + "sp-weights", ] [[package]] @@ -10953,29 +11309,29 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-scored-pool" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-session" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -10984,19 +11340,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", "sp-staking", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "sp-state-machine", + "sp-trie", ] [[package]] name = "pallet-session-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -11005,20 +11361,20 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "rand 0.8.5", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", ] [[package]] name = "pallet-skip-feeless-payment" -version = "13.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "3.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] @@ -11043,37 +11399,37 @@ dependencies = [ "pallet-tee-worker", "pallet-timestamp", "parity-scale-codec", - "rand_chacha 0.3.1", + "rand_chacha", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-staking", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "pallet-society" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", - "rand_chacha 0.3.1", + "rand_chacha", "scale-info", - "sp-arithmetic 26.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-staking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11083,39 +11439,39 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand_chacha 0.3.1", + "rand_chacha", "scale-info", "serde", - "sp-application-crypto 38.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-application-crypto", + "sp-io", + "sp-runtime", "sp-staking", ] [[package]] name = "pallet-staking-reward-curve" -version = "12.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "11.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "pallet-staking-reward-fn" -version = "22.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "19.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", - "sp-arithmetic 26.0.0", + "sp-arithmetic", ] [[package]] name = "pallet-staking-runtime-api" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "14.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "sp-api", @@ -11124,8 +11480,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -11133,15 +11489,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-statement" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -11149,9 +11505,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-statement-store", ] @@ -11169,15 +11525,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-sudo" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -11185,8 +11541,8 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", ] [[package]] @@ -11216,18 +11572,18 @@ dependencies = [ "serde", "serde_json", "sgx-attestation", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "sp-staking", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "pallet-timestamp" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -11237,16 +11593,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-storage 21.0.0", + "sp-io", + "sp-runtime", + "sp-storage", "sp-timestamp", ] [[package]] name = "pallet-tips" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -11256,60 +11612,61 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-transaction-payment" -version = "38.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "41.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "30.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "jsonrpsee 0.24.7", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-rpc", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-transaction-storage" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "frame-benchmarking", "frame-support", "frame-system", @@ -11319,33 +11676,34 @@ dependencies = [ "scale-info", "serde", "sp-inherents", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "sp-transaction-storage-proof", ] [[package]] name = "pallet-treasury" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", + "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-tx-pause" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -11356,13 +11714,13 @@ dependencies = [ "pallet-utility", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-uniques" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -11370,28 +11728,44 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-utility" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", +] + +[[package]] +name = "pallet-verify-signature" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-vesting" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -11399,13 +11773,13 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-whitelist" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -11413,26 +11787,25 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "pallet-xcm" -version = "17.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "bounded-collections 0.2.2", + "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11442,8 +11815,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -11451,8 +11824,8 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-runtime", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11460,8 +11833,8 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" -version = "0.13.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-messages", "bp-runtime", @@ -11472,9 +11845,9 @@ dependencies = [ "pallet-bridge-messages", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11482,8 +11855,8 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" -version = "0.15.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.5.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -11492,17 +11865,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", ] [[package]] name = "parachains-common" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -11520,9 +11893,9 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-consensus-aura", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", @@ -11531,8 +11904,8 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -11546,19 +11919,17 @@ dependencies = [ "pallet-session", "pallet-timestamp", "pallet-xcm", - "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", "sp-consensus-aura", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-core", + "sp-io", + "sp-runtime", + "sp-tracing", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", "substrate-wasm-builder", - "xcm-runtime-apis", ] [[package]] @@ -11596,7 +11967,7 @@ dependencies = [ "memmap2 0.5.10", "parking_lot 0.12.3", "rand 0.8.5", - "siphasher", + "siphasher 0.3.11", "snap", "winapi", ] @@ -11629,37 +12000,8 @@ dependencies = [ ] [[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if", - "ethereum-types", - "hashbrown 0.12.3", - "impl-trait-for-tuples", - "lru 0.8.1", - "parity-util-mem-derive", - "parking_lot 0.12.3", - "primitive-types", - "smallvec", - "winapi", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" -dependencies = [ - "proc-macro2", - "syn 1.0.109", - "synstructure 0.12.6", -] - -[[package]] -name = "parity-wasm" -version = "0.45.0" +name = "parity-wasm" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" @@ -11740,24 +12082,6 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" -[[package]] -name = "pbkdf2" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -dependencies = [ - "crypto-mac 0.11.0", -] - -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest 0.10.7", -] - [[package]] name = "pbkdf2" version = "0.12.2" @@ -11839,7 +12163,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11880,7 +12204,7 @@ checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11956,14 +12280,13 @@ checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "polkadot-approval-distribution" -version = "18.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "futures", "futures-timer", "itertools 0.11.0", - "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -11976,8 +12299,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "always-assert", "futures", @@ -11992,8 +12315,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "derive_more 0.99.18", "fatality", @@ -12008,16 +12331,16 @@ dependencies = [ "rand 0.8.5", "sc-network", "schnellru", - "sp-core 34.0.0", - "sp-keystore 0.40.0", + "sp-core", + "sp-keystore", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-availability-recovery" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "fatality", @@ -12049,8 +12372,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cfg-if", "clap", @@ -12066,19 +12389,19 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-keyring", "sp-maybe-compressed-blob", - "sp-runtime 39.0.5", + "sp-runtime", "substrate-build-script-utils", "thiserror 1.0.69", ] [[package]] name = "polkadot-collator-protocol" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "fatality", @@ -12090,9 +12413,9 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "schnellru", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror 1.0.69", "tokio-util", "tracing-gum", @@ -12100,19 +12423,19 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "15.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "polkadot-dispute-distribution" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "derive_more 0.99.18", "fatality", @@ -12128,30 +12451,30 @@ dependencies = [ "polkadot-primitives", "sc-network", "schnellru", - "sp-application-crypto 38.0.0", - "sp-keystore 0.40.0", + "sp-application-crypto", + "sp-keystore", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-erasure-coding" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 34.0.0", - "sp-trie 37.0.0", + "sp-core", + "sp-trie", "thiserror 1.0.69", ] [[package]] name = "polkadot-gossip-support" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "futures-timer", @@ -12160,20 +12483,20 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "rand_chacha 0.3.1", + "rand_chacha", "sc-network", "sc-network-common", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", + "sp-application-crypto", + "sp-core", "sp-crypto-hashing", - "sp-keystore 0.40.0", + "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "always-assert", "async-trait", @@ -12195,8 +12518,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "parity-scale-codec", @@ -12205,7 +12528,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 34.0.0", + "schnellru", + "sp-core", "sp-maybe-compressed-blob", "thiserror 1.0.69", "tracing-gum", @@ -12213,41 +12537,71 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "18.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "async-trait", "bitvec", "derive_more 0.99.18", "futures", "futures-timer", "itertools 0.11.0", "kvdb", - "merlin 3.0.0", + "merlin", "parity-scale-codec", - "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", "rand 0.8.5", - "rand_chacha 0.3.1", + "rand_chacha", "rand_core 0.6.4", "sc-keystore", "schnellru", "schnorrkel 0.11.4", - "sp-application-crypto 38.0.0", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-runtime", + "thiserror 1.0.69", + "tracing-gum", +] + +[[package]] +name = "polkadot-node-core-approval-voting-parallel" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "itertools 0.11.0", + "polkadot-approval-distribution", + "polkadot-node-core-approval-voting", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "rand 0.8.5", + "rand_chacha", + "rand_core 0.6.4", + "sc-keystore", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "futures", @@ -12255,7 +12609,6 @@ dependencies = [ "kvdb", "parity-scale-codec", "polkadot-erasure-coding", - "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -12268,8 +12621,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "fatality", @@ -12278,24 +12631,25 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", + "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-statement-table", "schnellru", - "sp-keystore 0.40.0", + "sp-keystore", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-bitfield-signing" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.40.0", + "sp-keystore", "thiserror 1.0.69", "tracing-gum", "wasm-timer", @@ -12303,8 +12657,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -12318,15 +12672,15 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain-primitives", "polkadot-primitives", - "sp-application-crypto 38.0.0", - "sp-keystore 0.40.0", + "sp-application-crypto", + "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "polkadot-node-metrics", @@ -12339,8 +12693,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "futures-timer", @@ -12356,8 +12710,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "fatality", "futures", @@ -12375,8 +12729,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -12392,8 +12746,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "17.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "6.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "fatality", "futures", @@ -12406,8 +12760,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "fatality", @@ -12424,11 +12778,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "always-assert", - "array-bytes 6.2.3", + "array-bytes", "blake3", "cfg-if", "futures", @@ -12444,7 +12798,8 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core 34.0.0", + "sp-core", + "strum 0.26.3", "tempfile", "thiserror 1.0.69", "tokio", @@ -12453,8 +12808,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "polkadot-node-primitives", @@ -12462,15 +12817,15 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore 0.40.0", + "sp-keystore", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-common" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cpu-time", "futures", @@ -12484,19 +12839,19 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmtime", "seccompiler", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-externalities 0.29.0", - "sp-io 38.0.0", - "sp-tracing 17.0.1", + "sp-externalities", + "sp-io", + "sp-tracing", "thiserror 1.0.69", "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "polkadot-node-metrics", @@ -12508,31 +12863,12 @@ dependencies = [ "tracing-gum", ] -[[package]] -name = "polkadot-node-jaeger" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" -dependencies = [ - "lazy_static", - "log", - "mick-jaeger", - "parity-scale-codec", - "parking_lot 0.12.3", - "polkadot-node-primitives", - "polkadot-primitives", - "sc-network", - "sc-network-types", - "sp-core 34.0.0", - "thiserror 1.0.69", - "tokio", -] - [[package]] name = "polkadot-node-metrics" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "bs58 0.5.1", + "bs58", "futures", "futures-timer", "log", @@ -12548,8 +12884,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "18.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -12559,14 +12895,13 @@ dependencies = [ "futures", "hex", "parity-scale-codec", - "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", "rand 0.8.5", "sc-authority-discovery", "sc-network", "sc-network-types", - "sp-runtime 39.0.5", + "sp-runtime", "strum 0.26.3", "thiserror 1.0.69", "tracing-gum", @@ -12574,8 +12909,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "bounded-vec", @@ -12587,31 +12922,30 @@ dependencies = [ "sc-keystore", "schnorrkel 0.11.4", "serde", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 34.0.0", - "sp-keystore 0.40.0", + "sp-core", + "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "polkadot-node-jaeger", "polkadot-node-subsystem-types", "polkadot-overseer", ] [[package]] name = "polkadot-node-subsystem-types" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "bitvec", @@ -12619,7 +12953,6 @@ dependencies = [ "fatality", "futures", "orchestra", - "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-primitives", @@ -12633,15 +12966,15 @@ dependencies = [ "sp-authority-discovery", "sp-blockchain", "sp-consensus-babe", - "sp-runtime 39.0.5", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "polkadot-node-subsystem-util" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "derive_more 0.99.18", @@ -12655,7 +12988,6 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "polkadot-erasure-coding", - "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -12667,39 +12999,17 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "schnellru", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror 1.0.69", "tracing-gum", ] [[package]] -name = "polkadot-overseer" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "orchestra", - "parking_lot 0.12.3", - "polkadot-node-metrics", - "polkadot-node-network-protocol", - "polkadot-node-primitives", - "polkadot-node-subsystem-types", - "polkadot-primitives", - "sc-client-api", - "sp-api", - "sp-core 34.0.0", - "tikv-jemalloc-ctl", - "tracing-gum", -] - -[[package]] -name = "polkadot-parachain-lib" -version = "0.3.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +name = "polkadot-omni-node-lib" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "clap", @@ -12722,6 +13032,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "futures", + "futures-timer", "jsonrpsee 0.24.7", "log", "pallet-transaction-payment", @@ -12737,6 +13048,7 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-consensus", + "sc-consensus-manual-seal", "sc-executor", "sc-network", "sc-rpc", @@ -12750,41 +13062,63 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 34.0.0", + "sp-core", "sp-genesis-builder", "sp-inherents", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "sp-session", "sp-timestamp", "sp-transaction-pool", "sp-version", - "sp-weights 31.0.0", + "sp-weights", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "substrate-state-trie-migration-rpc", ] +[[package]] +name = "polkadot-overseer" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "orchestra", + "parking_lot 0.12.3", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem-types", + "polkadot-primitives", + "sc-client-api", + "sp-api", + "sp-core", + "tikv-jemalloc-ctl", + "tracing-gum", +] + [[package]] name = "polkadot-parachain-primitives" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "6.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "bounded-collections 0.2.2", + "bounded-collections", "derive_more 0.99.18", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-core", + "sp-runtime", + "sp-weights", ] [[package]] name = "polkadot-primitives" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "hex-literal", @@ -12795,22 +13129,24 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-staking", + "sp-std", + "thiserror 1.0.69", ] [[package]] name = "polkadot-rpc" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "jsonrpsee 0.24.7", "mmr-rpc", @@ -12830,22 +13166,22 @@ dependencies = [ "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-beefy", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] [[package]] name = "polkadot-runtime-common" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "frame-benchmarking", @@ -12879,11 +13215,12 @@ dependencies = [ "serde_derive", "slot-range-helper", "sp-api", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-io 38.0.0", + "sp-io", + "sp-keyring", "sp-npos-elections", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", "sp-staking", "staging-xcm", @@ -12894,20 +13231,20 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "bs58 0.5.1", + "bs58", "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", - "sp-tracing 17.0.1", + "sp-tracing", ] [[package]] name = "polkadot-runtime-parachains" -version = "17.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -12934,20 +13271,20 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-metrics", "rand 0.8.5", - "rand_chacha 0.3.1", + "rand_chacha", "scale-info", "serde", "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", "sp-inherents", - "sp-io 38.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-session", "sp-staking", - "sp-std 14.0.0", + "sp-std", "staging-xcm", "staging-xcm-executor", "static_assertions", @@ -12955,8 +13292,8 @@ dependencies = [ [[package]] name = "polkadot-sdk" -version = "0.9.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "asset-test-utils", "assets-common", @@ -13104,6 +13441,7 @@ dependencies = [ "pallet-tx-pause", "pallet-uniques", "pallet-utility", + "pallet-verify-signature", "pallet-vesting", "pallet-whitelist", "pallet-xcm", @@ -13115,7 +13453,7 @@ dependencies = [ "polkadot-cli", "polkadot-core-primitives", "polkadot-node-metrics", - "polkadot-parachain-lib", + "polkadot-omni-node-lib", "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-common", @@ -13180,8 +13518,8 @@ dependencies = [ "snowbridge-system-runtime-api", "sp-api", "sp-api-proc-macro", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -13192,40 +13530,40 @@ dependencies = [ "sp-consensus-grandpa", "sp-consensus-pow", "sp-consensus-slots", - "sp-core 34.0.0", - "sp-core-hashing 16.0.0", + "sp-core", + "sp-core-hashing", "sp-crypto-ec-utils", "sp-crypto-hashing", - "sp-debug-derive 14.0.0", - "sp-externalities 0.29.0", + "sp-debug-derive", + "sp-externalities", "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", + "sp-io", "sp-keyring", - "sp-keystore 0.40.0", + "sp-keystore", "sp-metadata-ir", "sp-mixnet", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-panic-handler 13.0.0", + "sp-panic-handler", "sp-rpc", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", + "sp-runtime", + "sp-runtime-interface", "sp-session", "sp-staking", - "sp-state-machine 0.43.0", + "sp-state-machine", "sp-statement-store", - "sp-std 14.0.0", - "sp-storage 21.0.0", + "sp-std", + "sp-storage", "sp-timestamp", - "sp-tracing 17.0.1", + "sp-tracing", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 37.0.0", + "sp-trie", "sp-version", - "sp-wasm-interface 21.0.1", - "sp-weights 31.0.0", + "sp-wasm-interface", + "sp-weights", "staging-chain-spec-builder", "staging-node-inspect", "staging-parachain-info", @@ -13233,7 +13571,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", - "substrate-bip39 0.6.0", + "substrate-bip39", "substrate-build-script-utils", "substrate-frame-rpc-support", "substrate-frame-rpc-system", @@ -13246,8 +13584,8 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" -version = "0.7.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -13261,25 +13599,27 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-arithmetic 26.0.0", + "sp-arithmetic", "sp-block-builder", "sp-consensus-aura", "sp-consensus-grandpa", - "sp-core 34.0.0", + "sp-core", + "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", + "sp-io", + "sp-keyring", "sp-offchain", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", - "sp-storage 21.0.0", + "sp-storage", "sp-transaction-pool", "sp-version", ] [[package]] name = "polkadot-service" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "frame-benchmarking", @@ -13308,6 +13648,7 @@ dependencies = [ "polkadot-network-bridge", "polkadot-node-collation-generation", "polkadot-node-core-approval-voting", + "polkadot-node-core-approval-voting-parallel", "polkadot-node-core-av-store", "polkadot-node-core-backing", "polkadot-node-core-bitfield-signing", @@ -13362,19 +13703,19 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 34.0.0", + "sp-core", "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", + "sp-io", "sp-keyring", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", "sp-timestamp", "sp-transaction-pool", "sp-version", - "sp-weights 31.0.0", + "sp-weights", "staging-xcm", "substrate-prometheus-endpoint", "thiserror 1.0.69", @@ -13385,8 +13726,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -13400,7 +13741,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.40.0", + "sp-keystore", "sp-staking", "thiserror 1.0.69", "tracing-gum", @@ -13408,12 +13749,12 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 34.0.0", + "sp-core", "tracing-gum", ] @@ -13432,15 +13773,15 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7ec0c5935f2eff23cfc4653002f4f8d12b37f87a720e0631282d188c32089d6" +checksum = "57e79a14b15ed38cb5b9a1e38d02e933f19e3d180ae5b325fed606c5e5b9177e" dependencies = [ "libc", "log", - "polkavm-assembler 0.10.0", - "polkavm-common 0.10.0", - "polkavm-linux-raw 0.10.0", + "polkavm-assembler 0.13.0", + "polkavm-common 0.13.0", + "polkavm-linux-raw 0.13.0", ] [[package]] @@ -13454,9 +13795,9 @@ dependencies = [ [[package]] name = "polkavm-assembler" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e4fd5a43100bf1afe9727b8130d01f966f5cfc9144d5604b21e795c2bcd80e" +checksum = "4e8da55465000feb0a61bbf556ed03024db58f3420eca37721fc726b3b2136bf" dependencies = [ "log", ] @@ -13472,14 +13813,20 @@ dependencies = [ [[package]] name = "polkavm-common" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0097b48bc0bedf9f3f537ce8f37e8f1202d8d83f9b621bdb21ff2c59b9097c50" +checksum = "084b4339aae7dfdaaa5aa7d634110afd95970e0737b6fb2a0cb10db8b56b753c" dependencies = [ "log", - "polkavm-assembler 0.10.0", + "polkavm-assembler 0.13.0", ] +[[package]] +name = "polkavm-common" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711952a783e9c5ad407cdacb1ed147f36d37c5d43417c1091d86456d2999417b" + [[package]] name = "polkavm-derive" version = "0.9.1" @@ -13491,11 +13838,11 @@ dependencies = [ [[package]] name = "polkavm-derive" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dcc701385c08c31bdb0569f0c51a290c580d892fa77f1dd88a7352a62679ecf" +checksum = "b4832a0aebf6cefc988bb7b2d74ea8c86c983164672e2fc96300f356a1babfc1" dependencies = [ - "polkavm-derive-impl-macro 0.10.0", + "polkavm-derive-impl-macro 0.14.0", ] [[package]] @@ -13507,19 +13854,19 @@ dependencies = [ "polkavm-common 0.9.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "polkavm-derive-impl" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7855353a5a783dd5d09e3b915474bddf66575f5a3cf45dec8d1c5e051ba320dc" +checksum = "e339fc7c11310fe5adf711d9342278ac44a75c9784947937cce12bd4f30842f2" dependencies = [ - "polkavm-common 0.10.0", + "polkavm-common 0.14.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -13529,17 +13876,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl 0.9.0", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "polkavm-derive-impl-macro" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9324fe036de37c17829af233b46ef6b5562d4a0c09bb7fdb9f8378856dee30cf" +checksum = "b569754b15060d03000c09e3bf11509d527f60b75d79b4c30c3625b5071d9702" dependencies = [ - "polkavm-derive-impl 0.10.0", - "syn 2.0.91", + "polkavm-derive-impl 0.14.0", + "syn 2.0.94", ] [[package]] @@ -13559,15 +13906,15 @@ dependencies = [ [[package]] name = "polkavm-linker" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d704edfe7bdcc876784f19436d53d515b65eb07bc9a0fae77085d552c2dbbb5" +checksum = "0959ac3b0f4fd5caf5c245c637705f19493efe83dba31a83bbba928b93b0116a" dependencies = [ - "gimli 0.28.1", + "gimli 0.31.1", "hashbrown 0.14.5", "log", "object 0.36.7", - "polkavm-common 0.10.0", + "polkavm-common 0.14.0", "regalloc2 0.9.3", "rustc-demangle", ] @@ -13580,9 +13927,9 @@ checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" [[package]] name = "polkavm-linux-raw" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e45fa59c7e1bb12ef5289080601e9ec9b31435f6e32800a5c90c132453d126" +checksum = "686c4dd9c9c16cc22565b51bdbb269792318d0fd2e6b966b5f6c788534cad0e9" [[package]] name = "polling" @@ -13726,7 +14073,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -13736,12 +14083,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", - "impl-codec", + "impl-codec 0.6.0", + "impl-serde 0.4.0", + "scale-info", + "uint 0.9.5", +] + +[[package]] +name = "primitive-types" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" +dependencies = [ + "fixed-hash", + "impl-codec 0.7.0", "impl-num-traits", "impl-rlp", - "impl-serde", + "impl-serde 0.5.0", "scale-info", - "uint", + "uint 0.10.0", ] [[package]] @@ -13803,6 +14163,28 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.94", +] + [[package]] name = "proc-macro-warning" version = "0.4.2" @@ -13811,7 +14193,7 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -13822,7 +14204,7 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -13868,7 +14250,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -13883,7 +14265,7 @@ dependencies = [ "lazy_static", "num-traits", "rand 0.8.5", - "rand_chacha 0.3.1", + "rand_chacha", "rand_xorshift", "regex-syntax 0.8.5", "rusty-fork", @@ -13943,27 +14325,6 @@ dependencies = [ "which", ] -[[package]] -name = "prost-build" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" -dependencies = [ - "bytes", - "heck 0.5.0", - "itertools 0.12.1", - "log", - "multimap 0.10.0", - "once_cell", - "petgraph", - "prettyplease 0.2.25", - "prost 0.12.6", - "prost-types 0.12.6", - "regex", - "syn 2.0.91", - "tempfile", -] - [[package]] name = "prost-build" version = "0.13.4" @@ -13980,7 +14341,7 @@ dependencies = [ "prost 0.13.4", "prost-types 0.13.4", "regex", - "syn 2.0.91", + "syn 2.0.94", "tempfile", ] @@ -14007,7 +14368,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -14020,7 +14381,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -14032,15 +14393,6 @@ dependencies = [ "prost 0.11.9", ] -[[package]] -name = "prost-types" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" -dependencies = [ - "prost 0.12.6", -] - [[package]] name = "prost-types" version = "0.13.4" @@ -14096,14 +14448,14 @@ checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "quanta" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773ce68d0bb9bc7ef20be3536ffe94e223e1f365bd374108b2659fac0c65cfe6" +checksum = "3bd1fe6824cea6538803de3ff1bc0cf3949024db3d43c9643024bfb33a807c0e" dependencies = [ "crossbeam-utils", "libc", @@ -14202,7 +14554,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", - "getrandom 0.2.15", + "getrandom", "rand 0.8.5", "ring 0.17.8", "rustc-hash 2.1.0", @@ -14244,9 +14596,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" dependencies = [ "proc-macro2", ] @@ -14289,19 +14641,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -14309,20 +14648,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", + "rand_chacha", "rand_core 0.6.4", ] -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - [[package]] name = "rand_chacha" version = "0.3.1" @@ -14350,20 +14679,11 @@ checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" [[package]] name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.4" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom", ] [[package]] @@ -14376,15 +14696,6 @@ dependencies = [ "rand 0.8.5", ] -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - [[package]] name = "rand_pcg" version = "0.3.1" @@ -14468,6 +14779,22 @@ dependencies = [ "rand_core 0.3.1", ] +[[package]] +name = "reconnecting-jsonrpsee-ws-client" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06fa4f17e09edfc3131636082faaec633c7baa269396b4004040bc6c52f49f65" +dependencies = [ + "cfg_aliases 0.2.1", + "finito", + "futures", + "jsonrpsee 0.23.2", + "serde_json", + "thiserror 1.0.69", + "tokio", + "tracing", +] + [[package]] name = "redox_syscall" version = "0.2.16" @@ -14492,7 +14819,7 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom 0.2.15", + "getrandom", "libredox", "thiserror 1.0.69", ] @@ -14526,7 +14853,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -14606,9 +14933,9 @@ checksum = "a35e8a6bf28cd121053a66aa2e6a2e3eaffad4a60012179f0e864aa5ffeff215" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" dependencies = [ "base64 0.22.1", "bytes", @@ -14640,6 +14967,7 @@ dependencies = [ "tokio", "tokio-rustls 0.26.1", "tokio-socks", + "tower 0.5.2", "tower-service", "url", "wasm-bindgen", @@ -14676,6 +15004,23 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-poly 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "arrayvec 0.7.6", + "blake2 0.10.6", + "common", + "fflonk", + "merlin", +] + [[package]] name = "ring" version = "0.16.20" @@ -14702,7 +15047,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.15", + "getrandom", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -14766,7 +15111,7 @@ checksum = "beb382a4d9f53bd5c0be86b10d8179c3f8a14c30bf774ff77096ed6581e35981" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -14774,6 +15119,16 @@ name = "rlp" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +dependencies = [ + "bytes", + "rustc-hex", +] + +[[package]] +name = "rlp" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa24e92bb2a83198bb76d661a71df9f7076b8c420b8696e4d3d97d50d94479e3" dependencies = [ "bytes", "rlp-derive", @@ -14782,13 +15137,13 @@ dependencies = [ [[package]] name = "rlp-derive" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" +checksum = "652db34deaaa57929e10ca18e5454a32cb0efc351ae80d320334bbf907b908b3" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.94", ] [[package]] @@ -14825,8 +15180,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14858,6 +15213,7 @@ dependencies = [ "pallet-indices", "pallet-membership", "pallet-message-queue", + "pallet-migrations", "pallet-mmr", "pallet-multisig", "pallet-nis", @@ -14897,22 +15253,23 @@ dependencies = [ "serde_json", "smallvec", "sp-api", - "sp-arithmetic 26.0.0", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 34.0.0", + "sp-core", "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", + "sp-io", + "sp-keyring", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", "sp-staking", - "sp-storage 21.0.0", + "sp-storage", "sp-transaction-pool", "sp-version", "staging-xcm", @@ -14925,16 +15282,16 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-core", + "sp-runtime", + "sp-weights", "staging-xcm", "staging-xcm-builder", ] @@ -14983,7 +15340,7 @@ dependencies = [ "pkcs1", "pkcs8 0.9.0", "rand_core 0.6.4", - "signature 2.2.0", + "signature", "subtle 2.6.1", "zeroize", ] @@ -15032,10 +15389,10 @@ dependencies = [ "num-integer", "num-traits", "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "proptest", "rand 0.8.5", - "rlp", + "rlp 0.5.2", "ruint-macro", "serde", "valuable", @@ -15191,6 +15548,20 @@ dependencies = [ "sct", ] +[[package]] +name = "rustls" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +dependencies = [ + "log", + "ring 0.17.8", + "rustls-pki-types 1.10.1", + "rustls-webpki 0.102.8", + "subtle 2.6.1", + "zeroize", +] + [[package]] name = "rustls" version = "0.23.20" @@ -15215,7 +15586,7 @@ dependencies = [ "openssl-probe", "rustls-pemfile 1.0.4", "schannel", - "security-framework", + "security-framework 2.11.1", ] [[package]] @@ -15228,7 +15599,19 @@ dependencies = [ "rustls-pemfile 2.2.0", "rustls-pki-types 1.10.1", "schannel", - "security-framework", + "security-framework 2.11.1", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3" +dependencies = [ + "openssl-probe", + "rustls-pki-types 1.10.1", + "schannel", + "security-framework 3.1.0", ] [[package]] @@ -15270,7 +15653,7 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490" dependencies = [ - "core-foundation", + "core-foundation 0.9.4", "core-foundation-sys", "jni", "log", @@ -15279,7 +15662,7 @@ dependencies = [ "rustls-native-certs 0.7.3", "rustls-platform-verifier-android", "rustls-webpki 0.102.8", - "security-framework", + "security-framework 2.11.1", "security-framework-sys", "webpki-roots 0.26.7", "winapi", @@ -15324,9 +15707,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" [[package]] name = "rusty-fork" @@ -15351,6 +15734,27 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "ruzstd" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" +dependencies = [ + "byteorder", + "derive_more 0.99.18", + "twox-hash", +] + +[[package]] +name = "ruzstd" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" +dependencies = [ + "byteorder", + "derive_more 0.99.18", +] + [[package]] name = "rw-stream-sink" version = "0.4.0" @@ -15397,19 +15801,19 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "29.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", - "sp-core 34.0.0", - "sp-wasm-interface 21.0.1", + "sp-core", + "sp-wasm-interface", "thiserror 1.0.69", ] [[package]] name = "sc-authority-discovery" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -15421,7 +15825,7 @@ dependencies = [ "multihash 0.19.3", "parity-scale-codec", "prost 0.12.6", - "prost-build 0.12.6", + "prost-build 0.13.4", "rand 0.8.5", "sc-client-api", "sc-network", @@ -15429,17 +15833,17 @@ dependencies = [ "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-basic-authorship" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "futures-timer", @@ -15452,33 +15856,33 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", + "sp-runtime", "substrate-prometheus-endpoint", ] [[package]] name = "sc-block-builder" -version = "0.42.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", - "sp-trie 37.0.0", + "sp-runtime", + "sp-trie", ] [[package]] name = "sc-chain-spec" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "clap", "docify", "log", @@ -15492,32 +15896,32 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", "sp-genesis-builder", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-tracing 17.0.1", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-tracing", ] [[package]] name = "sc-chain-spec-derive" -version = "12.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "11.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sc-cli" -version = "0.47.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.36.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "chrono", "clap", "fdlimit", @@ -15539,15 +15943,16 @@ dependencies = [ "sc-service", "sc-telemetry", "sc-tracing", + "sc-transaction-pool", "sc-utils", "serde", "serde_json", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-keyring", - "sp-keystore 0.40.0", - "sp-panic-handler 13.0.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", "sp-version", "thiserror 1.0.69", "tokio", @@ -15555,8 +15960,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "fnv", "futures", @@ -15569,21 +15974,21 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", + "sp-core", "sp-database", - "sp-externalities 0.29.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-externalities", + "sp-runtime", + "sp-state-machine", "sp-statement-store", - "sp-storage 21.0.0", - "sp-trie 37.0.0", + "sp-storage", + "sp-trie", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.44.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.35.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hash-db", "kvdb", @@ -15597,19 +16002,19 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 26.0.0", + "sp-arithmetic", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-database", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] name = "sc-consensus" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -15623,17 +16028,17 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-core", + "sp-runtime", + "sp-state-machine", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-aura" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -15645,24 +16050,24 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-babe" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "fork-tree", @@ -15680,25 +16085,25 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool-api", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", "sp-inherents", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "jsonrpsee 0.24.7", @@ -15707,22 +16112,22 @@ dependencies = [ "sc-rpc-api", "serde", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-beefy" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "fnv", @@ -15738,15 +16143,15 @@ dependencies = [ "sc-network-types", "sc-utils", "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -15755,8 +16160,8 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "jsonrpsee 0.24.7", @@ -15766,33 +16171,33 @@ dependencies = [ "sc-consensus-beefy", "sc-rpc", "serde", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-beefy", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-epochs" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "fork-tree", "parity-scale-codec", "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "sc-consensus-grandpa" -version = "0.30.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.19.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "ahash 0.8.11", - "array-bytes 6.2.3", + "ahash", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", @@ -15817,23 +16222,23 @@ dependencies = [ "sc-utils", "serde_json", "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.30.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.19.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "finality-grandpa", "futures", @@ -15845,15 +16250,50 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", + "thiserror 1.0.69", +] + +[[package]] +name = "sc-consensus-manual-seal" +version = "0.35.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" +dependencies = [ + "assert_matches", + "async-trait", + "futures", + "futures-timer", + "jsonrpsee 0.24.7", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-consensus", + "sc-consensus-aura", + "sc-consensus-babe", + "sc-consensus-epochs", + "sc-transaction-pool", + "sc-transaction-pool-api", + "serde", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-timestamp", + "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-slots" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -15863,20 +16303,20 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 26.0.0", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-runtime", + "sp-state-machine", ] [[package]] name = "sc-executor" -version = "0.40.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -15885,45 +16325,45 @@ dependencies = [ "sc-executor-wasmtime", "schnellru", "sp-api", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-io 38.0.0", - "sp-panic-handler 13.0.0", - "sp-runtime-interface 28.0.0", - "sp-trie 37.0.0", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", "sp-version", - "sp-wasm-interface 21.0.1", + "sp-wasm-interface", "tracing", ] [[package]] name = "sc-executor-common" -version = "0.35.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.29.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "polkavm 0.9.3", "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 21.0.1", + "sp-wasm-interface", "thiserror 1.0.69", "wasm-instrument", ] [[package]] name = "sc-executor-polkavm" -version = "0.32.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.29.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "polkavm 0.9.3", "sc-executor-common", - "sp-wasm-interface 21.0.1", + "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" -version = "0.35.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.29.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "anyhow", "cfg-if", @@ -15933,15 +16373,15 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 28.0.0", - "sp-wasm-interface 21.0.1", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "console", "futures", @@ -15952,29 +16392,29 @@ dependencies = [ "sc-network-common", "sc-network-sync", "sp-blockchain", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "sc-keystore" -version = "33.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "25.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "parking_lot 0.12.3", "serde_json", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror 1.0.69", ] [[package]] name = "sc-mixnet" -version = "0.15.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.4.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "arrayvec 0.7.6", "blake2 0.10.6", "bytes", @@ -15991,19 +16431,19 @@ dependencies = [ "sc-transaction-pool-api", "sp-api", "sp-consensus", - "sp-core 34.0.0", - "sp-keystore 0.40.0", + "sp-core", + "sp-keystore", "sp-mixnet", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sc-network" -version = "0.45.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "asynchronous-codec", @@ -16025,7 +16465,7 @@ dependencies = [ "partial_sort", "pin-project", "prost 0.12.6", - "prost-build 0.12.6", + "prost-build 0.13.4", "rand 0.8.5", "sc-client-api", "sc-network-common", @@ -16035,10 +16475,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic 26.0.0", + "sp-arithmetic", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -16051,28 +16491,28 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "bitflags 1.3.2", "futures", "libp2p-identity", "parity-scale-codec", - "prost-build 0.12.6", + "prost-build 0.13.4", "sc-consensus", "sc-network-types", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "sc-network-gossip" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "ahash 0.8.11", + "ahash", "futures", "futures-timer", "log", @@ -16081,49 +16521,48 @@ dependencies = [ "sc-network-sync", "sc-network-types", "schnellru", - "sp-runtime 39.0.5", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "sc-network-light" -version = "0.44.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "futures", "log", "parity-scale-codec", "prost 0.12.6", - "prost-build 0.12.6", + "prost-build 0.13.4", "sc-client-api", "sc-network", "sc-network-types", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sc-network-sync" -version = "0.44.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "fork-tree", "futures", "futures-timer", - "libp2p", "log", "mockall 0.11.4", "parity-scale-codec", "prost 0.12.6", - "prost-build 0.12.6", + "prost-build 0.13.4", "sc-client-api", "sc-consensus", "sc-network", @@ -16132,12 +16571,12 @@ dependencies = [ "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 26.0.0", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -16147,7 +16586,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -16168,9 +16607,9 @@ dependencies = [ "sc-utils", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-core", + "sp-runtime", + "sp-tracing", "substrate-test-runtime", "substrate-test-runtime-client", "tokio", @@ -16178,10 +16617,10 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.44.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", "log", "parity-scale-codec", @@ -16191,17 +16630,17 @@ dependencies = [ "sc-network-types", "sc-utils", "sp-consensus", - "sp-runtime 39.0.5", + "sp-runtime", "substrate-prometheus-endpoint", ] [[package]] name = "sc-network-types" -version = "0.12.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.10.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "bs58 0.5.1", - "ed25519-dalek 2.1.1", + "bs58", + "ed25519-dalek", "libp2p-identity", "litep2p", "log", @@ -16214,22 +16653,25 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "bytes", "fnv", "futures", "futures-timer", - "hyper 0.14.32", - "hyper-rustls 0.24.2", + "http-body-util", + "hyper 1.5.2", + "hyper-rustls 0.27.5", + "hyper-util", "log", "num_cpus", "once_cell", "parity-scale-codec", "parking_lot 0.12.3", "rand 0.8.5", + "rustls 0.23.20", "sc-client-api", "sc-network", "sc-network-common", @@ -16237,19 +16679,19 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "sp-api", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-keystore 0.40.0", + "sp-core", + "sp-externalities", + "sp-keystore", "sp-offchain", - "sp-runtime 39.0.5", + "sp-runtime", "threadpool", "tracing", ] [[package]] name = "sc-proposer-metrics" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.17.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -16257,8 +16699,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "jsonrpsee 0.24.7", @@ -16276,11 +16718,11 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core 34.0.0", - "sp-keystore 0.40.0", + "sp-core", + "sp-keystore", "sp-offchain", "sp-rpc", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", "sp-statement-store", "sp-version", @@ -16289,8 +16731,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "jsonrpsee 0.24.7", "parity-scale-codec", @@ -16300,17 +16742,17 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 34.0.0", + "sp-core", "sp-rpc", - "sp-runtime 39.0.5", + "sp-runtime", "sp-version", "thiserror 1.0.69", ] [[package]] name = "sc-rpc-server" -version = "17.1.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "11.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -16327,19 +16769,20 @@ dependencies = [ "serde_json", "substrate-prometheus-endpoint", "tokio", - "tower", + "tower 0.4.13", "tower-http", ] [[package]] name = "sc-rpc-spec-v2" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", "futures-util", "hex", + "itertools 0.11.0", "jsonrpsee 0.24.7", "log", "parity-scale-codec", @@ -16349,14 +16792,13 @@ dependencies = [ "sc-client-api", "sc-rpc", "sc-transaction-pool-api", - "sc-utils", "schnellru", "serde", "sp-api", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-rpc", - "sp-runtime 39.0.5", + "sp-runtime", "sp-version", "thiserror 1.0.69", "tokio", @@ -16365,8 +16807,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.46.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.35.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "directories", @@ -16407,16 +16849,16 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-state-machine 0.43.0", - "sp-storage 21.0.0", + "sp-state-machine", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 37.0.0", + "sp-trie", "sp-version", "static_init", "substrate-prometheus-endpoint", @@ -16429,32 +16871,32 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.36.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.30.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 34.0.0", + "sp-core", ] [[package]] name = "sc-storage-monitor" -version = "0.22.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.16.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "clap", "fs4", "log", - "sp-core 34.0.0", + "sp-core", "thiserror 1.0.69", "tokio", ] [[package]] name = "sc-sync-state-rpc" -version = "0.45.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "jsonrpsee 0.24.7", "parity-scale-codec", @@ -16466,14 +16908,14 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sc-sysinfo" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "derive_more 0.99.18", "futures", @@ -16485,16 +16927,16 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-io 38.0.0", - "sp-std 14.0.0", + "sp-io", + "sp-std", ] [[package]] name = "sc-telemetry" -version = "25.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "15.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "chrono", "futures", @@ -16513,13 +16955,12 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "37.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "chrono", "console", "is-terminal", - "lazy_static", "libc", "log", "parity-scale-codec", @@ -16530,35 +16971,37 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-rpc", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-runtime", + "sp-tracing", "thiserror 1.0.69", "tracing", - "tracing-log 0.2.0", - "tracing-subscriber 0.3.19", + "tracing-log", + "tracing-subscriber", ] [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sc-transaction-pool" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", "futures-timer", + "indexmap 2.7.0", + "itertools 0.11.0", "linked-hash-map", "log", "parity-scale-codec", @@ -16569,19 +17012,21 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-runtime 39.0.5", - "sp-tracing 17.0.1", + "sp-runtime", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror 1.0.69", + "tokio", + "tokio-stream", ] [[package]] name = "sc-transaction-pool-api" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", @@ -16589,101 +17034,101 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sc-utils" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "14.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-channel 1.9.0", "futures", "futures-timer", - "lazy_static", "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic 26.0.0", + "sp-arithmetic", ] [[package]] name = "scale-bits" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "036575c29af9b6e4866ffb7fa055dbf623fe7a9cc159b33786de6013a6969d89" +checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" dependencies = [ "parity-scale-codec", "scale-info", + "scale-type-resolver", "serde", ] [[package]] name = "scale-bits" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" +checksum = "27243ab0d2d6235072b017839c5f0cd1a3b1ce45c0f7a715363b0c7d36c76c94" dependencies = [ "parity-scale-codec", + "scale-info", "scale-type-resolver", + "serde", ] [[package]] name = "scale-decode" -version = "0.9.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7789f5728e4e954aaa20cadcc370b99096fb8645fca3c9333ace44bb18f30095" +checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ "derive_more 0.99.18", "parity-scale-codec", - "primitive-types", - "scale-bits 0.4.0", - "scale-decode-derive", - "scale-info", + "primitive-types 0.12.2", + "scale-bits 0.6.0", + "scale-decode-derive 0.13.1", + "scale-type-resolver", "smallvec", ] [[package]] name = "scale-decode" -version = "0.13.1" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +checksum = "4d78196772d25b90a98046794ce0fe2588b39ebdfbdc1e45b4c6c85dd43bebad" dependencies = [ - "derive_more 0.99.18", "parity-scale-codec", - "scale-bits 0.6.0", + "primitive-types 0.13.1", + "scale-bits 0.7.0", + "scale-decode-derive 0.16.0", "scale-type-resolver", "smallvec", + "thiserror 2.0.9", ] [[package]] name = "scale-decode-derive" -version = "0.9.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27873eb6005868f8cc72dcfe109fae664cf51223d35387bc2f28be4c28d94c47" +checksum = "9bb22f574168103cdd3133b19281639ca65ad985e24612728f727339dcaf4021" dependencies = [ "darling 0.14.4", - "proc-macro-crate 1.1.3", "proc-macro2", "quote", "syn 1.0.109", ] [[package]] -name = "scale-encode" -version = "0.5.0" +name = "scale-decode-derive" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d70cb4b29360105483fac1ed567ff95d65224a14dd275b6303ed0a654c78de5" +checksum = "2f4b54a1211260718b92832b661025d1f1a4b6930fbadd6908e00edd265fa5f7" dependencies = [ - "derive_more 0.99.18", - "parity-scale-codec", - "primitive-types", - "scale-bits 0.4.0", - "scale-encode-derive 0.5.0", - "scale-info", - "smallvec", + "darling 0.20.10", + "proc-macro2", + "quote", + "syn 2.0.94", ] [[package]] @@ -16694,37 +17139,52 @@ checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602" dependencies = [ "derive_more 0.99.18", "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "scale-bits 0.6.0", "scale-encode-derive 0.7.2", "scale-type-resolver", "smallvec", ] +[[package]] +name = "scale-encode" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64901733157f9d25ef86843bd783eda439fac7efb0ad5a615d12d2cf3a29464b" +dependencies = [ + "parity-scale-codec", + "primitive-types 0.13.1", + "scale-bits 0.7.0", + "scale-encode-derive 0.10.0", + "scale-type-resolver", + "smallvec", + "thiserror 2.0.9", +] + [[package]] name = "scale-encode-derive" -version = "0.5.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "995491f110efdc6bea96d6a746140e32bfceb4ea47510750a5467295a4707a25" +checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd" dependencies = [ - "darling 0.14.4", - "proc-macro-crate 1.1.3", + "darling 0.20.10", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.94", ] [[package]] name = "scale-encode-derive" -version = "0.7.2" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd" +checksum = "78a3993a13b4eafa89350604672c8757b7ea84c7c5947d4b3691e3169c96379b" dependencies = [ "darling 0.20.10", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -16750,7 +17210,7 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -16759,14 +17219,41 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0cded6518aa0bd6c1be2b88ac81bf7044992f0f154bfbabd5ad34f43512abcb" dependencies = [ + "scale-info", "smallvec", ] +[[package]] +name = "scale-typegen" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "498d1aecf2ea61325d4511787c115791639c0fd21ef4f8e11e49dd09eff2bbac" +dependencies = [ + "proc-macro2", + "quote", + "scale-info", + "syn 2.0.94", + "thiserror 1.0.69", +] + +[[package]] +name = "scale-typegen" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc3173be608895eb117cf397ab4f31f00e2ed2c7af1c6e0b8f5d51d0a0967053" +dependencies = [ + "proc-macro2", + "quote", + "scale-info", + "syn 2.0.94", + "thiserror 2.0.9", +] + [[package]] name = "scale-value" -version = "0.12.0" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6538d1cc1af9c0baf401c57da8a6d4730ef582db0d330d2efa56ec946b5b0283" +checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" dependencies = [ "base58", "blake2 0.10.6", @@ -16774,12 +17261,32 @@ dependencies = [ "either", "frame-metadata 15.1.0", "parity-scale-codec", - "scale-bits 0.4.0", - "scale-decode 0.9.0", - "scale-encode 0.5.0", + "scale-bits 0.6.0", + "scale-decode 0.13.1", + "scale-encode 0.7.2", "scale-info", + "scale-type-resolver", + "serde", + "yap 0.11.0", +] + +[[package]] +name = "scale-value" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ca8b26b451ecb7fd7b62b259fa28add63d12ec49bbcac0e01fcb4b5ae0c09aa" +dependencies = [ + "base58", + "blake2 0.10.6", + "either", + "parity-scale-codec", + "scale-bits 0.7.0", + "scale-decode 0.16.0", + "scale-encode 0.10.0", + "scale-type-resolver", "serde", - "yap", + "thiserror 2.0.9", + "yap 0.12.0", ] [[package]] @@ -16793,33 +17300,15 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" +checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" dependencies = [ - "ahash 0.8.11", + "ahash", "cfg-if", "hashbrown 0.13.2", ] -[[package]] -name = "schnorrkel" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "schnorrkel" version = "0.10.2" @@ -16829,7 +17318,7 @@ dependencies = [ "arrayref", "arrayvec 0.7.6", "curve25519-dalek-ng", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "sha2 0.9.9", "subtle-ng", @@ -16845,9 +17334,9 @@ dependencies = [ "aead 0.5.2", "arrayref", "arrayvec 0.7.6", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "getrandom_or_panic", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "serde_bytes", "sha2 0.10.8", @@ -16901,31 +17390,13 @@ dependencies = [ "libc", ] -[[package]] -name = "secp256k1" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" -dependencies = [ - "secp256k1-sys 0.6.1", -] - [[package]] name = "secp256k1" version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ - "secp256k1-sys 0.9.2", -] - -[[package]] -name = "secp256k1-sys" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" -dependencies = [ - "cc", + "secp256k1-sys", ] [[package]] @@ -16953,13 +17424,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ "bitflags 2.6.0", - "core-foundation", + "core-foundation 0.9.4", "core-foundation-sys", "libc", "num-bigint", "security-framework-sys", ] +[[package]] +name = "security-framework" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81d3f8c9bfcc3cbb6b0179eb57042d75b1582bdc65c3cb95f3fa999509c03cbc" +dependencies = [ + "bitflags 2.6.0", + "core-foundation 0.10.0", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + [[package]] name = "security-framework-sys" version = "2.13.0" @@ -17021,6 +17505,12 @@ dependencies = [ "pest", ] +[[package]] +name = "send_wrapper" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" + [[package]] name = "send_wrapper" version = "0.6.0" @@ -17029,9 +17519,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.216" +version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" dependencies = [ "serde_derive", ] @@ -17066,13 +17556,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -17192,18 +17682,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - [[package]] name = "sha2" version = "0.9.9" @@ -17262,12 +17740,6 @@ dependencies = [ "libc", ] -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" - [[package]] name = "signature" version = "2.2.0" @@ -17318,6 +17790,12 @@ version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" +[[package]] +name = "siphasher" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + [[package]] name = "sized-chunks" version = "0.6.5" @@ -17345,13 +17823,13 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "15.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] @@ -17377,112 +17855,132 @@ checksum = "13f2b548cd8447f8de0fdf1c592929f70f4fc7039a05e47404b0d096ec6987a1" dependencies = [ "async-channel 1.9.0", "async-executor", - "async-fs", + "async-fs 1.6.0", "async-io 1.13.0", "async-lock 2.8.0", - "async-net", - "async-process", + "async-net 1.8.0", + "async-process 1.8.1", "blocking", "futures-lite 1.13.0", ] +[[package]] +name = "smol" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a33bd3e260892199c3ccfc487c88b2da2265080acb316cd920da72fdfd7c599f" +dependencies = [ + "async-channel 2.3.1", + "async-executor", + "async-fs 2.1.2", + "async-io 2.4.0", + "async-lock 3.4.0", + "async-net 2.0.0", + "async-process 2.3.0", + "blocking", + "futures-lite 2.5.0", +] + [[package]] name = "smoldot" -version = "0.8.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cce5e2881b30bad7ef89f383a816ad0b22c45915911f28499026de4a76d20ee" +checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" dependencies = [ "arrayvec 0.7.6", "async-lock 2.8.0", - "atomic", + "atomic-take", "base64 0.21.7", "bip39", "blake2-rfc", - "bs58 0.5.1", + "bs58", + "chacha20", "crossbeam-queue", "derive_more 0.99.18", - "ed25519-zebra 3.1.0", + "ed25519-zebra", "either", "event-listener 2.5.3", "fnv", - "futures-channel", + "futures-lite 1.13.0", "futures-util", "hashbrown 0.14.5", "hex", "hmac 0.12.1", - "itertools 0.10.5", + "itertools 0.11.0", "libsecp256k1", - "merlin 3.0.0", + "merlin", "no-std-net", "nom", "num-bigint", "num-rational", "num-traits", - "pbkdf2 0.12.2", + "pbkdf2", "pin-project", + "poly1305", "rand 0.8.5", - "rand_chacha 0.3.1", - "ruzstd", + "rand_chacha", + "ruzstd 0.4.0", "schnorrkel 0.10.2", "serde", "serde_json", "sha2 0.10.8", - "siphasher", + "sha3", + "siphasher 0.3.11", "slab", "smallvec", - "smol", - "snow", "soketto 0.7.1", - "tiny-keccak", "twox-hash", - "wasmi 0.30.0", + "wasmi 0.31.2", + "x25519-dalek", + "zeroize", ] [[package]] name = "smoldot" -version = "0.11.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" +checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9" dependencies = [ "arrayvec 0.7.6", - "async-lock 2.8.0", + "async-lock 3.4.0", "atomic-take", "base64 0.21.7", "bip39", "blake2-rfc", - "bs58 0.5.1", + "bs58", "chacha20", "crossbeam-queue", "derive_more 0.99.18", - "ed25519-zebra 4.0.3", + "ed25519-zebra", "either", - "event-listener 2.5.3", + "event-listener 4.0.3", "fnv", - "futures-lite 1.13.0", + "futures-lite 2.5.0", "futures-util", "hashbrown 0.14.5", "hex", "hmac 0.12.1", - "itertools 0.11.0", + "itertools 0.12.1", + "libm", "libsecp256k1", - "merlin 3.0.0", + "merlin", "no-std-net", "nom", "num-bigint", "num-rational", "num-traits", - "pbkdf2 0.12.2", + "pbkdf2", "pin-project", "poly1305", "rand 0.8.5", - "rand_chacha 0.3.1", - "ruzstd", - "schnorrkel 0.10.2", + "rand_chacha", + "ruzstd 0.5.0", + "schnorrkel 0.11.4", "serde", "serde_json", "sha2 0.10.8", "sha3", - "siphasher", + "siphasher 1.0.1", "slab", "smallvec", "soketto 0.7.1", @@ -17493,32 +17991,57 @@ dependencies = [ ] [[package]] -name = "smoldot-light" -version = "0.6.0" +name = "smoldot" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2f7b4687b83ff244ef6137735ed5716ad37dcdf3ee16c4eb1a32fb9808fa47" +checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818" dependencies = [ - "async-lock 2.8.0", + "arrayvec 0.7.6", + "async-lock 3.4.0", + "atomic-take", + "base64 0.22.1", + "bip39", "blake2-rfc", + "bs58", + "chacha20", + "crossbeam-queue", "derive_more 0.99.18", + "ed25519-zebra", "either", - "event-listener 2.5.3", + "event-listener 5.3.1", "fnv", - "futures-channel", + "futures-lite 2.5.0", "futures-util", "hashbrown 0.14.5", "hex", - "itertools 0.10.5", - "log", - "lru 0.10.1", - "parking_lot 0.12.3", + "hmac 0.12.1", + "itertools 0.13.0", + "libm", + "libsecp256k1", + "merlin", + "nom", + "num-bigint", + "num-rational", + "num-traits", + "pbkdf2", + "pin-project", + "poly1305", "rand 0.8.5", + "rand_chacha", + "ruzstd 0.6.0", + "schnorrkel 0.11.4", "serde", "serde_json", - "siphasher", + "sha2 0.10.8", + "sha3", + "siphasher 1.0.1", "slab", - "smol", - "smoldot 0.8.0", + "smallvec", + "soketto 0.8.1", + "twox-hash", + "wasmi 0.32.3", + "x25519-dalek", + "zeroize", ] [[package]] @@ -17547,16 +18070,88 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "rand 0.8.5", - "rand_chacha 0.3.1", + "rand_chacha", "serde", "serde_json", - "siphasher", + "siphasher 0.3.11", "slab", - "smol", + "smol 1.3.0", "smoldot 0.11.0", "zeroize", ] +[[package]] +name = "smoldot-light" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5496f2d116b7019a526b1039ec2247dd172b8670633b1a64a614c9ea12c9d8c7" +dependencies = [ + "async-channel 2.3.1", + "async-lock 3.4.0", + "base64 0.21.7", + "blake2-rfc", + "derive_more 0.99.18", + "either", + "event-listener 4.0.3", + "fnv", + "futures-channel", + "futures-lite 2.5.0", + "futures-util", + "hashbrown 0.14.5", + "hex", + "itertools 0.12.1", + "log", + "lru 0.12.5", + "no-std-net", + "parking_lot 0.12.3", + "pin-project", + "rand 0.8.5", + "rand_chacha", + "serde", + "serde_json", + "siphasher 1.0.1", + "slab", + "smol 2.0.2", + "smoldot 0.16.0", + "zeroize", +] + +[[package]] +name = "smoldot-light" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f" +dependencies = [ + "async-channel 2.3.1", + "async-lock 3.4.0", + "base64 0.22.1", + "blake2-rfc", + "bs58", + "derive_more 0.99.18", + "either", + "event-listener 5.3.1", + "fnv", + "futures-channel", + "futures-lite 2.5.0", + "futures-util", + "hashbrown 0.14.5", + "hex", + "itertools 0.13.0", + "log", + "lru 0.12.5", + "parking_lot 0.12.3", + "pin-project", + "rand 0.8.5", + "rand_chacha", + "serde", + "serde_json", + "siphasher 1.0.1", + "slab", + "smol 2.0.2", + "smoldot 0.18.0", + "zeroize", +] + [[package]] name = "snap" version = "1.1.1" @@ -17572,7 +18167,7 @@ dependencies = [ "aes-gcm", "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "rand_core 0.6.4", "ring 0.17.8", "rustc_version 0.4.1", @@ -17592,30 +18187,30 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "byte-slice-cast", "frame-support", "hex", "parity-scale-codec", - "rlp", + "rlp 0.6.1", "scale-info", "serde", "snowbridge-ethereum", "snowbridge-milagro-bls", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "ssz_rs", "ssz_rs_derive", ] [[package]] name = "snowbridge-core" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "ethabi-decode", "frame-support", @@ -17626,33 +18221,33 @@ dependencies = [ "scale-info", "serde", "snowbridge-beacon-primitives", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", ] [[package]] name = "snowbridge-ethereum" -version = "0.9.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.3.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "ethabi-decode", - "ethbloom", - "ethereum-types", + "ethbloom 0.14.1", + "ethereum-types 0.15.1", "hex-literal", "parity-bytes", "parity-scale-codec", - "rlp", + "rlp 0.6.1", "scale-info", "serde", "serde-big-array", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -17672,32 +18267,32 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-merkle-tree" -version = "0.9.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.3.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "snowbridge-outbound-queue-runtime-api" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "parity-scale-codec", "snowbridge-core", "snowbridge-outbound-queue-merkle-tree", "sp-api", - "sp-std 14.0.0", + "sp-std", ] [[package]] name = "snowbridge-pallet-ethereum-client" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -17712,29 +18307,29 @@ dependencies = [ "snowbridge-core", "snowbridge-ethereum", "snowbridge-pallet-ethereum-client-fixtures", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "static_assertions", ] [[package]] name = "snowbridge-pallet-ethereum-client-fixtures" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.9.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", "snowbridge-core", - "sp-core 34.0.0", - "sp-std 14.0.0", + "sp-core", + "sp-std", ] [[package]] name = "snowbridge-pallet-inbound-queue" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -17751,30 +18346,30 @@ dependencies = [ "snowbridge-core", "snowbridge-pallet-inbound-queue-fixtures", "snowbridge-router-primitives", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.10.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", "snowbridge-core", - "sp-core 34.0.0", - "sp-std 14.0.0", + "sp-core", + "sp-std", ] [[package]] name = "snowbridge-pallet-outbound-queue" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bridge-hub-common", "ethabi-decode", @@ -17786,17 +18381,17 @@ dependencies = [ "serde", "snowbridge-core", "snowbridge-outbound-queue-merkle-tree", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "snowbridge-pallet-system" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -17805,18 +18400,18 @@ dependencies = [ "parity-scale-codec", "scale-info", "snowbridge-core", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "snowbridge-router-primitives" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.9.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "hex-literal", @@ -17824,25 +18419,25 @@ dependencies = [ "parity-scale-codec", "scale-info", "snowbridge-core", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "snowbridge-runtime-common" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "log", "parity-scale-codec", "snowbridge-core", - "sp-arithmetic 26.0.0", - "sp-std 14.0.0", + "sp-arithmetic", + "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -17850,8 +18445,8 @@ dependencies = [ [[package]] name = "snowbridge-runtime-test-common" -version = "0.12.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -17870,10 +18465,10 @@ dependencies = [ "snowbridge-pallet-ethereum-client-fixtures", "snowbridge-pallet-outbound-queue", "snowbridge-pallet-system", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 39.0.5", + "sp-runtime", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", @@ -17881,13 +18476,13 @@ dependencies = [ [[package]] name = "snowbridge-system-runtime-api" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "snowbridge-core", "sp-api", - "sp-std 14.0.0", + "sp-std", "staging-xcm", ] @@ -17944,8 +18539,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "hash-db", @@ -17953,21 +18548,21 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api-proc-macro", - "sp-core 34.0.0", - "sp-externalities 0.29.0", + "sp-core", + "sp-externalities", "sp-metadata-ir", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", + "sp-runtime", + "sp-runtime-interface", + "sp-state-machine", + "sp-trie", "sp-version", "thiserror 1.0.69", ] [[package]] name = "sp-api-proc-macro" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "15.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "blake2 0.10.6", @@ -17975,90 +18570,79 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-application-crypto" -version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "899492ea547816d5dfe9a5a2ecc32f65a7110805af6da3380aa4902371b31dc2" +version = "30.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-application-crypto" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 34.0.0", - "sp-io 38.0.0", + "sp-core", + "sp-io", ] [[package]] name = "sp-arithmetic" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6020576e544c6824a51d651bc8df8e6ab67cd59f1c9ac09868bb81a5199ded" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "docify", "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", "static_assertions", ] [[package]] -name = "sp-arithmetic" -version = "26.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +name = "sp-ark-bls12-381" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" dependencies = [ - "docify", - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "static_assertions", + "ark-bls12-381-ext", + "sp-crypto-ec-utils", +] + +[[package]] +name = "sp-ark-ed-on-bls12-381-bandersnatch" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-ed-on-bls12-381-bandersnatch-ext", + "sp-crypto-ec-utils", ] [[package]] name = "sp-authority-discovery" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-application-crypto 38.0.0", - "sp-runtime 39.0.5", + "sp-application-crypto", + "sp-runtime", ] [[package]] name = "sp-block-builder" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", "sp-inherents", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "sp-blockchain" -version = "37.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "parity-scale-codec", @@ -18066,88 +18650,87 @@ dependencies = [ "schnellru", "sp-api", "sp-consensus", - "sp-core 34.0.0", + "sp-core", "sp-database", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-runtime", + "sp-state-machine", "thiserror 1.0.69", "tracing", ] [[package]] name = "sp-consensus" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "futures", "log", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-runtime", + "sp-state-machine", "thiserror 1.0.69", ] [[package]] name = "sp-consensus-aura" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-slots", "sp-inherents", - "sp-runtime 39.0.5", + "sp-runtime", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-consensus-slots", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", + "sp-runtime", "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" -version = "22.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "lazy_static", "parity-scale-codec", "scale-info", "serde", "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", + "sp-application-crypto", + "sp-core", "sp-crypto-hashing", - "sp-io 38.0.0", - "sp-keystore 0.40.0", + "sp-io", + "sp-keystore", "sp-mmr-primitives", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-runtime", + "sp-weights", "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" -version = "21.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "finality-grandpa", "log", @@ -18155,27 +18738,27 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", ] [[package]] name = "sp-consensus-pow" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "sp-api", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-consensus-slots" -version = "0.40.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -18185,89 +18768,45 @@ dependencies = [ [[package]] name = "sp-core" -version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f18d9e2f67d8661f9729f35347069ac29d92758b59135176799db966947a7336" -dependencies = [ - "array-bytes 4.2.0", - "bitflags 1.3.2", - "blake2 0.10.6", - "bounded-collections 0.1.9", - "bs58 0.4.0", - "dyn-clonable", - "ed25519-zebra 3.1.0", - "futures", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.3", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1 0.24.3", - "secrecy", - "serde", - "sp-core-hashing 9.0.0", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "ss58-registry", - "substrate-bip39 0.4.6", - "thiserror 1.0.69", - "tiny-bip39", - "zeroize", -] - -[[package]] -name = "sp-core" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", + "bandersnatch_vrfs", "bitflags 1.3.2", "blake2 0.10.6", - "bounded-collections 0.2.2", - "bs58 0.5.1", + "bounded-collections", + "bs58", "dyn-clonable", - "ed25519-zebra 4.0.3", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", - "impl-serde", + "impl-serde 0.5.0", "itertools 0.11.0", "k256", "libsecp256k1", "log", - "merlin 3.0.0", + "merlin", "parity-bip39", "parity-scale-codec", "parking_lot 0.12.3", "paste", - "primitive-types", + "primitive-types 0.13.1", "rand 0.8.5", "scale-info", "schnorrkel 0.11.4", - "secp256k1 0.28.2", + "secp256k1", "secrecy", "serde", "sp-crypto-hashing", - "sp-debug-derive 14.0.0", - "sp-externalities 0.29.0", - "sp-runtime-interface 28.0.0", - "sp-std 14.0.0", - "sp-storage 21.0.0", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", - "substrate-bip39 0.6.0", + "substrate-bip39", "thiserror 1.0.69", "tracing", "w3f-bls", @@ -18276,31 +18815,16 @@ dependencies = [ [[package]] name = "sp-core-hashing" -version = "9.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ee599a8399448e65197f9a6cee338ad192e9023e35e31f22382964c3c174c68" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "sp-std 8.0.0", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "15.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-crypto-hashing", ] [[package]] name = "sp-crypto-ec-utils" -version = "0.14.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.10.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -18308,19 +18832,19 @@ dependencies = [ "ark-bls12-381-ext", "ark-bw6-761", "ark-bw6-761-ext", - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-377", "ark-ed-on-bls12-377-ext", "ark-ed-on-bls12-381-bandersnatch", "ark-ed-on-bls12-381-bandersnatch-ext", "ark-scale", - "sp-runtime-interface 28.0.0", + "sp-runtime-interface", ] [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "blake2b_simd", "byteorder", @@ -18333,182 +18857,118 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "kvdb", "parking_lot 0.12.3", ] -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7f531814d2f16995144c74428830ccf7d94ff4a7749632b83ad8199b181140c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.91", -] - [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0f71c671e01a8ca60da925d43a1b351b69626e268b8837f8371e320cf1dd100" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "syn 2.0.94", ] [[package]] name = "sp-externalities" -version = "0.29.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.25.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 21.0.0", + "sp-storage", ] [[package]] name = "sp-genesis-builder" -version = "0.15.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.8.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", "serde_json", "sp-api", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "sp-inherents" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sp-io" -version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d597e35a9628fe7454b08965b2442e3ec0f264b0a90d41328e87422cec02e99" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1 0.24.3", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", - "sp-runtime-interface 17.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-trie 22.0.0", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "30.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bytes", "docify", - "ed25519-dalek 2.1.1", + "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", "polkavm-derive 0.9.1", "rustversion", - "secp256k1 0.28.2", - "sp-core 34.0.0", + "secp256k1", + "sp-core", "sp-crypto-hashing", - "sp-externalities 0.29.0", - "sp-keystore 0.40.0", - "sp-runtime-interface 28.0.0", - "sp-state-machine 0.43.0", - "sp-tracing 17.0.1", - "sp-trie 37.0.0", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-tracing", + "sp-trie", "tracing", "tracing-core", ] [[package]] -name = "sp-keyring" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" -dependencies = [ - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "strum 0.26.3", -] - -[[package]] -name = "sp-keystore" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be3cdd67cc1d9c1db17c5cbc4ec4924054a8437009d167f21f6590797e4aa45" -dependencies = [ - "futures", - "parity-scale-codec", - "parking_lot 0.12.3", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "thiserror 1.0.69", +name = "sp-keyring" +version = "31.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" +dependencies = [ + "sp-core", + "sp-runtime", + "strum 0.26.3", ] [[package]] name = "sp-keystore" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 34.0.0", - "sp-externalities 0.29.0", + "sp-core", + "sp-externalities", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -18516,29 +18976,29 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.7.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "frame-metadata 16.0.0", + "frame-metadata 18.0.0", "parity-scale-codec", "scale-info", ] [[package]] name = "sp-mixnet" -version = "0.12.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.4.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", ] [[package]] name = "sp-mmr-primitives" -version = "34.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "parity-scale-codec", @@ -18546,94 +19006,60 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-core 34.0.0", - "sp-debug-derive 14.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-debug-derive", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sp-npos-elections" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-arithmetic", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-offchain" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd2de46003fa8212426838ca71cd42ee36a26480ba9ffea983506ce03131033" -dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "backtrace", - "lazy_static", "regex", ] [[package]] name = "sp-rpc" -version = "32.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "rustc-hash 1.1.0", "serde", - "sp-core 34.0.0", -] - -[[package]] -name = "sp-runtime" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21c5bfc764a1a8259d7e8f7cfd22c84006275a512c958d3ff966c92151e134d5" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", + "sp-core", ] [[package]] name = "sp-runtime" -version = "39.0.5" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "31.0.1" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "binary-merkle-tree", "docify", "either", "hash256-std-hasher", @@ -18646,131 +19072,80 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-std 14.0.0", - "sp-weights 31.0.0", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", + "sp-trie", + "sp-weights", "tracing", + "tuplex", ] [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e676128182f90015e916f806cba635c8141e341e7abbc45d25525472e1bbce8" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "28.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "24.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive 0.9.1", - "primitive-types", - "sp-externalities 0.29.0", - "sp-runtime-interface-proc-macro 18.0.0", - "sp-std 14.0.0", - "sp-storage 21.0.0", - "sp-tracing 17.0.1", - "sp-wasm-interface 21.0.1", + "primitive-types 0.13.1", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5d5bd5566fe5633ec48dfa35ab152fd29f8a577c21971e1c6db9f28afb9bbb9" -dependencies = [ - "Inflector", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.91", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "17.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "expander", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-session" -version = "36.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 34.0.0", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-keystore", + "sp-runtime", "sp-staking", ] [[package]] name = "sp-staking" -version = "36.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ef45d31f9e7ac648f8899a0cd038a3608f8499028bff55b6c799702592325b6" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-panic-handler 8.0.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "thiserror 1.0.69", - "tracing", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-state-machine" -version = "0.43.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.35.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hash-db", "log", @@ -18778,167 +19153,109 @@ dependencies = [ "parking_lot 0.12.3", "rand 0.8.5", "smallvec", - "sp-core 34.0.0", - "sp-externalities 0.29.0", - "sp-panic-handler 13.0.0", - "sp-trie 37.0.0", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-trie", "thiserror 1.0.69", "tracing", - "trie-db 0.29.1", + "trie-db", ] [[package]] name = "sp-statement-store" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.3", - "ed25519-dalek 2.1.1", + "curve25519-dalek", + "ed25519-dalek", "hkdf", "parity-scale-codec", "rand 0.8.5", "scale-info", "sha2 0.10.8", "sp-api", - "sp-application-crypto 38.0.0", - "sp-core 34.0.0", + "sp-application-crypto", + "sp-core", "sp-crypto-hashing", - "sp-externalities 0.29.0", - "sp-runtime 39.0.5", - "sp-runtime-interface 28.0.0", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", "thiserror 1.0.69", "x25519-dalek", ] -[[package]] -name = "sp-std" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" - [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" - -[[package]] -name = "sp-storage" -version = "13.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94294be83f11d4958cfea89ed5798f0b6605f5defc3a996948848458abbcc18e" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" [[package]] name = "sp-storage" -version = "21.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "19.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "impl-serde", + "impl-serde 0.5.0", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0", + "sp-debug-derive", ] [[package]] name = "sp-timestamp" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime 39.0.5", + "sp-runtime", "thiserror 1.0.69", ] [[package]] name = "sp-tracing" -version = "10.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357f7591980dd58305956d32f8f6646d0a8ea9ea0e7e868e46f53b68ddf00cec" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0", - "tracing", - "tracing-core", - "tracing-subscriber 0.2.25", -] - -[[package]] -name = "sp-tracing" -version = "17.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "16.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "tracing", "tracing-core", - "tracing-subscriber 0.3.19", + "tracing-subscriber", ] [[package]] name = "sp-transaction-pool" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "sp-transaction-storage-proof" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 34.0.0", + "sp-core", "sp-inherents", - "sp-runtime 39.0.5", - "sp-trie 37.0.0", -] - -[[package]] -name = "sp-trie" -version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48e4eeb7ef23f79eba8609db79ef9cef242f994f1f87a3c0387b4b5f177fda74" -dependencies = [ - "ahash 0.8.11", - "hash-db", - "hashbrown 0.13.2", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.3", - "scale-info", - "schnellru", - "sp-core 21.0.0", - "sp-std 8.0.0", - "thiserror 1.0.69", - "tracing", - "trie-db 0.27.1", - "trie-root", + "sp-runtime", + "sp-trie", ] [[package]] name = "sp-trie" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "ahash 0.8.11", + "ahash", "hash-db", - "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", @@ -18946,60 +19263,47 @@ dependencies = [ "rand 0.8.5", "scale-info", "schnellru", - "sp-core 34.0.0", - "sp-externalities 0.29.0", + "sp-core", + "sp-externalities", "thiserror 1.0.69", "tracing", - "trie-db 0.29.1", + "trie-db", "trie-root", ] [[package]] name = "sp-version" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "impl-serde", + "impl-serde 0.5.0", "parity-scale-codec", "parity-wasm", "scale-info", "serde", "sp-crypto-hashing-proc-macro", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-runtime", + "sp-std", "sp-version-proc-macro", "thiserror 1.0.69", ] [[package]] name = "sp-version-proc-macro" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", + "proc-macro-warning 1.0.2", "proc-macro2", "quote", - "syn 2.0.91", -] - -[[package]] -name = "sp-wasm-interface" -version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19c122609ca5d8246be6386888596320d03c7bc880959eaa2c36bcd5acd6846" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0", - "wasmtime", + "syn 2.0.94", ] [[package]] name = "sp-wasm-interface" -version = "21.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "20.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19010,32 +19314,16 @@ dependencies = [ [[package]] name = "sp-weights" -version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45d084c735544f70625b821c3acdbc7a2fc1893ca98b85f1942631284692c75b" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-weights" -version = "31.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "bounded-collections 0.2.2", + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 26.0.0", - "sp-debug-derive 14.0.0", + "sp-arithmetic", + "sp-debug-derive", ] [[package]] @@ -19120,7 +19408,7 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24ba59a9342a3d9bab6c56c118be528b27c9b60e490080e9711a04dccac83ef6" dependencies = [ - "ahash 0.8.11", + "ahash", "atoi", "byteorder", "bytes", @@ -19259,20 +19547,22 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-chain-spec-builder" -version = "6.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.6.1" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "clap", + "docify", "log", "sc-chain-spec", + "serde", "serde_json", - "sp-tracing 17.0.1", + "sp-tracing", ] [[package]] name = "staging-node-inspect" -version = "0.23.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.12.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "clap", "parity-scale-codec", @@ -19280,54 +19570,56 @@ dependencies = [ "sc-client-api", "sc-service", "sp-blockchain", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-io", + "sp-runtime", "sp-statement-store", "thiserror 1.0.69", ] [[package]] name = "staging-parachain-info" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "staging-tracking-allocator" version = "2.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" [[package]] name = "staging-xcm" -version = "14.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", - "bounded-collections 0.2.2", + "array-bytes", + "bounded-collections", "derivative", "environmental", + "frame-support", + "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-runtime", + "sp-weights", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "17.0.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -19338,18 +19630,18 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-arithmetic 26.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-weights", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "staging-xcm-executor" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "environmental", "frame-benchmarking", @@ -19357,11 +19649,11 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-arithmetic 26.0.0", - "sp-core 34.0.0", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-weights", "staging-xcm", "tracing", ] @@ -19464,29 +19756,16 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.91", -] - -[[package]] -name = "substrate-bip39" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" -dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.11.4", - "sha2 0.9.9", - "zeroize", + "syn 2.0.94", ] [[package]] name = "substrate-bip39" -version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.4.7" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hmac 0.12.1", - "pbkdf2 0.12.2", + "pbkdf2", "schnorrkel 0.11.4", "sha2 0.10.8", "zeroize", @@ -19495,25 +19774,25 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" [[package]] name = "substrate-frame-rpc-support" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "jsonrpsee 0.24.7", "parity-scale-codec", "sc-rpc-api", "serde", - "sp-storage 21.0.0", + "sp-storage", ] [[package]] name = "substrate-frame-rpc-system" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -19526,14 +19805,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", ] [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "http-body-util", "hyper 1.5.2", @@ -19546,40 +19825,40 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.33.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "jsonrpsee 0.24.7", "log", "sc-rpc-api", "serde", - "sp-runtime 39.0.5", + "sp-runtime", ] [[package]] name = "substrate-state-trie-migration-rpc" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "jsonrpsee 0.24.7", "parity-scale-codec", "sc-client-api", "sc-rpc-api", "serde", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", - "sp-trie 37.0.0", - "trie-db 0.29.1", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", + "trie-db", ] [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-trait", "futures", "parity-scale-codec", @@ -19593,20 +19872,20 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", + "sp-core", "sp-keyring", - "sp-keystore 0.40.0", - "sp-runtime 39.0.5", - "sp-state-machine 0.43.0", + "sp-keystore", + "sp-runtime", + "sp-state-machine", "tokio", ] [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "frame-executive", "frame-metadata-hash-extension", "frame-support", @@ -19621,34 +19900,34 @@ dependencies = [ "scale-info", "serde_json", "sp-api", - "sp-application-crypto 38.0.0", + "sp-application-crypto", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", "sp-consensus-grandpa", - "sp-core 34.0.0", + "sp-core", "sp-crypto-hashing", - "sp-externalities 0.29.0", + "sp-externalities", "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", + "sp-io", "sp-keyring", "sp-offchain", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", - "sp-state-machine 0.43.0", + "sp-state-machine", "sp-transaction-pool", - "sp-trie 37.0.0", + "sp-trie", "sp-version", "substrate-wasm-builder", "tracing", - "trie-db 0.29.1", + "trie-db", ] [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "sc-block-builder", @@ -19657,16 +19936,16 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 34.0.0", - "sp-runtime 39.0.5", + "sp-core", + "sp-runtime", "substrate-test-client", "substrate-test-runtime", ] [[package]] name = "substrate-test-utils" -version = "3.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "4.0.0-dev" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "futures", "tokio", @@ -19674,25 +19953,26 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "24.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "17.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "build-helper", "cargo_metadata", "console", "filetime", - "frame-metadata 16.0.0", + "frame-metadata 18.0.0", "jobserver", "merkleized-metadata", "parity-scale-codec", "parity-wasm", "polkavm-linker 0.9.2", "sc-executor", - "sp-core 34.0.0", - "sp-io 38.0.0", + "shlex", + "sp-core", + "sp-io", "sp-maybe-compressed-blob", - "sp-tracing 17.0.1", + "sp-tracing", "sp-version", "strum 0.26.3", "tempfile", @@ -19711,109 +19991,301 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" name = "subtle" version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "subtle-ng" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" + +[[package]] +name = "subxt" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a160cba1edbf3ec4fbbeaea3f1a185f70448116a6bccc8276bb39adb3b3053bd" +dependencies = [ + "async-trait", + "derive-where", + "either", + "frame-metadata 16.0.0", + "futures", + "hex", + "impl-serde 0.4.0", + "instant", + "jsonrpsee 0.22.5", + "parity-scale-codec", + "primitive-types 0.12.2", + "reconnecting-jsonrpsee-ws-client", + "scale-bits 0.6.0", + "scale-decode 0.13.1", + "scale-encode 0.7.2", + "scale-info", + "scale-value 0.16.3", + "serde", + "serde_json", + "sp-crypto-hashing", + "subxt-core 0.37.1", + "subxt-lightclient 0.37.0", + "subxt-macro 0.37.0", + "subxt-metadata 0.37.0", + "thiserror 1.0.69", + "tokio-util", + "tracing", + "url", +] + +[[package]] +name = "subxt" +version = "0.38.0" +source = "git+https://github.com/CESSProject/subxt?branch=polkadot-stable2412#acd41d5c83bb5155b3b76664fdca17d5ba1ce5fe" +dependencies = [ + "async-trait", + "derive-where", + "either", + "frame-metadata 18.0.0", + "futures", + "hex", + "impl-serde 0.5.0", + "jsonrpsee 0.24.7", + "parity-scale-codec", + "polkadot-sdk", + "primitive-types 0.13.1", + "scale-bits 0.7.0", + "scale-decode 0.16.0", + "scale-encode 0.10.0", + "scale-info", + "scale-value 0.18.0", + "serde", + "serde_json", + "subxt-core 0.38.0", + "subxt-lightclient 0.38.0", + "subxt-macro 0.38.0", + "subxt-metadata 0.38.0", + "thiserror 2.0.9", + "tokio", + "tokio-util", + "tracing", + "url", + "wasm-bindgen-futures", + "web-time", +] + +[[package]] +name = "subxt-codegen" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786" +dependencies = [ + "frame-metadata 16.0.0", + "heck 0.5.0", + "hex", + "jsonrpsee 0.22.5", + "parity-scale-codec", + "proc-macro2", + "quote", + "scale-info", + "scale-typegen 0.8.0", + "subxt-metadata 0.37.0", + "syn 2.0.94", + "thiserror 1.0.69", + "tokio", +] [[package]] -name = "subtle-ng" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" +name = "subxt-codegen" +version = "0.38.0" +source = "git+https://github.com/CESSProject/subxt?branch=polkadot-stable2412#acd41d5c83bb5155b3b76664fdca17d5ba1ce5fe" +dependencies = [ + "heck 0.5.0", + "parity-scale-codec", + "proc-macro2", + "quote", + "scale-info", + "scale-typegen 0.10.0", + "subxt-metadata 0.38.0", + "syn 2.0.94", + "thiserror 2.0.9", +] [[package]] -name = "subxt" -version = "0.32.1" +name = "subxt-core" +version = "0.37.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "588b8ce92699eeb06290f4fb02dad4f7e426c4e6db4d53889c6bcbc808cf24ac" +checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a" dependencies = [ - "async-trait", "base58", "blake2 0.10.6", - "derivative", - "either", + "derive-where", "frame-metadata 16.0.0", - "futures", + "hashbrown 0.14.5", "hex", - "impl-serde", - "jsonrpsee 0.20.4", + "impl-serde 0.4.0", "parity-scale-codec", - "primitive-types", - "scale-bits 0.4.0", - "scale-decode 0.9.0", - "scale-encode 0.5.0", + "primitive-types 0.12.2", + "scale-bits 0.6.0", + "scale-decode 0.13.1", + "scale-encode 0.7.2", "scale-info", - "scale-value", + "scale-value 0.16.3", "serde", "serde_json", - "sp-core 21.0.0", - "sp-core-hashing 9.0.0", - "sp-runtime 24.0.0", - "subxt-lightclient", - "subxt-macro", - "subxt-metadata", - "thiserror 1.0.69", + "sp-crypto-hashing", + "subxt-metadata 0.37.0", "tracing", ] [[package]] -name = "subxt-codegen" -version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98f5a534c8d475919e9c845d51fc2316da4fcadd04fe17552d932d2106de930e" +name = "subxt-core" +version = "0.38.0" +source = "git+https://github.com/CESSProject/subxt?branch=polkadot-stable2412#acd41d5c83bb5155b3b76664fdca17d5ba1ce5fe" dependencies = [ - "frame-metadata 16.0.0", - "heck 0.4.1", + "base58", + "blake2 0.10.6", + "derive-where", + "frame-decode", + "frame-metadata 18.0.0", + "hashbrown 0.14.5", "hex", - "jsonrpsee 0.20.4", + "impl-serde 0.5.0", + "keccak-hash 0.11.0", "parity-scale-codec", - "proc-macro2", - "quote", + "polkadot-sdk", + "primitive-types 0.13.1", + "scale-bits 0.7.0", + "scale-decode 0.16.0", + "scale-encode 0.10.0", "scale-info", - "subxt-metadata", - "syn 2.0.91", - "thiserror 1.0.69", - "tokio", + "scale-value 0.18.0", + "serde", + "serde_json", + "subxt-metadata 0.38.0", + "thiserror 2.0.9", + "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.32.1" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10fd0ac9b091211f962b6ae19e26cd08e0b86efa064dfb7fac69c8f79f122329" +checksum = "9d9406fbdb9548c110803cb8afa750f8b911d51eefdf95474b11319591d225d9" dependencies = [ "futures", "futures-util", "serde", "serde_json", - "smoldot-light 0.6.0", + "smoldot-light 0.14.0", "thiserror 1.0.69", "tokio", "tokio-stream", "tracing", ] +[[package]] +name = "subxt-lightclient" +version = "0.38.0" +source = "git+https://github.com/CESSProject/subxt?branch=polkadot-stable2412#acd41d5c83bb5155b3b76664fdca17d5ba1ce5fe" +dependencies = [ + "futures", + "futures-util", + "serde", + "serde_json", + "smoldot-light 0.16.2", + "thiserror 2.0.9", + "tokio", + "tokio-stream", + "tracing", +] + [[package]] name = "subxt-macro" -version = "0.32.1" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12e8be9ab6fe88b8c13edbe15911e148482cfb905a8b8d5b8d766a64c54be0bd" +checksum = "1c195f803d70687e409aba9be6c87115b5da8952cd83c4d13f2e043239818fcd" dependencies = [ "darling 0.20.10", + "parity-scale-codec", "proc-macro-error", - "subxt-codegen", - "syn 2.0.91", + "quote", + "scale-typegen 0.8.0", + "subxt-codegen 0.37.0", + "syn 2.0.94", +] + +[[package]] +name = "subxt-macro" +version = "0.38.0" +source = "git+https://github.com/CESSProject/subxt?branch=polkadot-stable2412#acd41d5c83bb5155b3b76664fdca17d5ba1ce5fe" +dependencies = [ + "darling 0.20.10", + "parity-scale-codec", + "proc-macro-error2", + "quote", + "scale-typegen 0.10.0", + "subxt-codegen 0.38.0", + "subxt-utils-fetchmetadata", + "syn 2.0.94", ] [[package]] name = "subxt-metadata" -version = "0.32.1" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6898275765d36a37e5ef564358e0341cf41b5f3a91683d7d8b859381b65ac8a" +checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" dependencies = [ "frame-metadata 16.0.0", + "hashbrown 0.14.5", "parity-scale-codec", "scale-info", - "sp-core-hashing 9.0.0", - "thiserror 1.0.69", + "sp-crypto-hashing", +] + +[[package]] +name = "subxt-metadata" +version = "0.38.0" +source = "git+https://github.com/CESSProject/subxt?branch=polkadot-stable2412#acd41d5c83bb5155b3b76664fdca17d5ba1ce5fe" +dependencies = [ + "frame-decode", + "frame-metadata 18.0.0", + "hashbrown 0.14.5", + "parity-scale-codec", + "polkadot-sdk", + "scale-info", + "thiserror 2.0.9", +] + +[[package]] +name = "subxt-signer" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" +dependencies = [ + "bip32", + "bip39", + "cfg-if", + "hex", + "hmac 0.12.1", + "keccak-hash 0.10.0", + "parity-scale-codec", + "pbkdf2", + "regex", + "schnorrkel 0.11.4", + "secp256k1", + "secrecy", + "sha2 0.10.8", + "sp-crypto-hashing", + "subxt-core 0.37.1", + "zeroize", +] + +[[package]] +name = "subxt-utils-fetchmetadata" +version = "0.38.0" +source = "git+https://github.com/CESSProject/subxt?branch=polkadot-stable2412#acd41d5c83bb5155b3b76664fdca17d5ba1ce5fe" +dependencies = [ + "hex", + "parity-scale-codec", + "thiserror 2.0.9", ] [[package]] @@ -19829,9 +20301,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.91" +version = "2.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53cbcb5a243bd33b7858b1d7f4aca2153490815872d86d955d6ea29f743c035" +checksum = "987bc0be1cdea8b10216bd06e2ca407d40b9543468fafd3ddfb02f36e77f71f3" dependencies = [ "proc-macro2", "quote", @@ -19847,7 +20319,7 @@ dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -19885,7 +20357,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -19895,7 +20367,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ "bitflags 2.6.0", - "core-foundation", + "core-foundation 0.9.4", "system-configuration-sys", ] @@ -19929,12 +20401,13 @@ checksum = "42a4d50cdb458045afc8131fd91b64904da29548bcb63c7236e0844936c13078" [[package]] name = "tempfile" -version = "3.14.0" +version = "3.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" dependencies = [ "cfg-if", "fastrand 2.3.0", + "getrandom", "once_cell", "rustix 0.38.42", "windows-sys 0.59.0", @@ -19967,15 +20440,15 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" -version = "10.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", "polkadot-core-primitives", "rococo-runtime-constants", "smallvec", - "sp-runtime 39.0.5", + "sp-runtime", "staging-xcm", "westend-runtime-constants", ] @@ -20015,7 +20488,7 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -20026,7 +20499,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -20037,7 +20510,7 @@ checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -20065,19 +20538,6 @@ dependencies = [ "num_cpus", ] -[[package]] -name = "thrift" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b82ca8f46f95b3ce96081fe3dd89160fdea970c254bb72925255d1b62aae692e" -dependencies = [ - "byteorder", - "integer-encoding", - "log", - "ordered-float", - "threadpool", -] - [[package]] name = "tikv-jemalloc-ctl" version = "0.5.4" @@ -20141,25 +20601,6 @@ dependencies = [ "time-core", ] -[[package]] -name = "tiny-bip39" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" -dependencies = [ - "anyhow", - "hmac 0.12.1", - "once_cell", - "pbkdf2 0.11.0", - "rand 0.8.5", - "rustc-hash 1.1.0", - "sha2 0.10.8", - "thiserror 1.0.69", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - [[package]] name = "tiny-keccak" version = "2.0.2" @@ -20230,7 +20671,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -20254,6 +20695,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.4", + "rustls-pki-types 1.10.1", + "tokio", +] + [[package]] name = "tokio-rustls" version = "0.26.1" @@ -20382,7 +20834,7 @@ dependencies = [ "prost 0.11.9", "tokio", "tokio-stream", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", "tracing", @@ -20421,6 +20873,21 @@ dependencies = [ "tracing", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper 1.0.2", + "tokio", + "tower-layer", + "tower-service", +] + [[package]] name = "tower-http" version = "0.5.2" @@ -20469,7 +20936,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -20494,8 +20961,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "coarsetime", "polkadot-primitives", @@ -20506,24 +20973,13 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "expander", "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.91", -] - -[[package]] -name = "tracing-log" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" -dependencies = [ - "log", - "once_cell", - "tracing-core", + "syn 2.0.94", ] [[package]] @@ -20537,45 +20993,13 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" -dependencies = [ - "ansi_term", - "chrono", - "lazy_static", - "matchers 0.0.1", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log 0.1.4", - "tracing-serde", -] - [[package]] name = "tracing-subscriber" version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" dependencies = [ - "matchers 0.1.0", + "matchers", "nu-ansi-term", "once_cell", "parking_lot 0.12.3", @@ -20586,20 +21010,7 @@ dependencies = [ "time 0.3.37", "tracing", "tracing-core", - "tracing-log 0.2.0", -] - -[[package]] -name = "trie-db" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" -dependencies = [ - "hash-db", - "hashbrown 0.13.2", - "log", - "rustc-hex", - "smallvec", + "tracing-log", ] [[package]] @@ -20785,6 +21196,18 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "uint" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909988d098b2f738727b161a106cfc7cab00c539c2687a8836f8e565976fb53e" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + [[package]] name = "unarray" version = "0.1.4" @@ -20965,15 +21388,15 @@ checksum = "70a3028804c8bbae2a97a15b71ffc0e308c4b01a520994aafa77d56e94e19024" dependencies = [ "ark-bls12-377", "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "arrayref", "constcat", "digest 0.10.7", "rand 0.8.5", - "rand_chacha 0.3.1", + "rand_chacha", "rand_core 0.6.4", "sha2 0.10.8", "sha3", @@ -21015,12 +21438,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.10.0+wasi-snapshot-preview1" @@ -21063,7 +21480,7 @@ dependencies = [ "log", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "wasm-bindgen-shared", ] @@ -21098,7 +21515,7 @@ checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -21173,20 +21590,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "wasmi" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51fb5c61993e71158abf5bb863df2674ca3ec39ed6471c64f07aeaf751d67b4" -dependencies = [ - "intx", - "smallvec", - "spin 0.9.8", - "wasmi_arena", - "wasmi_core 0.12.0", - "wasmparser-nostd", -] - [[package]] name = "wasmi" version = "0.31.2" @@ -21229,23 +21632,11 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" dependencies = [ - "ahash 0.8.11", + "ahash", "hashbrown 0.14.5", "string-interner", ] -[[package]] -name = "wasmi_core" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7" -dependencies = [ - "downcast-rs", - "libm", - "num-traits", - "paste", -] - [[package]] name = "wasmi_core" version = "0.13.0" @@ -21531,8 +21922,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "18.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "binary-merkle-tree", "bitvec", @@ -21568,6 +21959,7 @@ dependencies = [ "pallet-indices", "pallet-membership", "pallet-message-queue", + "pallet-migrations", "pallet-mmr", "pallet-multisig", "pallet-nomination-pools", @@ -21609,24 +22001,25 @@ dependencies = [ "serde_json", "smallvec", "sp-api", - "sp-application-crypto 38.0.0", - "sp-arithmetic 26.0.0", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 34.0.0", + "sp-core", "sp-genesis-builder", "sp-inherents", - "sp-io 38.0.0", + "sp-io", + "sp-keyring", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 39.0.5", + "sp-runtime", "sp-session", "sp-staking", - "sp-storage 21.0.0", + "sp-storage", "sp-transaction-pool", "sp-version", "staging-xcm", @@ -21639,16 +22032,16 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 34.0.0", - "sp-runtime 39.0.5", - "sp-weights 31.0.0", + "sp-core", + "sp-runtime", + "sp-weights", "staging-xcm", "staging-xcm-builder", ] @@ -21996,9 +22389,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.20" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" +checksum = "e6f5bb5257f2407a5425c6e749bfd9692192a73e70a6060516ac04f889087d68" dependencies = [ "memchr", ] @@ -22040,7 +22433,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.3", + "curve25519-dalek", "rand_core 0.6.4", "serde", "zeroize", @@ -22093,33 +22486,33 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "10.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "xcm-runtime-apis" -version = "0.4.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "sp-api", - "sp-weights 31.0.0", + "sp-weights", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "xcm-simulator" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -22130,9 +22523,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-parachains", "scale-info", - "sp-io 38.0.0", - "sp-runtime 39.0.5", - "sp-std 14.0.0", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -22239,6 +22632,12 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff4524214bc4629eba08d78ceb1d6507070cc0bcbbed23af74e19e6e924a24cf" +[[package]] +name = "yap" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe269e7b803a5e8e20cbd97860e136529cd83bf2c9c6d37b142467e7e1f051f" + [[package]] name = "yasna" version = "0.5.2" @@ -22268,7 +22667,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "synstructure 0.13.1", ] @@ -22290,7 +22689,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -22310,7 +22709,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "synstructure 0.13.1", ] @@ -22331,7 +22730,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -22353,7 +22752,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 2103ac5c..a677e034 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,198 +92,199 @@ repository = "https://github.com/CESSProject/cess" [workspace.dependencies] # ---- Substrate crates begin ---- # primitives -sp-api = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-application-crypto = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-authority-discovery = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-block-builder = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-blockchain = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sp-consensus = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-consensus-babe = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-consensus-beefy = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-consensus-grandpa = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-consensus-slots = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-core = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-crypto-hashing = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-externalities = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-genesis-builder = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-inherents = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-io = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-keyring = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sp-keystore = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-npos-elections = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-offchain = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-runtime = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-runtime-interface = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-session = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-staking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-state-machine = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-statement-store = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-std = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-storage = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-timestamp = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-tracing = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-transaction-pool = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-transaction-storage-proof = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-trie = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-version = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -sp-consensus-aura = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } +sp-api = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-application-crypto = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-authority-discovery = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-block-builder = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-blockchain = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-consensus = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-consensus-aura = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-consensus-babe = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-consensus-beefy = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-consensus-grandpa = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-consensus-slots = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-core = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-crypto-hashing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-externalities = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-genesis-builder = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-inherents = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-io = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-keyring = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-keystore = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-npos-elections = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-offchain = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-runtime = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-runtime-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-session = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-staking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-state-machine = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-statement-store = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-std = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-storage = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-timestamp = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-tracing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-transaction-pool = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-transaction-storage-proof = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-trie = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-version = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +sp-weights = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } # frames -frame-support = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-system = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-executive = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-election-provider-support = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-metadata-hash-extension = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-system-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-try-runtime = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -frame-support-test = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } +frame-support = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-system = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-executive = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-election-provider-support = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-system-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-try-runtime = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +frame-support-test = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } # pallets -pallet-assets = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-asset-rate = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-asset-tx-payment = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-asset-conversion = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-asset-conversion-tx-payment = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-aura = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-democracy = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-uniques = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-preimage = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-balances = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-beefy = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-beefy-mmr = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-insecure-randomness-collective-flip = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-timestamp = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-scheduler = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-collective = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-contracts = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-im-online = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-sudo = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-treasury = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-transaction-payment = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-transaction-storage = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-authority-discovery = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-authorship = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-babe = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-bags-list = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-bounties = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-child-bounties = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-election-provider-support-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-fast-unstake = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-grandpa = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-indices = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-identity = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-lottery = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-membership = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-multisig = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-mmr = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-migrations = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-nomination-pools = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-nomination-pools-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-nomination-pools-runtime-api = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-offences = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-offences-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-proxy = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-recovery = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-session = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false, features = [ +pallet-assets = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-asset-rate = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-asset-tx-payment = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-asset-conversion = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-asset-conversion-tx-payment = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-aura = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-democracy = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-uniques = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-preimage = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-balances = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-beefy = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-beefy-mmr = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-insecure-randomness-collective-flip = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-timestamp = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-scheduler = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-collective = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-contracts = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-im-online = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-sudo = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-treasury = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-transaction-payment = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-transaction-storage = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-authority-discovery = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-authorship = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-babe = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-bags-list = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-bounties = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-child-bounties = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-election-provider-support-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-fast-unstake = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-grandpa = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-indices = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-identity = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-lottery = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-membership = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-multisig = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-mmr = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-migrations = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-nomination-pools = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-nomination-pools-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-nomination-pools-runtime-api = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-offences = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-offences-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-proxy = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-recovery = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-session = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false, features = [ "historical", ] } -pallet-session-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-staking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-state-trie-migration = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-society = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-tips = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-utility = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-vesting = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -pallet-parameters = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } +pallet-session-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-staking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-state-trie-migration = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-society = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-tips = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-utility = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-vesting = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +pallet-parameters = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } # client dependencies -grandpa = { package = "sc-consensus-grandpa", git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-authority-discovery = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-basic-authorship = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-block-builder = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-chain-spec = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-cli = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-client-api = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-client-db = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus-babe = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus-babe-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus-epochs = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus-grandpa = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus-grandpa-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus-manual-seal = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-consensus-slots = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-executor = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-keystore = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-network = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-network-common = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-network-sync = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-network-statement = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-network-test = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-offchain = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-rpc-api = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-rpc-spec-v2 = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-service = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-service-test = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-statement-store = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-storage-monitor = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-sync-state-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-sysinfo = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-telemetry = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-transaction-pool = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sc-transaction-pool-api = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } +grandpa = { package = "sc-consensus-grandpa", git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-authority-discovery = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-basic-authorship = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-block-builder = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-chain-spec = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-cli = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-client-api = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-client-db = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus-babe = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus-babe-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus-epochs = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus-grandpa = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus-grandpa-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus-manual-seal = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-consensus-slots = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-executor = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-keystore = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-network = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-network-common = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-network-sync = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-network-statement = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-network-test = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-offchain = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-rpc-api = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-rpc-spec-v2 = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-service = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-service-test = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-statement-store = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-storage-monitor = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-sync-state-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-sysinfo = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-telemetry = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-transaction-pool = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sc-transaction-pool-api = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } -substrate-state-trie-migration-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -substrate-wasm-builder = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -node-inspect = { package = "staging-node-inspect", git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } -try-runtime-cli = { git = "https://github.com/CESSProject/try-runtime-cli.git", branch = "stable2409", default-features = false } -substrate-frame-cli = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -substrate-build-script-utils = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -substrate-rpc-client = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -substrate-frame-rpc-system = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -mmr-rpc = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -substrate-test-utils = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -fork-tree = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -substrate-test-runtime-client = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } +substrate-state-trie-migration-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +substrate-wasm-builder = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +node-inspect = { package = "staging-node-inspect", git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } +try-runtime-cli = { git = "https://github.com/CESSProject/try-runtime-cli", branch = "stable2412", default-features = false } +substrate-frame-cli = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +substrate-build-script-utils = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +substrate-rpc-client = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +substrate-frame-rpc-system = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +mmr-rpc = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +substrate-test-utils = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +fork-tree = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +substrate-test-runtime-client = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } -polkadot-sdk = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409", default-features = false } +polkadot-sdk = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412", default-features = false } # ---- Substrate crates end ---- # ---- Frontier crates begin ---- -fp-account = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fp-evm = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fp-rpc = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fp-self-contained = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fp-dynamic-fee = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } +fp-account = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fp-evm = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fp-rpc = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fp-self-contained = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fp-dynamic-fee = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } -pallet-base-fee = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -pallet-dynamic-fee = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -pallet-ethereum = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -pallet-evm = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } +pallet-base-fee = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +pallet-dynamic-fee = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +pallet-ethereum = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +pallet-evm = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } -fc-api = { git = "https://github.com/CESSProject/frontier", branch = "stable2409" } -fc-cli = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fc-consensus = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fc-db = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fc-mapping-sync = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fc-rpc = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fc-rpc-core = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } -fc-storage = { git = "https://github.com/CESSProject/frontier", branch = "stable2409", default-features = false } +fc-api = { git = "https://github.com/CESSProject/frontier", branch = "stable2412" } +fc-cli = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fc-consensus = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fc-db = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fc-mapping-sync = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fc-rpc = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fc-rpc-core = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } +fc-storage = { git = "https://github.com/CESSProject/frontier", branch = "stable2412", default-features = false } # ---- Frontier crates end ---- # ---- Generic crates begin ---- @@ -311,10 +312,10 @@ derive_more = { version = "1.0.0", default-features = false, features = [ "display", ] } derive_wrapper = "0.1.7" -der = { version = "0.7.8", default-features = false } +der = { version = "0.7", default-features = false } either = "1.8.1" env_logger = "0.11" -ethabi = { version = "18.0", default-features = false } +ethabi = { git = "https://github.com/CESSProject/ethabi", branch = "upgrade-ethereum-types", default-features = false } environmental = { version = "1.1", default-features = false } finality-grandpa = { version = "0.16", default-features = false, features = [ "derive-codec", @@ -332,7 +333,7 @@ hex-literal = "0.4.1" humantime = "2.1.0" h2 = { version = "0.4" } im = { version = "15", default-features = false } -impl-serde = "0.4.0" +impl-serde = "0.5.0" insta = "1" itertools = { version = "0.13", default-features = false } jsonrpsee = { version = "0.24.3" } @@ -350,7 +351,7 @@ once_cell = "1" parity-scale-codec = { version = "3.6.12", default-features = false } parking_lot = "0.12" platforms = "3.0" -primitive-types = { version = "0.12.2", default-features = false } +primitive-types = { version = "0.13.1", default-features = false } proc-macro2 = "1.0" prost = { version = "0.11", default-features = false, features = [ "prost-derive", @@ -390,7 +391,7 @@ spin = { version = "0.9", default-features = false, features = [ "use_ticket_mutex", ] } static_assertions = "1.1.0" -subxt = { version = "0.32.1", default-features = false } +subxt = { git = "https://github.com/CESSProject/subxt", branch = "polkadot-stable2412", default-features = false } syn = "2.0" tempfile = "3.10" thiserror = "1.0" @@ -474,8 +475,33 @@ cess-node-primitives = { path = "standalone/chain/primitives", default-features [patch.crates-io] ring = { git = "https://github.com/jasl/ring-xous", branch = "better-wasm32-support" } -sp-application-crypto = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sp-core = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sp-runtime = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -sp-externalities = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } -frame-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk.git", branch = "stable2409" } +frame-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-application-crypto = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-core = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-crypto-ec-utils = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-crypto-hashing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-debug-derive = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-externalities = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface-proc-macro = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-std = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-storage = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-tracing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-wasm-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } + + +[patch."https://github.com/paritytech/polkadot-sdk"] +frame-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-application-crypto = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-core = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-crypto-ec-utils = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-debug-derive = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-externalities = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface-proc-macro = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-std = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-storage = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-tracing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-wasm-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } \ No newline at end of file diff --git a/Makefile b/Makefile index 309eb3ee..b6e76f64 100644 --- a/Makefile +++ b/Makefile @@ -29,17 +29,17 @@ cifrost: handover: cargo build -p handover --release ceseal: - make -C standalone/teeworker/ceseal + $(MAKE) -C standalone/teeworker/ceseal BUILD=${BUILD} OA=${OA} VC=${VC} test: cargo test --workspace --exclude node-executor --exclude cess-node clippy: cargo clippy --tests - make clippy -C standalone/teeworker/ceseal + $(MAKE) clippy -C standalone/teeworker/ceseal lint: cargo dylint --all --workspace clean: cargo clean - make -C standalone/teeworker/ceseal clean + $(MAKE) -C standalone/teeworker/ceseal clean diff --git a/crates/ces-pdp/src/lib.rs b/crates/ces-pdp/src/lib.rs index 08b0ce2e..de6178e6 100644 --- a/crates/ces-pdp/src/lib.rs +++ b/crates/ces-pdp/src/lib.rs @@ -423,7 +423,7 @@ impl Keys { Ok(sigma.to_string()) } - pub fn aggr_append_proof(&self, mut aggr_sigma: String, mut sub_sigma: String) -> Result { + pub fn aggr_append_proof(&self, mut aggr_sigma: String, sub_sigma: String) -> Result { let n = num_bigint::BigUint::from_bytes_be(&self.pkey.n().to_bytes_be()); if aggr_sigma == "".to_string() { aggr_sigma = "1".to_string() @@ -431,7 +431,7 @@ impl Keys { let mut sigma = num_bigint::BigUint::from_str(&aggr_sigma) .map_err(|e| PDPError { error_code: FailCode::InternalError(e.to_string()) })?; - let mut sub_sigma = num_bigint::BigUint::from_str(&sub_sigma) + let sub_sigma = num_bigint::BigUint::from_str(&sub_sigma) .map_err(|e| PDPError { error_code: FailCode::InternalError(e.to_string()) })?; sigma = sigma * sub_sigma; sigma = sigma.mod_floor(&n); diff --git a/crates/cestory/src/light_validation/error.rs b/crates/cestory/src/light_validation/error.rs index b06b763b..f3237f6e 100644 --- a/crates/cestory/src/light_validation/error.rs +++ b/crates/cestory/src/light_validation/error.rs @@ -2,6 +2,7 @@ use derive_more::{Display, From}; /// Substrate Client error #[derive(Debug, Display, From)] +#[allow(dead_code)] pub enum JustificationError { /// Error decoding header justification. #[display("error decoding justification for header")] diff --git a/crates/cestory/src/light_validation/justification.rs b/crates/cestory/src/light_validation/justification.rs index 344bfa99..051e4a38 100644 --- a/crates/cestory/src/light_validation/justification.rs +++ b/crates/cestory/src/light_validation/justification.rs @@ -37,6 +37,7 @@ use sp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor}; /// This is meant to be stored in the db and passed around the network to other /// nodes, and are used by syncing nodes to prove authority set handoffs. #[derive(Clone, Encode, Decode, PartialEq, Eq, Debug)] +#[allow(dead_code)] pub struct GrandpaJustification { /// The GRANDPA justification for block finality. pub justification: sp_consensus_grandpa::GrandpaJustification, @@ -60,6 +61,7 @@ impl Into GrandpaJustification { /// Decode a GRANDPA justification and validate the commit and the votes' /// ancestry proofs finalize the given block. + #[allow(dead_code)] pub fn decode_and_verify_finalizes( encoded: &[u8], finalized_target: (Block::Hash, NumberFor), @@ -70,16 +72,7 @@ impl GrandpaJustification { where NumberFor: finality_grandpa::BlockNumberOps, { - let mut justification = GrandpaJustification::::decode(&mut &*encoded).map_err(|e| { - // log::error!( - // "decode justification error:{:?}, block:{:?}, input(len:{}):{}", - // e, - // finalized_target.1, - // encoded.len(), - // hex::encode(encoded) - // ); - ClientError::JustificationDecode - })?; + let mut justification = GrandpaJustification::::decode(&mut &*encoded).map_err(|_| ClientError::JustificationDecode)?; justification.grandpa_note_stalled = grandpa_note_stalled; if (justification.justification.commit.target_hash, justification.justification.commit.target_number) @@ -197,6 +190,7 @@ impl GrandpaJustification { /// A utility trait implementing `finality_grandpa::Chain` using a given set of headers. /// This is useful when validating commits, using the given set of headers to /// verify a valid ancestry route to the target commit block. +#[allow(dead_code)] struct AncestryChain { ancestry: HashMap, } diff --git a/crates/cestory/src/light_validation/mod.rs b/crates/cestory/src/light_validation/mod.rs index 230cf7f9..b5e8c70e 100644 --- a/crates/cestory/src/light_validation/mod.rs +++ b/crates/cestory/src/light_validation/mod.rs @@ -14,9 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Substrate. If not, see . -// Ensure we're `no_std` when compiling for Wasm. -// #![cfg_attr(not(feature = "std"), no_std)] - mod error; mod justification; pub mod storage_proof; @@ -27,7 +24,6 @@ use ces_serde_more as more; use error::JustificationError; #[cfg(not(test))] use im::OrdMap as BTreeMap; -use justification::GrandpaJustification; use log::{error, trace}; use serde::{Deserialize, Serialize}; #[cfg(test)] @@ -36,7 +32,6 @@ use std::collections::BTreeMap; use std::{fmt, marker::PhantomData}; use storage_proof::{StorageProof, StorageProofChecker}; -use finality_grandpa::voter_set::VoterSet; use num_traits::AsPrimitive; use parity_scale_codec::{Decode, Encode}; use sp_consensus_grandpa::{AuthorityId, AuthorityWeight, SetId}; @@ -135,7 +130,7 @@ where bridge_id: BridgeId, header: BlockHeader, ancestry_proof: Vec, - grandpa_proof: EncodedJustification, + _grandpa_proof: EncodedJustification, ) -> Result<()> { let bridge = self .tracked_bridges @@ -146,31 +141,10 @@ where let last_header = &bridge.last_finalized_block_header; verify_ancestry(ancestry_proof, last_header.hash(), &header)?; - let block_hash = header.hash(); - let block_num = *header.number(); - // Check that the header has been finalized let voters = &bridge.current_set; - let voter_set = VoterSet::new(voters.list.clone()).unwrap(); let voter_set_id = voters.id; - // We don't really care about the justification, as long as it's valid - match GrandpaJustification::<::Block>::decode_and_verify_finalizes( - &grandpa_proof, - (block_hash, block_num.into()), - voter_set_id, - &voter_set, - self.grandpa_note_stalled, - ) { - Ok(_) => {}, - Err(JustificationError::JustificationDecode) if self.grandpa_note_stalled => { - log::debug!("grandpa_note_stalled is true, ignore JustificationDecode error"); - }, - Err(e) => { - return Err(anyhow::Error::msg(e)); - }, - } - match self.tracked_bridges.get_mut(&bridge_id) { Some(bridge_info) => { if let Some(scheduled_change) = find_scheduled_change(&header) { diff --git a/crates/cesxt/Cargo.toml b/crates/cesxt/Cargo.toml index c280a43e..94d98192 100644 --- a/crates/cesxt/Cargo.toml +++ b/crates/cesxt/Cargo.toml @@ -12,10 +12,11 @@ scale-encode = { workspace = true } anyhow = { workspace = true } tokio = { workspace = true } -subxt = { workspace = true, features = ["jsonrpsee", "native", "substrate-compat"] } -jsonrpsee = { version = "0.20" } # use the same version of jsonrpsee in subxt +subxt = { workspace = true, features = ["jsonrpsee", "native"] } +jsonrpsee = { workspace = true } primitive-types = { workspace = true, default-features = true } +sp-core = { workspace = true, default-features = true } +sp-runtime = { workspace = true, default-features = true } ces-types = { workspace = true, default-features = true } ces-node-rpc-ext-types = { workspace = true, default-features = true } -# ces-pallets = { workspace = true, default-features = true } diff --git a/crates/cesxt/src/chain_api.rs b/crates/cesxt/src/chain_api.rs index 887ef930..e3fb7571 100644 --- a/crates/cesxt/src/chain_api.rs +++ b/crates/cesxt/src/chain_api.rs @@ -10,8 +10,7 @@ use subxt::{ rpc::RpcClient as SubxtRpcClient, }, dynamic::Value, - ext::scale_encode::EncodeAsType, - storage::Storage, + storage::{Storage, StorageKey}, }; pub async fn connect(uri: &str) -> Result { @@ -19,7 +18,7 @@ pub async fn connect(uri: &str) -> Result { let rpc_client = SubxtRpcClient::new(wsc); let rpc_methods = LegacyRpcMethods::::new(rpc_client.clone()); let extra_rpc_methods = ExtraRpcMethods::::new(rpc_client.clone()); - let backend = LegacyBackend::new(rpc_client); + let backend = LegacyBackend::builder().build(rpc_client); let client = SubxtOnlineClient::from_backend(Arc::new(backend)) .await .context("Failed to connect to substrate")?; @@ -88,14 +87,14 @@ impl ChainApi { &self, pallet_name: &str, entry_name: &str, - key: &impl EncodeAsType, + keys: impl StorageKey, ) -> Result> { - let address = subxt::dynamic::storage(pallet_name, entry_name, vec![key]); + let address = subxt::dynamic::storage(pallet_name, entry_name, keys); Ok(self.storage().address_bytes(&address)?) } pub async fn current_set_id(&self, block_hash: Option) -> Result { - let address = subxt::dynamic::storage("Grandpa", "CurrentSetId", Vec::<()>::new()); + let address = subxt::dynamic::storage("Grandpa", "CurrentSetId", ()); let set_id = self .storage_at(block_hash) .await? diff --git a/crates/cesxt/src/dynamic.rs b/crates/cesxt/src/dynamic.rs index b12233f9..4abe1db2 100644 --- a/crates/cesxt/src/dynamic.rs +++ b/crates/cesxt/src/dynamic.rs @@ -1,5 +1,7 @@ pub mod tx; +use subxt::dynamic::{self, Value}; + pub fn storage_key(pallet: &str, entry: &str) -> Vec { - ::subxt::dynamic::storage(pallet, entry, Vec::<()>::new()).to_root_bytes() + dynamic::storage(pallet, entry, Vec::::new()).to_root_bytes() } diff --git a/crates/cesxt/src/dynamic/tx.rs b/crates/cesxt/src/dynamic/tx.rs index 8803f588..fa0c3c9d 100644 --- a/crates/cesxt/src/dynamic/tx.rs +++ b/crates/cesxt/src/dynamic/tx.rs @@ -1,6 +1,6 @@ use ces_types::messaging::SignedMessage; use parity_scale_codec::Encode; -use subxt::{tx::TxPayload, utils::Encoded}; +use subxt::{ext::subxt_core::Error as SubxtCoreError, tx::Payload, utils::Encoded}; #[derive(Clone, Debug, Eq, PartialEq)] pub struct EncodedPayload { @@ -19,12 +19,12 @@ impl EncodedPayload { } } -impl TxPayload for EncodedPayload { +impl Payload for EncodedPayload { fn encode_call_data_to( &self, metadata: &subxt::Metadata, out: &mut Vec, - ) -> Result<(), subxt::Error> { + ) -> Result<(), SubxtCoreError> { let pallet = metadata.pallet_by_name_err(self.pallet_name)?; let call = pallet.call_variant_by_name(self.call_name).ok_or_else(|| { subxt::error::MetadataError::CallNameNotFound((*self.call_name).to_owned()) diff --git a/crates/cesxt/src/lib.rs b/crates/cesxt/src/lib.rs index 71d9c51d..26b5eeec 100644 --- a/crates/cesxt/src/lib.rs +++ b/crates/cesxt/src/lib.rs @@ -8,8 +8,6 @@ mod chain_api; pub mod dynamic; pub mod rpc; -pub use subxt::ext::sp_core; - #[derive(Encode, Decode, Clone, PartialEq, Eq, TypeInfo, PartialOrd, Ord, Debug, EncodeAsType)] pub struct ParaId(pub u32); @@ -29,28 +27,91 @@ pub type BlockNumber = u32; pub type Hash = primitive_types::H256; pub type AccountId = ::AccountId; -/// A wrapper for subxt::tx::PairSigner to make it compatible with older API. -pub struct PairSigner { - pub signer: subxt::tx::PairSigner, - nonce: u64, +pub mod sp_core { + pub use sp_core::*; } -impl PairSigner { - pub fn new(pair: sp_core::sr25519::Pair) -> Self { - Self { - signer: subxt::tx::PairSigner::new(pair), - nonce: 0, - } - } - pub fn increment_nonce(&mut self) { - self.nonce += 1; - } - pub fn nonce(&self) -> u64 { - self.nonce + +pub use pair_signer::PairSigner; + +/// A concrete PairSigner implementation which relies on `sr25519::Pair` for signing +/// and that PolkadotConfig is the runtime configuration. +mod pair_signer { + use sp_core::{sr25519, Pair as _}; + use subxt::{Config, PolkadotConfig}; + + use sp_runtime::{ + traits::{IdentifyAccount, Verify}, + MultiSignature as SpMultiSignature, + }; + use subxt::{ + config::substrate::{AccountId32, MultiSignature}, + tx::Signer, + }; + + /// A [`Signer`] implementation for [`polkadot_sdk::sp_core::sr25519::Pair`]. + #[derive(Clone)] + pub struct PairSigner { + account_id: ::AccountId, + signer: sr25519::Pair, + nonce: u64, } - pub fn set_nonce(&mut self, nonce: u64) { - self.nonce = nonce; + + impl PairSigner { + /// Creates a new [`Signer`] from an [`sp_core::sr25519::Pair`]. + pub fn new(signer: sr25519::Pair) -> Self { + let account_id = + ::Signer::from(signer.public()).into_account(); + Self { + // Convert `sp_core::AccountId32` to `subxt::config::substrate::AccountId32`. + // + // This is necessary because we use `subxt::config::substrate::AccountId32` and no + // From/Into impls are provided between `sp_core::AccountId32` because `polkadot-sdk` isn't a direct + // dependency in subxt. + // + // This can also be done by provided a wrapper type around `subxt::config::substrate::AccountId32` to implement + // such conversions but that also most likely requires a custom `Config` with a separate `AccountId` type to work + // properly without additional hacks. + account_id: AccountId32(account_id.into()), + signer, + nonce: 0, + } + } + + /// Returns the [`sp_core::sr25519::Pair`] implementation used to construct this. + pub fn signer(&self) -> &sr25519::Pair { + &self.signer + } + + /// Return the account ID. + pub fn account_id(&self) -> &AccountId32 { + &self.account_id + } + + pub fn increment_nonce(&mut self) { + self.nonce += 1; + } + + pub fn nonce(&self) -> u64 { + self.nonce + } + + pub fn set_nonce(&mut self, nonce: u64) { + self.nonce = nonce; + } } - pub fn account_id(&self) -> &AccountId { - self.signer.account_id() + + impl Signer for PairSigner { + fn account_id(&self) -> ::AccountId { + self.account_id.clone() + } + + fn address(&self) -> ::Address { + self.account_id.clone().into() + } + + fn sign(&self, signer_payload: &[u8]) -> ::Signature { + let signature = self.signer.sign(signer_payload); + MultiSignature::Sr25519(signature.0) + } } } diff --git a/crates/cesxt/src/rpc.rs b/crates/cesxt/src/rpc.rs index f22d654c..bcdfb8f6 100644 --- a/crates/cesxt/src/rpc.rs +++ b/crates/cesxt/src/rpc.rs @@ -7,7 +7,7 @@ use subxt::{ }; pub use subxt::backend::legacy::rpc_methods::{Bytes, NumberOrHex as BlockNumberOrHex}; -pub use subxt::ext::sp_core::storage::{StorageData, StorageKey}; +pub use sp_core::storage::{StorageData, StorageKey}; pub struct ExtraRpcMethods { client: RpcClient, diff --git a/crates/rrsc/pallet/src/equivocation.rs b/crates/rrsc/pallet/src/equivocation.rs index 14c059eb..10ebf2ce 100644 --- a/crates/rrsc/pallet/src/equivocation.rs +++ b/crates/rrsc/pallet/src/equivocation.rs @@ -110,7 +110,7 @@ impl OffenceReportSystem, (EquivocationProof>, T::KeyOwnerProof)> for EquivocationReportSystem where - T: Config + pallet_authorship::Config + frame_system::offchain::SendTransactionTypes>, + T: Config + pallet_authorship::Config + frame_system::offchain::CreateInherent>, R: ReportOffence< T::AccountId, P::IdentificationTuple, @@ -132,7 +132,8 @@ where equivocation_proof: Box::new(equivocation_proof), key_owner_proof, }; - let res = SubmitTransaction::>::submit_unsigned_transaction(call.into()); + let xt = T::create_inherent(call.into()); + let res = SubmitTransaction::>::submit_transaction(xt); match res { Ok(_) => info!(target: LOG_TARGET, "Submitted equivocation report"), Err(e) => error!(target: LOG_TARGET, "Error submitting equivocation report: {:?}", e), diff --git a/crates/rrsc/pallet/src/lib.rs b/crates/rrsc/pallet/src/lib.rs index a7b14dde..727a8789 100644 --- a/crates/rrsc/pallet/src/lib.rs +++ b/crates/rrsc/pallet/src/lib.rs @@ -59,10 +59,6 @@ mod vrf_solver; #[cfg(any(feature = "runtime-benchmarks", test))] mod benchmarking; -#[cfg(all(feature = "std", test))] -mod mock; -#[cfg(all(feature = "std", test))] -mod tests; pub use equivocation::{EquivocationOffence, EquivocationReportSystem}; #[allow(deprecated)] diff --git a/crates/rrsc/rpc/src/lib.rs b/crates/rrsc/rpc/src/lib.rs index 6ae48798..48bead75 100644 --- a/crates/rrsc/rpc/src/lib.rs +++ b/crates/rrsc/rpc/src/lib.rs @@ -188,93 +188,4 @@ impl From for ErrorObjectOwned { Error::UnsafeRpcCalled(e) => e.into(), } } -} - -#[cfg(test)] -mod tests { - use super::*; - use cessc_consensus_rrsc::ImportQueueParams; - use sc_rpc_api::DenyUnsafe; - use sc_transaction_pool_api::{OffchainTransactionPoolFactory, RejectAllTxPool}; - use cessp_consensus_rrsc::{inherents::InherentDataProvider, KEY_TYPE as RRSC_KEY}; - use sp_core::testing::TaskExecutor; - use sp_keyring::Sr25519Keyring; - use sp_keystore::{testing::MemoryKeystore, Keystore}; - use substrate_test_runtime_client::{ - runtime::Block, Backend, DefaultTestClientBuilderExt, TestClient, TestClientBuilder, - TestClientBuilderExt, - }; - - fn create_keystore(authority: Sr25519Keyring) -> KeystorePtr { - let keystore = MemoryKeystore::new(); - keystore - .sr25519_generate_new(RRSC_KEY, Some(&authority.to_seed())) - .expect("Creates authority key"); - keystore.into() - } - - fn test_rrsc_rpc_module() -> RRSC> - { - let builder = TestClientBuilder::new(); - let (client, longest_chain) = builder.build_with_longest_chain(); - let client = Arc::new(client); - let task_executor = TaskExecutor::new(); - let keystore = create_keystore(Sr25519Keyring::Alice); - - let config = cessc_consensus_rrsc::configuration(&*client).expect("config available"); - let slot_duration = config.slot_duration(); - - let (block_import, link) = - cessc_consensus_rrsc::block_import(config.clone(), client.clone(), client.clone()) - .expect("can initialize block-import"); - - let (_, rrsc_worker_handle) = cessc_consensus_rrsc::import_queue(ImportQueueParams { - link: link.clone(), - block_import: block_import.clone(), - justification_import: None, - client: client.clone(), - select_chain: longest_chain.clone(), - create_inherent_data_providers: move |_, _| async move { - Ok((InherentDataProvider::from_timestamp_and_slot_duration( - 0.into(), - slot_duration, - ),)) - }, - spawner: &task_executor, - registry: None, - telemetry: None, - offchain_tx_pool_factory: OffchainTransactionPoolFactory::new( - RejectAllTxPool::default(), - ), - }) - .unwrap(); - - RRSC::new(client.clone(), rrsc_worker_handle, keystore, longest_chain) - } - - #[tokio::test] - async fn epoch_authorship_works() { - let rrsc_rpc = test_rrsc_rpc_module(); - let mut api = rrsc_rpc.into_rpc(); - api.extensions_mut().insert(DenyUnsafe::No); - - let request = r#"{"jsonrpc":"2.0","id":1,"method":"rrsc_epochAuthorship","params":[]}"#; - let (response, _) = api.raw_json_request(request, 1).await.unwrap(); - let expected = r#"{"jsonrpc":"2.0","id":1,"result":{"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY":{"primary":[0],"secondary":[],"secondary_vrf":[1,2,4]}}}"#; - - assert_eq!(response, expected); - } - - #[tokio::test] - async fn epoch_authorship_is_unsafe() { - let rpc = test_rrsc_rpc_module(); - let mut api = rpc.into_rpc(); - api.extensions_mut().insert(DenyUnsafe::Yes); - - let request = r#"{"jsonrpc":"2.0","method":"rrsc_epochAuthorship","params":[],"id":1}"#; - let (response, _) = api.raw_json_request(request, 1).await.unwrap(); - let expected = r#"{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"RPC call is unsafe to be called externally"}}"#; - - assert_eq!(response, expected); - } -} +} \ No newline at end of file diff --git a/crates/rrsc/src/authorship.rs b/crates/rrsc/src/authorship.rs index 8bd0e3b4..3800c6e2 100644 --- a/crates/rrsc/src/authorship.rs +++ b/crates/rrsc/src/authorship.rs @@ -108,7 +108,8 @@ pub(super) fn secondary_slot_author( return None } - let rand = U256::from((randomness, slot).using_encoded(sp_crypto_hashing::blake2_256)); + let rand = + U256::from_big_endian(&(randomness, slot).using_encoded(sp_crypto_hashing::blake2_256)); let authorities_len = U256::from(authorities.len()); let idx = rand % authorities_len; diff --git a/crates/rrsc/src/lib.rs b/crates/rrsc/src/lib.rs index 088d4d67..20727588 100644 --- a/crates/rrsc/src/lib.rs +++ b/crates/rrsc/src/lib.rs @@ -145,8 +145,6 @@ mod verification; pub mod authorship; pub mod aux_schema; -#[cfg(test)] -mod tests; const LOG_TARGET: &str = "rrsc"; @@ -1146,7 +1144,9 @@ where let info = self.client.info(); let number = *block.header.number(); - if info.block_gap.map_or(false, |(s, e)| s <= number && number <= e) || block.with_state() { + if info.block_gap.map_or(false, |gap| gap.start <= number && number <= gap.end) || + block.with_state() + { // Verification for imported blocks is skipped in two cases: // 1. When importing blocks below the last finalized block during network initial // synchronization. @@ -1420,7 +1420,7 @@ where // Skip rrsc logic if block already in chain or importing blocks during initial sync, // otherwise the check for epoch changes will error because trying to re-import an // epoch change or because of missing epoch data in the tree, respectivelly. - if info.block_gap.map_or(false, |(s, e)| s <= number && number <= e) || + if info.block_gap.map_or(false, |gap| gap.start <= number && number <= gap.end) || block_status == BlockStatus::InChain { // When re-importing existing block strip away intermediates. diff --git a/crates/rrsc/src/tests.rs b/crates/rrsc/src/tests.rs deleted file mode 100644 index 1f40f120..00000000 --- a/crates/rrsc/src/tests.rs +++ /dev/null @@ -1,1357 +0,0 @@ -// This file is part of Substrate. - -// Copyright (C) Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 - -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -//! RRSC testsuite - -use super::*; -use authorship::claim_slot; -use sc_block_builder::{BlockBuilder, BlockBuilderBuilder}; -use sc_client_api::{BlockchainEvents, Finalizer}; -use sc_consensus::{BoxBlockImport, BoxJustificationImport}; -use sc_consensus_epochs::{EpochIdentifier, EpochIdentifierPosition}; -use sc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging; -use sc_network_test::{Block as TestBlock, *}; -use sc_transaction_pool_api::RejectAllTxPool; -use cessp_consensus_rrsc::KEY_TYPE as RRSC; -use sp_consensus::{DisableProofRecording, NoNetwork as DummyOracle, Proposal}; -use cessp_consensus_rrsc::{ - inherents::InherentDataProvider, make_vrf_sign_data, AllowedSlots, AuthorityId, AuthorityPair, - Slot, -}; -use sp_consensus_slots::SlotDuration; -use sp_core::crypto::Pair; -use sp_keyring::Sr25519Keyring; -use sp_keystore::{testing::MemoryKeystore, Keystore}; -use sp_runtime::{ - generic::{Digest, DigestItem}, - traits::Block as BlockT, -}; -use sp_timestamp::Timestamp; -use std::{cell::RefCell, task::Poll, time::Duration}; - -type Item = DigestItem; - -type Error = sp_blockchain::Error; - -type TestClient = substrate_test_runtime_client::client::Client< - substrate_test_runtime_client::Backend, - substrate_test_runtime_client::ExecutorDispatch, - TestBlock, - substrate_test_runtime_client::runtime::RuntimeApi, ->; - -#[derive(Copy, Clone, PartialEq)] -enum Stage { - PreSeal, - PostSeal, -} - -type Mutator = Arc; - -type RRSCBlockImport = - PanickingBlockImport>>; - -const SLOT_DURATION_MS: u64 = 1000; - -#[derive(Clone)] -struct DummyFactory { - client: Arc, - epoch_changes: SharedEpochChanges, - mutator: Mutator, -} - -struct DummyProposer { - factory: DummyFactory, - parent_hash: Hash, -} - -impl Environment for DummyFactory { - type CreateProposer = future::Ready>; - type Proposer = DummyProposer; - type Error = Error; - - fn init(&mut self, parent_header: &::Header) -> Self::CreateProposer { - future::ready(Ok(DummyProposer { - factory: self.clone(), - parent_hash: parent_header.hash(), - })) - } -} - -impl DummyProposer { - fn propose_with( - &mut self, - pre_digests: Digest, - ) -> future::Ready, Error>> { - let block_builder = BlockBuilderBuilder::new(&*self.factory.client) - .on_parent_block(self.parent_hash) - .fetch_parent_block_number(&*self.factory.client) - .unwrap() - .with_inherent_digests(pre_digests) - .build() - .unwrap(); - - let mut block = match block_builder.build().map_err(|e| e.into()) { - Ok(b) => b.block, - Err(e) => return future::ready(Err(e)), - }; - - // mutate the block header according to the mutator. - (self.factory.mutator)(&mut block.header, Stage::PreSeal); - - future::ready(Ok(Proposal { block, proof: (), storage_changes: Default::default() })) - } -} - -impl Proposer for DummyProposer { - type Error = Error; - type Proposal = future::Ready, Error>>; - type ProofRecording = DisableProofRecording; - type Proof = (); - - fn propose( - mut self, - _: InherentData, - pre_digests: Digest, - _: Duration, - _: Option, - ) -> Self::Proposal { - self.propose_with(pre_digests) - } -} - -thread_local! { - static MUTATOR: RefCell = RefCell::new(Arc::new(|_, _|())); -} - -#[derive(Clone)] -pub struct PanickingBlockImport(B); - -#[async_trait::async_trait] -impl BlockImport for PanickingBlockImport -where - BI: BlockImport + Send + Sync, -{ - type Error = BI::Error; - - async fn import_block( - &self, - block: BlockImportParams, - ) -> Result { - Ok(self.0.import_block(block).await.expect("importing block failed")) - } - - async fn check_block( - &self, - block: BlockCheckParams, - ) -> Result { - Ok(self.0.check_block(block).await.expect("checking block failed")) - } -} - -type RRSCPeer = Peer, RRSCBlockImport>; - -#[derive(Default)] -pub struct RRSCTestNet { - peers: Vec, -} - -type TestHeader = ::Header; - -type TestSelectChain = - substrate_test_runtime_client::LongestChain; - -pub struct TestVerifier { - inner: RRSCVerifier< - TestBlock, - PeersFullClient, - TestSelectChain, - Box< - dyn CreateInherentDataProviders< - TestBlock, - (), - InherentDataProviders = (InherentDataProvider,), - >, - >, - >, - mutator: Mutator, -} - -#[async_trait::async_trait] -impl Verifier for TestVerifier { - /// Verify the given data and return the BlockImportParams and an optional - /// new set of validators to import. If not, err with an Error-Message - /// presented to the User in the logs. - async fn verify( - &self, - mut block: BlockImportParams, - ) -> Result, String> { - // apply post-sealing mutations (i.e. stripping seal, if desired). - (self.mutator)(&mut block.header, Stage::PostSeal); - self.inner.verify(block).await - } -} - -pub struct PeerData { - link: RRSCLink, - block_import: Mutex>>, -} - -impl TestNetFactory for RRSCTestNet { - type Verifier = TestVerifier; - type PeerData = Option; - type BlockImport = RRSCBlockImport; - - fn make_block_import( - &self, - client: PeersClient, - ) -> ( - BlockImportAdapter, - Option>, - Option, - ) { - let client = client.as_client(); - - let config = crate::configuration(&*client).expect("config available"); - let (block_import, link) = crate::block_import(config, client.clone(), client.clone()) - .expect("can initialize block-import"); - - let block_import = PanickingBlockImport(block_import); - - let data_block_import = - Mutex::new(Some(Box::new(block_import.clone()) as BoxBlockImport<_>)); - ( - BlockImportAdapter::new(block_import), - None, - Some(PeerData { link, block_import: data_block_import }), - ) - } - - fn make_verifier(&self, client: PeersClient, maybe_link: &Option) -> Self::Verifier { - use substrate_test_runtime_client::DefaultTestClientBuilderExt; - - let client = client.as_client(); - trace!(target: LOG_TARGET, "Creating a verifier"); - - // ensure block import and verifier are linked correctly. - let data = maybe_link - .as_ref() - .expect("rrsc link always provided to verifier instantiation"); - - let (_, longest_chain) = TestClientBuilder::new().build_with_longest_chain(); - - TestVerifier { - inner: RRSCVerifier { - client: client.clone(), - select_chain: longest_chain, - create_inherent_data_providers: Box::new(|_, _| async { - let slot = InherentDataProvider::from_timestamp_and_slot_duration( - Timestamp::current(), - SlotDuration::from_millis(SLOT_DURATION_MS), - ); - Ok((slot,)) - }), - config: data.link.config.clone(), - epoch_changes: data.link.epoch_changes.clone(), - telemetry: None, - offchain_tx_pool_factory: OffchainTransactionPoolFactory::new( - RejectAllTxPool::default(), - ), - }, - mutator: MUTATOR.with(|m| m.borrow().clone()), - } - } - - fn peer(&mut self, i: usize) -> &mut RRSCPeer { - trace!(target: LOG_TARGET, "Retrieving a peer"); - &mut self.peers[i] - } - - fn peers(&self) -> &Vec { - trace!(target: LOG_TARGET, "Retrieving peers"); - &self.peers - } - - fn peers_mut(&mut self) -> &mut Vec { - trace!(target: "rrsc", "Retrieving peers, mutable"); - &mut self.peers - } - - fn mut_peers)>(&mut self, closure: F) { - closure(&mut self.peers); - } -} - -#[tokio::test] -#[should_panic(expected = "No BABE pre-runtime digest found")] -async fn rejects_empty_block() { - sp_tracing::try_init_simple(); - let mut net = RRSCTestNet::new(3); - let block_builder = |builder: BlockBuilder<_, _>| builder.build().unwrap().block; - net.mut_peers(|peer| { - peer[0].generate_blocks(1, BlockOrigin::NetworkInitialSync, block_builder); - }) -} - -fn create_keystore(authority: Sr25519Keyring) -> KeystorePtr { - let keystore = MemoryKeystore::new(); - keystore - .sr25519_generate_new(RRSC, Some(&authority.to_seed())) - .expect("Generates authority key"); - keystore.into() -} - -async fn run_one_test(mutator: impl Fn(&mut TestHeader, Stage) + Send + Sync + 'static) { - sp_tracing::try_init_simple(); - let mutator = Arc::new(mutator) as Mutator; - - MUTATOR.with(|m| *m.borrow_mut() = mutator.clone()); - - let net = RRSCTestNet::new(3); - - let peers = [Sr25519Keyring::Alice, Sr25519Keyring::Bob, Sr25519Keyring::Charlie]; - - let net = Arc::new(Mutex::new(net)); - let mut import_notifications = Vec::new(); - let mut rrsc_futures = Vec::new(); - - for (peer_id, auth_id) in peers.iter().enumerate() { - let mut net = net.lock(); - let peer = net.peer(peer_id); - let client = peer.client().as_client(); - let select_chain = peer.select_chain().expect("Full client has select_chain"); - - let keystore = create_keystore(*auth_id); - - let mut got_own = false; - let mut got_other = false; - - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - - let environ = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: mutator.clone(), - }; - - import_notifications.push( - // run each future until we get one of our own blocks with number higher than 5 - // that was produced locally. - client - .import_notification_stream() - .take_while(move |n| { - future::ready( - n.header.number() < &5 || { - if n.origin == BlockOrigin::Own { - got_own = true; - } else { - got_other = true; - } - - // continue until we have at least one block of our own - // and one of another peer. - !(got_own && got_other) - }, - ) - }) - .for_each(|_| future::ready(())), - ); - - let client_clone = client.clone(); - rrsc_futures.push( - start_rrsc(RRSCParams { - block_import: data.block_import.lock().take().expect("import set up during init"), - select_chain, - client, - env: environ, - sync_oracle: DummyOracle, - create_inherent_data_providers: Box::new(move |parent, _| { - // Get the slot of the parent header and just increase this slot. - // - // Below we will running everything in one big future. If we would use - // time based slot, it can happen that on rrsc instance imports a block from - // another rrsc instance and then tries to build a block in the same slot making - // this test fail. - let parent_header = client_clone.header(parent).ok().flatten().unwrap(); - let slot = Slot::from( - find_pre_digest::(&parent_header).unwrap().slot() + 1, - ); - - async move { Ok((InherentDataProvider::new(slot),)) } - }), - force_authoring: false, - backoff_authoring_blocks: Some(BackoffAuthoringOnFinalizedHeadLagging::default()), - rrsc_link: data.link.clone(), - keystore, - justification_sync_link: (), - block_proposal_slot_portion: SlotProportion::new(0.5), - max_block_proposal_slot_portion: None, - telemetry: None, - }) - .expect("Starts rrsc"), - ); - } - future::select( - futures::future::poll_fn(move |cx| { - let mut net = net.lock(); - net.poll(cx); - for p in net.peers() { - if let Some((h, e)) = p.failed_verifications().into_iter().next() { - panic!("Verification failed for {:?}: {}", h, e); - } - } - - Poll::<()>::Pending - }), - future::select(future::join_all(import_notifications), future::join_all(rrsc_futures)), - ) - .await; -} - -#[tokio::test] -async fn authoring_blocks() { - run_one_test(|_, _| ()).await; -} - -#[tokio::test] -#[should_panic(expected = "valid babe headers must contain a predigest")] -async fn rejects_missing_inherent_digest() { - run_one_test(|header: &mut TestHeader, stage| { - let v = std::mem::take(&mut header.digest_mut().logs); - header.digest_mut().logs = v - .into_iter() - .filter(|v| stage == Stage::PostSeal || v.as_rrsc_pre_digest().is_none()) - .collect() - }) - .await; -} - -#[tokio::test] -#[should_panic(expected = "has a bad seal")] -async fn rejects_missing_seals() { - run_one_test(|header: &mut TestHeader, stage| { - let v = std::mem::take(&mut header.digest_mut().logs); - header.digest_mut().logs = v - .into_iter() - .filter(|v| stage == Stage::PreSeal || v.as_rrsc_seal().is_none()) - .collect() - }) - .await; -} - -#[tokio::test] -#[should_panic(expected = "Expected epoch change to happen")] -async fn rejects_missing_consensus_digests() { - run_one_test(|header: &mut TestHeader, stage| { - let v = std::mem::take(&mut header.digest_mut().logs); - header.digest_mut().logs = v - .into_iter() - .filter(|v| stage == Stage::PostSeal || v.as_next_epoch_descriptor().is_none()) - .collect() - }) - .await; -} - -#[test] -fn wrong_consensus_engine_id_rejected() { - sp_tracing::try_init_simple(); - let sig = AuthorityPair::generate().0.sign(b""); - let bad_seal: Item = DigestItem::Seal([0; 4], sig.to_vec()); - assert!(bad_seal.as_rrsc_pre_digest().is_none()); - assert!(bad_seal.as_rrsc_seal().is_none()) -} - -#[test] -fn malformed_pre_digest_rejected() { - sp_tracing::try_init_simple(); - let bad_seal: Item = DigestItem::Seal(RRSC_ENGINE_ID, [0; 64].to_vec()); - assert!(bad_seal.as_rrsc_pre_digest().is_none()); -} - -#[test] -fn sig_is_not_pre_digest() { - sp_tracing::try_init_simple(); - let sig = AuthorityPair::generate().0.sign(b""); - let bad_seal: Item = DigestItem::Seal(RRSC_ENGINE_ID, sig.to_vec()); - assert!(bad_seal.as_rrsc_pre_digest().is_none()); - assert!(bad_seal.as_rrsc_seal().is_some()) -} - -#[test] -fn claim_epoch_slots() { - // We don't require the full claim information, thus as a shorter alias we're - // going to use a simple integer value. Generally not verbose enough, but good enough - // to be used within the narrow scope of a single test. - // 0 -> None (i.e. unable to claim the slot), - // 1 -> Primary - // 2 -> Secondary - // 3 -> Secondary with VRF - const EPOCH_DURATION: u64 = 10; - - let authority = Sr25519Keyring::Alice; - let keystore = create_keystore(authority); - - let mut epoch: Epoch = cessp_consensus_rrsc::Epoch { - start_slot: 0.into(), - authorities: vec![(authority.public().into(), 1)], - randomness: [0; 32], - epoch_index: 1, - duration: EPOCH_DURATION, - config: RRSCEpochConfiguration { - c: (3, 10), - allowed_slots: AllowedSlots::PrimaryAndSecondaryPlainSlots, - }, - } - .into(); - - let claim_slot_wrap = |s, e| match claim_slot(Slot::from(s as u64), &e, &keystore) { - None => 0, - Some((PreDigest::Primary(_), _)) => 1, - Some((PreDigest::SecondaryPlain(_), _)) => 2, - Some((PreDigest::SecondaryVRF(_), _)) => 3, - }; - - // With secondary mechanism we should be able to claim all slots. - let claims: Vec<_> = (0..EPOCH_DURATION) - .into_iter() - .map(|slot| claim_slot_wrap(slot, epoch.clone())) - .collect(); - assert_eq!(claims, [1, 2, 2, 1, 2, 2, 2, 2, 2, 1]); - - // With secondary with VRF mechanism we should be able to claim all the slots. - epoch.config.allowed_slots = AllowedSlots::PrimaryAndSecondaryVRFSlots; - let claims: Vec<_> = (0..EPOCH_DURATION) - .into_iter() - .map(|slot| claim_slot_wrap(slot, epoch.clone())) - .collect(); - assert_eq!(claims, [1, 3, 3, 1, 3, 3, 3, 3, 3, 1]); - - // Otherwise with only vrf-based primary slots we are able to claim a subset of the slots. - epoch.config.allowed_slots = AllowedSlots::PrimarySlots; - let claims: Vec<_> = (0..EPOCH_DURATION) - .into_iter() - .map(|slot| claim_slot_wrap(slot, epoch.clone())) - .collect(); - assert_eq!(claims, [1, 0, 0, 1, 0, 0, 0, 0, 0, 1]); -} - -#[test] -fn claim_vrf_check() { - let authority = Sr25519Keyring::Alice; - let keystore = create_keystore(authority); - - let public = authority.public(); - - let epoch: Epoch = cessp_consensus_rrsc::Epoch { - start_slot: 0.into(), - authorities: vec![(public.into(), 1)], - randomness: [0; 32], - epoch_index: 1, - duration: 10, - config: RRSCEpochConfiguration { - c: (3, 10), - allowed_slots: AllowedSlots::PrimaryAndSecondaryVRFSlots, - }, - } - .into(); - - // We leverage the predictability of claim types given a constant randomness. - - // We expect a Primary claim for slot 0 - - let pre_digest = match claim_slot(0.into(), &epoch, &keystore).unwrap().0 { - PreDigest::Primary(d) => d, - v => panic!("Unexpected pre-digest variant {:?}", v), - }; - let data = make_vrf_sign_data(&epoch.randomness.clone(), 0.into(), epoch.epoch_index); - let sign = keystore.sr25519_vrf_sign(AuthorityId::ID, &public, &data).unwrap().unwrap(); - assert_eq!(pre_digest.vrf_signature.pre_output, sign.pre_output); - - // We expect a SecondaryVRF claim for slot 1 - let pre_digest = match claim_slot(1.into(), &epoch, &keystore).unwrap().0 { - PreDigest::SecondaryVRF(d) => d, - v => panic!("Unexpected pre-digest variant {:?}", v), - }; - let data = make_vrf_sign_data(&epoch.randomness.clone(), 1.into(), epoch.epoch_index); - let sign = keystore.sr25519_vrf_sign(AuthorityId::ID, &public, &data).unwrap().unwrap(); - assert_eq!(pre_digest.vrf_signature.pre_output, sign.pre_output); - - // Check that correct epoch index has been used if epochs are skipped (primary VRF) - let slot = Slot::from(103); - let claim = match claim_slot(slot, &epoch, &keystore).unwrap().0 { - PreDigest::Primary(d) => d, - v => panic!("Unexpected claim variant {:?}", v), - }; - let fixed_epoch = epoch.clone_for_slot(slot); - let data = make_vrf_sign_data(&epoch.randomness.clone(), slot, fixed_epoch.epoch_index); - let sign = keystore.sr25519_vrf_sign(AuthorityId::ID, &public, &data).unwrap().unwrap(); - assert_eq!(fixed_epoch.epoch_index, 11); - assert_eq!(claim.vrf_signature.pre_output, sign.pre_output); - - // Check that correct epoch index has been used if epochs are skipped (secondary VRF) - let slot = Slot::from(100); - let pre_digest = match claim_slot(slot, &epoch, &keystore).unwrap().0 { - PreDigest::SecondaryVRF(d) => d, - v => panic!("Unexpected claim variant {:?}", v), - }; - let fixed_epoch = epoch.clone_for_slot(slot); - let data = make_vrf_sign_data(&epoch.randomness.clone(), slot, fixed_epoch.epoch_index); - let sign = keystore.sr25519_vrf_sign(AuthorityId::ID, &public, &data).unwrap().unwrap(); - assert_eq!(fixed_epoch.epoch_index, 11); - assert_eq!(pre_digest.vrf_signature.pre_output, sign.pre_output); -} - -// Propose and import a new BABE block on top of the given parent. -async fn propose_and_import_block( - parent: &TestHeader, - slot: Option, - proposer_factory: &mut DummyFactory, - block_import: &mut BoxBlockImport, -) -> Hash { - let mut proposer = proposer_factory.init(parent).await.unwrap(); - - let slot = slot.unwrap_or_else(|| { - let parent_pre_digest = find_pre_digest::(parent).unwrap(); - parent_pre_digest.slot() + 1 - }); - - let pre_digest = sp_runtime::generic::Digest { - logs: vec![Item::rrsc_pre_digest(PreDigest::SecondaryPlain(SecondaryPlainPreDigest { - authority_index: 0, - slot, - }))], - }; - - let parent_hash = parent.hash(); - - let mut block = proposer.propose_with(pre_digest).await.unwrap().block; - - let epoch_descriptor = proposer_factory - .epoch_changes - .shared_data() - .epoch_descriptor_for_child_of( - descendent_query(&*proposer_factory.client), - &parent_hash, - *parent.number(), - slot, - ) - .unwrap() - .unwrap(); - - let seal = { - // sign the pre-sealed hash of the block and then - // add it to a digest item. - let pair = AuthorityPair::from_seed(&[1; 32]); - let pre_hash = block.header.hash(); - let signature = pair.sign(pre_hash.as_ref()); - Item::rrsc_seal(signature) - }; - - let post_hash = { - block.header.digest_mut().push(seal.clone()); - let h = block.header.hash(); - block.header.digest_mut().pop(); - h - }; - - let mut import = BlockImportParams::new(BlockOrigin::Own, block.header); - import.post_digests.push(seal); - import.body = Some(block.extrinsics); - import - .insert_intermediate(INTERMEDIATE_KEY, RRSCIntermediate:: { epoch_descriptor }); - import.fork_choice = Some(ForkChoiceStrategy::LongestChain); - let import_result = block_import.import_block(import).await.unwrap(); - - match import_result { - ImportResult::Imported(_) => {}, - _ => panic!("expected block to be imported"), - } - - post_hash -} - -// Propose and import n valid RRSC blocks that are built on top of the given parent. -// The proposer takes care of producing epoch change digests according to the epoch -// duration (which is set to 6 slots in the test runtime). -async fn propose_and_import_blocks( - client: &PeersFullClient, - proposer_factory: &mut DummyFactory, - block_import: &mut BoxBlockImport, - parent_hash: Hash, - n: usize, -) -> Vec { - let mut hashes = Vec::with_capacity(n); - let mut parent_header = client.header(parent_hash).unwrap().unwrap(); - - for _ in 0..n { - let block_hash = - propose_and_import_block(&parent_header, None, proposer_factory, block_import).await; - hashes.push(block_hash); - parent_header = client.header(block_hash).unwrap().unwrap(); - } - - hashes -} - -#[tokio::test] -async fn importing_block_one_sets_genesis_epoch() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - let client = peer.client().as_client(); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - - let genesis_header = client.header(client.chain_info().genesis_hash).unwrap().unwrap(); - - let block_hash = propose_and_import_block( - &genesis_header, - Some(999.into()), - &mut proposer_factory, - &mut block_import, - ) - .await; - - let genesis_epoch = Epoch::genesis(&data.link.config, 999.into()); - - let epoch_changes = data.link.epoch_changes.shared_data(); - let epoch_for_second_block = epoch_changes - .epoch_data_for_child_of(descendent_query(&*client), &block_hash, 1, 1000.into(), |slot| { - Epoch::genesis(&data.link.config, slot) - }) - .unwrap() - .unwrap(); - - assert_eq!(epoch_for_second_block, genesis_epoch); -} - -#[tokio::test] -async fn revert_prunes_epoch_changes_and_removes_weights() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - - let client = peer.client().as_client(); - let backend = peer.client().as_backend(); - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - let epoch_changes = data.link.epoch_changes.clone(); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - // Test scenario. - // Information for epoch 19 is produced on three different forks at block #13. - // One branch starts before the revert point (epoch data should be maintained). - // One branch starts after the revert point (epoch data should be removed). - // - // *----------------- F(#13) --#18 < fork #2 - // / - // A(#1) ---- B(#7) ----#8----+-----#12----- C(#13) ---- D(#19) ------#21 < canon - // \ ^ \ - // \ revert *---- G(#13) ---- H(#19) ---#20 < fork #3 - // \ to #10 - // *-----E(#7)---#11 < fork #1 - let canon = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().genesis_hash, - 21, - ) - .await; - let fork1 = - propose_and_import_blocks(&client, &mut proposer_factory, &mut block_import, canon[0], 10) - .await; - let fork2 = - propose_and_import_blocks(&client, &mut proposer_factory, &mut block_import, canon[7], 10) - .await; - let fork3 = - propose_and_import_blocks(&client, &mut proposer_factory, &mut block_import, canon[11], 8) - .await; - - // We should be tracking a total of 9 epochs in the fork tree - assert_eq!(epoch_changes.shared_data().tree().iter().count(), 8); - // And only one root - assert_eq!(epoch_changes.shared_data().tree().roots().count(), 1); - - // Revert canon chain to block #10 (best(21) - 11) - revert(client.clone(), backend, 11).expect("revert should work for baked test scenario"); - - // Load and check epoch changes. - - let actual_nodes = - aux_schema::load_epoch_changes::(&*client, &data.link.config) - .expect("load epoch changes") - .shared_data() - .tree() - .iter() - .map(|(h, _, _)| *h) - .collect::>(); - - let expected_nodes = vec![ - canon[0], // A - canon[6], // B - fork2[4], // F - fork1[5], // E - ]; - - assert_eq!(actual_nodes, expected_nodes); - - let weight_data_check = |hashes: &[Hash], expected: bool| { - hashes.iter().all(|hash| { - aux_schema::load_block_weight(&*client, hash).unwrap().is_some() == expected - }) - }; - assert!(weight_data_check(&canon[..10], true)); - assert!(weight_data_check(&canon[10..], false)); - assert!(weight_data_check(&fork1, true)); - assert!(weight_data_check(&fork2, true)); - assert!(weight_data_check(&fork3, false)); -} - -#[tokio::test] -async fn revert_not_allowed_for_finalized() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - - let client = peer.client().as_client(); - let backend = peer.client().as_backend(); - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - let canon = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().genesis_hash, - 3, - ) - .await; - - // Finalize best block - client.finalize_block(canon[2], None, false).unwrap(); - - // Revert canon chain to last finalized block - revert(client.clone(), backend, 100).expect("revert should work for baked test scenario"); - - let weight_data_check = |hashes: &[Hash], expected: bool| { - hashes.iter().all(|hash| { - aux_schema::load_block_weight(&*client, hash).unwrap().is_some() == expected - }) - }; - assert!(weight_data_check(&canon, true)); -} - -#[tokio::test] -async fn importing_epoch_change_block_prunes_tree() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - - let client = peer.client().as_client(); - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - let epoch_changes = data.link.epoch_changes.clone(); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - // This is the block tree that we're going to use in this test. Each node - // represents an epoch change block, the epoch duration is 6 slots. - // - // *---- F (#7) - // / *------ G (#19) - H (#25) - // / / - // A (#1) - B (#7) - C (#13) - D (#19) - E (#25) - // \ - // *------ I (#25) - - // Create and import the canon chain and keep track of fork blocks (A, C, D) - // from the diagram above. - let canon = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().genesis_hash, - 30, - ) - .await; - - // Create the forks - let fork_1 = - propose_and_import_blocks(&client, &mut proposer_factory, &mut block_import, canon[0], 10) - .await; - let fork_2 = - propose_and_import_blocks(&client, &mut proposer_factory, &mut block_import, canon[12], 15) - .await; - let fork_3 = - propose_and_import_blocks(&client, &mut proposer_factory, &mut block_import, canon[18], 10) - .await; - - // We should be tracking a total of 9 epochs in the fork tree - assert_eq!(epoch_changes.shared_data().tree().iter().count(), 9); - - // And only one root - assert_eq!(epoch_changes.shared_data().tree().roots().count(), 1); - - // We finalize block #13 from the canon chain, so on the next epoch - // change the tree should be pruned, to not contain F (#7). - client.finalize_block(canon[12], None, false).unwrap(); - propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().best_hash, - 7, - ) - .await; - - let nodes: Vec<_> = epoch_changes.shared_data().tree().iter().map(|(h, _, _)| *h).collect(); - - // no hashes from the first fork must exist on the tree - assert!(!nodes.iter().any(|h| fork_1.contains(h))); - - // but the epoch changes from the other forks must still exist - assert!(nodes.iter().any(|h| fork_2.contains(h))); - assert!(nodes.iter().any(|h| fork_3.contains(h))); - - // finalizing block #25 from the canon chain should prune out the second fork - client.finalize_block(canon[24], None, false).unwrap(); - propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().best_hash, - 8, - ) - .await; - - let nodes: Vec<_> = epoch_changes.shared_data().tree().iter().map(|(h, _, _)| *h).collect(); - - // no hashes from the other forks must exist on the tree - assert!(!nodes.iter().any(|h| fork_2.contains(h))); - assert!(!nodes.iter().any(|h| fork_3.contains(h))); - - // Check that we contain the nodes that we care about - assert!(nodes.iter().any(|h| *h == canon[18])); - assert!(nodes.iter().any(|h| *h == canon[24])); -} - -#[tokio::test] -#[should_panic(expected = "Slot number must increase: parent slot: 999, this slot: 999")] -async fn verify_slots_are_strictly_increasing() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - - let client = peer.client().as_client(); - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - let genesis_header = client.header(client.chain_info().genesis_hash).unwrap().unwrap(); - - // we should have no issue importing this block - let b1 = propose_and_import_block( - &genesis_header, - Some(999.into()), - &mut proposer_factory, - &mut block_import, - ) - .await; - - let b1 = client.header(b1).unwrap().unwrap(); - - // we should fail to import this block since the slot number didn't increase. - // we will panic due to the `PanickingBlockImport` defined above. - propose_and_import_block(&b1, Some(999.into()), &mut proposer_factory, &mut block_import).await; -} - -#[tokio::test] -async fn obsolete_blocks_aux_data_cleanup() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("babe link set up during initialization"); - let client = peer.client().as_client(); - - // Register the handler (as done by `rrsc_start`) - let client_clone = client.clone(); - let on_finality = move |summary: &FinalityNotification| { - aux_storage_cleanup(client_clone.as_ref(), summary) - }; - client.register_finality_action(Box::new(on_finality)); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - - let aux_data_check = |hashes: &[Hash], expected: bool| { - hashes.iter().all(|hash| { - aux_schema::load_block_weight(&*peer.client().as_backend(), hash) - .unwrap() - .is_some() == expected - }) - }; - - // Create the following test scenario: - // - // /--- --B3 --- B4 ( < fork2 ) - // G --- A1 --- A2 --- A3 --- A4 ( < fork1 ) - // \-----C4 --- C5 ( < fork3 ) - - let fork1_hashes = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().genesis_hash, - 4, - ) - .await; - let fork2_hashes = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().genesis_hash, - 2, - ) - .await; - let fork3_hashes = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - fork1_hashes[2], - 2, - ) - .await; - - // Check that aux data is present for all but the genesis block. - assert!(aux_data_check(&[client.chain_info().genesis_hash], false)); - assert!(aux_data_check(&fork1_hashes, true)); - assert!(aux_data_check(&fork2_hashes, true)); - assert!(aux_data_check(&fork3_hashes, true)); - - // Finalize A3 - client.finalize_block(fork1_hashes[2], None, true).unwrap(); - - // Wiped: A1, A2 - assert!(aux_data_check(&fork1_hashes[..2], false)); - // Present: A3, A4 - assert!(aux_data_check(&fork1_hashes[2..], true)); - // Wiped: B3, B4 - assert!(aux_data_check(&fork2_hashes, false)); - // Present C4, C5 - assert!(aux_data_check(&fork3_hashes, true)); - - client.finalize_block(fork1_hashes[3], None, true).unwrap(); - - // Wiped: A3 - assert!(aux_data_check(&fork1_hashes[2..3], false)); - // Present: A4 - assert!(aux_data_check(&fork1_hashes[3..], true)); - // Wiped C4, C5 - assert!(aux_data_check(&fork3_hashes, false)); -} - -#[tokio::test] -async fn allows_skipping_epochs() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - - let client = peer.client().as_client(); - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - let epoch_changes = data.link.epoch_changes.clone(); - let epoch_length = data.link.config.epoch_length; - - // we create all of the blocks in epoch 0 as well as a block in epoch 1 - let blocks = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().genesis_hash, - epoch_length as usize + 1, - ) - .await; - - // the first block in epoch 0 (#1) announces both epoch 0 and 1 (this is a - // special genesis epoch) - let epoch0 = epoch_changes - .shared_data() - .epoch(&EpochIdentifier { - position: EpochIdentifierPosition::Genesis0, - hash: blocks[0], - number: 1, - }) - .unwrap() - .clone(); - - assert_eq!(epoch0.epoch_index, 0); - assert_eq!(epoch0.start_slot, Slot::from(1)); - - let epoch1 = epoch_changes - .shared_data() - .epoch(&EpochIdentifier { - position: EpochIdentifierPosition::Genesis1, - hash: blocks[0], - number: 1, - }) - .unwrap() - .clone(); - - assert_eq!(epoch1.epoch_index, 1); - assert_eq!(epoch1.start_slot, Slot::from(epoch_length + 1)); - - // the first block in epoch 1 (#7) announces epoch 2. we will be skipping - // this epoch and therefore re-using its data for epoch 3 - let epoch2 = epoch_changes - .shared_data() - .epoch(&EpochIdentifier { - position: EpochIdentifierPosition::Regular, - hash: blocks[epoch_length as usize], - number: epoch_length + 1, - }) - .unwrap() - .clone(); - - assert_eq!(epoch2.epoch_index, 2); - assert_eq!(epoch2.start_slot, Slot::from(epoch_length * 2 + 1)); - - // we now author a block that belongs to epoch 3, thereby skipping epoch 2 - let last_block = client.expect_header(*blocks.last().unwrap()).unwrap(); - let block = propose_and_import_block( - &last_block, - Some((epoch_length * 3 + 1).into()), - &mut proposer_factory, - &mut block_import, - ) - .await; - - // and the first block in epoch 3 (#8) announces epoch 4 - let epoch4 = epoch_changes - .shared_data() - .epoch(&EpochIdentifier { - position: EpochIdentifierPosition::Regular, - hash: block, - number: epoch_length + 2, - }) - .unwrap() - .clone(); - - assert_eq!(epoch4.epoch_index, 4); - assert_eq!(epoch4.start_slot, Slot::from(epoch_length * 4 + 1)); - - // if we try to get the epoch data for a slot in epoch 3 - let epoch3 = epoch_changes - .shared_data() - .epoch_data_for_child_of( - descendent_query(&*client), - &block, - epoch_length + 2, - (epoch_length * 3 + 2).into(), - |slot| Epoch::genesis(&data.link.config, slot), - ) - .unwrap() - .unwrap(); - - // we get back the data for epoch 2 - assert_eq!(epoch3, epoch2); - - // but if we try to get the epoch data for a slot in epoch 4 - let epoch4_ = epoch_changes - .shared_data() - .epoch_data_for_child_of( - descendent_query(&*client), - &block, - epoch_length + 2, - (epoch_length * 4 + 1).into(), - |slot| Epoch::genesis(&data.link.config, slot), - ) - .unwrap() - .unwrap(); - - // we get epoch 4 as expected - assert_eq!(epoch4, epoch4_); -} - -#[tokio::test] -async fn allows_skipping_epochs_on_some_forks() { - let mut net = RRSCTestNet::new(1); - - let peer = net.peer(0); - let data = peer.data.as_ref().expect("rrsc link set up during initialization"); - - let client = peer.client().as_client(); - let mut block_import = data.block_import.lock().take().expect("import set up during init"); - - let mut proposer_factory = DummyFactory { - client: client.clone(), - epoch_changes: data.link.epoch_changes.clone(), - mutator: Arc::new(|_, _| ()), - }; - - let epoch_changes = data.link.epoch_changes.clone(); - let epoch_length = data.link.config.epoch_length; - - // we create all of the blocks in epoch 0 as well as two blocks in epoch 1 - let blocks = propose_and_import_blocks( - &client, - &mut proposer_factory, - &mut block_import, - client.chain_info().genesis_hash, - epoch_length as usize + 1, - ) - .await; - - // we now author a block that belongs to epoch 2, built on top of the last - // authored block in epoch 1. - let last_block = client.expect_header(*blocks.last().unwrap()).unwrap(); - - let epoch2_block = propose_and_import_block( - &last_block, - Some((epoch_length * 2 + 1).into()), - &mut proposer_factory, - &mut block_import, - ) - .await; - - // if we try to get the epoch data for a slot in epoch 2, we get the data that - // was previously announced when epoch 1 started - let epoch2 = epoch_changes - .shared_data() - .epoch_data_for_child_of( - descendent_query(&*client), - &epoch2_block, - epoch_length + 2, - (epoch_length * 2 + 2).into(), - |slot| Epoch::genesis(&data.link.config, slot), - ) - .unwrap() - .unwrap(); - - // we now author a block that belongs to epoch 3, built on top of the last - // authored block in epoch 1. authoring this block means we're skipping epoch 2 - // entirely on this fork - let epoch3_block = propose_and_import_block( - &last_block, - Some((epoch_length * 3 + 1).into()), - &mut proposer_factory, - &mut block_import, - ) - .await; - - // if we try to get the epoch data for a slot in epoch 3 - let epoch3_ = epoch_changes - .shared_data() - .epoch_data_for_child_of( - descendent_query(&*client), - &epoch3_block, - epoch_length + 2, - (epoch_length * 3 + 2).into(), - |slot| Epoch::genesis(&data.link.config, slot), - ) - .unwrap() - .unwrap(); - - // we get back the data for epoch 2 - assert_eq!(epoch3_, epoch2); - - // if we try to get the epoch data for a slot in epoch 4 in the fork - // where we skipped epoch 2, we should get the epoch data for epoch 4 - // that was announced at the beginning of epoch 3 - let epoch_data = epoch_changes - .shared_data() - .epoch_data_for_child_of( - descendent_query(&*client), - &epoch3_block, - epoch_length + 2, - (epoch_length * 4 + 1).into(), - |slot| Epoch::genesis(&data.link.config, slot), - ) - .unwrap() - .unwrap(); - - assert!(epoch_data != epoch3_); - - // if we try to get the epoch data for a slot in epoch 4 in the fork - // where we didn't skip epoch 2, we should get back the data for epoch 3, - // that was announced when epoch 2 started in that fork - let epoch_data = epoch_changes - .shared_data() - .epoch_data_for_child_of( - descendent_query(&*client), - &epoch2_block, - epoch_length + 2, - (epoch_length * 4 + 1).into(), - |slot| Epoch::genesis(&data.link.config, slot), - ) - .unwrap() - .unwrap(); - - assert!(epoch_data != epoch3_); - - let epoch3 = epoch_changes - .shared_data() - .epoch(&EpochIdentifier { - position: EpochIdentifierPosition::Regular, - hash: epoch2_block, - number: epoch_length + 2, - }) - .unwrap() - .clone(); - - assert_eq!(epoch_data, epoch3); -} diff --git a/pallets/evm-account-mapping/Cargo.toml b/pallets/evm-account-mapping/Cargo.toml index 23e93d3d..b0a7f0fe 100644 --- a/pallets/evm-account-mapping/Cargo.toml +++ b/pallets/evm-account-mapping/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" publish = false [dependencies] -codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } +codec = { workspace = true, default-features = false, features = ["derive"] } scale-info = { workspace = true, features = ["derive"] } sp-io = { workspace = true } sp-runtime = { workspace = true } diff --git a/pallets/evm-account-mapping/src/eip712.rs b/pallets/evm-account-mapping/src/eip712.rs index d57ef01a..bd47322d 100644 --- a/pallets/evm-account-mapping/src/eip712.rs +++ b/pallets/evm-account-mapping/src/eip712.rs @@ -77,9 +77,9 @@ impl EIP712Domain { }; let mut tokens = vec![ - Token::Uint(U256::from(domain_type_hash)), - Token::Uint(U256::from(keccak_256(&self.name))), - Token::Uint(U256::from(keccak_256(&self.version))), + Token::Uint(U256::from_big_endian(&domain_type_hash)), + Token::Uint(U256::from_big_endian(&keccak_256(&self.name))), + Token::Uint(U256::from_big_endian(&keccak_256(&self.version))), Token::Uint(self.chain_id), Token::Address(self.verifying_contract), ]; @@ -94,7 +94,7 @@ impl EIP712Domain { // Add the salt to the struct to be hashed if it exists; if let Some(salt) = &self.salt { - tokens.push(Token::Uint(U256::from(salt))); + tokens.push(Token::Uint(U256::from_big_endian(salt))); } // if let Some(salt) = &self.salt { // tokens.push(Token::FixedBytes(salt.to_vec())); diff --git a/pallets/evm-account-mapping/src/lib.rs b/pallets/evm-account-mapping/src/lib.rs index ef9c821a..1144ddf7 100644 --- a/pallets/evm-account-mapping/src/lib.rs +++ b/pallets/evm-account-mapping/src/lib.rs @@ -316,7 +316,7 @@ pub mod pallet { *::BlockLength::get().max.get(info.class) as u64; // bounded_weight is used as a divisor later so we keep it non-zero. - let bounded_weight = info.weight.max(Weight::from_parts(1, 1)).min(max_block_weight); + let bounded_weight = info.total_weight().max(Weight::from_parts(1, 1)).min(max_block_weight); let bounded_length = (len as u64).clamp(1, max_block_length); // returns the scarce resource, i.e. the one that is limiting the number of @@ -368,7 +368,7 @@ pub mod pallet { #[pallet::weight({ let di = call.get_dispatch_info(); ( - T::WeightInfo::meta_call().saturating_add(di.weight), + ::WeightInfo::meta_call().saturating_add(di.total_weight()), di.class ) })] diff --git a/pallets/evm-account-mapping/src/mock.rs b/pallets/evm-account-mapping/src/mock.rs index cb1f149c..61acd0fb 100644 --- a/pallets/evm-account-mapping/src/mock.rs +++ b/pallets/evm-account-mapping/src/mock.rs @@ -22,11 +22,10 @@ use frame_support::{ pallet_prelude::*, parameter_types, traits::{ - fungible::Mutate, ConstU128, ConstU16, ConstU32, ConstU64, Get, Imbalance, OnUnbalanced, + Currency, fungible::Mutate, ConstU128, ConstU16, ConstU32, ConstU64, Get, OnUnbalanced, }, weights::{Weight, WeightToFee as WeightToFeeT}, }; -use pallet_transaction_payment::CurrencyAdapter; use sp_runtime::{ traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}, BuildStorage, MultiSignature, SaturatedConversion, @@ -118,8 +117,8 @@ impl pallet_balances::Config for Test { type FreezeIdentifier = (); type MaxLocks = (); type MaxReserves = ConstU32<50>; - type MaxHolds = (); type MaxFreezes = (); + type DoneSlashHandler = (); } impl WeightToFeeT for WeightToFee { @@ -145,11 +144,11 @@ parameter_types! { pub(crate) static FeeUnbalancedAmount: Balance = 0; } +type NegativeImbalance = >::NegativeImbalance; + pub struct DealWithFees; -impl OnUnbalanced> for DealWithFees { - fn on_unbalanceds( - mut fees_then_tips: impl Iterator>, - ) { +impl OnUnbalanced for DealWithFees { + fn on_unbalanceds(mut fees_then_tips: impl Iterator) { if let Some(fees) = fees_then_tips.next() { FeeUnbalancedAmount::mutate(|a| *a += fees.peek()); if let Some(tips) = fees_then_tips.next() { @@ -159,13 +158,21 @@ impl OnUnbalanced> for DealWithFees { } } +pub struct MockTxPaymentWeights; +impl pallet_transaction_payment::WeightInfo for MockTxPaymentWeights { + fn charge_transaction_payment() -> Weight { + Weight::from_parts(10, 0) + } +} + impl pallet_transaction_payment::Config for Test { type RuntimeEvent = RuntimeEvent; - type OnChargeTransaction = CurrencyAdapter; + type OnChargeTransaction = pallet_transaction_payment::FungibleAdapter; type OperationalFeeMultiplier = OperationalFeeMultiplier; type WeightToFee = WeightToFee; type LengthToFee = TransactionByteFee; type FeeMultiplierUpdate = (); + type WeightInfo = MockTxPaymentWeights; } parameter_types! { diff --git a/pallets/mq/Cargo.toml b/pallets/mq/Cargo.toml index b5ea4988..26810d53 100644 --- a/pallets/mq/Cargo.toml +++ b/pallets/mq/Cargo.toml @@ -23,6 +23,7 @@ sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } +sp-weights = { workspace = true } ces-types = { workspace = true, features = ["enable_serde"] } sgx-attestation = { workspace = true } diff --git a/pallets/mq/src/check_seq.rs b/pallets/mq/src/check_seq.rs index 219a3245..1a9cd801 100644 --- a/pallets/mq/src/check_seq.rs +++ b/pallets/mq/src/check_seq.rs @@ -1,12 +1,12 @@ use super::{Call, CallMatcher, Config, IntoH256, OffchainIngress}; use ces_types::messaging::MessageOrigin; -use frame_support::dispatch::DispatchInfo; +use frame_support::{dispatch::DispatchInfo, pallet_prelude::TransactionSource}; use parity_scale_codec::{Decode, Encode}; use scale_info::TypeInfo; -use sp_runtime::traits::{DispatchInfoOf, Dispatchable, SignedExtension}; -use sp_runtime::transaction_validity::{ - InvalidTransaction, TransactionValidity, TransactionValidityError, ValidTransaction, +use sp_runtime::{ + traits::{DispatchInfoOf, Dispatchable, TransactionExtension, ValidateResult}, + transaction_validity::{InvalidTransaction, TransactionValidityError, ValidTransaction}, }; use sp_std::marker::PhantomData; use sp_std::vec; @@ -51,29 +51,30 @@ impl sp_std::fmt::Debug for CheckMqSequence { } } -impl SignedExtension for CheckMqSequence +impl TransactionExtension for CheckMqSequence where T::RuntimeCall: Dispatchable, T: Send + Sync, T::AccountId: IntoH256, { const IDENTIFIER: &'static str = "CheckMqSequence"; - type AccountId = T::AccountId; - type Call = T::RuntimeCall; - type AdditionalSigned = (); + type Val = (); type Pre = (); + type Implicit = (); - fn additional_signed(&self) -> sp_std::result::Result<(), TransactionValidityError> { - Ok(()) + fn weight(&self, _: &T::RuntimeCall) -> sp_weights::Weight { + //FIXME: To ensure the weight + sp_weights::Weight::zero() } - fn pre_dispatch( + fn prepare( self, - _who: &Self::AccountId, - call: &Self::Call, - _info: &DispatchInfoOf, + _: Self::Val, + _origin: &T::RuntimeOrigin, + call: &T::RuntimeCall, + _info: &DispatchInfoOf, _len: usize, - ) -> Result<(), TransactionValidityError> { + ) -> Result { let signed_message = match T::CallMatcher::match_call(call) { Some(Call::sync_offchain_message { signed_message }) => signed_message, _ => return Ok(()), @@ -83,47 +84,39 @@ where let expected_seq = OffchainIngress::::get(sender).unwrap_or(0); // Strictly require the message to include must match the expected sequence id if sequence != expected_seq { - return Err(if sequence < expected_seq { - InvalidTransaction::Stale - } else { - InvalidTransaction::Future - } - .into()); + return Err( + if sequence < expected_seq { InvalidTransaction::Stale } else { InvalidTransaction::Future }.into() + ); } Ok(()) } fn validate( &self, - _who: &Self::AccountId, - call: &Self::Call, - _info: &DispatchInfoOf, + origin: T::RuntimeOrigin, + call: &T::RuntimeCall, + _info: &DispatchInfoOf, _len: usize, - ) -> TransactionValidity { + _self_implicit: Self::Implicit, + _inherited_implication: &impl Encode, + _source: TransactionSource, + ) -> ValidateResult { let signed_message = match T::CallMatcher::match_call(call) { Some(Call::sync_offchain_message { signed_message }) => signed_message, - _ => return Ok(ValidTransaction::default()), + _ => return Ok((ValidTransaction::default(), (), origin)), }; let sender = &signed_message.message.sender; let sequence = signed_message.sequence; let expected_seq = OffchainIngress::::get(sender).unwrap_or(0); // Drop the stale message immediately if sequence < expected_seq { - return InvalidTransaction::Stale.into(); + return Err(InvalidTransaction::Stale.into()); } // Otherwise build a dependency graph based on (sender, sequence), hoping that it can be // included later let provides = vec![tag(sender, sequence)]; - let requires = if sequence > expected_seq { - vec![tag(sender, sequence - 1)] - } else { - vec![] - }; - Ok(ValidTransaction { - provides, - requires, - ..Default::default() - }) + let requires = if sequence > expected_seq { vec![tag(sender, sequence - 1)] } else { vec![] }; + Ok((ValidTransaction { provides, requires, ..Default::default() }, (), origin)) } } diff --git a/pallets/staking/src/asset.rs b/pallets/staking/src/asset.rs new file mode 100644 index 00000000..23368b1f --- /dev/null +++ b/pallets/staking/src/asset.rs @@ -0,0 +1,125 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! Contains all the interactions with [`Config::Currency`] to manipulate the underlying staking +//! asset. + +use frame_support::traits::{Currency, InspectLockableCurrency, LockableCurrency}; + +use crate::{BalanceOf, Config, NegativeImbalanceOf, PositiveImbalanceOf}; + +/// Existential deposit for the chain. +pub fn existential_deposit() -> BalanceOf { + T::Currency::minimum_balance() +} + +/// Total issuance of the chain. +pub fn total_issuance() -> BalanceOf { + T::Currency::total_issuance() +} + +/// Total balance of `who`. Includes both, free and reserved. +pub fn total_balance(who: &T::AccountId) -> BalanceOf { + T::Currency::total_balance(who) +} + +/// Stakeable balance of `who`. +/// +/// This includes balance free to stake along with any balance that is already staked. +pub fn stakeable_balance(who: &T::AccountId) -> BalanceOf { + T::Currency::free_balance(who) +} + +/// Balance of `who` that is currently at stake. +/// +/// The staked amount is locked and cannot be transferred out of `who`s account. +pub fn staked(who: &T::AccountId) -> BalanceOf { + T::Currency::balance_locked(crate::STAKING_ID, who) +} + +/// Set balance that can be staked for `who`. +/// +/// This includes any balance that is already staked. +#[cfg(any(test, feature = "runtime-benchmarks"))] +pub fn set_stakeable_balance(who: &T::AccountId, value: BalanceOf) { + T::Currency::make_free_balance_be(who, value); +} + +/// Update `amount` at stake for `who`. +/// +/// Overwrites the existing stake amount. If passed amount is lower than the existing stake, the +/// difference is unlocked. +pub fn update_stake(who: &T::AccountId, amount: BalanceOf) { + T::Currency::set_lock( + crate::STAKING_ID, + who, + amount, + frame_support::traits::WithdrawReasons::all(), + ); +} + +/// Kill the stake of `who`. +/// +/// All locked amount is unlocked. +pub fn kill_stake(who: &T::AccountId) { + T::Currency::remove_lock(crate::STAKING_ID, who); +} + +/// Slash the value from `who`. +/// +/// A negative imbalance is returned which can be resolved to deposit the slashed value. +pub fn slash( + who: &T::AccountId, + value: BalanceOf, +) -> (NegativeImbalanceOf, BalanceOf) { + T::Currency::slash(who, value) +} + +/// Mint `value` into an existing account `who`. +/// +/// This does not increase the total issuance. +pub fn mint_existing( + who: &T::AccountId, + value: BalanceOf, +) -> Option> { + T::Currency::deposit_into_existing(who, value).ok() +} + +/// Mint reward and create account for `who` if it does not exist. +/// +/// This does not increase the total issuance. +pub fn mint_creating(who: &T::AccountId, value: BalanceOf) -> PositiveImbalanceOf { + T::Currency::deposit_creating(who, value) +} + +/// Deposit newly issued or slashed `value` into `who`. +pub fn deposit_slashed(who: &T::AccountId, value: NegativeImbalanceOf) { + T::Currency::resolve_creating(who, value) +} + +/// Issue `value` increasing total issuance. +/// +/// Creates a negative imbalance. +pub fn issue(value: BalanceOf) -> NegativeImbalanceOf { + T::Currency::issue(value) +} + +/// Burn the amount from the total issuance. +#[cfg(feature = "runtime-benchmarks")] +pub fn burn(amount: BalanceOf) -> PositiveImbalanceOf { + T::Currency::burn(amount) +} diff --git a/pallets/staking/src/ledger.rs b/pallets/staking/src/ledger.rs index dc4b4fc3..ac3be04c 100644 --- a/pallets/staking/src/ledger.rs +++ b/pallets/staking/src/ledger.rs @@ -31,15 +31,12 @@ //! performed through the methods exposed by the [`StakingLedger`] implementation in order to ensure //! state consistency. -use frame_support::{ - defensive, ensure, - traits::{Defensive, LockableCurrency}, -}; +use frame_support::{defensive, ensure, traits::Defensive}; use sp_staking::{StakingAccount, StakingInterface}; use crate::{ - BalanceOf, Bonded, Config, Error, Ledger, Pallet, Payee, RewardDestination, StakingLedger, - VirtualStakers, STAKING_ID, + asset, BalanceOf, Bonded, Config, Error, Ledger, Pallet, Payee, RewardDestination, + StakingLedger, VirtualStakers, }; #[cfg(any(feature = "runtime-benchmarks", test))] @@ -190,12 +187,7 @@ impl StakingLedger { // We skip locking virtual stakers. if !Pallet::::is_virtual_staker(&self.stash) { // for direct stakers, update lock on stash based on ledger. - T::Currency::set_lock( - STAKING_ID, - &self.stash, - self.total, - frame_support::traits::WithdrawReasons::all(), - ); + asset::update_stake::(&self.stash, self.total); } Ledger::::insert( @@ -269,7 +261,7 @@ impl StakingLedger { // kill virtual staker if it exists. if >::take(&stash).is_none() { // if not virtual staker, clear locks. - T::Currency::remove_lock(STAKING_ID, &ledger.stash); + asset::kill_stake::(&ledger.stash); } Ok(()) diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 75ca9534..20540f36 100755 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -292,9 +292,10 @@ pub mod testing_utils; #[cfg(test)] pub(crate) mod mock; -#[cfg(test)] -mod tests; +// #[cfg(test)] +// mod tests; +pub mod asset; pub mod election_size_tracker; pub mod inflation; pub mod ledger; diff --git a/pallets/staking/src/pallet/impls.rs b/pallets/staking/src/pallet/impls.rs index 91976161..7c098292 100755 --- a/pallets/staking/src/pallet/impls.rs +++ b/pallets/staking/src/pallet/impls.rs @@ -27,8 +27,8 @@ use frame_support::{ dispatch::WithPostDispatchInfo, pallet_prelude::*, traits::{ - Currency, Defensive, DefensiveSaturating, EstimateNextNewSession, Get, Imbalance, - InspectLockableCurrency, Len, LockableCurrency, OnUnbalanced, TryCollect, + Defensive, DefensiveSaturating, EstimateNextNewSession, Get, Imbalance, Len, OnUnbalanced, + TryCollect, }, weights::Weight, }; @@ -50,7 +50,7 @@ use sp_staking::{ }; use crate::{ - election_size_tracker::StaticTracker, log, slashing, weights::WeightInfo, ActiveEraInfo, + asset, election_size_tracker::StaticTracker, log, slashing, weights::WeightInfo, ActiveEraInfo, BalanceOf, EraInfo, Exposure, ExposureOf, Forcing, IndividualExposure, LedgerIntegrityState, MaxNominationsOf, MaxWinnersOf, Nominations, NominationsQuota, PositiveImbalanceOf, RewardDestination, SessionInterface, StakingLedger, ValidatorPrefs, @@ -96,7 +96,7 @@ impl Pallet { pub(crate) fn inspect_bond_state( stash: &T::AccountId, ) -> Result> { - let lock = T::Currency::balance_locked(crate::STAKING_ID, &stash); + let lock = asset::staked::(&stash); let controller = >::get(stash).ok_or_else(|| { if lock == Zero::zero() { @@ -142,7 +142,7 @@ impl Pallet { pub fn weight_of_fn() -> Box VoteWeight> { // NOTE: changing this to unboxed `impl Fn(..)` return type and the pallet will still // compile, while some types in mock fail to resolve. - let issuance = T::Currency::total_issuance(); + let issuance = asset::total_issuance::(); Box::new(move |who: &T::AccountId| -> VoteWeight { Self::slashable_balance_of_vote_weight(who, issuance) }) @@ -150,7 +150,7 @@ impl Pallet { /// Same as `weight_of_fn`, but made for one time use. pub fn weight_of(who: &T::AccountId) -> VoteWeight { - let issuance = T::Currency::total_issuance(); + let issuance = asset::total_issuance::(); Self::slashable_balance_of_vote_weight(who, issuance) } @@ -164,7 +164,7 @@ impl Pallet { } else { // additional amount or actual balance of stash whichever is lower. additional.min( - T::Currency::free_balance(stash) + asset::stakeable_balance::(stash) .checked_sub(&ledger.total) .ok_or(ArithmeticError::Overflow)?, ) @@ -173,7 +173,7 @@ impl Pallet { ledger.total = ledger.total.checked_add(&extra).ok_or(ArithmeticError::Overflow)?; ledger.active = ledger.active.checked_add(&extra).ok_or(ArithmeticError::Overflow)?; // last check: the new active amount of ledger must be more than ED. - ensure!(ledger.active >= T::Currency::minimum_balance(), Error::::InsufficientBond); + ensure!(ledger.active >= asset::existential_deposit::(), Error::::InsufficientBond); // NOTE: ledger must be updated prior to calling `Self::weight_of`. ledger.update()?; @@ -198,7 +198,7 @@ impl Pallet { } let new_total = ledger.total; - let ed = T::Currency::minimum_balance(); + let ed = asset::existential_deposit::(); let used_weight = if ledger.unlocking.is_empty() && (ledger.active < ed || ledger.active.is_zero()) { // This account must have called `unbond()` with some value that caused the active @@ -349,6 +349,8 @@ impl Pallet { Self::deposit_event(Event::::PayoutStarted { era_index: era, validator_stash: stash.clone(), + page, + next: EraInfo::::get_next_claimable_page(era, &stash, &ledger), }); let mut total_imbalance = PositiveImbalanceOf::::zero(); @@ -414,12 +416,12 @@ impl Pallet { let dest = Self::payee(StakingAccount::Stash(stash.clone()))?; let maybe_imbalance = match dest { - RewardDestination::Stash => T::Currency::deposit_into_existing(stash, amount).ok(), + RewardDestination::Stash => asset::mint_existing::(stash, amount), RewardDestination::Staked => Self::ledger(Stash(stash.clone())) .and_then(|mut ledger| { ledger.active += amount; ledger.total += amount; - let r = T::Currency::deposit_into_existing(stash, amount).ok(); + let r = asset::mint_existing::(stash, amount); let _ = ledger .update() @@ -429,7 +431,7 @@ impl Pallet { }) .unwrap_or_default(), RewardDestination::Account(ref dest_account) => - Some(T::Currency::deposit_creating(&dest_account, amount)), + Some(asset::mint_creating::(&dest_account, amount)), RewardDestination::None => None, #[allow(deprecated)] RewardDestination::Controller => Self::bonded(stash) @@ -437,7 +439,7 @@ impl Pallet { defensive!("Paying out controller as reward destination which is deprecated and should be migrated."); // This should never happen once payees with a `Controller` variant have been migrated. // But if it does, just pay the controller account. - T::Currency::deposit_creating(&controller, amount) + asset::mint_creating::(&controller, amount) }), }; maybe_imbalance.map(|imbalance| (imbalance, dest)) @@ -581,7 +583,7 @@ impl Pallet { // Set ending era reward. >::insert(&active_era.index, validator_payout); - T::SminerRewardPool::on_unbalanced(T::Currency::issue(sminer_payout)); + T::SminerRewardPool::on_unbalanced(asset::issue::(sminer_payout)); // Clear disabled validators. >::kill(); @@ -756,7 +758,7 @@ impl Pallet { fn collect_exposures( supports: BoundedSupportsOf, ) -> BoundedVec<(T::AccountId, Exposure>), MaxWinnersOf> { - let total_issuance = T::Currency::total_issuance(); + let total_issuance = asset::total_issuance::(); let to_currency = |e: frame_election_provider_support::ExtendedBalance| { T::CurrencyToVote::to_currency(e, total_issuance) }; @@ -1589,7 +1591,7 @@ impl ScoreProvider for Pallet { // also, we play a trick to make sure that a issuance based-`CurrencyToVote` behaves well: // This will make sure that total issuance is zero, thus the currency to vote will be a 1-1 // conversion. - let imbalance = T::Currency::burn(T::Currency::total_issuance()); + let imbalance = asset::burn::(asset::total_issuance::()); // kinda ugly, but gets the job done. The fact that this works here is a HUGE exception. // Don't try this pattern in other places. core::mem::forget(imbalance); @@ -1889,8 +1891,12 @@ impl StakingInterface for Pallet { } /// Whether `who` is a virtual staker whose funds are managed by another pallet. + /// + /// There is an assumption that, this account is keyless and managed by another pallet in the + /// runtime. Hence, it can never sign its own transactions. fn is_virtual_staker(who: &T::AccountId) -> bool { - VirtualStakers::::contains_key(who) + frame_system::Pallet::::account_nonce(who).is_zero() && + VirtualStakers::::contains_key(who) } fn slash_reward_fraction() -> Perbill { @@ -1927,7 +1933,7 @@ impl StakingInterface for Pallet { impl sp_staking::StakingUnchecked for Pallet { fn migrate_to_virtual_staker(who: &Self::AccountId) { - T::Currency::remove_lock(crate::STAKING_ID, who); + asset::kill_stake::(who); VirtualStakers::::insert(who, ()); } @@ -1964,12 +1970,7 @@ impl sp_staking::StakingUnchecked for Pallet { fn migrate_to_direct_staker(who: &Self::AccountId) { assert!(VirtualStakers::::contains_key(who)); let ledger = StakingLedger::::get(Stash(who.clone())).unwrap(); - T::Currency::set_lock( - crate::STAKING_ID, - who, - ledger.total, - frame_support::traits::WithdrawReasons::all(), - ); + asset::update_stake::(who, ledger.total); VirtualStakers::::remove(who); } } @@ -2105,7 +2106,7 @@ impl Pallet { // ensure locks consistency. if VirtualStakers::::contains_key(stash.clone()) { ensure!( - T::Currency::balance_locked(crate::STAKING_ID, &stash) == Zero::zero(), + asset::staked::(&stash) == Zero::zero(), "virtual stakers should not have any locked balance" ); ensure!( @@ -2116,6 +2117,10 @@ impl Pallet { Ledger::::get(stash.clone()).unwrap().stash == stash, "ledger corrupted for virtual staker" ); + ensure!( + frame_system::Pallet::::account_nonce(&stash).is_zero(), + "virtual stakers are keyless and should not have any nonce" + ); let reward_destination = >::get(stash.clone()).unwrap(); if let RewardDestination::Account(payee) = reward_destination { ensure!( diff --git a/pallets/staking/src/pallet/mod.rs b/pallets/staking/src/pallet/mod.rs index 0b01315c..4c740cbe 100755 --- a/pallets/staking/src/pallet/mod.rs +++ b/pallets/staking/src/pallet/mod.rs @@ -25,8 +25,8 @@ use frame_election_provider_support::{ use frame_support::{ pallet_prelude::*, traits::{ - Currency, Defensive, DefensiveSaturating, EnsureOrigin, EstimateNextNewSession, Get, - InspectLockableCurrency, LockableCurrency, OnUnbalanced, UnixTime, WithdrawReasons, + Defensive, DefensiveSaturating, EnsureOrigin, EstimateNextNewSession, Get, + InspectLockableCurrency, LockableCurrency, OnUnbalanced, UnixTime, }, weights::Weight, BoundedVec, @@ -48,11 +48,11 @@ mod impls; pub use impls::*; use crate::{ - slashing, weights::WeightInfo, AccountIdLookupOf, ActiveEraInfo, BalanceOf, DisablingStrategy, - EraPayout, EraRewardPoints, Exposure, ExposurePage, Forcing, LedgerIntegrityState, - MaxNominationsOf, NegativeImbalanceOf, Nominations, NominationsQuota, PositiveImbalanceOf, - RewardDestination, SessionInterface, StakingLedger, UnappliedSlash, UnlockChunk, - ValidatorPrefs, + asset, slashing, weights::WeightInfo, AccountIdLookupOf, ActiveEraInfo, BalanceOf, + DisablingStrategy, EraPayout, EraRewardPoints, Exposure, ExposurePage, Forcing, + LedgerIntegrityState, MaxNominationsOf, NegativeImbalanceOf, Nominations, NominationsQuota, + PositiveImbalanceOf, RewardDestination, SessionInterface, StakingLedger, UnappliedSlash, + UnlockChunk, ValidatorPrefs, }; // The speculative number of spans are used as an input of the weight annotation of @@ -803,7 +803,7 @@ pub mod pallet { status ); assert!( - T::Currency::free_balance(stash) >= balance, + asset::stakeable_balance::(stash) >= balance, "Stash does not have enough balance to bond." ); frame_support::assert_ok!(>::bond( @@ -875,8 +875,13 @@ pub mod pallet { StakingElectionFailed, /// An account has stopped participating as either a validator or nominator. Chilled { stash: T::AccountId }, - /// The stakers' rewards are getting paid. - PayoutStarted { era_index: EraIndex, validator_stash: T::AccountId }, + /// A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed. + PayoutStarted { + era_index: EraIndex, + validator_stash: T::AccountId, + page: Page, + next: Option, + }, /// A validator has set their preferences. ValidatorPrefsSet { stash: T::AccountId, prefs: ValidatorPrefs }, /// Voters size limit reached. @@ -1047,13 +1052,14 @@ pub mod pallet { } // Reject a bond which is considered to be _dust_. - if value < T::Currency::minimum_balance() { + if value < asset::existential_deposit::() { return Err(Error::::InsufficientBond.into()) } - frame_system::Pallet::::inc_consumers(&stash).map_err(|_| Error::::BadState)?; + // Would fail if account has no provider. + frame_system::Pallet::::inc_consumers(&stash)?; - let stash_balance = T::Currency::free_balance(&stash); + let stash_balance = asset::stakeable_balance::(&stash); let value = value.min(stash_balance); Self::deposit_event(Event::::Bonded { stash: stash.clone(), amount: value }); let ledger = StakingLedger::::new(stash.clone(), value); @@ -1091,7 +1097,7 @@ pub mod pallet { /// Schedule a portion of the stash to be unlocked ready for transfer out after the bond /// period ends. If this leaves an amount actively bonded less than - /// T::Currency::minimum_balance(), then it is increased to the full amount. + /// [`asset::existential_deposit`], then it is increased to the full amount. /// /// The dispatch origin for this call must be _Signed_ by the controller, not the stash. /// @@ -1147,7 +1153,7 @@ pub mod pallet { ledger.active -= value; // Avoid there being a dust balance left in the staking system. - if ledger.active < T::Currency::minimum_balance() { + if ledger.active < asset::existential_deposit::() { value += ledger.active; ledger.active = Zero::zero(); } @@ -1677,7 +1683,10 @@ pub mod pallet { let initial_unlocking = ledger.unlocking.len() as u32; let (ledger, rebonded_value) = ledger.rebond(value); // Last check: the new active amount of ledger must be more than ED. - ensure!(ledger.active >= T::Currency::minimum_balance(), Error::::InsufficientBond); + ensure!( + ledger.active >= asset::existential_deposit::(), + Error::::InsufficientBond + ); Self::deposit_event(Event::::Bonded { stash: ledger.stash.clone(), @@ -1729,8 +1738,8 @@ pub mod pallet { // virtual stakers should not be allowed to be reaped. ensure!(!Self::is_virtual_staker(&stash), Error::::VirtualStakerNotAllowed); - let ed = T::Currency::minimum_balance(); - let origin_balance = T::Currency::total_balance(&stash); + let ed = asset::existential_deposit::(); + let origin_balance = asset::total_balance::(&stash); let ledger_total = Self::ledger(Stash(stash.clone())).map(|l| l.total).unwrap_or_default(); let reapable = origin_balance < ed || @@ -2097,8 +2106,8 @@ pub mod pallet { // cannot restore ledger for virtual stakers. ensure!(!Self::is_virtual_staker(&stash), Error::::VirtualStakerNotAllowed); - let current_lock = T::Currency::balance_locked(crate::STAKING_ID, &stash); - let stash_balance = T::Currency::free_balance(&stash); + let current_lock = asset::staked::(&stash); + let stash_balance = asset::stakeable_balance::(&stash); let (new_controller, new_total) = match Self::inspect_bond_state(&stash) { Ok(LedgerIntegrityState::Corrupted) => { @@ -2107,12 +2116,7 @@ pub mod pallet { let new_total = if let Some(total) = maybe_total { let new_total = total.min(stash_balance); // enforce lock == ledger.amount. - T::Currency::set_lock( - crate::STAKING_ID, - &stash, - new_total, - WithdrawReasons::all(), - ); + asset::update_stake::(&stash, new_total); new_total } else { current_lock @@ -2139,18 +2143,13 @@ pub mod pallet { // to enforce a new ledger.total and staking lock for this stash. let new_total = maybe_total.ok_or(Error::::CannotRestoreLedger)?.min(stash_balance); - T::Currency::set_lock( - crate::STAKING_ID, - &stash, - new_total, - WithdrawReasons::all(), - ); + asset::update_stake::(&stash, new_total); Ok((stash.clone(), new_total)) }, Err(Error::::BadState) => { // the stash and ledger do not exist but lock is lingering. - T::Currency::remove_lock(crate::STAKING_ID, &stash); + asset::kill_stake::(&stash); ensure!( Self::inspect_bond_state(&stash) == Err(Error::::NotStash), Error::::BadState diff --git a/pallets/staking/src/slashing.rs b/pallets/staking/src/slashing.rs index d303c91d..e130fd8e 100755 --- a/pallets/staking/src/slashing.rs +++ b/pallets/staking/src/slashing.rs @@ -50,15 +50,15 @@ //! Based on research at use crate::{ - BalanceOf, Config, DisabledValidators, DisablingStrategy, Error, Exposure, NegativeImbalanceOf, - NominatorSlashInEra, Pallet, Perbill, SessionInterface, SpanSlash, UnappliedSlash, - ValidatorSlashInEra, + asset, BalanceOf, Config, DisabledValidators, DisablingStrategy, Error, Exposure, + NegativeImbalanceOf, NominatorSlashInEra, Pallet, Perbill, SessionInterface, SpanSlash, + UnappliedSlash, ValidatorSlashInEra, }; use alloc::vec::Vec; use codec::{Decode, Encode, MaxEncodedLen}; use frame_support::{ ensure, - traits::{Currency, Defensive, DefensiveSaturating, Imbalance, OnUnbalanced}, + traits::{Defensive, DefensiveSaturating, Imbalance, OnUnbalanced}, }; use scale_info::TypeInfo; use sp_runtime::{ @@ -578,7 +578,7 @@ pub fn do_slash( Err(_) => return, // nothing to do. }; - let value = ledger.slash(value, T::Currency::minimum_balance(), slash_era); + let value = ledger.slash(value, asset::existential_deposit::(), slash_era); if value.is_zero() { // nothing to do return @@ -586,7 +586,7 @@ pub fn do_slash( // Skip slashing for virtual stakers. The pallets managing them should handle the slashing. if !Pallet::::is_virtual_staker(stash) { - let (imbalance, missing) = T::Currency::slash(stash, value); + let (imbalance, missing) = asset::slash::(stash, value); slashed_imbalance.subsume(imbalance); if !missing.is_zero() { @@ -656,7 +656,7 @@ fn pay_reporters( // this cancels out the reporter reward imbalance internally, leading // to no change in total issuance. - T::Currency::resolve_creating(reporter, reporter_reward); + asset::deposit_slashed::(reporter, reporter_reward); } // the rest goes to the on-slash imbalance handler (e.g. treasury) diff --git a/pallets/staking/src/testing_utils.rs b/pallets/staking/src/testing_utils.rs index 65aaa5f0..efd4a40f 100755 --- a/pallets/staking/src/testing_utils.rs +++ b/pallets/staking/src/testing_utils.rs @@ -28,7 +28,7 @@ use rand_chacha::{ use sp_io::hashing::blake2_256; use frame_election_provider_support::SortedListProvider; -use frame_support::{pallet_prelude::*, traits::Currency}; +use frame_support::pallet_prelude::*; use sp_runtime::{traits::StaticLookup, Perbill}; const SEED: u32 = 0; @@ -53,8 +53,8 @@ pub fn create_funded_user( balance_factor: u32, ) -> T::AccountId { let user = account(string, n, SEED); - let balance = T::Currency::minimum_balance() * balance_factor.into(); - let _ = T::Currency::make_free_balance_be(&user, balance); + let balance = asset::existential_deposit::() * balance_factor.into(); + let _ = asset::set_stakeable_balance::(&user, balance); user } @@ -65,7 +65,7 @@ pub fn create_funded_user_with_balance( balance: BalanceOf, ) -> T::AccountId { let user = account(string, n, SEED); - let _ = T::Currency::make_free_balance_be(&user, balance); + let _ = asset::set_stakeable_balance::(&user, balance); user } @@ -77,7 +77,7 @@ pub fn create_stash_controller( ) -> Result<(T::AccountId, T::AccountId), &'static str> { let staker = create_funded_user::("stash", n, balance_factor); let amount = - T::Currency::minimum_balance().max(1u64.into()) * (balance_factor / 10).max(1).into(); + asset::existential_deposit::().max(1u64.into()) * (balance_factor / 10).max(1).into(); Staking::::bond(RawOrigin::Signed(staker.clone()).into(), amount, destination)?; Ok((staker.clone(), staker)) } @@ -96,7 +96,7 @@ pub fn create_unique_stash_controller( } else { create_funded_user::("controller", n, balance_factor) }; - let amount = T::Currency::minimum_balance() * (balance_factor / 10).max(1).into(); + let amount = asset::existential_deposit::() * (balance_factor / 10).max(1).into(); Staking::::bond(RawOrigin::Signed(stash.clone()).into(), amount, destination)?; // update ledger to be a *different* controller to stash @@ -129,7 +129,7 @@ pub fn create_stash_and_dead_payee( let staker = create_funded_user::("stash", n, 0); // payee has no funds let payee = create_funded_user::("payee", n, 0); - let amount = T::Currency::minimum_balance() * (balance_factor / 10).max(1).into(); + let amount = asset::existential_deposit::() * (balance_factor / 10).max(1).into(); Staking::::bond( RawOrigin::Signed(staker.clone()).into(), amount, diff --git a/scripts/run/node.sh b/scripts/run/node.sh index e39566e1..0e2cf1d3 100755 --- a/scripts/run/node.sh +++ b/scripts/run/node.sh @@ -2,12 +2,17 @@ export RUST_LOG=info +bin=./target/debug/cess-node +work_dir="./local_run" inst_seq=${INST_SEQ:-0} rpc_port=$((${RPC_PORT:-9944} + $inst_seq)) chain_spec=${CHAIN:-dev} extra_args=${XARGS:---alice} +base_path=$work_dir/chain-$chain_spec-$inst_seq -base_path_args="-d ./local_run/chain-$chain_spec-$inst_seq" +$bin key generate-node-key --base-path $base_path --chain $chain_spec > /dev/null 2>&1 + +base_path_args="-d $base_path" getopts ":t" opt case ${opt} in t) @@ -16,7 +21,7 @@ t) *) ;; esac -./target/debug/cess-node \ +$bin \ --chain $chain_spec \ $base_path_args \ --rpc-methods=Unsafe \ diff --git a/standalone/chain/node/Cargo.toml b/standalone/chain/node/Cargo.toml index 1a274218..d1a38424 100644 --- a/standalone/chain/node/Cargo.toml +++ b/standalone/chain/node/Cargo.toml @@ -6,7 +6,7 @@ edition = '2021' license = 'Unlicense' name = 'cess-node' repository = 'https://github.com/CESSProject/cess' -version = '0.8.1' +version = '0.8.2' [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/standalone/chain/node/src/benchmarking.rs b/standalone/chain/node/src/benchmarking.rs index 8c2f0e4f..87db821d 100644 --- a/standalone/chain/node/src/benchmarking.rs +++ b/standalone/chain/node/src/benchmarking.rs @@ -109,7 +109,7 @@ pub fn create_benchmark_extrinsic( .checked_next_power_of_two() .map(|c| c / 2) .unwrap_or(2) as u64; - let extra: runtime::SignedExtra = ( + let extra: runtime::TxExtension = ( frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), diff --git a/standalone/chain/node/src/chain_spec.rs b/standalone/chain/node/src/chain_spec.rs index c92f549f..0258e8c5 100644 --- a/standalone/chain/node/src/chain_spec.rs +++ b/standalone/chain/node/src/chain_spec.rs @@ -1,18 +1,17 @@ -use polkadot_sdk::*; use cess_node_primitives::{AccountId, Balance, Block, Signature}; -use cess_node_runtime::{constants::currency::DOLLARS, wasm_binary_unwrap, MaxNominations, SessionKeys, StakerStatus}; -/// Added a graph view on the functions relationship in this file, refer to the github-rendered view at: -// https://github.com/CESSProject/cess/blob/main/docs/on-src/node/src/chain_spec.rs.md -use sp_consensus_grandpa::AuthorityId as GrandpaId; - +use cess_node_runtime::{ + constants::currency::DOLLARS, wasm_binary_unwrap, MaxNominations, SS58Prefix, SessionKeys, StakerStatus, +}; use cessp_consensus_rrsc::AuthorityId as RRSCId; use pallet_audit::sr25519::AuthorityId as SegmentBookId; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; +use polkadot_sdk::*; use sc_chain_spec::{ChainSpecExtension, Properties}; use sc_service::ChainType; use sc_telemetry::TelemetryEndpoints; use serde::{Deserialize, Serialize}; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; +use sp_consensus_grandpa::AuthorityId as GrandpaId; use sp_core::{crypto::UncheckedInto, sr25519, Pair, Public}; use sp_runtime::{ traits::{IdentifyAccount, Verify}, @@ -46,6 +45,16 @@ pub struct Extensions { pub type ChainSpec = sc_service::GenericChainSpec; type AccountPublic = ::Signer; +#[rustfmt::skip] +type AuthorityKeys = ( + AccountId, + AccountId, + GrandpaId, + RRSCId, + ImOnlineId, + AuthorityDiscoveryId, + SegmentBookId +); fn session_keys( grandpa: GrandpaId, @@ -65,9 +74,7 @@ where } /// Helper function to generate stash, controller and session key from seed -pub fn authority_keys_from_seed( - seed: &str, -) -> (AccountId, AccountId, GrandpaId, RRSCId, ImOnlineId, AuthorityDiscoveryId, SegmentBookId) { +pub fn authority_keys_from_seed(seed: &str) -> AuthorityKeys { ( get_account_id_from_seed::(&format!("{}//stash", seed)), get_account_id_from_seed::(seed), @@ -83,21 +90,12 @@ fn properties() -> Properties { let mut properties = Properties::new(); properties.insert("tokenSymbol".into(), "TCESS".into()); properties.insert("tokenDecimals".into(), 18.into()); - properties.insert("ss58Format".into(), 11330.into()); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); properties } -fn cess_main_genesis() -> serde_json::Value { - #[rustfmt::skip] - let initial_authorities: Vec<( - AccountId, - AccountId, - GrandpaId, - RRSCId, - ImOnlineId, - AuthorityDiscoveryId, - SegmentBookId, - )> = vec![ +fn cess_testnet_genesis() -> serde_json::Value { + let initial_authorities: Vec = vec![ ( // cXfg2SYcq85nyZ1U4ccx6QnAgSeLQB8aXZ2jstbw9CPGSmhXY array_bytes::hex_n_into_unchecked("1ec940be673d3613e94c4d44e3f4621422c1a0778a53a34b2b45f3118f823c03"), @@ -241,15 +239,7 @@ fn cess_testnet_config_genesis() -> serde_json::Value { // // for i in 1 2 3 4 ; do for j in session; do subkey --ed25519 inspect "$secret"//fir//$j//$i; done; done - let initial_authorities: Vec<( - AccountId, - AccountId, - GrandpaId, - RRSCId, - ImOnlineId, - AuthorityDiscoveryId, - SegmentBookId, - )> = vec![ + let initial_authorities: Vec = vec![ ( // cXfg2SYcq85nyZ1U4ccx6QnAgSeLQB8aXZ2jstbw9CPGSmhXY array_bytes::hex_n_into_unchecked("1ec940be673d3613e94c4d44e3f4621422c1a0778a53a34b2b45f3118f823c03"), @@ -343,11 +333,11 @@ pub fn cess_testnet_config() -> ChainSpec { ChainSpec::from_json_bytes(&include_bytes!("../ccg/cess-testnet-spec-raw.json")[..]).unwrap() } -pub fn cess_develop_config() -> ChainSpec { +pub fn cess_devnet_config() -> ChainSpec { ChainSpec::from_json_bytes(&include_bytes!("../ccg/cess-develop-spec-raw.json")[..]).unwrap() } -pub fn cess_testnet_generate_config() -> ChainSpec { +pub fn cess_devnet_generate_config() -> ChainSpec { ChainSpec::builder(wasm_binary_unwrap(), Default::default()) .with_name("cess-devnet") .with_id("cess-devnet") @@ -361,13 +351,13 @@ pub fn cess_testnet_generate_config() -> ChainSpec { .build() } -pub fn cess_main() -> ChainSpec { +pub fn cess_testnet() -> ChainSpec { ChainSpec::builder(wasm_binary_unwrap(), Default::default()) .with_name("cess-testnet") .with_id("cess-testnet") .with_chain_type(ChainType::Live) .with_properties(properties()) - .with_genesis_config_patch(cess_main_genesis()) + .with_genesis_config_patch(cess_testnet_genesis()) .with_telemetry_endpoints( TelemetryEndpoints::new(vec![(STAGING_TELEMETRY_URL.to_string(), 0)]) .expect("Staging telemetry url is valid; qed"), @@ -375,55 +365,39 @@ pub fn cess_main() -> ChainSpec { .build() } -fn development_config_genesis() -> serde_json::Value { - testnet_genesis( - vec![authority_keys_from_seed("Alice")], - vec![], - get_account_id_from_seed::("Alice"), - None, - ) -} - pub fn development_config() -> ChainSpec { ChainSpec::builder(wasm_binary_unwrap(), Default::default()) .with_name("Development") .with_id("dev") .with_chain_type(ChainType::Development) .with_properties(properties()) - .with_genesis_config_patch(development_config_genesis()) + .with_genesis_config_patch(testnet_genesis( + vec![authority_keys_from_seed("Alice")], + vec![], + get_account_id_from_seed::("Alice"), + None, + )) .build() } -fn local_testnet_genesis() -> serde_json::Value { - testnet_genesis( - vec![authority_keys_from_seed("Alice"), authority_keys_from_seed("Bob")], - vec![], - get_account_id_from_seed::("Alice"), - None, - ) -} - pub fn local_testnet_config() -> ChainSpec { ChainSpec::builder(wasm_binary_unwrap(), Default::default()) .with_name("Local Testnet") .with_id("local_testnet") .with_chain_type(ChainType::Local) .with_properties(properties()) - .with_genesis_config_patch(local_testnet_genesis()) + .with_genesis_config_patch(testnet_genesis( + vec![authority_keys_from_seed("Alice"), authority_keys_from_seed("Bob")], + vec![], + get_account_id_from_seed::("Alice"), + None, + )) .build() } /// Configure initial storage state for FRAME modules. fn testnet_genesis( - initial_authorities: Vec<( - AccountId, - AccountId, - GrandpaId, - RRSCId, - ImOnlineId, - AuthorityDiscoveryId, - SegmentBookId, - )>, + initial_authorities: Vec, initial_nominators: Vec, root_key: AccountId, endowed_accounts: Option>, @@ -475,6 +449,7 @@ fn testnet_genesis( .collect::>(); let num_endowed_accounts = endowed_accounts.len(); + let evm_chain_id = SS58Prefix::get(); const ENDOWMENT: Balance = 100_000_000 * DOLLARS; const STASH: Balance = 3_000_000 * DOLLARS; @@ -508,7 +483,7 @@ fn testnet_genesis( "epochConfig": Some(cess_node_runtime::BABE_GENESIS_EPOCH_CONFIG) }, "evmChainId": { - "chainId": 11330 + "chainId": evm_chain_id }, "storageHandler": { "price": 30 * DOLLARS diff --git a/standalone/chain/node/src/command.rs b/standalone/chain/node/src/command.rs index 6b5e5a3e..ea4263bd 100644 --- a/standalone/chain/node/src/command.rs +++ b/standalone/chain/node/src/command.rs @@ -58,9 +58,9 @@ impl SubstrateCli for Cli { fn load_spec(&self, id: &str) -> std::result::Result, String> { let spec = match id { "" | "cess-testnet" => Box::new(chain_spec::cess_testnet_config()), - "cess-initial-devnet" => Box::new(chain_spec::cess_testnet_generate_config()), - "cess-devnet" => Box::new(chain_spec::cess_develop_config()), - "cess-initial-testnet" => Box::new(chain_spec::cess_main()), + "cess-initial-devnet" => Box::new(chain_spec::cess_devnet_generate_config()), + "cess-devnet" => Box::new(chain_spec::cess_devnet_config()), + "cess-initial-testnet" => Box::new(chain_spec::cess_testnet()), "dev" => Box::new(chain_spec::development_config()), "local" => Box::new(chain_spec::local_testnet_config()), path => Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?), @@ -204,13 +204,13 @@ pub fn run() -> sc_cli::Result<()> { BenchmarkCmd::Overhead(cmd) => { let (client, _, _, _, _) = service::new_chain_ops(&mut config)?; let ext_builder = RemarkBuilder::new(client.clone()); - cmd.run( - config, + config.chain_spec.name().into(), client, inherent_benchmark_data()?, Vec::new(), &ext_builder, + false, ) }, BenchmarkCmd::Extrinsic(cmd) => { diff --git a/standalone/chain/node/src/service.rs b/standalone/chain/node/src/service.rs index e39592eb..49318807 100644 --- a/standalone/chain/node/src/service.rs +++ b/standalone/chain/node/src/service.rs @@ -1,19 +1,18 @@ //! Service and ServiceFactory implementation. Specialized wrapper over substrate service. -use std::{path::Path, sync::Arc}; -use polkadot_sdk::*; use futures::prelude::*; +use polkadot_sdk::*; use sc_consensus_grandpa as grandpa; +use std::{path::Path, sync::Arc}; // Substrate use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; use sc_client_api::{Backend, BlockBackend}; use sc_consensus::BasicQueue; -use sc_network::{ - event::Event, service::traits::NetworkService, NetworkBackend, NetworkEventStream, -}; +use sc_network::{event::Event, service::traits::NetworkService, NetworkBackend, NetworkEventStream}; use sc_network_sync::{strategy::warp::WarpSyncConfig, SyncingService}; use sc_service::{error::Error as ServiceError, Configuration, PartialComponents, RpcHandlers, TaskManager}; use sc_telemetry::{Telemetry, TelemetryWorker}; +use sc_transaction_pool::{BasicPool, FullChainApi}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_core::U256; use sp_runtime::traits::Block as BlockT; @@ -23,10 +22,7 @@ use cess_node_runtime::{RuntimeApi, TransactionConverter}; use crate::{ client::{FullBackend as FullBackendT, FullClient as FullClientT}, - eth::{ - self, db_config_dir, EthConfiguration, FrontierBackend, - FrontierPartialComponents, StorageOverrideHandler - }, + eth::{self, db_config_dir, EthConfiguration, FrontierBackend, FrontierPartialComponents, StorageOverrideHandler}, rpc::{self as node_rpc, EthDeps}, }; @@ -34,10 +30,7 @@ use cessc_consensus_rrsc::{self, SlotProportion}; /// Only enable the benchmarking host functions when we actually want to benchmark. #[cfg(feature = "runtime-benchmarks")] -pub type HostFunctions = ( - sp_io::SubstrateHostFunctions, - frame_benchmarking::benchmarking::HostFunctions, -); +pub type HostFunctions = (sp_io::SubstrateHostFunctions, frame_benchmarking::benchmarking::HostFunctions); /// Otherwise we use empty host functions for ext host functions. #[cfg(not(feature = "runtime-benchmarks"))] pub type HostFunctions = sp_io::SubstrateHostFunctions; @@ -48,11 +41,10 @@ type FullSelectChain = sc_consensus::LongestChain; type FullGrandpaBlockImport = grandpa::GrandpaBlockImport; type BasicImportQueue = sc_consensus::DefaultImportQueue; -type FullPool = sc_transaction_pool::FullPool; type FullGrandpaLinkHalf = grandpa::LinkHalf; /// The transaction pool type definition. -pub type TransactionPool = sc_transaction_pool::FullPool; +pub type TransactionPool = BasicPool, Block>; /// The minimum period of blocks on which justifications will be /// imported and generated. @@ -70,18 +62,11 @@ pub fn new_partial( FullBackend, FullSelectChain, BasicImportQueue, - FullPool, - ( - RrscBlockImport, - RrscWorkerHandle, - RrscLink, - FullGrandpaLinkHalf, - Option, - ), + TransactionPool, + (RrscBlockImport, RrscWorkerHandle, RrscLink, FullGrandpaLinkHalf, Option), >, ServiceError, -> -{ +> { let telemetry = config .telemetry_endpoints .clone() @@ -95,12 +80,11 @@ pub fn new_partial( let executor = sc_service::new_wasm_executor(&config.executor); - let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::( - config, - telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), - executor, - )?; + let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( + config, + telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), + executor, + )?; let client = Arc::new(client); let telemetry = telemetry.map(|(worker, telemetry)| { @@ -110,18 +94,19 @@ pub fn new_partial( let select_chain = sc_consensus::LongestChain::new(backend.clone()); - let transaction_pool = sc_transaction_pool::BasicPool::new_full( - config.transaction_pool.clone(), + // FIXME: The `config.transaction_pool.options` field is private, so for now use its default value + let transaction_pool = Arc::from(BasicPool::new_full( + Default::default(), config.role.is_authority().into(), config.prometheus_registry(), task_manager.spawn_essential_handle(), client.clone(), - ); + )); let (grandpa_block_import, grandpa_link) = grandpa::block_import( client.clone(), GRANDPA_JUSTIFICATION_PERIOD, - &(client.clone() as Arc<_>), + &client, select_chain.clone(), telemetry.as_ref().map(|x| x.handle()), )?; @@ -132,7 +117,7 @@ pub fn new_partial( grandpa_block_import.clone(), client.clone(), )?; - + let slot_duration = rrsc_link.config().slot_duration(); let (import_queue, rrsc_worker_handle) = { let param = cessc_consensus_rrsc::ImportQueueParams { @@ -167,13 +152,7 @@ pub fn new_partial( select_chain, import_queue, transaction_pool, - other: ( - block_import, - rrsc_worker_handle, - rrsc_link, - grandpa_link, - telemetry, - ), + other: (block_import, rrsc_worker_handle, rrsc_link, grandpa_link, telemetry), }) } @@ -198,12 +177,11 @@ pub struct NewFullBase { pub fn new_full_base::Hash>>( mut config: Configuration, eth_config: EthConfiguration, - disable_hardware_benchmarks: bool, + disable_hardware_benchmarks: bool, ) -> Result { let role = config.role; let force_authoring = config.force_authoring; - let backoff_authoring_blocks = - Some(sc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging::default()); + let backoff_authoring_blocks = Some(sc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging::default()); let name = config.network.node_name.clone(); let enable_grandpa = !config.disable_grandpa; let prometheus_registry = config.prometheus_registry().cloned(); @@ -214,7 +192,7 @@ pub fn new_full_base::Hash>>( let _ = std::fs::create_dir_all(&database_path); sc_sysinfo::gather_hwbench(Some(database_path), &SUBSTRATE_REFERENCE_HARDWARE) })) - .flatten(); + .flatten(); let sc_service::PartialComponents { client, @@ -224,18 +202,10 @@ pub fn new_full_base::Hash>>( keystore_container, select_chain, transaction_pool, - other: ( - block_import, - rrsc_worker_handle, - rrsc_link, - grandpa_link, - mut telemetry, - ), + other: (block_import, rrsc_worker_handle, rrsc_link, grandpa_link, mut telemetry), } = new_partial(&config)?; - - let metrics = N::register_notification_metrics( - config.prometheus_config.as_ref().map(|cfg| &cfg.registry), - ); + + let metrics = N::register_notification_metrics(config.prometheus_config.as_ref().map(|cfg| &cfg.registry)); let auth_disc_publish_non_global_ips = config.network.allow_non_globals_in_dht; let auth_disc_public_addresses = config.network.public_addresses.clone(); @@ -249,12 +219,11 @@ pub fn new_full_base::Hash>>( let peer_store_handle = net_config.peer_store_handle(); let grandpa_protocol_name = grandpa::protocol_standard_name(&genesis_hash, &config.chain_spec); - let (grandpa_protocol_config, grandpa_notification_service) = - grandpa::grandpa_peers_set_config::<_, N>( - grandpa_protocol_name.clone(), - metrics.clone(), - Arc::clone(&peer_store_handle), - ); + let (grandpa_protocol_config, grandpa_notification_service) = grandpa::grandpa_peers_set_config::<_, N>( + grandpa_protocol_name.clone(), + metrics.clone(), + Arc::clone(&peer_store_handle), + ); net_config.add_notification_protocol(grandpa_protocol_config); let warp_sync = Arc::new(grandpa::warp_proof::NetworkProvider::new( @@ -276,13 +245,9 @@ pub fn new_full_base::Hash>>( block_relay: None, metrics, })?; - + let ( - FrontierPartialComponents { - filter_pool, - fee_history_cache, - fee_history_cache_limit - }, + FrontierPartialComponents { filter_pool, fee_history_cache, fee_history_cache_limit }, eth_block_data_cache, eth_block_notification_sink, storage_override, @@ -296,10 +261,10 @@ pub fn new_full_base::Hash>>( backend.clone(), &mut task_manager, sync_service.clone(), - prometheus_registry.clone() + prometheus_registry.clone(), )?; - let shared_voter_state = grandpa::SharedVoterState::empty(); + let shared_voter_state = grandpa::SharedVoterState::empty(); let rpc_builder = { let client = client.clone(); let backend = backend.clone(); @@ -311,10 +276,8 @@ pub fn new_full_base::Hash>>( let justification_stream = grandpa_link.justification_stream(); let shared_authority_set = grandpa_link.shared_authority_set().clone(); let is_authority = config.role.is_authority(); - let finality_proof_provider = grandpa::FinalityProofProvider::new_for_service( - backend.clone(), - Some(shared_authority_set.clone()), - ); + let finality_proof_provider = + grandpa::FinalityProofProvider::new_for_service(backend.clone(), Some(shared_authority_set.clone())); let keystore = keystore_container.keystore(); let chain_spec = config.chain_spec.cloned_box(); let enable_dev_signer = eth_config.enable_dev_signer; @@ -348,10 +311,7 @@ pub fn new_full_base::Hash>>( pool: transaction_pool.clone(), select_chain: select_chain.clone(), chain_spec: chain_spec.cloned_box(), - rrsc: node_rpc::RRSCDeps { - keystore: keystore.clone(), - rrsc_worker_handle: rrsc_worker_handle.clone(), - }, + rrsc: node_rpc::RRSCDeps { keystore: keystore.clone(), rrsc_worker_handle: rrsc_worker_handle.clone() }, grandpa: node_rpc::GrandpaDeps { shared_voter_state: shared_voter_state.clone(), shared_authority_set: shared_authority_set.clone(), @@ -362,11 +322,7 @@ pub fn new_full_base::Hash>>( backend: backend.clone(), }; - node_rpc::create_full( - deps, - eth_rpc_deps, - subscription_executor, - ).map_err(Into::into) + node_rpc::create_full(deps, eth_rpc_deps, subscription_executor).map_err(Into::into) }; rpc_builder }; @@ -390,10 +346,7 @@ pub fn new_full_base::Hash>>( sc_sysinfo::print_hwbench(&hwbench); match SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench, false) { Err(err) if role.is_authority() => { - log::warn!( - "⚠️ The hardware does not meet the minimal requirements {} for role 'Authority'.", - err - ); + log::warn!("⚠️ The hardware does not meet the minimal requirements {} for role 'Authority'.", err); }, _ => {}, } @@ -432,17 +385,13 @@ pub fn new_full_base::Hash>>( async move { let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - let slot = - cessp_consensus_rrsc::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); + let slot = cessp_consensus_rrsc::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); let storage_proof = - sp_transaction_storage_proof::registration::new_data_provider( - &*client_clone, - &parent, - )?; + sp_transaction_storage_proof::registration::new_data_provider(&*client_clone, &parent)?; Ok((slot, timestamp, storage_proof)) } @@ -456,37 +405,32 @@ pub fn new_full_base::Hash>>( }; let babe = cessc_consensus_rrsc::start_rrsc(babe_config)?; - task_manager.spawn_essential_handle().spawn_blocking( - "babe-proposer", - Some("block-authoring"), - babe, - ); + task_manager + .spawn_essential_handle() + .spawn_blocking("babe-proposer", Some("block-authoring"), babe); } // Spawn authority discovery module. if role.is_authority() { - let authority_discovery_role = - sc_authority_discovery::Role::PublishAndDiscover(keystore_container.keystore()); - let dht_event_stream = - network.event_stream("authority-discovery").filter_map(|e| async move { - match e { - Event::Dht(e) => Some(e), - _ => None, - } - }); - let (authority_discovery_worker, _service) = - sc_authority_discovery::new_worker_and_service_with_config( - sc_authority_discovery::WorkerConfig { - publish_non_global_ips: auth_disc_publish_non_global_ips, - public_addresses: auth_disc_public_addresses, - ..Default::default() - }, - client.clone(), - Arc::new(network.clone()), - Box::pin(dht_event_stream), - authority_discovery_role, - prometheus_registry.clone(), - ); + let authority_discovery_role = sc_authority_discovery::Role::PublishAndDiscover(keystore_container.keystore()); + let dht_event_stream = network.event_stream("authority-discovery").filter_map(|e| async move { + match e { + Event::Dht(e) => Some(e), + _ => None, + } + }); + let (authority_discovery_worker, _service) = sc_authority_discovery::new_worker_and_service_with_config( + sc_authority_discovery::WorkerConfig { + publish_non_global_ips: auth_disc_publish_non_global_ips, + public_addresses: auth_disc_public_addresses, + ..Default::default() + }, + client.clone(), + Arc::new(network.clone()), + Box::pin(dht_event_stream), + authority_discovery_role, + prometheus_registry.clone(), + ); task_manager.spawn_handle().spawn( "authority-discovery-worker", @@ -541,35 +485,25 @@ pub fn new_full_base::Hash>>( } if enable_offchain_worker { + let offchain_workers = sc_offchain::OffchainWorkers::new(sc_offchain::OffchainWorkerOptions { + runtime_api_provider: client.clone(), + is_validator: role.is_authority(), + keystore: Some(keystore_container.keystore()), + offchain_db: backend.offchain_storage(), + transaction_pool: Some(OffchainTransactionPoolFactory::new(transaction_pool.clone())), + network_provider: Arc::new(network.clone()), + enable_http_requests: true, + custom_extensions: |_| vec![], + })?; task_manager.spawn_handle().spawn( "offchain-workers-runner", - "offchain-work", - sc_offchain::OffchainWorkers::new(sc_offchain::OffchainWorkerOptions { - runtime_api_provider: client.clone(), - keystore: Some(keystore_container.keystore()), - offchain_db: backend.offchain_storage(), - transaction_pool: Some(OffchainTransactionPoolFactory::new( - transaction_pool.clone(), - )), - network_provider: Arc::new(network.clone()), - is_validator: role.is_authority(), - enable_http_requests: true, - custom_extensions: |_| vec![], - }) - .run(client.clone(), task_manager.spawn_handle()) - .boxed(), + "offchain-worker", + offchain_workers.run(client.clone(), task_manager.spawn_handle()).boxed(), ); } network_starter.start_network(); - Ok(NewFullBase { - task_manager, - client, - network, - sync: sync_service, - transaction_pool, - rpc_handlers, - }) + Ok(NewFullBase { task_manager, client, network, sync: sync_service, transaction_pool, rpc_handlers }) } #[derive(Clone)] @@ -583,7 +517,7 @@ impl sp_inherents::CreateInherentDataProviders for EthPendingCreateIn type InherentDataProviders = ( cessp_consensus_rrsc::inherents::InherentDataProvider, sp_timestamp::InherentDataProvider, - fp_dynamic_fee::InherentDataProvider + fp_dynamic_fee::InherentDataProvider, ); async fn create_inherent_data_providers( &self, @@ -602,9 +536,16 @@ impl sp_inherents::CreateInherentDataProviders for EthPendingCreateIn } } -type FullChainApi = sc_transaction_pool::FullChainApi; -type FullEthDeps = EthDeps; -type FullEthBlockNotificationSinks = fc_mapping_sync::EthereumBlockNotificationSinks>; +type FullEthDeps = EthDeps< + Block, + FullClient, + TransactionPool, + FullChainApi, + TransactionConverter, + EthPendingCreateInherentDataProvider, +>; +type FullEthBlockNotificationSinks = + fc_mapping_sync::EthereumBlockNotificationSinks>; type FullStorageOverrideHandler = StorageOverrideHandler; type FullFrontierBackend = FrontierBackend; @@ -617,26 +558,26 @@ fn new_frontier_and_rpc_dep_partial( task_manager: &TaskManager, sync_service: Arc>, prometheus_registry: Option, -) -> Result<( - FrontierPartialComponents, - Arc>, - Arc, - Arc, - EthPendingCreateInherentDataProvider, - Arc, -), ServiceError> { +) -> Result< + ( + FrontierPartialComponents, + Arc>, + Arc, + Arc, + EthPendingCreateInherentDataProvider, + Arc, + ), + ServiceError, +> { // for ethereum-compatibility rpc. config.rpc.id_provider = Some(Box::new(fc_rpc::EthereumSubIdProvider)); let storage_override = Arc::new(StorageOverrideHandler::::new(client.clone())); - let frontier_backend = Arc::new(fc_db::kv::Backend::open( - Arc::clone(&client), - &config.database, - &db_config_dir(config), - )?); + let frontier_backend = + Arc::new(fc_db::kv::Backend::open(Arc::clone(&client), &config.database, &db_config_dir(config))?); let FrontierPartialComponents { filter_pool, fee_history_cache, fee_history_cache_limit } = eth::new_frontier_partial(ð_config)?; - + // Sinks for pubsub notifications. // Everytime a new subscription is created, a new mpsc channel is added to the sink pool. // The MappingSyncWorker sends through the channel on block import and the subscription emits a notification to the @@ -647,17 +588,15 @@ fn new_frontier_and_rpc_dep_partial( > = Default::default(); let pubsub_notification_sinks = Arc::new(pubsub_notification_sinks); - let pending_create_inherent_data_providers = EthPendingCreateInherentDataProvider { - slot_duration, - target_gas_price: eth_config.target_gas_price - }; + let pending_create_inherent_data_providers = + EthPendingCreateInherentDataProvider { slot_duration, target_gas_price: eth_config.target_gas_price }; let block_data_cache = Arc::new(fc_rpc::EthBlockDataCacheTask::new( task_manager.spawn_handle(), storage_override.clone(), eth_config.eth_log_block_cache, eth_config.eth_statuses_cache, prometheus_registry.clone(), - )); + )); eth::spawn_frontier_tasks( task_manager, @@ -673,11 +612,7 @@ fn new_frontier_and_rpc_dep_partial( ); Ok(( - FrontierPartialComponents{ - filter_pool, - fee_history_cache, - fee_history_cache_limit, - }, + FrontierPartialComponents { filter_pool, fee_history_cache, fee_history_cache_limit }, block_data_cache, pubsub_notification_sinks, storage_override, @@ -689,24 +624,18 @@ fn new_frontier_and_rpc_dep_partial( /// Builds a new service for a full client. pub fn new_full(config: Configuration, cli: crate::cli::Cli) -> Result { let database_path = config.database.path().map(Path::to_path_buf); - let eth_config = cli.eth; + let eth_config = cli.eth; let task_manager = match config.network.network_backend { sc_network::config::NetworkBackendType::Libp2p => { - let task_manager = new_full_base::>( - config, - eth_config, - cli.no_hardware_benchmarks, - ) - .map(|NewFullBase { task_manager, .. }| task_manager)?; + let task_manager = + new_full_base::>(config, eth_config, cli.no_hardware_benchmarks) + .map(|NewFullBase { task_manager, .. }| task_manager)?; task_manager }, sc_network::config::NetworkBackendType::Litep2p => { - let task_manager = new_full_base::( - config, - eth_config, - cli.no_hardware_benchmarks, - ) - .map(|NewFullBase { task_manager, .. }| task_manager)?; + let task_manager = + new_full_base::(config, eth_config, cli.no_hardware_benchmarks) + .map(|NewFullBase { task_manager, .. }| task_manager)?; task_manager }, }; @@ -726,29 +655,12 @@ pub fn new_full(config: Configuration, cli: crate::cli::Cli) -> Result Result< - ( - Arc, - Arc, - BasicQueue, - TaskManager, - Arc>, - ), + (Arc, Arc, BasicQueue, TaskManager, Arc>), ServiceError, > { config.keystore = sc_service::config::KeystoreConfig::InMemory; - let PartialComponents { - client, - backend, - import_queue, - task_manager, - .. - } = new_partial( - &config, - )?; - let frontier_backend = Arc::new(fc_db::kv::Backend::open( - Arc::clone(&client), - &config.database, - &db_config_dir(config), - )?); + let PartialComponents { client, backend, import_queue, task_manager, .. } = new_partial(&config)?; + let frontier_backend = + Arc::new(fc_db::kv::Backend::open(Arc::clone(&client), &config.database, &db_config_dir(config))?); Ok((client, backend, import_queue, task_manager, frontier_backend)) } diff --git a/standalone/chain/runtime/Cargo.toml b/standalone/chain/runtime/Cargo.toml index 566c61f6..d4ac53e4 100644 --- a/standalone/chain/runtime/Cargo.toml +++ b/standalone/chain/runtime/Cargo.toml @@ -4,7 +4,7 @@ edition = "2021" license = "Unlicense" name = "cess-node-runtime" repository = "https://github.com/CESSProject/cess" -version = "0.9.0" +version = "0.9.1" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/standalone/chain/runtime/src/frontier.rs b/standalone/chain/runtime/src/frontier.rs index 42279576..adc7f218 100644 --- a/standalone/chain/runtime/src/frontier.rs +++ b/standalone/chain/runtime/src/frontier.rs @@ -117,14 +117,14 @@ impl pallet_base_fee::Config for Runtime { pub struct TransactionConverter; impl fp_rpc::ConvertTransaction for TransactionConverter { fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic { - UncheckedExtrinsic::new_unsigned(pallet_ethereum::Call::::transact { transaction }.into()) + UncheckedExtrinsic::new_bare(pallet_ethereum::Call::::transact { transaction }.into()) } } impl fp_rpc::ConvertTransaction for TransactionConverter { fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> opaque::UncheckedExtrinsic { let extrinsic = - UncheckedExtrinsic::new_unsigned(pallet_ethereum::Call::::transact { transaction }.into()); + UncheckedExtrinsic::new_bare(pallet_ethereum::Call::::transact { transaction }.into()); let encoded = extrinsic.encode(); opaque::UncheckedExtrinsic::decode(&mut &encoded[..]).expect("Encoded extrinsic is always valid") } diff --git a/standalone/chain/runtime/src/lib.rs b/standalone/chain/runtime/src/lib.rs index bb890340..502c71e6 100644 --- a/standalone/chain/runtime/src/lib.rs +++ b/standalone/chain/runtime/src/lib.rs @@ -26,7 +26,7 @@ extern crate alloc; use polkadot_sdk::*; -use alloc::{vec, vec::Vec}; +use alloc::{borrow::Cow, vec, vec::Vec}; pub use cess_node_primitives::{AccountId, AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce, Signature}; use codec::{Decode, Encode, MaxEncodedLen}; use frame_election_provider_support::{ @@ -73,7 +73,7 @@ use sp_consensus_grandpa::AuthorityId as GrandpaId; use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H160, H256, U256}; use sp_inherents::{CheckInherentsResult, InherentData}; use sp_runtime::{ - create_runtime_str, generic, impl_opaque_keys, + generic, impl_opaque_keys, traits::{ self, AccountIdConversion, BlakeTwo256, Block as BlockT, Bounded, ConvertInto, Keccak256, NumberFor, OpaqueKeys, SaturatedConversion, StaticLookup, UniqueSaturatedInto, @@ -145,18 +145,18 @@ pub fn wasm_binary_unwrap() -> &'static [u8] { /// Runtime version. #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: create_runtime_str!("cess-node"), - impl_name: create_runtime_str!("cess-node"), + spec_name: Cow::Borrowed("cess-node"), + impl_name: Cow::Borrowed("cess-node"), authoring_version: 1, // Per convention: if the runtime behavior changes, increment spec_version // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 124, + spec_version: 125, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, - state_version: 0, + system_version: 0, }; /// The BABE epoch configuration at genesis. @@ -305,12 +305,13 @@ impl InstanceFilter for ProxyType { ProxyType::Any => true, ProxyType::NonTransfer => !matches!( c, - RuntimeCall::Balances(..) | - RuntimeCall::Assets(..) | - RuntimeCall::Indices(pallet_indices::Call::transfer { .. }) + RuntimeCall::Balances(..) + | RuntimeCall::Assets(..) + | RuntimeCall::Indices(pallet_indices::Call::transfer { .. }) ), - ProxyType::Governance => - matches!(c, RuntimeCall::Council(..) | RuntimeCall::TechnicalCommittee(..) | RuntimeCall::Treasury(..)), + ProxyType::Governance => { + matches!(c, RuntimeCall::Council(..) | RuntimeCall::TechnicalCommittee(..) | RuntimeCall::Treasury(..)) + }, ProxyType::Staking => { matches!(c, RuntimeCall::Staking(..) | RuntimeCall::FastUnstake(..)) }, @@ -435,6 +436,7 @@ impl pallet_balances::Config for Runtime { type WeightInfo = pallet_balances::weights::SubstrateWeight; type FreezeIdentifier = RuntimeFreezeReason; type MaxFreezes = VariantCountOf; + type DoneSlashHandler = (); } parameter_types! { @@ -457,6 +459,7 @@ impl pallet_transaction_payment::Config for Runtime { type LengthToFee = ConstantMultiplier; type FeeMultiplierUpdate = TargetedFeeAdjustment; + type WeightInfo = pallet_transaction_payment::weights::SubstrateWeight; } impl pallet_asset_tx_payment::Config for Runtime { @@ -466,17 +469,19 @@ impl pallet_asset_tx_payment::Config for Runtime { pallet_assets::BalanceToAssetBalance, CreditToBlockAuthor, >; + type WeightInfo = pallet_asset_tx_payment::weights::SubstrateWeight; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = AssetTxHelper; } impl pallet_asset_conversion_tx_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = NativeOrWithId; - type OnChargeAssetTransaction = SwapAssetAdapter< - Native, - NativeAndAssets, - AssetConversion, - ResolveAssetTo, - >; + type OnChargeAssetTransaction = + SwapAssetAdapter>; + type WeightInfo = pallet_asset_conversion_tx_payment::weights::SubstrateWeight; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = AssetConversionTxHelper; } parameter_types! { @@ -773,6 +778,9 @@ impl pallet_collective::Config for Runtime { type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; type MaxProposalWeight = MaxCollectivesProposalWeight; + type DisapproveOrigin = EnsureRoot; + type KillOrigin = EnsureRoot; + type Consideration = (); } parameter_types! { @@ -793,6 +801,9 @@ impl pallet_collective::Config for Runtime { type WeightInfo = pallet_collective::weights::SubstrateWeight; type SetMembersOrigin = EnsureRoot; type MaxProposalWeight = MaxCollectivesProposalWeight; + type DisapproveOrigin = EnsureRoot; + type KillOrigin = EnsureRoot; + type Consideration = (); } type EnsureRootOrHalfCouncil = EitherOfDiverse< @@ -832,6 +843,7 @@ impl pallet_treasury::Config for Runtime { type Paymaster = PayAssetFromAccount; type BalanceConverter = AssetRate; type PayoutPeriod = SpendPayoutPeriod; + type BlockNumberProvider = System; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = (); } @@ -910,16 +922,27 @@ parameter_types! { pub const MaxPeerInHeartbeats: u32 = 10_000; } +impl frame_system::offchain::CreateTransaction for Runtime +where + RuntimeCall: From, +{ + type Extension = TxExtension; + + fn create_transaction(call: RuntimeCall, extension: TxExtension) -> UncheckedExtrinsic { + generic::UncheckedExtrinsic::new_transaction(call, extension).into() + } +} + impl frame_system::offchain::CreateSignedTransaction for Runtime where RuntimeCall: From, { - fn create_transaction>( + fn create_signed_transaction>( call: RuntimeCall, public: ::Signer, account: AccountId, nonce: Nonce, - ) -> Option<(RuntimeCall, ::SignaturePayload)> { + ) -> Option { // take the biggest period possible. let period = BlockHashCount::get().checked_next_power_of_two().map(|c| c / 2).unwrap_or(2) as u64; let current_block = System::block_number() @@ -928,7 +951,7 @@ where // so the actual block number is `n`. .saturating_sub(1); let era = Era::mortal(period, current_block); - let extra = ( + let tx_ext: TxExtension = ( frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), @@ -939,15 +962,25 @@ where ces_pallet_mq::CheckMqSequence::::new(), pallet_transaction_payment::ChargeTransactionPayment::::from(0), ); - let raw_payload = SignedPayload::new(call, extra) + let raw_payload = SignedPayload::new(call, tx_ext) .map_err(|e| { log::warn!("Unable to create signed payload: {:?}", e); }) .ok()?; let signature = raw_payload.using_encoded(|payload| C::sign(payload, public))?; let address = Indices::unlookup(account); - let (call, extra, _) = raw_payload.deconstruct(); - Some((call, (address, signature, extra))) + let (call, tx_ext, _) = raw_payload.deconstruct(); + let transaction = generic::UncheckedExtrinsic::new_signed(call, address, signature, tx_ext).into(); + Some(transaction) + } +} + +impl frame_system::offchain::CreateInherent for Runtime +where + RuntimeCall: From, +{ + fn create_inherent(call: RuntimeCall) -> UncheckedExtrinsic { + generic::UncheckedExtrinsic::new_bare(call).into() } } @@ -956,12 +989,12 @@ impl frame_system::offchain::SigningTypes for Runtime { type Signature = Signature; } -impl frame_system::offchain::SendTransactionTypes for Runtime +impl frame_system::offchain::CreateTransactionBase for Runtime where RuntimeCall: From, { type Extrinsic = UncheckedExtrinsic; - type OverarchingCall = RuntimeCall; + type RuntimeCall = RuntimeCall; } impl pallet_im_online::Config for Runtime { @@ -1078,8 +1111,7 @@ parameter_types! { pub const Native: NativeOrWithId = NativeOrWithId::Native; } -pub type NativeAndAssets = - UnionOf, AccountId>; +pub type NativeAndAssets = UnionOf, AccountId>; impl pallet_asset_conversion::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -1095,11 +1127,7 @@ impl pallet_asset_conversion::Config for Runtime { NativeOrWithId, AccountIdConverter, >, - Ascending< - AccountId, - NativeOrWithId, - AccountIdConverter, - >, + Ascending, AccountIdConverter>, >; type PoolAssetId = >::AssetId; type PoolAssets = PoolAssets; @@ -1222,11 +1250,11 @@ impl EnsureOriginWithArg for DynamicParamet match key { RuntimeParametersKey::Storage(_) => { frame_system::ensure_root(origin.clone()).map_err(|_| origin)?; - return Ok(()) + return Ok(()); }, RuntimeParametersKey::Contracts(_) => { frame_system::ensure_root(origin.clone()).map_err(|_| origin)?; - return Ok(()) + return Ok(()); }, } } @@ -1444,12 +1472,8 @@ pub type Block = generic::Block; pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; -/// The SignedExtension to the basic transaction logic. -/// -/// When you change this, you **MUST** modify [`sign`] in `bin/node/testing/src/keyring.rs`! -/// -/// [`sign`]: <../../testing/src/keyring.rs.html> -pub type SignedExtra = ( +/// The TransactionExtension to the basic transaction logic. +pub type TxExtension = ( frame_system::CheckNonZeroSender, frame_system::CheckSpecVersion, frame_system::CheckTxVersion, @@ -1462,11 +1486,11 @@ pub type SignedExtra = ( ); /// Unchecked extrinsic type as expected by this runtime. -pub type UncheckedExtrinsic = fp_self_contained::UncheckedExtrinsic; +pub type UncheckedExtrinsic = fp_self_contained::UncheckedExtrinsic; /// The payload being signed in transactions. -pub type SignedPayload = generic::SignedPayload; +pub type SignedPayload = generic::SignedPayload; /// Extrinsic type that has already been checked. -pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic; +pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic; /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -1480,21 +1504,17 @@ pub type Executive = frame_executive::Executive< // All migrations executed on runtime upgrade as a nested tuple of types implementing // `OnRuntimeUpgrade`. Note: These are examples and do not need to be run directly // after the genesis block. -type Migrations = ( - pallet_contracts::Migration, - pallet_cess_staking::migrations::v15::MigrateV14ToV15, -); +type Migrations = + (pallet_contracts::Migration, pallet_cess_staking::migrations::v15::MigrateV14ToV15); -type EventRecord = frame_system::EventRecord< - ::RuntimeEvent, - ::Hash, ->; +type EventRecord = + frame_system::EventRecord<::RuntimeEvent, ::Hash>; /// MMR helper types. mod mmr { - use polkadot_sdk::*; use super::Runtime; pub use pallet_mmr::primitives::*; + use polkadot_sdk::*; pub type Leaf = <::LeafData as LeafDataProvider>::LeafData; pub type Hash = ::Output; @@ -1602,7 +1622,7 @@ impl pallet_evm_account_mapping::Config for Runtime { } pub const SEGMENT_COUNT: u32 = 1000; -pub const FRAGMENT_COUNT: u32 = cp_cess_common::FRAGMENT_COUNT; +pub const FRAGMENT_COUNT: u32 = cp_cess_common::FRAGMENT_COUNT; parameter_types! { pub const FilbakPalletId: PalletId = PalletId(*b"rewardpt"); @@ -1796,6 +1816,73 @@ impl pallet_reservoir::Config for Runtime { } //------------------------- CESS's end ------------------------- +#[cfg(feature = "runtime-benchmarks")] +pub struct AssetTxHelper; +#[cfg(feature = "runtime-benchmarks")] +impl pallet_asset_tx_payment::BenchmarkHelperTrait for AssetTxHelper { + fn create_asset_id_parameter(_id: u32) -> (u32, u32) { + unimplemented!("FIXME: to implement create_asset_id_parameter()"); + } + fn setup_balances_and_pool(_asset_id: u32, _account: AccountId) { + unimplemented!("FIXME: to implement setup_balances_and_pool()"); + } +} + +#[cfg(feature = "runtime-benchmarks")] +pub struct AssetConversionTxHelper; +#[cfg(feature = "runtime-benchmarks")] +impl + pallet_asset_conversion_tx_payment::BenchmarkHelperTrait< + AccountId, + NativeOrWithId, + NativeOrWithId, + > for AssetConversionTxHelper +{ + fn create_asset_id_parameter(seed: u32) -> (NativeOrWithId, NativeOrWithId) { + (NativeOrWithId::WithId(seed), NativeOrWithId::WithId(seed)) + } + + fn setup_balances_and_pool(asset_id: NativeOrWithId, account: AccountId) { + use frame_support::{assert_ok, traits::fungibles::Mutate}; + let NativeOrWithId::WithId(asset_idx) = asset_id.clone() else { unimplemented!() }; + assert_ok!(Assets::force_create( + RuntimeOrigin::root(), + asset_idx.into(), + account.clone().into(), /* owner */ + true, /* is_sufficient */ + 1, + )); + + let lp_provider = account.clone(); + let _ = Balances::deposit_creating(&lp_provider, ((u64::MAX as u128) * 100).into()); + assert_ok!(Assets::mint_into( + asset_idx.into(), + &lp_provider, + ((u64::MAX as u128) * 100).into() + )); + + let token_native = alloc::boxed::Box::new(NativeOrWithId::Native); + let token_second = alloc::boxed::Box::new(asset_id); + + assert_ok!(AssetConversion::create_pool( + RuntimeOrigin::signed(lp_provider.clone()), + token_native.clone(), + token_second.clone() + )); + + assert_ok!(AssetConversion::add_liquidity( + RuntimeOrigin::signed(lp_provider.clone()), + token_native, + token_second, + u64::MAX.into(), // 1 desired + u64::MAX.into(), // 2 desired + 1, // 1 min + 1, // 2 min + lp_provider, + )); + } +} + #[cfg(feature = "runtime-benchmarks")] mod benches { use polkadot_sdk::*; @@ -2228,7 +2315,6 @@ impl_runtime_apis! { #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { - #[allow(non_local_definitions)] fn benchmark_metadata(extra: bool) -> ( Vec, Vec, @@ -2254,7 +2340,7 @@ impl_runtime_apis! { #[allow(non_local_definitions)] fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig - ) -> Result, sp_runtime::RuntimeString> { + ) -> Result, alloc::string::String> { use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch}; use polkadot_sdk::sp_storage::TrackedStorageKey; @@ -2327,9 +2413,7 @@ impl_runtime_apis! { } fn storage_at(address: H160, index: U256) -> H256 { - let mut tmp = [0u8; 32]; - index.to_big_endian(&mut tmp); - pallet_evm::AccountStorages::::get(address, H256::from_slice(&tmp[..])) + pallet_evm::AccountStorages::::get(address, H256::from_slice(&index.to_big_endian())) } fn call( @@ -2496,7 +2580,7 @@ impl_runtime_apis! { impl fp_rpc::ConvertTransactionRuntimeApi for Runtime { fn convert_transaction(transaction: EthereumTransaction) -> ::Extrinsic { - UncheckedExtrinsic::new_unsigned( + UncheckedExtrinsic::new_bare( pallet_ethereum::Call::::transact { transaction }.into(), ) } diff --git a/standalone/teeworker/ceseal/Cargo.lock b/standalone/teeworker/ceseal/Cargo.lock index 949ac25a..0122daa7 100644 --- a/standalone/teeworker/ceseal/Cargo.lock +++ b/standalone/teeworker/ceseal/Cargo.lock @@ -91,17 +91,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.11" @@ -172,7 +161,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "syn-solidity", "tiny-keccak", ] @@ -264,7 +253,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -273,7 +262,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -285,7 +274,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-models-ext", "ark-std 0.4.0", ] @@ -296,7 +285,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -309,7 +298,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" dependencies = [ "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-models-ext", "ark-serialize 0.4.2", @@ -323,7 +312,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -335,7 +324,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" dependencies = [ "ark-bw6-761", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-models-ext", "ark-std 0.4.0", @@ -348,7 +337,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ "ark-ff 0.4.2", - "ark-poly", + "ark-poly 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", "derivative", @@ -359,6 +348,27 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ec" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.2", + "itertools 0.13.0", + "num-bigint", + "num-integer", + "num-traits", + "zeroize", +] + [[package]] name = "ark-ed-on-bls12-377" version = "0.4.0" @@ -366,7 +376,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" dependencies = [ "ark-bls12-377", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -377,7 +387,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-377", "ark-ff 0.4.2", "ark-models-ext", @@ -391,7 +401,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" dependencies = [ "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -402,7 +412,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-381-bandersnatch", "ark-ff 0.4.2", "ark-models-ext", @@ -447,6 +457,26 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ff" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a177aba0ed1e0fbb62aa9f6d0502e9b46dad8c2eab04c14258a1212d2557ea70" +dependencies = [ + "ark-ff-asm 0.5.0", + "ark-ff-macros 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "arrayvec", + "digest 0.10.7", + "educe", + "itertools 0.13.0", + "num-bigint", + "num-traits", + "paste", + "zeroize", +] + [[package]] name = "ark-ff-asm" version = "0.3.0" @@ -467,6 +497,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-asm" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" +dependencies = [ + "quote", + "syn 2.0.94", +] + [[package]] name = "ark-ff-macros" version = "0.3.0" @@ -492,13 +532,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09be120733ee33f7693ceaa202ca41accd5653b779563608f1234f78ae07c4b3" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 2.0.94", +] + [[package]] name = "ark-models-ext" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -518,13 +571,28 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "ark-poly" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.2", +] + [[package]] name = "ark-scale" version = "0.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", @@ -532,6 +600,21 @@ dependencies = [ "scale-info", ] +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "ark-transcript", + "digest 0.10.7", + "getrandom_or_panic", + "zeroize", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -548,12 +631,25 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "ark-std 0.4.0", "digest 0.10.7", "num-bigint", ] +[[package]] +name = "ark-serialize" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" +dependencies = [ + "ark-serialize-derive 0.5.0", + "ark-std 0.5.0", + "arrayvec", + "digest 0.10.7", + "num-bigint", +] + [[package]] name = "ark-serialize-derive" version = "0.4.2" @@ -565,6 +661,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-serialize-derive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.94", +] + [[package]] name = "ark-std" version = "0.3.0" @@ -586,6 +693,29 @@ dependencies = [ "rayon", ] +[[package]] +name = "ark-std" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246a225cc6131e9ee4f24619af0f19d67761fff15d7ccc22e42b80846e69449a" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3", +] + [[package]] name = "array-bytes" version = "6.2.3" @@ -618,15 +748,14 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "frame-support", "frame-system", - "pallet-asset-conversion", "pallet-assets", "pallet-balances", "pallet-collator-selection", @@ -644,13 +773,12 @@ dependencies = [ "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", - "xcm-runtime-apis", ] [[package]] name = "assets-common" -version = "0.18.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -672,13 +800,13 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.83" +version = "0.1.84" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" +checksum = "1b1244b10dcd56c92219da4e14caa97e312079e185f04ba3eea25061561dc0a0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -695,7 +823,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -727,7 +855,7 @@ dependencies = [ "rustversion", "serde", "sync_wrapper 0.1.2", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", ] @@ -764,12 +892,39 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.4" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-bls12-381", + "ark-ec 0.4.2", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "dleq_vrf", + "rand_chacha", + "rand_core 0.6.4", + "ring 0.1.0", + "sha2 0.10.8", + "sp-ark-bls12-381", + "sp-ark-ed-on-bls12-381-bandersnatch", + "zeroize", +] + [[package]] name = "base16ct" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" +[[package]] +name = "base58" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" + [[package]] name = "base64" version = "0.13.1" @@ -809,11 +964,12 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "15.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hash-db", "log", + "parity-scale-codec", ] [[package]] @@ -825,6 +981,33 @@ dependencies = [ "serde", ] +[[package]] +name = "bip32" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa13fae8b6255872fd86f7faf4b41168661d7d78609f7bfe6771b85c6739a15b" +dependencies = [ + "bs58", + "hmac 0.12.1", + "k256", + "rand_core 0.6.4", + "ripemd", + "sha2 0.10.8", + "subtle", + "zeroize", +] + +[[package]] +name = "bip39" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" +dependencies = [ + "bitcoin_hashes", + "serde", + "unicode-normalization", +] + [[package]] name = "bit-set" version = "0.5.3" @@ -942,8 +1125,8 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.18.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-runtime", "finality-grandpa", @@ -959,8 +1142,8 @@ dependencies = [ [[package]] name = "bp-messages" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-runtime", @@ -975,8 +1158,8 @@ dependencies = [ [[package]] name = "bp-parachains" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -992,8 +1175,8 @@ dependencies = [ [[package]] name = "bp-polkadot" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.5.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1005,15 +1188,14 @@ dependencies = [ [[package]] name = "bp-polkadot-core" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-messages", "bp-runtime", "frame-support", "frame-system", "parity-scale-codec", - "parity-util-mem", "scale-info", "serde", "sp-core", @@ -1023,8 +1205,8 @@ dependencies = [ [[package]] name = "bp-relayers" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -1041,8 +1223,8 @@ dependencies = [ [[package]] name = "bp-runtime" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -1064,8 +1246,8 @@ dependencies = [ [[package]] name = "bp-test-utils" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-parachains", @@ -1084,8 +1266,8 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" -version = "0.4.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-messages", "bp-runtime", @@ -1101,8 +1283,8 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.14.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -1113,8 +1295,8 @@ dependencies = [ [[package]] name = "bridge-hub-common" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1130,8 +1312,8 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" -version = "0.20.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -1173,8 +1355,8 @@ dependencies = [ [[package]] name = "bridge-runtime-common" -version = "0.18.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -1198,6 +1380,7 @@ dependencies = [ "sp-runtime", "sp-std", "sp-trie", + "sp-weights", "staging-xcm", "tuplex", ] @@ -1208,6 +1391,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ + "sha2 0.10.8", "tinyvec", ] @@ -1284,9 +1468,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.5" +version = "1.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31a0499c1dc64f458ad13872de75c0eb7e3fdb0e67964610c914b034fc5956e" +checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7" dependencies = [ "jobserver", "libc", @@ -1339,7 +1523,7 @@ dependencies = [ "frame-support", "frame-system", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-info", "serde", "serde_json", @@ -1348,6 +1532,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-weights", ] [[package]] @@ -1452,7 +1637,7 @@ dependencies = [ [[package]] name = "ceseal" -version = "0.3.3" +version = "0.3.4" dependencies = [ "anyhow", "base64 0.13.1", @@ -1480,7 +1665,7 @@ dependencies = [ "threadpool", "tokio", "tonic", - "tower", + "tower 0.4.13", "tracing", "urlencoding", "vergen", @@ -1496,7 +1681,7 @@ dependencies = [ [[package]] name = "cess-node-runtime" -version = "0.9.0" +version = "0.9.1" dependencies = [ "ces-pallet-mq", "ces-pallet-mq-runtime-api", @@ -1533,7 +1718,7 @@ dependencies = [ "pallet-tee-worker", "parity-scale-codec", "polkadot-sdk", - "primitive-types", + "primitive-types 0.13.1", "scale-info", "serde_json", "static_assertions", @@ -1647,7 +1832,7 @@ dependencies = [ "im", "log", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "prost", "scale-info", "serde", @@ -1669,6 +1854,12 @@ dependencies = [ "cestory-api", ] +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + [[package]] name = "cfg-expr" version = "0.15.8" @@ -1729,7 +1920,7 @@ dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim", + "strsim 0.11.1", ] [[package]] @@ -1741,7 +1932,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -1777,6 +1968,32 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +[[package]] +name = "combine" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-poly 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "fflonk", + "getrandom_or_panic", + "merlin", + "rand_chacha", +] + [[package]] name = "common-path" version = "1.0.0" @@ -1852,7 +2069,7 @@ checksum = "3d3007177ccd2435eef6de9e7471365c36bc35c0b31773e27b4fe797f39f84bf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -1873,6 +2090,22 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + [[package]] name = "cp-bloom-filter" version = "0.1.0" @@ -2108,8 +2341,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2125,8 +2358,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2142,8 +2375,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.17.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2179,18 +2412,18 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "cumulus-pallet-session-benchmarking" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -2202,8 +2435,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2217,8 +2450,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2232,8 +2465,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2257,8 +2490,8 @@ dependencies = [ [[package]] name = "cumulus-ping" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -2272,8 +2505,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" -version = "0.15.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", "sp-consensus-aura", @@ -2281,8 +2514,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2297,8 +2530,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2311,8 +2544,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2321,12 +2554,13 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "8.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", "docify", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -2337,8 +2571,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -2347,8 +2581,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2364,8 +2598,8 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2399,14 +2633,14 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "cxx" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d44ff199ff93242c3afe480ab588d544dd08d72e92885e152ffebc670f076ad" +checksum = "ad7c7515609502d316ab9a24f67dc045132d93bfd3f00713389e90d9898bf30d" dependencies = [ "cc", "cxxbridge-cmd", @@ -2418,58 +2652,128 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66fd8f17ad454fc1e4f4ab83abffcc88a532e90350d3ffddcb73030220fcbd52" +checksum = "8bfd16fca6fd420aebbd80d643c201ee4692114a0de208b790b9cd02ceae65fb" dependencies = [ "cc", "codespan-reporting", "proc-macro2", "quote", "scratch", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "cxxbridge-cmd" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4717c9c806a9e07fdcb34c84965a414ea40fafe57667187052cf1eb7f5e8a8a9" +checksum = "6c33fd49f5d956a1b7ee5f7a9768d58580c6752838d92e39d0d56439efdedc35" dependencies = [ "clap", "codespan-reporting", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "cxxbridge-flags" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6515329bf3d98f4073101c7866ff2bec4e635a13acb82e3f3753fff0bf43cb" +checksum = "be0f1077278fac36299cce8446effd19fe93a95eedb10d39265f3bf67b3036c9" [[package]] name = "cxxbridge-macro" -version = "1.0.135" +version = "1.0.136" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb93e6a7ce8ec985c02bbb758237a31598b340acbbc3c19c5a4fa6adaaac92ab" +checksum = "3da7e4d6e74af6b79031d264b2f13c3ea70af1978083741c41ffce9308f1f24f" dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] -name = "dashmap" -version = "5.5.3" +name = "darling" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" dependencies = [ - "cfg-if", - "hashbrown 0.14.5", - "lock_api", + "darling_core 0.14.4", + "darling_macro 0.14.4", +] + +[[package]] +name = "darling" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +dependencies = [ + "darling_core 0.20.10", + "darling_macro 0.20.10", +] + +[[package]] +name = "darling_core" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim 0.10.0", + "syn 1.0.109", +] + +[[package]] +name = "darling_core" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim 0.11.1", + "syn 2.0.94", +] + +[[package]] +name = "darling_macro" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" +dependencies = [ + "darling_core 0.14.4", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "darling_macro" +version = "0.20.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +dependencies = [ + "darling_core 0.20.10", + "quote", + "syn 2.0.94", +] + +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.5", + "lock_api", "once_cell", "parking_lot_core", ] @@ -2520,7 +2824,7 @@ checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -2551,7 +2855,18 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", +] + +[[package]] +name = "derive-where" +version = "1.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.94", ] [[package]] @@ -2564,7 +2879,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -2584,7 +2899,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "unicode-xid", ] @@ -2638,7 +2953,23 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", +] + +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=0fef826#0fef8266d851932ad25d6b41bc4b34d834d1e11d" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-scale", + "ark-secret-scalar", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "ark-transcript", + "arrayvec", + "zeroize", ] [[package]] @@ -2662,7 +2993,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.91", + "syn 2.0.94", "termcolor", "toml 0.8.19", "walkdir", @@ -2761,6 +3092,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "educe" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7bc049e1bd8cdeb31b68bbd586a9464ecf9f3944af3958a7a9d0f8b9799417" +dependencies = [ + "enum-ordinalize", + "proc-macro2", + "quote", + "syn 2.0.94", +] + [[package]] name = "either" version = "1.13.0" @@ -2802,7 +3145,27 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", +] + +[[package]] +name = "enum-ordinalize" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5" +dependencies = [ + "enum-ordinalize-derive", +] + +[[package]] +name = "enum-ordinalize-derive" +version = "4.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.94", ] [[package]] @@ -2822,7 +3185,7 @@ checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -2833,7 +3196,7 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -2897,15 +3260,14 @@ dependencies = [ [[package]] name = "ethabi" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898" +source = "git+https://github.com/CESSProject/ethabi?branch=upgrade-ethereum-types#b966d27f07792b8261f07afed241df8b41577992" dependencies = [ - "ethereum-types", + "ethereum-types 0.15.1", "hex", "serde", "sha3", "thiserror 1.0.69", - "uint", + "uint 0.10.0", ] [[package]] @@ -2914,7 +3276,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09d398648d65820a727d6a81e58b962f874473396a047e4c30bafe3240953417" dependencies = [ - "ethereum-types", + "ethereum-types 0.14.1", "tiny-keccak", ] @@ -2926,9 +3288,20 @@ checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" dependencies = [ "crunchy", "fixed-hash", - "impl-codec", + "tiny-keccak", +] + +[[package]] +name = "ethbloom" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c321610643004cf908ec0f5f2aa0d8f1f8e14b540562a2887a1111ff1ecbf7b" +dependencies = [ + "crunchy", + "fixed-hash", + "impl-codec 0.7.0", "impl-rlp", - "impl-serde", + "impl-serde 0.5.0", "scale-info", "tiny-keccak", ] @@ -2936,15 +3309,14 @@ dependencies = [ [[package]] name = "ethereum" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e04d24d20b8ff2235cffbf242d5092de3aa45f77c5270ddbfadd2778ca13fea" +source = "git+https://github.com/CESSProject/ethereum.git?branch=upgrade-ethereum-types#c2c8281eeee9eee11bb9b86f98e08a6aeae944a2" dependencies = [ "bytes", - "ethereum-types", + "ethereum-types 0.15.1", "hash-db", "hash256-std-hasher", "parity-scale-codec", - "rlp", + "rlp 0.6.1", "scale-info", "serde", "sha3", @@ -2957,21 +3329,32 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" dependencies = [ - "ethbloom", + "ethbloom 0.13.0", + "fixed-hash", + "primitive-types 0.12.2", + "uint 0.9.5", +] + +[[package]] +name = "ethereum-types" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ab15ed80916029f878e0267c3a9f92b67df55e79af370bf66199059ae2b4ee3" +dependencies = [ + "ethbloom 0.14.1", "fixed-hash", - "impl-codec", + "impl-codec 0.7.0", "impl-rlp", - "impl-serde", - "primitive-types", + "impl-serde 0.5.0", + "primitive-types 0.13.1", "scale-info", - "uint", + "uint 0.10.0", ] [[package]] name = "evm" -version = "0.41.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767f43e9630cc36cf8ff2777cbb0121b055f0d1fd6eaaa13b46a1808f0d0e7e9" +version = "0.41.0" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "auto_impl", "environmental", @@ -2981,8 +3364,8 @@ dependencies = [ "evm-runtime", "log", "parity-scale-codec", - "primitive-types", - "rlp", + "primitive-types 0.13.1", + "rlp 0.6.1", "scale-info", "serde", "sha3", @@ -2991,11 +3374,10 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da6cedc5cedb4208e59467106db0d1f50db01b920920589f8e672c02fdc04f" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-info", "serde", ] @@ -3003,25 +3385,23 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dc0eb591abc5cd7b05bef6a036c2bb6c66ab6c5e0c5ce94bfe377ab670b1fd7" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "environmental", "evm-core", "evm-runtime", - "primitive-types", + "primitive-types 0.13.1", ] [[package]] name = "evm-runtime" version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84bbe09b64ae13a29514048c1bb6fda6374ac0b4f6a1f15a443348ab88ef42cd" +source = "git+https://github.com/CESSProject/evm.git?branch=upgrade_primitive-types_on_v0.41#a213bc73c47a76feb53e57d67c2492c13078ff76" dependencies = [ "auto_impl", "environmental", "evm-core", - "primitive-types", + "primitive-types 0.13.1", "sha3", ] @@ -3037,7 +3417,7 @@ dependencies = [ "prettyplease 0.2.25", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -3090,6 +3470,19 @@ dependencies = [ "subtle", ] +[[package]] +name = "fflonk" +version = "0.1.1" +source = "git+https://github.com/w3f/fflonk#eda051ea3b80042e844a3ebd17c2f60536e6ee3f" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "merlin", +] + [[package]] name = "fiat-crypto" version = "0.2.9" @@ -3192,10 +3585,10 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "hex", - "impl-serde", + "impl-serde 0.5.0", "libsecp256k1", "log", "parity-scale-codec", @@ -3211,7 +3604,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", "parity-scale-codec", @@ -3222,7 +3615,7 @@ dependencies = [ [[package]] name = "fp-dynamic-fee" version = "1.0.0" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "async-trait", "sp-core", @@ -3232,10 +3625,10 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "fp-evm", "frame-support", "parity-scale-codec", @@ -3244,7 +3637,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "evm", "frame-support", @@ -3259,10 +3652,10 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "fp-evm", "parity-scale-codec", "scale-info", @@ -3275,7 +3668,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "frame-support", "parity-scale-codec", @@ -3287,7 +3680,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "parity-scale-codec", "serde", @@ -3295,8 +3688,8 @@ dependencies = [ [[package]] name = "frame-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-support-procedural", @@ -3319,8 +3712,8 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" -version = "28.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "18.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -3333,19 +3726,19 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" -version = "14.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-election-provider-support" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3360,8 +3753,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aquamarine", "frame-support", @@ -3376,11 +3769,33 @@ dependencies = [ "sp-tracing", ] +[[package]] +name = "frame-metadata" +version = "15.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", +] + [[package]] name = "frame-metadata" version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "frame-metadata" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3390,10 +3805,11 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "array-bytes", + "const-hex", "docify", "frame-support", "frame-system", @@ -3405,15 +3821,16 @@ dependencies = [ [[package]] name = "frame-support" -version = "38.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aquamarine", "array-bytes", + "binary-merkle-tree", "bitflags 1.3.2", "docify", "environmental", - "frame-metadata", + "frame-metadata 18.0.0", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -3439,6 +3856,7 @@ dependencies = [ "sp-state-machine", "sp-std", "sp-tracing", + "sp-trie", "sp-weights", "static_assertions", "tt-call", @@ -3446,8 +3864,8 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "30.0.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "cfg-expr", @@ -3461,35 +3879,35 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-support-procedural-tools" -version = "13.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "12.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "11.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "frame-system" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cfg-if", "docify", @@ -3508,8 +3926,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -3522,8 +3940,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "parity-scale-codec", @@ -3532,8 +3950,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.44.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "parity-scale-codec", @@ -3619,7 +4037,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -3639,6 +4057,10 @@ name = "futures-timer" version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" +dependencies = [ + "gloo-timers", + "send_wrapper", +] [[package]] name = "futures-util" @@ -3743,12 +4165,62 @@ name = "gimli" version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] [[package]] name = "glob" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" + +[[package]] +name = "gloo-net" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06f627b1a58ca3d42b45d6104bf1e1a03799df472df00988b6ba21accc10580" +dependencies = [ + "futures-channel", + "futures-core", + "futures-sink", + "gloo-utils", + "http 1.2.0", + "js-sys", + "pin-project", + "serde", + "serde_json", + "thiserror 1.0.69", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "gloo-utils" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5555354113b18c547c1d3a98fbf7fb32a9ff4f6fa112ce823a21641a0ba3aa" +dependencies = [ + "js-sys", + "serde", + "serde_json", + "wasm-bindgen", + "web-sys", +] [[package]] name = "group" @@ -3825,9 +4297,6 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.8", -] [[package]] name = "hashbrown" @@ -3835,7 +4304,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash", ] [[package]] @@ -3844,7 +4313,7 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.11", + "ahash", "allocator-api2", ] @@ -3853,6 +4322,9 @@ name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "allocator-api2", +] [[package]] name = "heck" @@ -4113,9 +4585,11 @@ dependencies = [ "bytes", "futures-channel", "futures-util", + "h2 0.4.7", "http 1.2.0", "http-body 1.0.1", "httparse", + "httpdate", "itoa", "pin-project-lite", "smallvec", @@ -4133,6 +4607,7 @@ dependencies = [ "http 1.2.0", "hyper 1.5.2", "hyper-util", + "log", "rustls", "rustls-pki-types 1.10.1", "tokio", @@ -4287,9 +4762,15 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + [[package]] name = "idna" version = "1.0.3" @@ -4335,24 +4816,33 @@ dependencies = [ "parity-scale-codec", ] +[[package]] +name = "impl-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67aa010c1e3da95bf151bd8b4c059b2ed7e75387cdb969b4f8f2723a43f9941" +dependencies = [ + "parity-scale-codec", +] + [[package]] name = "impl-num-traits" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" +checksum = "803d15461ab0dcc56706adf266158acbc44ccf719bf7d0af30705f58b90a4b8c" dependencies = [ "integer-sqrt", "num-traits", - "uint", + "uint 0.10.0", ] [[package]] name = "impl-rlp" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +checksum = "54ed8ad1f3877f7e775b8cbf30ed1bd3209a95401817f19a0eb4402d13f8cf90" dependencies = [ - "rlp", + "rlp 0.6.1", ] [[package]] @@ -4364,6 +4854,15 @@ dependencies = [ "serde", ] +[[package]] +name = "impl-serde" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a143eada6a1ec4aefa5049037a26a6d597bfd64f8c026d07b77133e02b7dd0b" +dependencies = [ + "serde", +] + [[package]] name = "impl-trait-for-tuples" version = "0.2.3" @@ -4372,7 +4871,7 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4469,72 +4968,263 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" [[package]] -name = "is-terminal" -version = "0.4.13" +name = "is-terminal" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" +dependencies = [ + "hermit-abi 0.4.0", + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" + +[[package]] +name = "jni" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" +dependencies = [ + "cesu8", + "combine", + "jni-sys", + "log", + "thiserror 1.0.69", + "walkdir", +] + +[[package]] +name = "jni-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" + +[[package]] +name = "jobserver" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +dependencies = [ + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +dependencies = [ + "once_cell", + "wasm-bindgen", +] + +[[package]] +name = "jsonrpsee" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" +dependencies = [ + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-http-client", + "jsonrpsee-proc-macros", + "jsonrpsee-server", + "jsonrpsee-types", + "jsonrpsee-wasm-client", + "jsonrpsee-ws-client", + "tokio", + "tracing", +] + +[[package]] +name = "jsonrpsee-client-transport" +version = "0.24.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" +dependencies = [ + "base64 0.22.1", + "futures-channel", + "futures-util", + "gloo-net", + "http 1.2.0", + "jsonrpsee-core", + "pin-project", + "rustls", + "rustls-pki-types 1.10.1", + "rustls-platform-verifier", + "soketto", + "thiserror 1.0.69", + "tokio", + "tokio-rustls", + "tokio-util", + "tracing", + "url", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" +checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" dependencies = [ - "hermit-abi 0.4.0", - "libc", - "windows-sys 0.52.0", + "async-trait", + "bytes", + "futures-timer", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", + "http-body-util", + "jsonrpsee-types", + "parking_lot", + "pin-project", + "rand 0.8.5", + "rustc-hash 2.1.0", + "serde", + "serde_json", + "thiserror 1.0.69", + "tokio", + "tokio-stream", + "tracing", + "wasm-bindgen-futures", ] [[package]] -name = "is_terminal_polyfill" -version = "1.70.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" - -[[package]] -name = "itertools" -version = "0.10.5" +name = "jsonrpsee-http-client" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +checksum = "b3638bc4617f96675973253b3a45006933bde93c2fd8a6170b33c777cc389e5b" dependencies = [ - "either", + "async-trait", + "base64 0.22.1", + "http-body 1.0.1", + "hyper 1.5.2", + "hyper-rustls", + "hyper-util", + "jsonrpsee-core", + "jsonrpsee-types", + "rustls", + "rustls-platform-verifier", + "serde", + "serde_json", + "thiserror 1.0.69", + "tokio", + "tower 0.4.13", + "tracing", + "url", ] [[package]] -name = "itertools" -version = "0.11.0" +name = "jsonrpsee-proc-macros" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" dependencies = [ - "either", + "heck 0.5.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.94", ] [[package]] -name = "itertools" -version = "0.13.0" +name = "jsonrpsee-server" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +checksum = "82ad8ddc14be1d4290cd68046e7d1d37acd408efed6d3ca08aefcc3ad6da069c" dependencies = [ - "either", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", + "http-body-util", + "hyper 1.5.2", + "hyper-util", + "jsonrpsee-core", + "jsonrpsee-types", + "pin-project", + "route-recognizer", + "serde", + "serde_json", + "soketto", + "thiserror 1.0.69", + "tokio", + "tokio-stream", + "tokio-util", + "tower 0.4.13", + "tracing", ] [[package]] -name = "itoa" -version = "1.0.14" +name = "jsonrpsee-types" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" +dependencies = [ + "http 1.2.0", + "serde", + "serde_json", + "thiserror 1.0.69", +] [[package]] -name = "jobserver" -version = "0.1.32" +name = "jsonrpsee-wasm-client" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "1a01cd500915d24ab28ca17527e23901ef1be6d659a2322451e1045532516c25" dependencies = [ - "libc", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", ] [[package]] -name = "js-sys" -version = "0.3.76" +name = "jsonrpsee-ws-client" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +checksum = "0fe322e0896d0955a3ebdd5bf813571c53fea29edd713bc315b76620b327e86d" dependencies = [ - "once_cell", - "wasm-bindgen", + "http 1.2.0", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", + "url", ] [[package]] @@ -4560,6 +5250,16 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "keccak-hash" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b286e6b663fb926e1eeb68528e69cb70ed46c6d65871a21b2215ae8154c6d3c" +dependencies = [ + "primitive-types 0.12.2", + "tiny-keccak", +] + [[package]] name = "lazy_static" version = "1.5.0" @@ -4698,15 +5398,6 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" -[[package]] -name = "lru" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" -dependencies = [ - "hashbrown 0.12.3", -] - [[package]] name = "lru-cache" version = "0.1.2" @@ -4734,7 +5425,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4748,7 +5439,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4759,7 +5450,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4770,7 +5461,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -4919,7 +5610,7 @@ checksum = "1bb5c1d8184f13f7d0ccbeeca0def2f9a181bce2624302793005f5ca8aa62e5e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -5018,7 +5709,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -5100,7 +5791,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -5154,6 +5845,12 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + [[package]] name = "overload" version = "0.1.1" @@ -5162,8 +5859,8 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-alliance" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5181,8 +5878,8 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5199,8 +5896,8 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" -version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5217,9 +5914,10 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "pallet-asset-conversion", @@ -5231,8 +5929,8 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,8 +5943,8 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5262,8 +5960,8 @@ dependencies = [ [[package]] name = "pallet-assets" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5278,8 +5976,8 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" -version = "0.5.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5293,8 +5991,8 @@ dependencies = [ [[package]] name = "pallet-atomic-swap" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5337,8 +6035,8 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5353,8 +6051,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5368,8 +6066,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5381,8 +6079,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5404,8 +6102,8 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aquamarine", "docify", @@ -5425,8 +6123,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -5441,7 +6139,7 @@ dependencies = [ [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "frame-support", @@ -5454,8 +6152,8 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5473,8 +6171,8 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -5498,8 +6196,8 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5515,8 +6213,8 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-runtime", @@ -5534,8 +6232,8 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -5553,8 +6251,8 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-parachains", @@ -5573,8 +6271,8 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" -version = "0.18.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-header-chain", "bp-messages", @@ -5597,8 +6295,8 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.17.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "frame-benchmarking", @@ -5666,8 +6364,8 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5684,8 +6382,8 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5703,9 +6401,10 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -5719,8 +6418,8 @@ dependencies = [ [[package]] name = "pallet-collective-content" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5733,8 +6432,8 @@ dependencies = [ [[package]] name = "pallet-contracts" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "environmental", @@ -5765,8 +6464,8 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "3.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5800,30 +6499,29 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" -version = "23.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "18.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "pallet-contracts-uapi" -version = "12.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "5.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "paste", - "polkavm-derive 0.9.1", "scale-info", ] [[package]] name = "pallet-conviction-voting" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5838,8 +6536,8 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" -version = "22.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "12.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5856,8 +6554,8 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" -version = "5.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5871,8 +6569,8 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5888,8 +6586,8 @@ dependencies = [ [[package]] name = "pallet-dev-mode" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -5904,7 +6602,7 @@ dependencies = [ [[package]] name = "pallet-dynamic-fee" version = "4.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-dynamic-fee", "fp-evm", @@ -5918,8 +6616,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5940,8 +6638,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5953,8 +6651,8 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -5972,10 +6670,10 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "ethereum", - "ethereum-types", + "ethereum-types 0.15.1", "evm", "fp-consensus", "fp-ethereum", @@ -5995,7 +6693,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "environmental", "evm", @@ -6037,7 +6735,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "frame-support", "frame-system", @@ -6048,7 +6746,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "num", @@ -6057,7 +6755,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "tiny-keccak", @@ -6066,7 +6764,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/CESSProject/frontier?branch=stable2409#d2b9fd25a6a9b8dd90dbeaf0dbf1e7dda55a9ab8" +source = "git+https://github.com/CESSProject/frontier?branch=stable2412#7023a01923b2d1f4f3d338bdf0985e74974a8450" dependencies = [ "fp-evm", "ripemd", @@ -6075,8 +6773,8 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -6122,8 +6820,8 @@ dependencies = [ [[package]] name = "pallet-glutton" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "14.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "blake2", "frame-benchmarking", @@ -6140,8 +6838,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6162,8 +6860,8 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6178,8 +6876,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6197,8 +6895,8 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6213,8 +6911,8 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" -version = "26.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "16.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6226,8 +6924,8 @@ dependencies = [ [[package]] name = "pallet-lottery" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6239,8 +6937,8 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6255,8 +6953,8 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "41.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "31.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "environmental", "frame-benchmarking", @@ -6274,9 +6972,10 @@ dependencies = [ [[package]] name = "pallet-migrations" -version = "8.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "cfg-if", "docify", "frame-benchmarking", "frame-support", @@ -6291,8 +6990,8 @@ dependencies = [ [[package]] name = "pallet-mixnet" -version = "0.14.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.4.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6310,8 +7009,8 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6327,23 +7026,19 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-io", - "sp-runtime", ] [[package]] name = "pallet-nft-fractionalization" -version = "21.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6358,8 +7053,8 @@ dependencies = [ [[package]] name = "pallet-nfts" -version = "32.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "22.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6375,8 +7070,8 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "14.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "pallet-nfts", "parity-scale-codec", @@ -6385,8 +7080,8 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6400,8 +7095,8 @@ dependencies = [ [[package]] name = "pallet-node-authorization" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6415,8 +7110,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "35.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "25.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6433,8 +7128,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "36.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6453,8 +7148,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "33.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -6463,8 +7158,8 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6479,8 +7174,8 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6521,8 +7216,8 @@ dependencies = [ [[package]] name = "pallet-paged-list" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -6538,8 +7233,8 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.9.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -6555,8 +7250,8 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6571,22 +7266,18 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-io", - "sp-runtime", ] [[package]] name = "pallet-ranked-collective" -version = "38.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6603,8 +7294,8 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6617,8 +7308,8 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6634,8 +7325,8 @@ dependencies = [ [[package]] name = "pallet-remark" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6663,43 +7354,55 @@ dependencies = [ [[package]] name = "pallet-revive" -version = "0.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", + "derive_more 0.99.18", "environmental", + "ethereum-types 0.15.1", "frame-benchmarking", "frame-support", "frame-system", + "hex", "impl-trait-for-tuples", + "jsonrpsee", "log", "pallet-balances", "pallet-revive-fixtures", "pallet-revive-proc-macro", "pallet-revive-uapi", + "pallet-transaction-payment", "parity-scale-codec", "paste", - "polkavm 0.10.0", + "polkavm 0.13.0", + "rlp 0.6.1", "scale-info", "serde", "sp-api", + "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", "sp-std", + "sp-weights", "staging-xcm", "staging-xcm-builder", + "subxt-signer", ] [[package]] name = "pallet-revive-fixtures" -version = "0.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "anyhow", "frame-system", + "log", "parity-wasm", - "polkavm-linker 0.10.0", + "polkavm-linker 0.14.0", + "sp-core", + "sp-io", "sp-runtime", "tempfile", "toml 0.8.19", @@ -6707,8 +7410,8 @@ dependencies = [ [[package]] name = "pallet-revive-mock-network" -version = "0.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6741,30 +7444,30 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" -version = "0.1.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "pallet-revive-uapi" -version = "0.1.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "paste", - "polkavm-derive 0.10.0", + "polkavm-derive 0.14.0", "scale-info", ] [[package]] name = "pallet-root-offences" -version = "35.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "25.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6778,8 +7481,8 @@ dependencies = [ [[package]] name = "pallet-root-testing" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "4.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6817,8 +7520,8 @@ dependencies = [ [[package]] name = "pallet-safe-mode" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -6835,8 +7538,8 @@ dependencies = [ [[package]] name = "pallet-salary" -version = "23.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6853,8 +7556,8 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -6886,8 +7589,8 @@ dependencies = [ [[package]] name = "pallet-scored-pool" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6899,8 +7602,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6920,8 +7623,8 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6936,8 +7639,8 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" -version = "13.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "3.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -6979,8 +7682,8 @@ dependencies = [ [[package]] name = "pallet-society" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -6996,8 +7699,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7017,8 +7720,8 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" -version = "22.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "19.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "sp-arithmetic", @@ -7026,8 +7729,8 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "24.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "14.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "sp-api", @@ -7036,8 +7739,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "40.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7052,8 +7755,8 @@ dependencies = [ [[package]] name = "pallet-statement" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -7088,8 +7791,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -7129,8 +7832,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -7148,8 +7851,8 @@ dependencies = [ [[package]] name = "pallet-tips" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7166,9 +7869,10 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "38.0.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", @@ -7181,8 +7885,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7193,8 +7897,8 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7212,14 +7916,15 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", + "log", "pallet-balances", "parity-scale-codec", "scale-info", @@ -7230,8 +7935,8 @@ dependencies = [ [[package]] name = "pallet-tx-pause" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "9.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -7247,8 +7952,8 @@ dependencies = [ [[package]] name = "pallet-uniques" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7261,8 +7966,23 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", +] + +[[package]] +name = "pallet-verify-signature" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7272,12 +7992,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-vesting" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7290,8 +8011,8 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7304,14 +8025,13 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "17.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-balances", "parity-scale-codec", "scale-info", @@ -7328,8 +8048,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -7346,8 +8066,8 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" -version = "0.13.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-messages", "bp-runtime", @@ -7368,8 +8088,8 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" -version = "0.15.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.5.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -7387,8 +8107,8 @@ dependencies = [ [[package]] name = "parachains-common" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -7417,8 +8137,8 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" -version = "19.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -7432,7 +8152,6 @@ dependencies = [ "pallet-session", "pallet-timestamp", "pallet-xcm", - "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", "sp-consensus-aura", @@ -7444,7 +8163,6 @@ dependencies = [ "staging-xcm", "staging-xcm-executor", "substrate-wasm-builder", - "xcm-runtime-apis", ] [[package]] @@ -7493,35 +8211,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if", - "ethereum-types", - "hashbrown 0.12.3", - "impl-trait-for-tuples", - "lru", - "parity-util-mem-derive", - "parking_lot", - "primitive-types", - "smallvec", - "winapi", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" -dependencies = [ - "proc-macro2", - "syn 1.0.109", - "synstructure 0.12.6", -] - [[package]] name = "parity-wasm" version = "0.45.0" @@ -7641,7 +8330,7 @@ checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -7716,8 +8405,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "15.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -7727,8 +8416,8 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "6.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bounded-collections", "derive_more 0.99.18", @@ -7743,8 +8432,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "hex-literal", @@ -7765,12 +8454,14 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", + "sp-std", + "thiserror 1.0.69", ] [[package]] name = "polkadot-runtime-common" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitvec", "frame-benchmarking", @@ -7806,6 +8497,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-keyring", "sp-npos-elections", "sp-runtime", "sp-session", @@ -7818,8 +8510,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bs58", "frame-benchmarking", @@ -7830,8 +8522,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "17.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -7878,8 +8570,8 @@ dependencies = [ [[package]] name = "polkadot-sdk" -version = "0.9.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "asset-test-utils", "assets-common", @@ -8022,6 +8714,7 @@ dependencies = [ "pallet-tx-pause", "pallet-uniques", "pallet-utility", + "pallet-verify-signature", "pallet-vesting", "pallet-whitelist", "pallet-xcm", @@ -8109,8 +8802,8 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" -version = "0.7.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "frame-benchmarking", @@ -8129,8 +8822,10 @@ dependencies = [ "sp-consensus-aura", "sp-consensus-grandpa", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", + "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", @@ -8154,15 +8849,15 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7ec0c5935f2eff23cfc4653002f4f8d12b37f87a720e0631282d188c32089d6" +checksum = "57e79a14b15ed38cb5b9a1e38d02e933f19e3d180ae5b325fed606c5e5b9177e" dependencies = [ "libc", "log", - "polkavm-assembler 0.10.0", - "polkavm-common 0.10.0", - "polkavm-linux-raw 0.10.0", + "polkavm-assembler 0.13.0", + "polkavm-common 0.13.0", + "polkavm-linux-raw 0.13.0", ] [[package]] @@ -8176,9 +8871,9 @@ dependencies = [ [[package]] name = "polkavm-assembler" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e4fd5a43100bf1afe9727b8130d01f966f5cfc9144d5604b21e795c2bcd80e" +checksum = "4e8da55465000feb0a61bbf556ed03024db58f3420eca37721fc726b3b2136bf" dependencies = [ "log", ] @@ -8194,14 +8889,20 @@ dependencies = [ [[package]] name = "polkavm-common" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0097b48bc0bedf9f3f537ce8f37e8f1202d8d83f9b621bdb21ff2c59b9097c50" +checksum = "084b4339aae7dfdaaa5aa7d634110afd95970e0737b6fb2a0cb10db8b56b753c" dependencies = [ "log", - "polkavm-assembler 0.10.0", + "polkavm-assembler 0.13.0", ] +[[package]] +name = "polkavm-common" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711952a783e9c5ad407cdacb1ed147f36d37c5d43417c1091d86456d2999417b" + [[package]] name = "polkavm-derive" version = "0.9.1" @@ -8213,11 +8914,11 @@ dependencies = [ [[package]] name = "polkavm-derive" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dcc701385c08c31bdb0569f0c51a290c580d892fa77f1dd88a7352a62679ecf" +checksum = "b4832a0aebf6cefc988bb7b2d74ea8c86c983164672e2fc96300f356a1babfc1" dependencies = [ - "polkavm-derive-impl-macro 0.10.0", + "polkavm-derive-impl-macro 0.14.0", ] [[package]] @@ -8229,19 +8930,19 @@ dependencies = [ "polkavm-common 0.9.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "polkavm-derive-impl" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7855353a5a783dd5d09e3b915474bddf66575f5a3cf45dec8d1c5e051ba320dc" +checksum = "e339fc7c11310fe5adf711d9342278ac44a75c9784947937cce12bd4f30842f2" dependencies = [ - "polkavm-common 0.10.0", + "polkavm-common 0.14.0", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8251,17 +8952,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl 0.9.0", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "polkavm-derive-impl-macro" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9324fe036de37c17829af233b46ef6b5562d4a0c09bb7fdb9f8378856dee30cf" +checksum = "b569754b15060d03000c09e3bf11509d527f60b75d79b4c30c3625b5071d9702" dependencies = [ - "polkavm-derive-impl 0.10.0", - "syn 2.0.91", + "polkavm-derive-impl 0.14.0", + "syn 2.0.94", ] [[package]] @@ -8281,15 +8982,15 @@ dependencies = [ [[package]] name = "polkavm-linker" -version = "0.10.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d704edfe7bdcc876784f19436d53d515b65eb07bc9a0fae77085d552c2dbbb5" +checksum = "0959ac3b0f4fd5caf5c245c637705f19493efe83dba31a83bbba928b93b0116a" dependencies = [ - "gimli 0.28.1", + "gimli 0.31.1", "hashbrown 0.14.5", "log", "object 0.36.7", - "polkavm-common 0.10.0", + "polkavm-common 0.14.0", "regalloc2 0.9.3", "rustc-demangle", ] @@ -8302,9 +9003,9 @@ checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" [[package]] name = "polkavm-linux-raw" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e45fa59c7e1bb12ef5289080601e9ec9b31435f6e32800a5c90c132453d126" +checksum = "686c4dd9c9c16cc22565b51bdbb269792318d0fd2e6b966b5f6c788534cad0e9" [[package]] name = "polyval" @@ -8350,7 +9051,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" dependencies = [ "proc-macro2", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8360,12 +9061,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", - "impl-codec", + "impl-codec 0.6.0", + "impl-serde 0.4.0", + "scale-info", + "uint 0.9.5", +] + +[[package]] +name = "primitive-types" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" +dependencies = [ + "fixed-hash", + "impl-codec 0.7.0", "impl-num-traits", "impl-rlp", - "impl-serde", + "impl-serde 0.5.0", "scale-info", - "uint", + "uint 0.10.0", ] [[package]] @@ -8409,7 +9123,7 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8541,7 +9255,7 @@ checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8604,9 +9318,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" dependencies = [ "proc-macro2", ] @@ -8784,7 +9498,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -8864,9 +9578,9 @@ checksum = "a35e8a6bf28cd121053a66aa2e6a2e3eaffad4a60012179f0e864aa5ffeff215" [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" dependencies = [ "base64 0.22.1", "bytes", @@ -8898,6 +9612,7 @@ dependencies = [ "tokio", "tokio-rustls", "tokio-socks", + "tower 0.5.2", "tower-service", "url", "wasm-bindgen", @@ -8934,6 +9649,23 @@ dependencies = [ "subtle", ] +[[package]] +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=665f5f5#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +dependencies = [ + "ark-ec 0.4.2", + "ark-ff 0.4.2", + "ark-poly 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "arrayvec", + "blake2", + "common", + "fflonk", + "merlin", +] + [[package]] name = "ring" version = "0.16.20" @@ -9024,7 +9756,7 @@ checksum = "beb382a4d9f53bd5c0be86b10d8179c3f8a14c30bf774ff77096ed6581e35981" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -9032,6 +9764,16 @@ name = "rlp" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +dependencies = [ + "bytes", + "rustc-hex", +] + +[[package]] +name = "rlp" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa24e92bb2a83198bb76d661a71df9f7076b8c420b8696e4d3d97d50d94479e3" dependencies = [ "bytes", "rlp-derive", @@ -9040,19 +9782,19 @@ dependencies = [ [[package]] name = "rlp-derive" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" +checksum = "652db34deaaa57929e10ca18e5454a32cb0efc351ae80d320334bbf907b908b3" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.94", ] [[package]] name = "rococo-runtime-constants" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "polkadot-primitives", @@ -9065,6 +9807,12 @@ dependencies = [ "staging-xcm-builder", ] +[[package]] +name = "route-recognizer" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" + [[package]] name = "rsa" version = "0.8.2" @@ -9101,10 +9849,10 @@ dependencies = [ "num-integer", "num-traits", "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "proptest", "rand 0.8.5", - "rlp", + "rlp 0.5.2", "ruint-macro", "serde", "valuable", @@ -9220,6 +9968,7 @@ version = "0.23.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" dependencies = [ + "log", "once_cell", "ring 0.17.8", "rustls-pki-types 1.10.1", @@ -9228,6 +9977,19 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls-native-certs" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" +dependencies = [ + "openssl-probe", + "rustls-pemfile", + "rustls-pki-types 1.10.1", + "schannel", + "security-framework", +] + [[package]] name = "rustls-pemfile" version = "2.2.0" @@ -9252,6 +10014,33 @@ dependencies = [ "web-time", ] +[[package]] +name = "rustls-platform-verifier" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki 0.102.8", + "security-framework", + "security-framework-sys", + "webpki-roots", + "winapi", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" + [[package]] name = "rustls-webpki" version = "0.102.0-alpha.3" @@ -9275,9 +10064,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" +checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" [[package]] name = "rusty-fork" @@ -9326,8 +10115,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "29.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "sp-core", @@ -9337,8 +10126,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.40.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "parking_lot", @@ -9360,8 +10149,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.35.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.29.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "polkavm 0.9.3", "sc-allocator", @@ -9373,8 +10162,8 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.32.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.29.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "polkavm 0.9.3", @@ -9384,8 +10173,8 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.35.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.29.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "anyhow", "cfg-if", @@ -9400,39 +10189,142 @@ dependencies = [ "wasmtime", ] +[[package]] +name = "scale-bits" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e57b1e7f6b65ed1f04e79a85a57d755ad56d76fdf1e9bddcc9ae14f71fcdcf54" +dependencies = [ + "parity-scale-codec", + "scale-info", + "scale-type-resolver", + "serde", +] + +[[package]] +name = "scale-decode" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +dependencies = [ + "derive_more 0.99.18", + "parity-scale-codec", + "primitive-types 0.12.2", + "scale-bits", + "scale-decode-derive", + "scale-type-resolver", + "smallvec", +] + +[[package]] +name = "scale-decode-derive" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb22f574168103cdd3133b19281639ca65ad985e24612728f727339dcaf4021" +dependencies = [ + "darling 0.14.4", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "scale-encode" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602" +dependencies = [ + "derive_more 0.99.18", + "parity-scale-codec", + "primitive-types 0.12.2", + "scale-bits", + "scale-encode-derive", + "scale-type-resolver", + "smallvec", +] + +[[package]] +name = "scale-encode-derive" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd" +dependencies = [ + "darling 0.20.10", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.94", +] + [[package]] name = "scale-info" version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" +checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" +dependencies = [ + "bitvec", + "cfg-if", + "derive_more 1.0.0", + "parity-scale-codec", + "scale-info-derive", + "serde", +] + +[[package]] +name = "scale-info-derive" +version = "2.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.94", +] + +[[package]] +name = "scale-type-resolver" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0cded6518aa0bd6c1be2b88ac81bf7044992f0f154bfbabd5ad34f43512abcb" +dependencies = [ + "scale-info", + "smallvec", +] + +[[package]] +name = "scale-value" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" dependencies = [ - "bitvec", - "cfg-if", - "derive_more 1.0.0", + "derive_more 0.99.18", + "either", + "frame-metadata 15.1.0", "parity-scale-codec", - "scale-info-derive", - "serde", + "scale-bits", + "scale-decode", + "scale-encode", + "scale-info", + "scale-type-resolver", ] [[package]] -name = "scale-info-derive" -version = "2.11.6" +name = "schannel" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" +checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.91", + "windows-sys 0.59.0", ] [[package]] name = "schnellru" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" +checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" dependencies = [ - "ahash 0.8.11", + "ahash", "cfg-if", "hashbrown 0.13.2", ] @@ -9510,6 +10402,30 @@ dependencies = [ "zeroize", ] +[[package]] +name = "security-framework" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" +dependencies = [ + "bitflags 2.6.0", + "core-foundation", + "core-foundation-sys", + "libc", + "num-bigint", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1863fd3768cd83c56a7f60faa4dc0d403f1b6df0a38c3c25f44b7894e45370d5" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "semver" version = "0.6.0" @@ -9561,11 +10477,17 @@ dependencies = [ "pest", ] +[[package]] +name = "send_wrapper" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" + [[package]] name = "serde" -version = "1.0.216" +version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" +checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" dependencies = [ "serde_derive", ] @@ -9600,13 +10522,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.216" +version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" +checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -9690,6 +10612,17 @@ dependencies = [ "x509-cert", ] +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "sha2" version = "0.9.9" @@ -9804,8 +10737,8 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "15.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "enumn", "parity-scale-codec", @@ -9831,14 +10764,14 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "byte-slice-cast", "frame-support", "hex", "parity-scale-codec", - "rlp", + "rlp 0.6.1", "scale-info", "serde", "snowbridge-ethereum", @@ -9853,8 +10786,8 @@ dependencies = [ [[package]] name = "snowbridge-core" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "ethabi-decode", "frame-support", @@ -9876,16 +10809,16 @@ dependencies = [ [[package]] name = "snowbridge-ethereum" -version = "0.9.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.3.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "ethabi-decode", - "ethbloom", - "ethereum-types", + "ethbloom 0.14.1", + "ethereum-types 0.15.1", "hex-literal", "parity-bytes", "parity-scale-codec", - "rlp", + "rlp 0.6.1", "scale-info", "serde", "serde-big-array", @@ -9911,8 +10844,8 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-merkle-tree" -version = "0.9.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.3.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -9922,8 +10855,8 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-runtime-api" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "parity-scale-codec", @@ -9935,8 +10868,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-ethereum-client" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -9959,8 +10892,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-ethereum-client-fixtures" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.9.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", @@ -9971,8 +10904,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -9998,8 +10931,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.18.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.10.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", @@ -10010,8 +10943,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-outbound-queue" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bridge-hub-common", "ethabi-decode", @@ -10032,8 +10965,8 @@ dependencies = [ [[package]] name = "snowbridge-pallet-system" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-benchmarking", "frame-support", @@ -10052,8 +10985,8 @@ dependencies = [ [[package]] name = "snowbridge-router-primitives" -version = "0.16.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.9.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "hex-literal", @@ -10071,8 +11004,8 @@ dependencies = [ [[package]] name = "snowbridge-runtime-common" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "log", @@ -10087,8 +11020,8 @@ dependencies = [ [[package]] name = "snowbridge-runtime-test-common" -version = "0.12.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -10118,8 +11051,8 @@ dependencies = [ [[package]] name = "snowbridge-system-runtime-api" -version = "0.10.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.2.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "snowbridge-core", @@ -10138,10 +11071,26 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "soketto" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e859df029d160cb88608f5d7df7fb4753fd20fdfb4de5644f3d8b8440841721" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures", + "http 1.2.0", + "httparse", + "log", + "rand 0.8.5", + "sha1", +] + [[package]] name = "sp-api" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "hash-db", @@ -10162,8 +11111,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "20.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "15.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "blake2", @@ -10171,13 +11120,13 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-application-crypto" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "30.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -10188,8 +11137,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "26.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "23.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "docify", "integer-sqrt", @@ -10200,10 +11149,28 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "sp-ark-bls12-381" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-bls12-381-ext", + "sp-crypto-ec-utils", +] + +[[package]] +name = "sp-ark-ed-on-bls12-381-bandersnatch" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-ed-on-bls12-381-bandersnatch-ext", + "sp-crypto-ec-utils", +] + [[package]] name = "sp-authority-discovery" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -10214,8 +11181,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", "sp-inherents", @@ -10224,8 +11191,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", @@ -10240,8 +11207,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", @@ -10258,10 +11225,9 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "22.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "lazy_static", "parity-scale-codec", "scale-info", "serde", @@ -10279,8 +11245,8 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "21.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "finality-grandpa", "log", @@ -10296,8 +11262,8 @@ dependencies = [ [[package]] name = "sp-consensus-pow" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "sp-api", @@ -10307,8 +11273,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.40.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.32.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -10318,10 +11284,11 @@ dependencies = [ [[package]] name = "sp-core" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "28.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "array-bytes", + "bandersnatch_vrfs", "bitflags 1.3.2", "blake2", "bounded-collections", @@ -10331,7 +11298,7 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "impl-serde", + "impl-serde 0.5.0", "itertools 0.11.0", "k256", "libsecp256k1", @@ -10341,7 +11308,7 @@ dependencies = [ "parity-scale-codec", "parking_lot", "paste", - "primitive-types", + "primitive-types 0.13.1", "rand 0.8.5", "scale-info", "schnorrkel", @@ -10364,16 +11331,16 @@ dependencies = [ [[package]] name = "sp-core-hashing" -version = "16.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "15.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-crypto-hashing", ] [[package]] name = "sp-crypto-ec-utils" -version = "0.14.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.10.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -10381,7 +11348,7 @@ dependencies = [ "ark-bls12-381-ext", "ark-bw6-761", "ark-bw6-761-ext", - "ark-ec", + "ark-ec 0.4.2", "ark-ed-on-bls12-377", "ark-ed-on-bls12-377-ext", "ark-ed-on-bls12-381-bandersnatch", @@ -10393,7 +11360,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "blake2b_simd", "byteorder", @@ -10406,27 +11373,27 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-externalities" -version = "0.29.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.25.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "environmental", "parity-scale-codec", @@ -10435,8 +11402,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.15.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.8.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -10447,8 +11414,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10460,8 +11427,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "38.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "30.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bytes", "docify", @@ -10486,8 +11453,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "39.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "31.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-core", "sp-runtime", @@ -10496,8 +11463,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.40.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.34.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "parking_lot", @@ -10508,7 +11475,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -10516,18 +11483,18 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.7.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.6.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "frame-metadata", + "frame-metadata 18.0.0", "parity-scale-codec", "scale-info", ] [[package]] name = "sp-mixnet" -version = "0.12.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.4.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -10537,8 +11504,8 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "34.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "log", "parity-scale-codec", @@ -10554,8 +11521,8 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -10567,8 +11534,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", "sp-core", @@ -10578,18 +11545,18 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "backtrace", - "lazy_static", "regex", ] [[package]] name = "sp-runtime" -version = "39.0.5" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "31.0.1" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ + "binary-merkle-tree", "docify", "either", "hash256-std-hasher", @@ -10607,20 +11574,22 @@ dependencies = [ "sp-core", "sp-io", "sp-std", + "sp-trie", "sp-weights", "tracing", + "tuplex", ] [[package]] name = "sp-runtime-interface" -version = "28.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "24.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive 0.9.1", - "primitive-types", + "primitive-types 0.13.1", "sp-externalities", "sp-runtime-interface-proc-macro", "sp-std", @@ -10632,21 +11601,21 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "17.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "expander", "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-session" -version = "36.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "scale-info", @@ -10659,8 +11628,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "36.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10672,8 +11641,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.43.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.35.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hash-db", "log", @@ -10692,8 +11661,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "18.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "10.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -10717,14 +11686,14 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" [[package]] name = "sp-storage" -version = "21.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "19.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "impl-serde", + "impl-serde 0.5.0", "parity-scale-codec", "ref-cast", "serde", @@ -10733,8 +11702,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", @@ -10745,8 +11714,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "16.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", "tracing", @@ -10756,8 +11725,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "sp-api", "sp-runtime", @@ -10765,8 +11734,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "34.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "26.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "async-trait", "parity-scale-codec", @@ -10779,12 +11748,11 @@ dependencies = [ [[package]] name = "sp-trie" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "ahash 0.8.11", + "ahash", "hash-db", - "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", @@ -10802,10 +11770,10 @@ dependencies = [ [[package]] name = "sp-version" -version = "37.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "29.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ - "impl-serde", + "impl-serde 0.5.0", "parity-scale-codec", "parity-wasm", "scale-info", @@ -10819,19 +11787,20 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" -version = "14.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "13.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "parity-scale-codec", + "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "sp-wasm-interface" -version = "21.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "20.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -10842,8 +11811,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "31.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "27.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -10932,8 +11901,8 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.17.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.7.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -10945,13 +11914,15 @@ dependencies = [ [[package]] name = "staging-xcm" -version = "14.2.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "array-bytes", "bounded-collections", "derivative", "environmental", + "frame-support", + "hex-literal", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -10964,8 +11935,8 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "17.0.3" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -10986,8 +11957,8 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "environmental", "frame-benchmarking", @@ -11021,6 +11992,12 @@ dependencies = [ "serde", ] +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + [[package]] name = "strsim" version = "0.11.1" @@ -11065,13 +12042,13 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "substrate-bip39" -version = "0.6.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.4.7" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -11082,8 +12059,8 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "24.0.1" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "17.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "build-helper", "cargo_metadata", @@ -11092,6 +12069,7 @@ dependencies = [ "jobserver", "parity-wasm", "polkavm-linker 0.9.2", + "shlex", "sp-maybe-compressed-blob", "strum 0.26.3", "tempfile", @@ -11106,6 +12084,70 @@ version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" +[[package]] +name = "subxt-core" +version = "0.37.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a" +dependencies = [ + "base58", + "blake2", + "derive-where", + "frame-metadata 16.0.0", + "hashbrown 0.14.5", + "hex", + "impl-serde 0.4.0", + "parity-scale-codec", + "primitive-types 0.12.2", + "scale-bits", + "scale-decode", + "scale-encode", + "scale-info", + "scale-value", + "serde", + "serde_json", + "sp-crypto-hashing", + "subxt-metadata", + "tracing", +] + +[[package]] +name = "subxt-metadata" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" +dependencies = [ + "frame-metadata 16.0.0", + "hashbrown 0.14.5", + "parity-scale-codec", + "scale-info", + "sp-crypto-hashing", +] + +[[package]] +name = "subxt-signer" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" +dependencies = [ + "bip32", + "bip39", + "cfg-if", + "hex", + "hmac 0.12.1", + "keccak-hash", + "parity-scale-codec", + "pbkdf2", + "regex", + "schnorrkel", + "secp256k1", + "secrecy", + "sha2 0.10.8", + "sp-crypto-hashing", + "subxt-core", + "zeroize", +] + [[package]] name = "syn" version = "1.0.109" @@ -11119,9 +12161,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.91" +version = "2.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53cbcb5a243bd33b7858b1d7f4aca2153490815872d86d955d6ea29f743c035" +checksum = "987bc0be1cdea8b10216bd06e2ca407d40b9543468fafd3ddfb02f36e77f71f3" dependencies = [ "proc-macro2", "quote", @@ -11137,7 +12179,7 @@ dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11155,18 +12197,6 @@ dependencies = [ "futures-core", ] -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "unicode-xid", -] - [[package]] name = "synstructure" version = "0.13.1" @@ -11175,7 +12205,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11192,12 +12222,13 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" -version = "3.14.0" +version = "3.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" dependencies = [ "cfg-if", "fastrand", + "getrandom", "once_cell", "rustix 0.38.42", "windows-sys 0.59.0", @@ -11214,8 +12245,8 @@ dependencies = [ [[package]] name = "testnet-parachains-constants" -version = "10.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "1.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -11253,7 +12284,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11264,7 +12295,7 @@ checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11400,7 +12431,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11434,6 +12465,7 @@ dependencies = [ "futures-core", "pin-project-lite", "tokio", + "tokio-util", ] [[package]] @@ -11444,6 +12476,7 @@ checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" dependencies = [ "bytes", "futures-core", + "futures-io", "futures-sink", "pin-project-lite", "tokio", @@ -11514,7 +12547,7 @@ dependencies = [ "prost", "tokio", "tokio-stream", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", "tracing", @@ -11553,6 +12586,21 @@ dependencies = [ "tracing", ] +[[package]] +name = "tower" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper 1.0.2", + "tokio", + "tower-layer", + "tower-service", +] + [[package]] name = "tower-layer" version = "0.3.3" @@ -11585,7 +12633,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -11703,6 +12751,18 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "uint" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909988d098b2f738727b161a106cfc7cab00c539c2687a8836f8e565976fb53e" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + [[package]] name = "unarray" version = "0.1.4" @@ -11837,10 +12897,10 @@ checksum = "70a3028804c8bbae2a97a15b71ffc0e308c4b01a520994aafa77d56e94e19024" dependencies = [ "ark-bls12-377", "ark-bls12-381", - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "arrayref", "constcat", "digest 0.10.7", @@ -11914,7 +12974,7 @@ dependencies = [ "log", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "wasm-bindgen-shared", ] @@ -11949,7 +13009,7 @@ checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -12032,7 +13092,7 @@ version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" dependencies = [ - "ahash 0.8.11", + "ahash", "hashbrown 0.14.5", "string-interner", ] @@ -12294,8 +13354,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "polkadot-primitives", @@ -12613,9 +13673,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.20" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" +checksum = "e6f5bb5257f2407a5425c6e749bfd9692192a73e70a6060516ac04f889087d68" dependencies = [ "memchr", ] @@ -12676,19 +13736,19 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "10.1.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] name = "xcm-runtime-apis" -version = "0.4.2" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "0.1.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "parity-scale-codec", @@ -12701,8 +13761,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "17.0.0" -source = "git+https://github.com/CESSProject/polkadot-sdk.git?branch=stable2409#0605ce24774311081346e1ca375e18807eaaec2f" +version = "7.0.0" +source = "git+https://github.com/CESSProject/polkadot-sdk?branch=stable2412#d9b1353c0148179afb9edac1c830fbb7c67f9932" dependencies = [ "frame-support", "frame-system", @@ -12800,8 +13860,8 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", - "synstructure 0.13.1", + "syn 2.0.94", + "synstructure", ] [[package]] @@ -12822,7 +13882,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -12842,8 +13902,8 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", - "synstructure 0.13.1", + "syn 2.0.94", + "synstructure", ] [[package]] @@ -12863,7 +13923,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] @@ -12885,7 +13945,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.91", + "syn 2.0.94", ] [[package]] diff --git a/standalone/teeworker/ceseal/Cargo.toml b/standalone/teeworker/ceseal/Cargo.toml index ca088d6a..ce5a0844 100644 --- a/standalone/teeworker/ceseal/Cargo.toml +++ b/standalone/teeworker/ceseal/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "ceseal" -version = "0.3.3" +version = "0.3.4" build = "build.rs" [profile.release] @@ -56,6 +56,36 @@ vergen = { version = "8.3", features = ["build", "git", "gitcl"] } [patch.crates-io] ring = { git = "https://github.com/jasl/ring-xous", branch = "better-wasm32-support" } +frame-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-application-crypto = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-core = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-crypto-ec-utils = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-crypto-hashing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-debug-derive = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-externalities = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface-proc-macro = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-std = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-storage = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-tracing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-wasm-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } + +[patch."https://github.com/paritytech/polkadot-sdk"] +frame-benchmarking = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-application-crypto = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-core = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-crypto-ec-utils = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-debug-derive = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-externalities = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-runtime-interface-proc-macro = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-std = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-storage = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-tracing = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } +sp-wasm-interface = { git = "https://github.com/CESSProject/polkadot-sdk", branch = "stable2412" } + [features] only-attestation = ["cestory/only-attestation", "cestory-api/only-attestation"] diff --git a/standalone/teeworker/cifrost/Cargo.toml b/standalone/teeworker/cifrost/Cargo.toml index 38c2e371..448f8965 100644 --- a/standalone/teeworker/cifrost/Cargo.toml +++ b/standalone/teeworker/cifrost/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cifrost" -version = "0.2.2" +version = "0.2.3" authors = ["CESS Network"] edition = "2021" diff --git a/standalone/teeworker/cifrost/src/block_subscribe.rs b/standalone/teeworker/cifrost/src/block_subscribe.rs index 44e982f5..7105d631 100644 --- a/standalone/teeworker/cifrost/src/block_subscribe.rs +++ b/standalone/teeworker/cifrost/src/block_subscribe.rs @@ -13,7 +13,6 @@ pub async fn spawn_subscriber(chain_client: &ChainApi, ceseal_client: CesealClie let block_number = block.header().number; let extrinsics = block.extrinsics().await?; for ext in extrinsics.iter() { - let ext = ext?; let events = ext.events().await?; for evt in events.iter() { let evt = evt?; diff --git a/standalone/teeworker/cifrost/src/error.rs b/standalone/teeworker/cifrost/src/error.rs index 26486400..91dece35 100644 --- a/standalone/teeworker/cifrost/src/error.rs +++ b/standalone/teeworker/cifrost/src/error.rs @@ -5,7 +5,6 @@ pub enum Error { BlockHashNotFound, BlockNotFound, SearchSetIdChangeInEmptyRange, - FailedToCallRegisterWorker, } impl fmt::Display for Error { @@ -14,7 +13,6 @@ impl fmt::Display for Error { Error::BlockHashNotFound => write!(f, "block hash not found"), Error::BlockNotFound => write!(f, "block not found"), Error::SearchSetIdChangeInEmptyRange => write!(f, "list of known blocks is empty"), - Error::FailedToCallRegisterWorker => write!(f, "failed to call register_worker"), } } } diff --git a/standalone/teeworker/cifrost/src/msg_sync.rs b/standalone/teeworker/cifrost/src/msg_sync.rs index cc915185..85e201dd 100644 --- a/standalone/teeworker/cifrost/src/msg_sync.rs +++ b/standalone/teeworker/cifrost/src/msg_sync.rs @@ -71,49 +71,46 @@ pub async fn maybe_sync_mq_egress( .mortal(latest_block.header(), longevity) .build(); let tx = cesxt::dynamic::tx::sync_offchain_message(message); - let extrinsic = - api.tx() - .create_signed_with_nonce(&tx, &signer.signer, signer.nonce(), tx_params); + let extrinsic = api + .tx() + .create_signed(&tx, signer, tx_params) + .await + .expect("failed to sign the sync_offchain_message() call"); + signer.increment_nonce(); - match extrinsic { - Ok(extrinsic) => { - let api = api.clone(); - let err_report = err_report.clone(); - let extrinsic = crate::subxt::utils::Encoded(extrinsic.encoded().to_vec()); - tokio::spawn(async move { - const TIMEOUT: u64 = 120; - let fut = api.rpc().author_submit_extrinsic(&extrinsic.0); - let result = tokio::time::timeout(Duration::from_secs(TIMEOUT), fut).await; - match result { - Err(_) => { - error!("Submit message timed out: {}", msg_info); - let _ = err_report.send(Error::OtherRpcError).await; - } - Ok(Err(err)) => { - error!("Error submitting message {}: {:?}", msg_info, err); - use cesxt::subxt::{error::RpcError, Error as SubxtError}; - let report = match err { - SubxtError::Rpc(RpcError::ClientError(err)) => { - if err.to_string().contains("bad signature") { - Error::BadSignature - } else { - Error::OtherRpcError - } - } - _ => Error::OtherRpcError, - }; - let _ = err_report.send(report).await; - } - Ok(Ok(hash)) => { - info!("Message submited: {} xt-hash={:?}", msg_info, hash); + + let api = api.clone(); + let err_report = err_report.clone(); + let extrinsic = crate::subxt::utils::Encoded(extrinsic.encoded().to_vec()); + tokio::spawn(async move { + const TIMEOUT: u64 = 120; + let fut = api.rpc().author_submit_extrinsic(&extrinsic.0); + let result = tokio::time::timeout(Duration::from_secs(TIMEOUT), fut).await; + match result { + Err(_) => { + error!("Submit message timed out: {}", msg_info); + let _ = err_report.send(Error::OtherRpcError).await; + } + Ok(Err(err)) => { + error!("Error submitting message {}: {:?}", msg_info, err); + use cesxt::subxt::{error::RpcError, Error as SubxtError}; + let report = match err { + SubxtError::Rpc(RpcError::ClientError(err)) => { + if err.to_string().contains("bad signature") { + Error::BadSignature + } else { + Error::OtherRpcError + } } - } - }); - } - Err(err) => { - panic!("Failed to sign the call: {:?}", err); + _ => Error::OtherRpcError, + }; + let _ = err_report.send(report).await; + } + Ok(Ok(hash)) => { + info!("Message submited: {} xt-hash={:?}", msg_info, hash); + } } - } + }); sync_msgs_count += 1; if sync_msgs_count >= max_sync_msgs_per_round { info!("Synced {} messages, take a break", sync_msgs_count); diff --git a/standalone/teeworker/cifrost/src/tx.rs b/standalone/teeworker/cifrost/src/tx.rs index eebad61b..cee25ac2 100644 --- a/standalone/teeworker/cifrost/src/tx.rs +++ b/standalone/teeworker/cifrost/src/tx.rs @@ -1,17 +1,16 @@ -use crate::error::Error; use crate::{ chain_client, types::{CesealClient, SrSigner}, Args, }; -use anyhow::{anyhow, Context, Result}; +use anyhow::{anyhow, Result}; use ces_types::attestation::legacy::Attestation; use cestory_api::crpc; use cesxt::{ - subxt::{config::polkadot::PolkadotExtrinsicParamsBuilder as Params, tx::TxPayload}, + subxt::{config::polkadot::PolkadotExtrinsicParamsBuilder as Params, tx::Payload}, ChainApi, }; -use log::{debug, error, info}; +use log::{debug, info}; use parity_scale_codec::Encode; pub async fn try_apply_master_key( @@ -45,51 +44,50 @@ async fn apply_master_key( .mortal(latest_block.header(), args.longevity) .build(); let tx = cesxt::dynamic::tx::apply_master_key(encoded_payload, signature); - let tx_progress = chain_api + + chain_api .tx() - .create_signed_with_nonce(&tx, &signer.signer, signer.nonce(), tx_params)? - .submit_and_watch() - .await?; - let tx_in_block = tx_progress - .wait_for_in_block() + .sign_and_submit_then_watch(&tx, signer, tx_params) + .await? + .wait_for_finalized() .await - .context("tx progress wait for in block")?; - debug!( - "call tx apply_master_key, txn: {:?}, block hash: {:?}", - tx_in_block.extrinsic_hash(), - tx_in_block.block_hash() - ); - let _ = tx_in_block + .and_then(|tx| { + debug!( + "call tx apply_master_key, txn: {:?}, block hash: {:?}", + tx.extrinsic_hash(), + tx.block_hash() + ); + Ok(tx) + })? .wait_for_success() - .await - .context("tx in block wait for success")?; + .await?; + signer.increment_nonce(); Ok(true) } pub async fn update_worker_endpoint( - para_api: &ChainApi, + chain_api: &ChainApi, encoded_endpoint_payload: Vec, signature: Vec, signer: &mut SrSigner, args: &Args, ) -> Result { - chain_client::update_signer_nonce(para_api, signer).await?; - let latest_block = para_api.blocks().at_latest().await?; + chain_client::update_signer_nonce(chain_api, signer).await?; + let latest_block = chain_api.blocks().at_latest().await?; let tx_params = Params::new() .tip(args.tip) .mortal(latest_block.header(), args.longevity) .build(); let tx = cesxt::dynamic::tx::update_worker_endpoint(encoded_endpoint_payload, signature); - let ret = para_api + + chain_api .tx() - .create_signed_with_nonce(&tx, &signer.signer, signer.nonce(), tx_params)? - .submit_and_watch() - .await; - if ret.is_err() { - error!("FailedToCallBindWorkerEndpoint: {:?}", ret); - return Err(anyhow!("failed to call update_worker_endpoint")); - } + .sign_and_submit_then_watch(&tx, signer, tx_params) + .await? + .wait_for_finalized_success() + .await?; + info!("worker's endpoint updated on chain"); signer.increment_nonce(); Ok(true) @@ -132,31 +130,23 @@ pub async fn register_worker( .expect("should encoded"); debug!("register_worker call: 0x{}", hex::encode(encoded_call_data)); - let ret = chain_api + chain_api .tx() - .create_signed_with_nonce(&tx, &signer.signer, signer.nonce(), tx_params)? - .submit_and_watch() - .await; - if ret.is_err() { - error!("FailedToCallRegisterWorker: {:?}", ret); - return Err(anyhow!(Error::FailedToCallRegisterWorker)); - } - match ret.unwrap().wait_for_finalized_success().await { - Ok(e) => { + .sign_and_submit_then_watch(&tx, signer, tx_params) + .await? + .wait_for_finalized() + .await + .and_then(|tx| { info!( "Tee registration successful in block hash:{:?}, and the transaction hash is :{:?}", - e.block_hash(), - e.extrinsic_hash() - ) - } - Err(e) => { - error!( - "Tee registration transaction has been finalized, but registration failed :{:?}", - e.to_string() + tx.block_hash(), + tx.extrinsic_hash(), ); - return Err(anyhow!(Error::FailedToCallRegisterWorker)); - } - }; + Ok(tx) + })? + .wait_for_success() + .await?; + signer.increment_nonce(); Ok(()) } @@ -198,31 +188,23 @@ pub async fn update_worker_ra_report( .expect("should encoded"); debug!("register_worker call: 0x{}", hex::encode(encoded_call_data)); - let ret = chain_api + chain_api .tx() - .create_signed_with_nonce(&tx, &signer.signer, signer.nonce(), tx_params)? - .submit_and_watch() - .await; - if ret.is_err() { - error!("FailedToCallRegisterWorker: {:?}", ret); - return Err(anyhow!(Error::FailedToCallRegisterWorker)); - } - match ret.unwrap().wait_for_finalized_success().await { - Ok(e) => { + .sign_and_submit_then_watch(&tx, signer, tx_params) + .await? + .wait_for_finalized() + .await + .and_then(|tx| { info!( "Tee update ra report successful in block hash:{:?}, and the transaction hash is :{:?}", - e.block_hash(), - e.extrinsic_hash() - ) - } - Err(e) => { - error!( - "Tee update ra report transaction has been finalized, but registration failed :{:?}", - e.to_string() + tx.block_hash(), + tx.extrinsic_hash(), ); - return Err(anyhow!(Error::FailedToCallRegisterWorker)); - } - }; + Ok(tx) + })? + .wait_for_success() + .await?; + signer.increment_nonce(); Ok(()) } \ No newline at end of file