diff --git a/Cargo.lock b/Cargo.lock index 7fd8c733..23cd88ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,16 @@ version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ - "gimli", + "gimli 0.31.1", +] + +[[package]] +name = "addr2line" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9acbfca36652500c911ddb767ed433e3ed99b032b5d935be73c6923662db1d43" +dependencies = [ + "gimli 0.32.2", ] [[package]] @@ -371,7 +380,7 @@ dependencies = [ "async-stream", "async-trait", "auto_impl", - "dashmap", + "dashmap 6.1.0", "either", "futures", "futures-utils-wasm", @@ -618,7 +627,7 @@ dependencies = [ "alloy-json-rpc", "alloy-primitives", "auto_impl", - "base64 0.22.1", + "base64", "derive_more 2.0.1", "futures", "futures-utils-wasm", @@ -742,6 +751,20 @@ dependencies = [ "num-traits", ] +[[package]] +name = "aquamarine" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" +dependencies = [ + "include_dir", + "itertools 0.10.5", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "arbitrary" version = "1.4.2" @@ -1065,7 +1088,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" dependencies = [ - "asn1-rs-derive", + "asn1-rs-derive 0.5.1", "asn1-rs-impl", "displaydoc", "nom", @@ -1075,6 +1098,22 @@ dependencies = [ "time", ] +[[package]] +name = "asn1-rs" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60" +dependencies = [ + "asn1-rs-derive 0.6.0", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror 2.0.16", + "time", +] + [[package]] name = "asn1-rs-derive" version = "0.5.1" @@ -1087,6 +1126,18 @@ dependencies = [ "synstructure 0.13.2", ] +[[package]] +name = "asn1-rs-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", + "synstructure 0.13.2", +] + [[package]] name = "asn1-rs-impl" version = "0.2.0" @@ -1100,14 +1151,13 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.5.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ "concurrent-queue", - "event-listener-strategy", + "event-listener 2.5.3", "futures-core", - "pin-project-lite", ] [[package]] @@ -1134,7 +1184,7 @@ version = "3.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5fd03604047cee9b6ce9de9f70c6cd540a0520c813cbd49bae61f33ab80ed1dc" dependencies = [ - "event-listener", + "event-listener 5.4.1", "event-listener-strategy", "pin-project-lite", ] @@ -1254,11 +1304,11 @@ version = "0.3.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" dependencies = [ - "addr2line", + "addr2line 0.24.2", "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.36.7", "rustc-demangle", "windows-targets 0.52.6", ] @@ -1285,12 +1335,6 @@ dependencies = [ "bitcoin_hashes 0.14.0", ] -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64" version = "0.22.1" @@ -1531,7 +1575,7 @@ version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d41711ad46fda47cd701f6908e59d1bd6b9a2b7464c0d0aeab95c6d37096ff8a" dependencies = [ - "base64 0.22.1", + "base64", "bollard-stubs", "bytes", "futures-core", @@ -1594,9 +1638,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d077619e9c237a5d1875166f5e8033e8f6bff0c96f8caf81e1c2d7738c431bf" +checksum = "64ad8a0bed7827f0b07a5d23cec2e58cc02038a99e4ca81616cb2bb2025f804d" dependencies = [ "log", "parity-scale-codec", @@ -1741,9 +1785,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.17.2" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d4ba6e40bd1184518716a6e1a781bf9160e286d219ccdb8ab2612e74cfe4789" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" dependencies = [ "smallvec", ] @@ -1805,6 +1849,18 @@ dependencies = [ "windows-link", ] +[[package]] +name = "cid" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3147d8272e8fa0ccd29ce51194dd98f79ddfb8191ba9e3409884e751798acf3a" +dependencies = [ + "core2", + "multibase", + "multihash 0.19.3", + "unsigned-varint 0.8.0", +] + [[package]] name = "cipher" version = "0.4.4" @@ -1932,6 +1988,12 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + [[package]] name = "concurrent-queue" version = "2.5.0" @@ -1993,12 +2055,38 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "const_format" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" +dependencies = [ + "const_format_proc_macros", +] + +[[package]] +name = "const_format_proc_macros" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + [[package]] name = "constant_time_eq" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + [[package]] name = "core-foundation" version = "0.9.4" @@ -2044,19 +2132,37 @@ dependencies = [ ] [[package]] -name = "cranelift-bforest" -version = "0.116.1" +name = "cranelift-assembler-x64" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e15d04a0ce86cb36ead88ad68cf693ffd6cda47052b9e0ac114bc47fd9cd23c4" +checksum = "0920ef6863433fa28ece7e53925be4cd39a913adba2dc3738f4edd182f76d168" +dependencies = [ + "cranelift-assembler-x64-meta", +] + +[[package]] +name = "cranelift-assembler-x64-meta" +version = "0.123.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8990a217e2529a378af1daf4f8afa889f928f07ebbde6ae2f058ae60e40e2c20" +dependencies = [ + "cranelift-srcgen", +] + +[[package]] +name = "cranelift-bforest" +version = "0.123.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62225596b687f69a42c038485a28369badc186cb7c74bd9436eeec9f539011b1" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-bitset" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c6e3969a7ce267259ce244b7867c5d3bc9e65b0a87e81039588dfdeaede9f34" +checksum = "c23914fc4062558650a6f0d8c1846c97b541215a291fdeabc85f68bdc9bbcca3" dependencies = [ "serde", "serde_derive", @@ -2064,11 +2170,12 @@ dependencies = [ [[package]] name = "cranelift-codegen" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c22032c4cb42558371cf516bb47f26cdad1819d3475c133e93c49f50ebf304e" +checksum = "41a238b2f7e7ec077eb170145fa15fd8b3d0f36cc83d8e354e29ca550f339ca7" dependencies = [ "bumpalo", + "cranelift-assembler-x64", "cranelift-bforest", "cranelift-bitset", "cranelift-codegen-meta", @@ -2076,45 +2183,51 @@ dependencies = [ "cranelift-control", "cranelift-entity", "cranelift-isle", - "gimli", - "hashbrown 0.14.5", + "gimli 0.32.2", + "hashbrown 0.15.5", "log", - "regalloc2", + "pulley-interpreter", + "regalloc2 0.12.2", "rustc-hash 2.1.1", "serde", "smallvec", "target-lexicon", + "wasmtime-internal-math", ] [[package]] name = "cranelift-codegen-meta" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c904bc71c61b27fc57827f4a1379f29de64fe95653b620a3db77d59655eee0b8" +checksum = "9315ddcc2512513a9d66455ec89bb70ae5498cb472f5ed990230536f4cd5c011" dependencies = [ + "cranelift-assembler-x64-meta", "cranelift-codegen-shared", + "cranelift-srcgen", + "heck 0.5.0", + "pulley-interpreter", ] [[package]] name = "cranelift-codegen-shared" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40180f5497572f644ce88c255480981ae2ec1d7bb4d8e0c0136a13b87a2f2ceb" +checksum = "dc6acea40ef860f28cb36eaad479e26556c1e538b0a66fc44598cf1b1689393d" [[package]] name = "cranelift-control" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d132c6d0bd8a489563472afc171759da0707804a65ece7ceb15a8c6d7dd5ef" +checksum = "6b2af895da90761cfda4a4445960554fcec971e637882eda5a87337d993fe1b9" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d0d9618275474fbf679dd018ac6e009acbd6ae6850f6a67be33fb3b00b323" +checksum = "6e8c542c856feb50d504e4fc0526b3db3a514f882a9f68f956164531517828ab" dependencies = [ "cranelift-bitset", "serde", @@ -2123,9 +2236,9 @@ dependencies = [ [[package]] name = "cranelift-frontend" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fac41e16729107393174b0c9e3730fb072866100e1e64e80a1a963b2e484d57" +checksum = "9996dd9c20929c03360fe0c4edf3594c0cbb94525bdbfa04b6bb639ec14573c7" dependencies = [ "cranelift-codegen", "log", @@ -2135,21 +2248,27 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca20d576e5070044d0a72a9effc2deacf4d6aa650403189d8ea50126483944d" +checksum = "928b8dccad51b9e0ffe54accbd617da900239439b13d48f0f122ab61105ca6ad" [[package]] name = "cranelift-native" -version = "0.116.1" +version = "0.123.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8dee82f3f1f2c4cba9177f1cc5e350fe98764379bcd29340caa7b01f85076c7" +checksum = "7f75ef0a6a2efed3a2a14812318e28dc82c214eab5399c13d70878e2f88947b5" dependencies = [ "cranelift-codegen", "libc", "target-lexicon", ] +[[package]] +name = "cranelift-srcgen" +version = "0.123.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "673bd6d1c83cb41d60afb140a1474ef6caf1a3e02f3820fc522aefbc93ac67d6" + [[package]] name = "crc" version = "3.3.0" @@ -2174,6 +2293,21 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crossbeam-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "crossbeam-deque" version = "0.8.6" @@ -2250,6 +2384,16 @@ dependencies = [ "hybrid-array", ] +[[package]] +name = "crypto-mac" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" +dependencies = [ + "generic-array 0.14.7", + "subtle", +] + [[package]] name = "ctr" version = "0.9.2" @@ -2402,6 +2546,19 @@ dependencies = [ "syn 2.0.106", ] +[[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", +] + [[package]] name = "dashmap" version = "6.1.0" @@ -2449,6 +2606,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" dependencies = [ "const-oid", + "pem-rfc7468", "zeroize", ] @@ -2458,7 +2616,21 @@ version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ - "asn1-rs", + "asn1-rs 0.6.2", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "der-parser" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" +dependencies = [ + "asn1-rs 0.7.1", "displaydoc", "nom", "num-bigint", @@ -2509,6 +2681,19 @@ dependencies = [ "syn 2.0.106", ] +[[package]] +name = "derive_more" +version = "0.99.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version 0.4.1", + "syn 2.0.106", +] + [[package]] name = "derive_more" version = "1.0.0" @@ -2611,6 +2796,15 @@ dependencies = [ "directories", ] +[[package]] +name = "dirs" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +dependencies = [ + "dirs-sys", +] + [[package]] name = "dirs-sys" version = "0.4.1" @@ -2708,6 +2902,33 @@ dependencies = [ "zeroize", ] +[[package]] +name = "docify" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a772b62b1837c8f060432ddcc10b17aae1453ef17617a99bc07789252d2a5896" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60e6be249b0a462a14784a99b19bf35a667bb5e09de611738bb7362fa4c95ff7" +dependencies = [ + "common-path", + "derive-syn-parse", + "once_cell", + "proc-macro2", + "quote", + "regex", + "syn 2.0.106", + "termcolor", + "toml", + "walkdir", +] + [[package]] name = "dockertest" version = "0.5.0" @@ -2716,13 +2937,13 @@ checksum = "b8648c989dfd460932144f0ce5c55ff35cf0de758f89ea20e3b3d0d3f5e1cce6" dependencies = [ "anyhow", "async-trait", - "base64 0.22.1", + "base64", "bollard", "bytes", "dyn-clone", "futures", "rand 0.8.5", - "secrecy 0.8.0", + "secrecy", "serde", "serde_json", "strum 0.26.3", @@ -2749,6 +2970,27 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" +[[package]] +name = "dyn-clonable" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a36efbb9bfd58e1723780aa04b61aba95ace6a05d9ffabfdb0b43672552f0805" +dependencies = [ + "dyn-clonable-impl", + "dyn-clone", +] + +[[package]] +name = "dyn-clonable-impl" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8671d54058979a37a26f3511fbf8d198ba1aa35ffb202c42587d918d77213a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "dyn-clone" version = "1.0.20" @@ -2802,12 +3044,29 @@ checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" dependencies = [ "curve25519-dalek", "ed25519", + "rand_core 0.6.4", "serde", "sha2 0.10.9", "subtle", "zeroize", ] +[[package]] +name = "ed25519-zebra" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0017d969298eec91e3db7a2985a8cab4df6341d86e6f3a6f5878b13fb7846bc9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "hashbrown 0.15.5", + "pkcs8", + "rand_core 0.6.4", + "sha2 0.10.9", + "subtle", + "zeroize", +] + [[package]] name = "educe" version = "0.6.0" @@ -2972,6 +3231,12 @@ dependencies = [ "tokio", ] +[[package]] +name = "event-listener" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + [[package]] name = "event-listener" version = "5.4.1" @@ -2989,7 +3254,7 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" dependencies = [ - "event-listener", + "event-listener 5.4.1", "pin-project-lite", ] @@ -3089,10 +3354,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] -name = "finality-grandpa" -version = "0.16.2" +name = "filetime" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" +dependencies = [ + "cfg-if", + "libc", + "libredox", + "windows-sys 0.60.2", +] + +[[package]] +name = "finality-grandpa" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4f8f43dc520133541781ec03a8cab158ae8b7f7169cdf22e9050aa6cf0fbdfc" dependencies = [ "either", "futures", @@ -3154,7 +3431,7 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", ] @@ -3186,8 +3463,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.2.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-support", "frame-support-procedural", @@ -3210,9 +3487,10 @@ dependencies = [ [[package]] name = "frame-executive" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "aquamarine", "frame-support", "frame-system", "frame-try-runtime", @@ -3227,9 +3505,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "18.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" +checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" dependencies = [ "cfg-if", "parity-scale-codec", @@ -3239,15 +3517,18 @@ dependencies = [ [[package]] name = "frame-support" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "aquamarine", "array-bytes", "bitflags 1.3.2", + "docify", "environmental", "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", + "k256", "log", "macro_magic", "parity-scale-codec", @@ -3259,6 +3540,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-crypto-hashing-proc-macro", + "sp-debug-derive", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -3268,21 +3550,23 @@ dependencies = [ "sp-state-machine", "sp-std", "sp-tracing", + "sp-trie", "sp-weights", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "31.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "33.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", + "docify", "expander", "frame-support-procedural-tools", - "itertools 0.13.0", + "itertools 0.14.0", "macro_magic", "proc-macro-warning", "proc-macro2", @@ -3294,7 +3578,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -3306,7 +3590,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "proc-macro2", "quote", @@ -3315,10 +3599,11 @@ dependencies = [ [[package]] name = "frame-system" -version = "39.1.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.2.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "cfg-if", + "docify", "frame-support", "log", "parity-scale-codec", @@ -3327,24 +3612,24 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-version", "sp-weights", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "docify", "parity-scale-codec", "sp-api", ] [[package]] name = "frame-try-runtime" -version = "0.45.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.46.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-support", "parity-scale-codec", @@ -3662,6 +3947,16 @@ name = "gimli" version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +dependencies = [ + "fallible-iterator", + "stable_deref_trait", +] + +[[package]] +name = "gimli" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc6298e594375a7fead9efd5568f0a46e6a154fb6a9bdcbe3c06946ffd81a5f6" dependencies = [ "fallible-iterator", "indexmap 2.11.0", @@ -3686,25 +3981,22 @@ dependencies = [ [[package]] name = "governor" -version = "0.8.1" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be93b4ec2e4710b04d9264c0c7350cdd62a8c20e5e4ac732552ebb8f0debe8eb" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" dependencies = [ "cfg-if", - "dashmap", - "futures-sink", + "dashmap 5.5.3", + "futures", "futures-timer", - "futures-util", - "getrandom 0.3.2", "no-std-compat", "nonzero_ext", "parking_lot 0.12.4", "portable-atomic", "quanta", - "rand 0.9.2", + "rand 0.8.5", "smallvec", "spinning_top", - "web-time", ] [[package]] @@ -3782,15 +4074,15 @@ name = "hashbrown" version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash", +] [[package]] name = "hashbrown" version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" -dependencies = [ - "ahash", -] [[package]] name = "hashbrown" @@ -3898,6 +4190,31 @@ dependencies = [ "url", ] +[[package]] +name = "hickory-proto" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8a6fe56c0038198998a6f217ca4e7ef3a5e51f46163bd6dd60b5c71ca6c6502" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner", + "futures-channel", + "futures-io", + "futures-util", + "idna", + "ipnet", + "once_cell", + "rand 0.9.2", + "ring 0.17.14", + "thiserror 2.0.16", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "hickory-resolver" version = "0.24.4" @@ -3906,7 +4223,7 @@ checksum = "cbb117a1ca520e111743ab2f6688eddee69db4e0ea242545a604dce8a66fd22e" dependencies = [ "cfg-if", "futures-util", - "hickory-proto", + "hickory-proto 0.24.4", "ipconfig", "lru-cache", "once_cell", @@ -3919,13 +4236,44 @@ dependencies = [ "tracing", ] +[[package]] +name = "hickory-resolver" +version = "0.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc62a9a99b0bfb44d2ab95a7208ac952d31060efc16241c87eaf36406fecf87a" +dependencies = [ + "cfg-if", + "futures-util", + "hickory-proto 0.25.2", + "ipconfig", + "moka", + "once_cell", + "parking_lot 0.12.4", + "rand 0.9.2", + "resolv-conf", + "smallvec", + "thiserror 2.0.16", + "tokio", + "tracing", +] + [[package]] name = "hkdf" version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" dependencies = [ - "hmac", + "hmac 0.12.1", +] + +[[package]] +name = "hmac" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" +dependencies = [ + "crypto-mac", + "digest 0.9.0", ] [[package]] @@ -3937,6 +4285,17 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "hmac-drbg" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" +dependencies = [ + "digest 0.9.0", + "generic-array 0.14.7", + "hmac 0.8.1", +] + [[package]] name = "home" version = "0.5.11" @@ -4097,6 +4456,7 @@ dependencies = [ "http 1.3.1", "hyper 1.4.1", "hyper-util", + "log", "rustls", "rustls-native-certs", "rustls-pki-types", @@ -4163,12 +4523,6 @@ dependencies = [ "cc", ] -[[package]] -name = "id-arena" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005" - [[package]] name = "ident_case" version = "1.0.1" @@ -4269,9 +4623,9 @@ dependencies = [ [[package]] name = "impl-codec" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67aa010c1e3da95bf151bd8b4c059b2ed7e75387cdb969b4f8f2723a43f9941" +checksum = "2d40b9d5e17727407e55028eafc22b2dc68781786e6d7eb8a21103f5058e3a14" dependencies = [ "parity-scale-codec", ] @@ -4307,6 +4661,25 @@ dependencies = [ "syn 2.0.106", ] +[[package]] +name = "include_dir" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" +dependencies = [ + "proc-macro2", + "quote", +] + [[package]] name = "indexmap" version = "1.9.3" @@ -4391,6 +4764,17 @@ version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" +[[package]] +name = "is-terminal" +version = "0.4.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "is_terminal_polyfill" version = "1.70.1" @@ -4406,15 +4790,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.13.0" @@ -4628,10 +5003,10 @@ version = "1.5.0" source = "git+https://github.com/rust-lang-nursery/lazy-static.rs?rev=5735630d46572f1e5377c8f2ba0f79d18f53b10c#5735630d46572f1e5377c8f2ba0f79d18f53b10c" [[package]] -name = "leb128" -version = "0.2.5" +name = "leb128fmt" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" @@ -4685,7 +5060,7 @@ dependencies = [ "libp2p-upnp", "libp2p-websocket", "libp2p-yamux", - "multiaddr", + "multiaddr 0.18.2", "pin-project", "rw-stream-sink", "thiserror 1.0.69", @@ -4726,7 +5101,7 @@ dependencies = [ "futures", "futures-timer", "libp2p-identity", - "multiaddr", + "multiaddr 0.18.2", "multihash 0.19.3", "multistream-select", "once_cell", @@ -4751,7 +5126,7 @@ checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd" dependencies = [ "async-trait", "futures", - "hickory-resolver", + "hickory-resolver 0.24.4", "libp2p-core", "libp2p-identity", "parking_lot 0.12.4", @@ -4766,7 +5141,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4e830fdf24ac8c444c12415903174d506e1e077fbe3875c404a78c5935a8543" dependencies = [ "asynchronous-codec 0.7.0", - "base64 0.22.1", + "base64", "byteorder", "bytes", "either", @@ -4868,7 +5243,7 @@ checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417" dependencies = [ "data-encoding", "futures", - "hickory-proto", + "hickory-proto 0.24.4", "if-watch", "libp2p-core", "libp2p-identity", @@ -4912,7 +5287,7 @@ dependencies = [ "futures", "libp2p-core", "libp2p-identity", - "multiaddr", + "multiaddr 0.18.2", "multihash 0.19.3", "once_cell", "quick-protobuf", @@ -5056,7 +5431,7 @@ dependencies = [ "rustls", "rustls-webpki 0.101.7", "thiserror 1.0.69", - "x509-parser", + "x509-parser 0.16.0", "yasna", ] @@ -5120,6 +5495,7 @@ checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3" dependencies = [ "bitflags 2.9.3", "libc", + "redox_syscall", ] [[package]] @@ -5144,14 +5520,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e79019718125edc905a079a70cfa5f3820bc76139fc91d6f9abc27ea2a887139" dependencies = [ "arrayref", - "base64 0.22.1", + "base64", "digest 0.9.0", + "hmac-drbg", "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", "rand 0.8.5", "serde", "sha2 0.9.9", + "typenum", ] [[package]] @@ -5239,6 +5617,53 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" +[[package]] +name = "litep2p" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14fb10e63363204b89d91e1292df83322fd9de5d7fa76c3d5c78ddc2f8f3efa9" +dependencies = [ + "async-trait", + "bs58", + "bytes", + "cid", + "ed25519-dalek", + "futures", + "futures-timer", + "hickory-resolver 0.25.2", + "indexmap 2.11.0", + "libc", + "mockall", + "multiaddr 0.17.1", + "multihash 0.17.0", + "network-interface", + "parking_lot 0.12.4", + "pin-project", + "prost 0.13.5", + "prost-build", + "rand 0.8.5", + "serde", + "sha2 0.10.9", + "simple-dns", + "smallvec", + "snow", + "socket2 0.5.10", + "thiserror 2.0.16", + "tokio", + "tokio-stream", + "tokio-tungstenite", + "tokio-util", + "tracing", + "uint 0.10.0", + "unsigned-varint 0.8.0", + "url", + "x25519-dalek", + "x509-parser 0.17.0", + "yamux 0.13.6", + "yasna", + "zeroize", +] + [[package]] name = "lock_api" version = "0.4.13" @@ -5568,6 +5993,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "moka" +version = "0.12.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9321642ca94a4282428e6ea4af8cc2ca4eac48ac7a6a4ea8f33f76d0ce70926" +dependencies = [ + "crossbeam-channel", + "crossbeam-epoch", + "crossbeam-utils", + "loom", + "parking_lot 0.12.4", + "portable-atomic", + "rustc_version 0.4.1", + "smallvec", + "tagptr", + "thiserror 1.0.69", + "uuid", +] + [[package]] name = "monero-address" version = "0.1.0" @@ -5759,6 +6203,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "multiaddr" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b36f567c7099511fa8612bbbb52dda2419ce0bdbacf31714e3a5ffdb766d3bd" +dependencies = [ + "arrayref", + "byteorder", + "data-encoding", + "log", + "multibase", + "multihash 0.17.0", + "percent-encoding", + "serde", + "static_assertions", + "unsigned-varint 0.7.2", + "url", +] + [[package]] name = "multiaddr" version = "0.18.2" @@ -5805,10 +6268,11 @@ dependencies = [ [[package]] name = "multihash" -version = "0.18.1" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" dependencies = [ + "blake2b_simd", "core2", "digest 0.10.7", "multihash-derive", @@ -5948,6 +6412,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "network-interface" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07709a6d4eba90ab10ec170a0530b3aafc81cb8a2d380e4423ae41fc55fe5745" +dependencies = [ + "cc", + "libc", + "thiserror 2.0.16", + "winapi", +] + [[package]] name = "nix" version = "0.26.4" @@ -6143,6 +6619,15 @@ name = "object" version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +dependencies = [ + "memchr", +] + +[[package]] +name = "object" +version = "0.37.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ "crc32fast", "hashbrown 0.15.5", @@ -6156,7 +6641,16 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" dependencies = [ - "asn1-rs", + "asn1-rs 0.6.2", +] + +[[package]] +name = "oid-registry" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7" +dependencies = [ + "asn1-rs 0.7.1", ] [[package]] @@ -6164,6 +6658,10 @@ name = "once_cell" version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +dependencies = [ + "critical-section", + "portable-atomic", +] [[package]] name = "opaque-debug" @@ -6194,8 +6692,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-support", "frame-system", @@ -6207,8 +6705,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-benchmarking", "frame-support", @@ -6230,8 +6728,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-benchmarking", "frame-support", @@ -6252,8 +6750,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-support", "frame-system", @@ -6273,9 +6771,10 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -6291,8 +6790,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-benchmarking", "frame-support", @@ -6307,8 +6806,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "42.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "43.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6323,8 +6822,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6369,29 +6868,31 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" dependencies = [ "arrayvec", "bitvec", "byte-slice-cast", "bytes", + "const_format", "impl-trait-for-tuples", "parity-scale-codec-derive", + "rustversion", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.106", ] [[package]] @@ -6482,10 +6983,19 @@ version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3" dependencies = [ - "base64 0.22.1", + "base64", "serde", ] +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + [[package]] name = "percent-encoding" version = "2.3.2" @@ -6603,6 +7113,91 @@ version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +[[package]] +name = "polkavm" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd044ab1d3b11567ab6b98ca71259a992b4034220d5972988a0e96518e5d343d" +dependencies = [ + "libc", + "log", + "polkavm-assembler", + "polkavm-common", + "polkavm-linux-raw", +] + +[[package]] +name = "polkavm-assembler" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaad38dc420bfed79e6f731471c973ce5ff5e47ab403e63cf40358fef8a6368f" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-common" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31ff33982a807d8567645d4784b9b5d7ab87bcb494f534a57cadd9012688e102" +dependencies = [ + "log", + "polkavm-assembler", +] + +[[package]] +name = "polkavm-derive" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2eb703f3b6404c13228402e98a5eae063fd16b8f58afe334073ec105ee4117e" +dependencies = [ + "polkavm-derive-impl-macro", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f2116a92e6e96220a398930f4c8a6cda1264206f3e2034fc9982bfd93f261f7" +dependencies = [ + "polkavm-common", + "proc-macro2", + "quote", + "syn 2.0.106", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48c16669ddc7433e34c1007d31080b80901e3e8e523cb9d4b441c3910cf9294b" +dependencies = [ + "polkavm-derive-impl", + "syn 2.0.106", +] + +[[package]] +name = "polkavm-linker" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9bfe793b094d9ea5c99b7c43ba46e277b0f8f48f4bbfdbabf8d3ebf701a4bd3" +dependencies = [ + "dirs", + "gimli 0.31.1", + "hashbrown 0.14.5", + "log", + "object 0.36.7", + "polkavm-common", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linux-raw" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde" + [[package]] name = "polling" version = "3.10.0" @@ -6748,7 +7343,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" dependencies = [ "fixed-hash", - "impl-codec 0.7.0", + "impl-codec 0.7.1", "impl-num-traits", "impl-serde", "scale-info", @@ -6897,6 +7492,16 @@ dependencies = [ "unarray", ] +[[package]] +name = "prost" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +dependencies = [ + "bytes", + "prost-derive 0.12.6", +] + [[package]] name = "prost" version = "0.13.5" @@ -6904,7 +7509,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.13.5", ] [[package]] @@ -6920,13 +7525,26 @@ dependencies = [ "once_cell", "petgraph", "prettyplease", - "prost", + "prost 0.13.5", "prost-types", "regex", "syn 2.0.106", "tempfile", ] +[[package]] +name = "prost-derive" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +dependencies = [ + "anyhow", + "itertools 0.10.5", + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "prost-derive" version = "0.13.5" @@ -6946,28 +7564,30 @@ version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52c2c1bf36ddb1a1c396b3601a3cec27c2462e45f07c386894ec3ccf5332bd16" dependencies = [ - "prost", -] - -[[package]] -name = "psm" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f" -dependencies = [ - "cc", + "prost 0.13.5", ] [[package]] name = "pulley-interpreter" -version = "29.0.1" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62d95f8575df49a2708398182f49a888cf9dc30210fb1fd2df87c889edcee75d" +checksum = "e4e2d31146038fd9e62bfa331db057aca325d5ca10451a9fe341356cead7da53" dependencies = [ "cranelift-bitset", "log", - "sptr", - "wasmtime-math", + "pulley-macros", + "wasmtime-internal-math", +] + +[[package]] +name = "pulley-macros" +version = "36.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efb9fdafaca625f9ea8cfa793364ea1bdd32d306cff18f166b00ddaa61ecbb27" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", ] [[package]] @@ -7269,9 +7889,22 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.11.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc06e6b318142614e4a48bc725abbf08ff166694835c43c9dae5a9009704639a" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash 1.1.0", + "slice-group-by", + "smallvec", +] + +[[package]] +name = "regalloc2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5216b1837de2149f8bc8e6d5f88a9326b63b8c836ed58ce4a0a29ec736a59734" dependencies = [ "allocator-api2", "bumpalo", @@ -7511,7 +8144,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ - "hmac", + "hmac 0.12.1", "subtle", ] @@ -7753,6 +8386,7 @@ version = "0.23.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ebcbd2f03de0fc1122ad9bb24b127a5a6cd51d72604a3f3c50ac459762b6cc" dependencies = [ + "log", "once_cell", "ring 0.17.14", "rustls-pki-types", @@ -7859,8 +8493,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "30.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "31.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "log", "sp-core", @@ -7870,19 +8504,17 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.48.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.50.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "futures", "futures-timer", "ip_network", - "libp2p", "linked_hash_set", "log", - "multihash 0.18.1", "parity-scale-codec", - "prost", + "prost 0.12.6", "prost-build", "rand 0.8.5", "sc-client-api", @@ -7900,11 +8532,10 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.48.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "futures", - "futures-timer", "log", "parity-scale-codec", "sc-block-builder", @@ -7922,8 +8553,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.43.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.44.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "sp-api", @@ -7937,11 +8568,11 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "41.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "43.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", - "log", + "docify", "memmap2 0.9.8", "parity-scale-codec", "sc-chain-spec-derive", @@ -7964,7 +8595,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7974,15 +8605,15 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.50.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.52.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "chrono", "clap", "fdlimit", "futures", - "itertools 0.13.0", + "itertools 0.14.0", "libp2p-identity", "log", "names", @@ -8015,8 +8646,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "fnv", "futures", @@ -8041,8 +8672,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.45.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.46.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "hash-db", "kvdb", @@ -8067,8 +8698,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "futures", @@ -8079,7 +8710,6 @@ dependencies = [ "sc-network-types", "sc-utils", "serde", - "sp-api", "sp-blockchain", "sp-consensus", "sp-core", @@ -8091,8 +8721,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.48.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.50.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "fork-tree", @@ -8127,8 +8757,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8140,8 +8770,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.33.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.35.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "ahash", "array-bytes", @@ -8184,8 +8814,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "futures", @@ -8207,12 +8837,13 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.41.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.42.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", "sc-executor-common", + "sc-executor-polkavm", "sc-executor-wasmtime", "schnellru", "sp-api", @@ -8229,9 +8860,10 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.36.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.38.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "polkavm", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -8239,15 +8871,26 @@ dependencies = [ "wasm-instrument", ] +[[package]] +name = "sc-executor-polkavm" +version = "0.35.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" +dependencies = [ + "log", + "polkavm", + "sc-executor-common", + "sp-wasm-interface", +] + [[package]] name = "sc-executor-wasmtime" -version = "0.36.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.38.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "anyhow", "log", "parking_lot 0.12.4", - "rustix 0.38.44", + "rustix 1.0.8", "sc-allocator", "sc-executor-common", "sp-runtime-interface", @@ -8257,8 +8900,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "console", "futures", @@ -8266,7 +8909,6 @@ dependencies = [ "log", "sc-client-api", "sc-network", - "sc-network-common", "sc-network-sync", "sp-blockchain", "sp-runtime", @@ -8274,8 +8916,8 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "34.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "35.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -8288,8 +8930,8 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.48.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.50.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "async-channel", @@ -8303,6 +8945,7 @@ dependencies = [ "ip_network", "libp2p", "linked_hash_set", + "litep2p", "log", "mockall", "parity-scale-codec", @@ -8334,19 +8977,18 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.48.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", - "prost-build", "sp-runtime", ] [[package]] name = "sc-network-gossip" -version = "0.48.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.50.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "ahash", "futures", @@ -8364,15 +9006,15 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "async-channel", "futures", "log", "parity-scale-codec", - "prost", + "prost 0.12.6", "prost-build", "sc-client-api", "sc-network", @@ -8385,8 +9027,8 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "async-channel", @@ -8396,7 +9038,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost", + "prost 0.12.6", "prost-build", "sc-client-api", "sc-consensus", @@ -8420,8 +9062,8 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "futures", @@ -8439,17 +9081,18 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.15.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.16.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "bs58", + "bytes", "ed25519-dalek", - "libp2p-core", "libp2p-identity", "libp2p-kad", + "litep2p", "log", - "multiaddr", - "multihash 0.18.1", + "multiaddr 0.18.2", + "multihash 0.19.3", "rand 0.8.5", "thiserror 2.0.16", "zeroize", @@ -8457,18 +9100,28 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "43.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "45.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "bytes", + "fnv", "futures", + "futures-timer", + "http-body-util", + "hyper 1.4.1", + "hyper-rustls", + "hyper-util", "num_cpus", + "once_cell", "parity-scale-codec", "parking_lot 0.12.4", "rand 0.8.5", + "rustls", "sc-client-api", "sc-network", "sc-network-types", "sc-transaction-pool-api", + "sc-utils", "sp-api", "sp-core", "sp-externalities", @@ -8481,8 +9134,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.18.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.20.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8490,8 +9143,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "43.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "45.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "futures", "jsonrpsee", @@ -8520,8 +9173,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.47.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.49.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8539,8 +9192,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "20.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "22.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -8563,14 +9216,14 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.48.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.50.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "futures", "futures-util", "hex", - "itertools 0.13.0", + "itertools 0.14.0", "jsonrpsee", "log", "parity-scale-codec", @@ -8588,6 +9241,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-version", + "substrate-prometheus-endpoint", "thiserror 2.0.16", "tokio", "tokio-stream", @@ -8595,8 +9249,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.49.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.51.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "directories", @@ -8658,8 +9312,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.37.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.38.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "log", "parity-scale-codec", @@ -8669,10 +9323,10 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "41.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "42.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ - "derive_more 1.0.0", + "derive_more 0.99.20", "futures", "libc", "log", @@ -8685,13 +9339,12 @@ dependencies = [ "sp-core", "sp-crypto-hashing", "sp-io", - "sp-std", ] [[package]] name = "sc-telemetry" -version = "28.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "28.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "chrono", "futures", @@ -8700,7 +9353,6 @@ dependencies = [ "parking_lot 0.12.4", "pin-project", "rand 0.8.5", - "sc-network", "sc-utils", "serde", "serde_json", @@ -8710,11 +9362,12 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "chrono", "console", + "is-terminal", "libc", "log", "parity-scale-codec", @@ -8737,8 +9390,8 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "11.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "11.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -8748,14 +9401,14 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "futures", "futures-timer", "indexmap 2.11.0", - "itertools 0.13.0", + "itertools 0.14.0", "linked-hash-map", "log", "parity-scale-codec", @@ -8775,15 +9428,17 @@ dependencies = [ "thiserror 2.0.16", "tokio", "tokio-stream", + "tracing", ] [[package]] name = "sc-transaction-pool-api" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "futures", + "indexmap 2.11.0", "log", "parity-scale-codec", "serde", @@ -8795,8 +9450,8 @@ dependencies = [ [[package]] name = "sc-utils" -version = "18.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "18.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-channel", "futures", @@ -8920,6 +9575,15 @@ dependencies = [ "zeroize", ] +[[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" version = "0.29.1" @@ -8955,6 +9619,15 @@ dependencies = [ "secp256k1-sys 0.11.0", ] +[[package]] +name = "secp256k1-sys" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" +dependencies = [ + "cc", +] + [[package]] name = "secp256k1-sys" version = "0.10.1" @@ -8999,15 +9672,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "secrecy" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a" -dependencies = [ - "zeroize", -] - [[package]] name = "security-framework" version = "3.3.0" @@ -9136,7 +9800,7 @@ dependencies = [ "hex", "modular-frost", "monero-address", - "multiaddr", + "multiaddr 0.18.2", "parity-scale-codec", "rand_core 0.6.4", "serai-abi", @@ -9268,7 +9932,6 @@ dependencies = [ "dalek-ff-group", "dkg", "log", - "parity-scale-codec", "rand_core 0.6.4", "schnorr-signatures", "serai-client", @@ -9649,7 +10312,7 @@ dependencies = [ "borsh", "ciphersuite 0.4.2", "dalek-ff-group", - "dkg", + "dkg-musig", "parity-scale-codec", "rand_core 0.6.4", "sp-core", @@ -10087,7 +10750,7 @@ version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e28bdad6db2b8340e449f7108f020b3b092e8583a9e3fb82713e1d4e71fe817" dependencies = [ - "base64 0.22.1", + "base64", "chrono", "hex", "indexmap 1.9.3", @@ -10266,6 +10929,21 @@ dependencies = [ "wide", ] +[[package]] +name = "simple-dns" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dee851d0e5e7af3721faea1843e8015e820a234f81fda3dea9247e15bac9a86a" +dependencies = [ + "bitflags 2.9.3", +] + +[[package]] +name = "simple-mermaid" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" + [[package]] name = "simple-request" version = "0.1.0" @@ -10298,6 +10976,12 @@ version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" +[[package]] +name = "slice-group-by" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" + [[package]] name = "smallvec" version = "1.15.1" @@ -10356,7 +11040,7 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e859df029d160cb88608f5d7df7fb4753fd20fdfb4de5644f3d8b8440841721" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "futures", "http 1.3.1", @@ -10368,9 +11052,10 @@ dependencies = [ [[package]] name = "sp-api" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "docify", "hash-db", "log", "parity-scale-codec", @@ -10389,8 +11074,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "21.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "22.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "Inflector", "blake2 0.10.6", @@ -10403,8 +11088,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "scale-info", @@ -10415,9 +11100,10 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "26.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "26.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "docify", "integer-sqrt", "num-traits", "parity-scale-codec", @@ -10428,8 +11114,8 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "scale-info", @@ -10440,8 +11126,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "sp-api", "sp-inherents", @@ -10450,8 +11136,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "futures", "parity-scale-codec", @@ -10469,13 +11155,12 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.41.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.42.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "futures", "log", - "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -10484,8 +11169,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.41.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.42.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "parity-scale-codec", @@ -10502,8 +11187,8 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "22.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "23.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "finality-grandpa", "log", @@ -10519,8 +11204,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.41.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.42.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "scale-info", @@ -10530,20 +11215,23 @@ dependencies = [ [[package]] name = "sp-core" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "array-bytes", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", "bs58", - "dyn-clone", + "dyn-clonable", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", "impl-serde", - "itertools 0.13.0", + "itertools 0.14.0", + "k256", + "libsecp256k1", "log", "merlin", "parity-bip39", @@ -10554,7 +11242,8 @@ dependencies = [ "rand 0.8.5", "scale-info", "schnorrkel", - "secrecy 0.10.3", + "secp256k1 0.28.2", + "secrecy", "serde", "sp-crypto-hashing", "sp-debug-derive", @@ -10572,18 +11261,20 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", + "sha2 0.10.9", + "sha3 0.10.8", "twox-hash", ] [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "quote", "sp-crypto-hashing", @@ -10593,7 +11284,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -10602,7 +11293,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "proc-macro2", "quote", @@ -10612,7 +11303,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.30.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "environmental", "parity-scale-codec", @@ -10621,8 +11312,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.16.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.17.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "scale-info", @@ -10633,8 +11324,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10646,13 +11337,18 @@ dependencies = [ [[package]] name = "sp-io" -version = "39.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "40.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "bytes", + "docify", + "ed25519-dalek", + "libsecp256k1", "log", "parity-scale-codec", + "polkavm-derive", "rustversion", + "secp256k1 0.28.2", "sp-core", "sp-crypto-hashing", "sp-externalities", @@ -10667,8 +11363,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "40.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "41.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "sp-core", "sp-runtime", @@ -10677,8 +11373,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.41.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.42.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -10689,7 +11385,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "thiserror 2.0.16", "zstd", @@ -10697,8 +11393,8 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.8.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.10.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -10707,8 +11403,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "sp-api", "sp-core", @@ -10717,8 +11413,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "13.0.1" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "13.0.2" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "backtrace", "regex", @@ -10726,8 +11422,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "33.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "34.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -10736,9 +11432,10 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "40.1.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "41.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", @@ -10749,6 +11446,7 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", + "simple-mermaid", "sp-application-crypto", "sp-arithmetic", "sp-core", @@ -10762,12 +11460,13 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "29.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "29.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive", "primitive-types 0.13.1", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -10781,7 +11480,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "Inflector", "expander", @@ -10793,8 +11492,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "37.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "38.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "scale-info", @@ -10807,8 +11506,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "37.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "38.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10820,8 +11519,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.44.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.45.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "hash-db", "log", @@ -10841,12 +11540,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" [[package]] name = "sp-storage" version = "22.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10857,8 +11556,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "async-trait", "parity-scale-codec", @@ -10869,8 +11568,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.0.1" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "17.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "tracing", @@ -10880,8 +11579,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "35.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "36.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "sp-api", "sp-runtime", @@ -10889,8 +11588,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "ahash", "hash-db", @@ -10911,8 +11610,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "38.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "39.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10929,7 +11628,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -10941,7 +11640,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "21.0.1" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -10952,8 +11651,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "31.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "31.1.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -10995,12 +11694,6 @@ dependencies = [ "der", ] -[[package]] -name = "sptr" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" - [[package]] name = "ss58-registry" version = "1.51.0" @@ -11136,9 +11829,9 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ - "hmac", + "hmac 0.12.1", "pbkdf2", "schnorrkel", "sha2 0.10.9", @@ -11148,13 +11841,14 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" [[package]] name = "substrate-frame-rpc-system" -version = "42.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "44.0.0" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ + "docify", "frame-system-rpc-runtime-api", "futures", "jsonrpsee", @@ -11171,8 +11865,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.17.1" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "0.17.3" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "http-body-util", "hyper 1.4.1", @@ -11185,14 +11879,16 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "25.0.0" -source = "git+https://github.com/serai-dex/polkadot-sdk?branch=serai-next#ebfc5f338a9752403fa07e88dd072b1d6de7acfc" +version = "26.0.1" +source = "git+https://github.com/serai-dex/patch-polkadot-sdk?rev=799658329bf66a829e67b34a0e86376b63eb7d23#799658329bf66a829e67b34a0e86376b63eb7d23" dependencies = [ "build-helper", "cargo_metadata", "console", + "filetime", "jobserver", "parity-wasm", + "polkavm-linker", "shlex", "sp-maybe-compressed-blob", "strum 0.26.3", @@ -11292,6 +11988,12 @@ dependencies = [ "libc", ] +[[package]] +name = "tagptr" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" + [[package]] name = "tap" version = "1.0.1" @@ -11321,11 +12023,11 @@ dependencies = [ name = "tendermint-machine" version = "0.2.0" dependencies = [ + "borsh", "futures-channel", "futures-util", "hex", "log", - "parity-scale-codec", "patchable-async-sleep", "serai-db", "thiserror 2.0.16", @@ -11523,6 +12225,22 @@ dependencies = [ "tokio-util", ] +[[package]] +name = "tokio-tungstenite" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" +dependencies = [ + "futures-util", + "log", + "rustls", + "rustls-native-certs", + "rustls-pki-types", + "tokio", + "tokio-rustls", + "tungstenite", +] + [[package]] name = "tokio-util" version = "0.7.16" @@ -11734,6 +12452,7 @@ name = "tributary-sdk" version = "0.1.0" dependencies = [ "blake2 0.11.0-rc.0", + "borsh", "ciphersuite 0.4.2", "dalek-ff-group", "flexible-transcript", @@ -11741,7 +12460,6 @@ dependencies = [ "futures-util", "hex", "log", - "parity-scale-codec", "rand 0.8.5", "rand_chacha 0.3.1", "schnorr-signatures", @@ -11755,9 +12473,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.29.1" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" +checksum = "6c0670ab45a6b7002c7df369fee950a27cf29ae0474343fd3a15aa15f691e7a6" dependencies = [ "hash-db", "log", @@ -11786,6 +12504,26 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" +[[package]] +name = "tungstenite" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" +dependencies = [ + "bytes", + "data-encoding", + "http 1.3.1", + "httparse", + "log", + "rand 0.9.2", + "rustls", + "rustls-pki-types", + "sha1", + "thiserror 2.0.16", + "url", + "utf-8", +] + [[package]] name = "tuplex" version = "0.1.2" @@ -11794,15 +12532,9 @@ checksum = "676ac81d5454c4dcf37955d34fa8626ede3490f744b86ca14a7b90168d2a08aa" [[package]] name = "twox-hash" -version = "1.6.3" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" -dependencies = [ - "cfg-if", - "digest 0.10.7", - "rand 0.8.5", - "static_assertions", -] +checksum = "8b907da542cbced5261bd3256de1b3a1bf340a3d37f93425a07362a1d687de56" [[package]] name = "typenum" @@ -11912,6 +12644,10 @@ name = "unsigned-varint" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" +dependencies = [ + "bytes", + "tokio-util", +] [[package]] name = "untrusted" @@ -11937,6 +12673,12 @@ dependencies = [ "serde", ] +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf8_iter" version = "1.0.4" @@ -11949,6 +12691,17 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +[[package]] +name = "uuid" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be" +dependencies = [ + "getrandom 0.3.2", + "js-sys", + "wasm-bindgen", +] + [[package]] name = "valuable" version = "0.1.1" @@ -12089,11 +12842,11 @@ dependencies = [ [[package]] name = "wasm-encoder" -version = "0.221.3" +version = "0.236.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc8444fe4920de80a4fe5ab564fff2ae58b6b73166b89751f8c6c93509da32e5" +checksum = "724fccfd4f3c24b7e589d333fc0429c68042897a7e8a5f8694f31792471841e7" dependencies = [ - "leb128", + "leb128fmt", "wasmparser", ] @@ -12163,9 +12916,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.221.3" +version = "0.236.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06bfa36ab3ac2be0dee563380147a5b81ba10dd8885d7fbbc9eb574be67d185" +checksum = "a9b1e81f3eb254cf7404a82cee6926a4a3ccc5aad80cc3d43608a070c67aa1d7" dependencies = [ "bitflags 2.9.3", "hashbrown 0.15.5", @@ -12176,9 +12929,9 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.221.3" +version = "0.236.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7343c42a97f2926c7819ff81b64012092ae954c5d83ddd30c9fcdefd97d0b283" +checksum = "2df225df06a6df15b46e3f73ca066ff92c2e023670969f7d50ce7d5e695abbb1" dependencies = [ "anyhow", "termcolor", @@ -12187,136 +12940,60 @@ dependencies = [ [[package]] name = "wasmtime" -version = "29.0.1" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11976a250672556d1c4c04c6d5d7656ac9192ac9edc42a4587d6c21460010e69" +checksum = "5b3e1fab634681494213138ea3a18e958e5ea99da13a4a01a4b870d51a41680b" dependencies = [ + "addr2line 0.25.0", "anyhow", "bitflags 2.9.3", "bumpalo", "cc", "cfg-if", - "hashbrown 0.14.5", + "hashbrown 0.15.5", "indexmap 2.11.0", "libc", "log", "mach2", "memfd", - "object", + "object 0.37.3", "once_cell", - "paste", "postcard", - "psm", "pulley-interpreter", "rayon", - "rustix 0.38.44", + "rustix 1.0.8", "serde", "serde_derive", "smallvec", - "sptr", "target-lexicon", "wasmparser", - "wasmtime-asm-macros", - "wasmtime-cache", - "wasmtime-component-macro", - "wasmtime-cranelift", "wasmtime-environ", - "wasmtime-fiber", - "wasmtime-jit-icache-coherence", - "wasmtime-math", - "wasmtime-slab", - "wasmtime-versioned-export-macros", - "windows-sys 0.59.0", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "29.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f178b0d125201fbe9f75beaf849bd3e511891f9e45ba216a5b620802ccf64f2" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "wasmtime-cache" -version = "29.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b1161c8f62880deea07358bc40cceddc019f1c81d46007bc390710b2fe24ffc" -dependencies = [ - "anyhow", - "base64 0.21.7", - "directories-next", - "log", - "postcard", - "rustix 0.38.44", - "serde", - "serde_derive", - "sha2 0.10.9", - "toml", - "windows-sys 0.59.0", - "zstd", -] - -[[package]] -name = "wasmtime-component-macro" -version = "29.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d74de6592ed945d0a602f71243982a304d5d02f1e501b638addf57f42d57dfaf" -dependencies = [ - "anyhow", - "proc-macro2", - "quote", - "syn 2.0.106", - "wasmtime-component-util", - "wasmtime-wit-bindgen", - "wit-parser", -] - -[[package]] -name = "wasmtime-component-util" -version = "29.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "707dc7b3c112ab5a366b30cfe2fb5b2f8e6a0f682f16df96a5ec582bfe6f056e" - -[[package]] -name = "wasmtime-cranelift" -version = "29.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "366be722674d4bf153290fbcbc4d7d16895cc82fb3e869f8d550ff768f9e9e87" -dependencies = [ - "anyhow", - "cfg-if", - "cranelift-codegen", - "cranelift-control", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "gimli", - "itertools 0.12.1", - "log", - "object", - "smallvec", - "target-lexicon", - "thiserror 1.0.69", - "wasmparser", - "wasmtime-environ", - "wasmtime-versioned-export-macros", + "wasmtime-internal-asm-macros", + "wasmtime-internal-cache", + "wasmtime-internal-cranelift", + "wasmtime-internal-fiber", + "wasmtime-internal-jit-debug", + "wasmtime-internal-jit-icache-coherence", + "wasmtime-internal-math", + "wasmtime-internal-slab", + "wasmtime-internal-unwinder", + "wasmtime-internal-versioned-export-macros", + "windows-sys 0.60.2", ] [[package]] name = "wasmtime-environ" -version = "29.0.1" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdadc1af7097347aa276a4f008929810f726b5b46946971c660b6d421e9994ad" +checksum = "6750e519977953a018fe994aada7e02510aea4babb03310aa5f5b4145b6e6577" dependencies = [ "anyhow", "cranelift-bitset", "cranelift-entity", - "gimli", + "gimli 0.32.2", "indexmap 2.11.0", "log", - "object", + "object 0.37.3", "postcard", "serde", "serde_derive", @@ -12328,70 +13005,138 @@ dependencies = [ ] [[package]] -name = "wasmtime-fiber" -version = "29.0.1" +name = "wasmtime-internal-asm-macros" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccba90d4119f081bca91190485650730a617be1fff5228f8c4757ce133d21117" +checksum = "bdbf38adac6e81d5c0326e8fd25f80450e3038f2fc103afd3c5cc8b83d5dd78b" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-internal-cache" +version = "36.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0c9085d8c04cc294612d743e2f355382b39250de4bd20bf4b0b0b7c0ae7067a" +dependencies = [ + "anyhow", + "base64", + "directories-next", + "log", + "postcard", + "rustix 1.0.8", + "serde", + "serde_derive", + "sha2 0.10.9", + "toml", + "windows-sys 0.60.2", + "zstd", +] + +[[package]] +name = "wasmtime-internal-cranelift" +version = "36.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d85b8ba128525bff91b89ac8a97755136a4fb0fb59df5ffb7539dd646455d441" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen", + "cranelift-control", + "cranelift-entity", + "cranelift-frontend", + "cranelift-native", + "gimli 0.32.2", + "itertools 0.14.0", + "log", + "object 0.37.3", + "pulley-interpreter", + "smallvec", + "target-lexicon", + "thiserror 2.0.16", + "wasmparser", + "wasmtime-environ", + "wasmtime-internal-math", + "wasmtime-internal-versioned-export-macros", +] + +[[package]] +name = "wasmtime-internal-fiber" +version = "36.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c566f5137de1f55339df8a236a5ec89698b466a3d33f9cc07823a58a3f85e16" dependencies = [ "anyhow", "cc", "cfg-if", - "rustix 0.38.44", - "wasmtime-asm-macros", - "wasmtime-versioned-export-macros", - "windows-sys 0.59.0", + "libc", + "rustix 1.0.8", + "wasmtime-internal-asm-macros", + "wasmtime-internal-versioned-export-macros", + "windows-sys 0.60.2", ] [[package]] -name = "wasmtime-jit-icache-coherence" -version = "29.0.1" +name = "wasmtime-internal-jit-debug" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec5e8552e01692e6c2e5293171704fed8abdec79d1a6995a0870ab190e5747d1" +checksum = "e03f0b11f8fe4d456feac11e7e9dc6f02ddb34d4f6a1912775dbc63c5bdd5670" +dependencies = [ + "cc", + "wasmtime-internal-versioned-export-macros", +] + +[[package]] +name = "wasmtime-internal-jit-icache-coherence" +version = "36.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71aeb74f9b3fd9225319c723e59832a77a674b0c899ba9795f9b2130a6d1b167" dependencies = [ "anyhow", "cfg-if", "libc", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] -name = "wasmtime-math" -version = "29.0.1" +name = "wasmtime-internal-math" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29210ec2aa25e00f4d54605cedaf080f39ec01a872c5bd520ad04c67af1dde17" +checksum = "31d5dad8a609c6cc47a5f265f13b52e347e893450a69641af082b8a276043fa7" dependencies = [ "libm", ] [[package]] -name = "wasmtime-slab" -version = "29.0.1" +name = "wasmtime-internal-slab" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb5821a96fa04ac14bc7b158bb3d5cd7729a053db5a74dad396cd513a5e5ccf" +checksum = "6d152a7b875d62e395bfe0ae7d12e7b47cd332eb380353cce3eb831f9843731d" [[package]] -name = "wasmtime-versioned-export-macros" -version = "29.0.1" +name = "wasmtime-internal-unwinder" +version = "36.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86ff86db216dc0240462de40c8290887a613dddf9685508eb39479037ba97b5b" +checksum = "2aaacc0fea00293f7af7e6c25cef74b7d213ebbe7560c86305eec15fc318fab8" +dependencies = [ + "anyhow", + "cfg-if", + "cranelift-codegen", + "log", + "object 0.37.3", +] + +[[package]] +name = "wasmtime-internal-versioned-export-macros" +version = "36.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61c7f75326434944cc5f3b75409a063fa37e537f6247f00f0f733679f0be406" dependencies = [ "proc-macro2", "quote", "syn 2.0.106", ] -[[package]] -name = "wasmtime-wit-bindgen" -version = "29.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8358319c2dd1e4db79e3c1c5d3a5af84956615343f9f89f4e4996a36816e06e6" -dependencies = [ - "anyhow", - "heck 0.5.0", - "indexmap 2.11.0", - "wit-parser", -] - [[package]] name = "wasmtimer" version = "0.4.2" @@ -12824,24 +13569,6 @@ version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "052283831dbae3d879dc7f51f3d92703a316ca49f91540417d38591826127814" -[[package]] -name = "wit-parser" -version = "0.221.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "896112579ed56b4a538b07a3d16e562d101ff6265c46b515ce0c701eef16b2ac" -dependencies = [ - "anyhow", - "id-arena", - "indexmap 2.11.0", - "log", - "semver 1.0.26", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser", -] - [[package]] name = "wyz" version = "0.5.1" @@ -12869,17 +13596,34 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs", + "asn1-rs 0.6.2", "data-encoding", - "der-parser", + "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry", + "oid-registry 0.7.1", "rusticata-macros", "thiserror 1.0.69", "time", ] +[[package]] +name = "x509-parser" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4569f339c0c402346d4a75a9e39cf8dad310e287eef1ff56d4c68e5067f53460" +dependencies = [ + "asn1-rs 0.7.1", + "data-encoding", + "der-parser 10.0.0", + "lazy_static", + "nom", + "oid-registry 0.8.1", + "rusticata-macros", + "thiserror 2.0.16", + "time", +] + [[package]] name = "xml-rs" version = "0.8.27" diff --git a/substrate/abi/Cargo.toml b/substrate/abi/Cargo.toml index f4c802c6..29c15f92 100644 --- a/substrate/abi/Cargo.toml +++ b/substrate/abi/Cargo.toml @@ -22,13 +22,13 @@ workspace = true borsh = { version = "1", default-features = false, features = ["derive", "de_strict_order"] } bitvec = { version = "1", default-features = false, features = ["alloc"] } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } serde = { version = "1", default-features = false, features = ["derive"], optional = true } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"], optional = true } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false, features = ["serde"], optional = true } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false, optional = true } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false, features = ["serde"], optional = true } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false, optional = true } serai-primitives = { path = "../primitives", version = "0.1", default-features = false } @@ -47,6 +47,6 @@ std = [ "serai-primitives/std", ] -substrate = ["serde", "scale", "scale-info", "sp-runtime", "frame-support", "serai-primitives/non_canonical_scale_derivations"] +substrate = ["serde", "scale", "scale-info", "sp-runtime", "frame-support", "serai-primitives/serde", "serai-primitives/non_canonical_scale_derivations"] try-runtime = ["sp-runtime/try-runtime"] default = ["std"] diff --git a/substrate/abi/src/block.rs b/substrate/abi/src/block.rs index 2afce2fc..c42cc301 100644 --- a/substrate/abi/src/block.rs +++ b/substrate/abi/src/block.rs @@ -105,7 +105,7 @@ pub struct Block { mod substrate { use core::fmt::Debug; - use scale::{Encode, Decode}; + use scale::{Encode, Decode, DecodeWithMemTracking, IoReader}; use scale_info::TypeInfo; use sp_core::H256; @@ -116,6 +116,31 @@ mod substrate { use super::*; + // Add `serde` implementations which treat self as a `Vec` + impl sp_core::serde::Serialize for Transaction { + fn serialize(&self, serializer: S) -> Result + where + S: sp_core::serde::Serializer, + { + as sp_core::serde::Serialize>::serialize(&self.encode(), serializer) + } + } + impl<'de> sp_core::serde::Deserialize<'de> for Transaction { + fn deserialize(deserializer: D) -> Result + where + D: sp_core::serde::Deserializer<'de>, + { + use sp_core::serde::de::Error; + let bytes = as sp_core::serde::Deserialize>::deserialize(deserializer)?; + let mut reader = bytes.as_slice(); + let block = Self::decode(&mut IoReader(&mut reader)).map_err(D::Error::custom)?; + if !reader.is_empty() { + Err(D::Error::custom("extraneous bytes at end"))?; + } + Ok(block) + } + } + /// The digest for all of the Serai-specific header fields added before execution of the block. #[derive(Clone, Copy, PartialEq, Eq, BorshSerialize, BorshDeserialize)] pub struct SeraiPreExecutionDigest { @@ -149,7 +174,18 @@ mod substrate { /// /// This is not considered part of the protocol proper and may be pruned in the future. It's /// solely considered used for consensus now. - #[derive(Clone, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, sp_runtime::Serialize)] + #[derive( + Clone, + PartialEq, + Eq, + Debug, + Encode, + Decode, + DecodeWithMemTracking, + TypeInfo, + sp_runtime::Serialize, + sp_runtime::Deserialize, + )] pub struct ConsensusV1 { /// The hash of the immediately preceding block. parent_hash: H256, @@ -164,14 +200,37 @@ mod substrate { } /// A V1 header for a block, as needed by Substrate. - #[derive(Clone, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, sp_runtime::Serialize)] + #[derive( + Clone, + PartialEq, + Eq, + Debug, + Encode, + Decode, + DecodeWithMemTracking, + TypeInfo, + sp_runtime::Serialize, + sp_runtime::Deserialize, + )] pub struct SubstrateHeaderV1 { number: u64, consensus: ConsensusV1, } /// A header for a block, as needed by Substrate. - #[derive(Clone, PartialEq, Eq, Debug, Encode, Decode, TypeInfo, sp_runtime::Serialize)] + #[derive( + Clone, + PartialEq, + Eq, + Debug, + Encode, + Decode, + DecodeWithMemTracking, + TypeInfo, + sp_runtime::Serialize, + sp_runtime::Deserialize, + )] + #[allow(clippy::cast_possible_truncation)] pub enum SubstrateHeader { /// A version 1 header. V1(SubstrateHeaderV1), @@ -226,12 +285,34 @@ mod substrate { } /// A block, as needed by Substrate. - #[derive(Clone, Debug, PartialEq, Eq, Encode, Decode, sp_runtime::Serialize)] + #[derive(Clone, Debug, PartialEq, Eq, Encode, Decode)] pub struct SubstrateBlock { header: SubstrateHeader, - #[serde(skip)] // This makes this unsafe to deserialize, but we don't impl `Deserialize` transactions: Vec, } + impl sp_core::serde::Serialize for SubstrateBlock { + fn serialize(&self, serializer: S) -> Result + where + S: sp_core::serde::Serializer, + { + as sp_core::serde::Serialize>::serialize(&self.encode(), serializer) + } + } + impl<'de> sp_core::serde::Deserialize<'de> for SubstrateBlock { + fn deserialize(deserializer: D) -> Result + where + D: sp_core::serde::Deserializer<'de>, + { + use sp_core::serde::de::Error; + let bytes = as sp_core::serde::Deserialize>::deserialize(deserializer)?; + let mut reader = bytes.as_slice(); + let block = Self::decode(&mut IoReader(&mut reader)).map_err(D::Error::custom)?; + if !reader.is_empty() { + Err(D::Error::custom("extraneous bytes at end"))?; + } + Ok(block) + } + } impl HeaderTrait for SubstrateHeader { type Number = u64; diff --git a/substrate/abi/src/transaction.rs b/substrate/abi/src/transaction.rs index 870f3e1f..cbc5e994 100644 --- a/substrate/abi/src/transaction.rs +++ b/substrate/abi/src/transaction.rs @@ -166,17 +166,20 @@ impl BorshDeserialize for Transaction { if len == 0 { let call = Call::deserialize_reader(reader)?; if call.is_signed() { + #[allow(clippy::io_other_error)] Err(io::Error::new(io::ErrorKind::Other, "call was signed but marked unsigned"))?; } Ok(Transaction::Unsigned { call: UnsignedCall(call) }) } else { if u32::from(len) > MAX_CALLS { + #[allow(clippy::io_other_error)] Err(io::Error::new(io::ErrorKind::Other, "too many calls"))?; } let mut calls = BoundedVec::with_bounded_capacity(len.into()); for _ in 0 .. len { let call = Call::deserialize_reader(reader)?; if !call.is_signed() { + #[allow(clippy::io_other_error)] Err(io::Error::new(io::ErrorKind::Other, "call was unsigned but included as signed"))?; } calls.try_push(call).unwrap(); @@ -254,12 +257,14 @@ mod substrate { fn read(&mut self, buf: &mut [u8]) -> borsh::io::Result { let remaining_len = self.0.remaining_len().map_err(|err| { self.1 = Some(err); + #[allow(clippy::io_other_error)] borsh::io::Error::new(borsh::io::ErrorKind::Other, "") })?; // If we're still calling `read`, we try to read at least one more byte let to_read = buf.len().min(remaining_len.unwrap_or(1)); self.0.read(&mut buf[.. to_read]).map_err(|err| { self.1 = Some(err); + #[allow(clippy::io_other_error)] borsh::io::Error::new(borsh::io::ErrorKind::Other, "") })?; Ok(to_read) diff --git a/substrate/client/Cargo.toml b/substrate/client/Cargo.toml index cbaf359a..53bc2cac 100644 --- a/substrate/client/Cargo.toml +++ b/substrate/client/Cargo.toml @@ -31,9 +31,9 @@ serde_json = { version = "1", optional = true } serai-abi = { path = "../abi", version = "0.1" } multiaddr = { version = "0.18", optional = true } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", optional = true } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", optional = true } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", optional = true } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", optional = true } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", optional = true } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", optional = true } async-lock = "3" diff --git a/substrate/coins/Cargo.toml b/substrate/coins/Cargo.toml index 4abd525e..d167a087 100644 --- a/substrate/coins/Cargo.toml +++ b/substrate/coins/Cargo.toml @@ -22,17 +22,17 @@ workspace = true scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-std = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } serai-primitives = { path = "../primitives", default-features = false, features = ["serde", "non_canonical_scale_derivations"] } [dev-dependencies] -sp-io = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false, features = ["std"] } +sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false, features = ["std"] } [features] std = [ diff --git a/substrate/dex/Cargo.toml b/substrate/dex/Cargo.toml index 9b166714..e7717df8 100644 --- a/substrate/dex/Cargo.toml +++ b/substrate/dex/Cargo.toml @@ -22,15 +22,15 @@ workspace = true scale = { package = "parity-scale-codec", version = "3.6.1", default-features = false } scale-info = { version = "2.5.0", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-io = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-api = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-benchmarking = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false, optional = true } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-benchmarking = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false, optional = true } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } diff --git a/substrate/economic-security/Cargo.toml b/substrate/economic-security/Cargo.toml index c13bcdb8..ec284f2c 100644 --- a/substrate/economic-security/Cargo.toml +++ b/substrate/economic-security/Cargo.toml @@ -22,8 +22,8 @@ workspace = true scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } dex-pallet = { package = "serai-dex-pallet", path = "../dex", default-features = false } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } @@ -31,16 +31,16 @@ coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-feat serai-primitives = { path = "../primitives", default-features = false } [dev-dependencies] -pallet-babe = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -pallet-grandpa = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -pallet-timestamp = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +pallet-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +pallet-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../validator-sets", default-features = false } -sp-io = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-consensus-babe = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } [features] std = [ diff --git a/substrate/emissions/Cargo.toml b/substrate/emissions/Cargo.toml index c15ba6e0..d966b7c3 100644 --- a/substrate/emissions/Cargo.toml +++ b/substrate/emissions/Cargo.toml @@ -22,11 +22,11 @@ workspace = true scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -sp-std = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../validator-sets", default-features = false } diff --git a/substrate/genesis-liquidity/Cargo.toml b/substrate/genesis-liquidity/Cargo.toml index 1e7ed6cf..cd8b40fe 100644 --- a/substrate/genesis-liquidity/Cargo.toml +++ b/substrate/genesis-liquidity/Cargo.toml @@ -22,12 +22,12 @@ workspace = true scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -sp-std = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-application-crypto = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-application-crypto = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } dex-pallet = { package = "serai-dex-pallet", path = "../dex", default-features = false } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } diff --git a/substrate/in-instructions/Cargo.toml b/substrate/in-instructions/Cargo.toml index 07c155bb..9b253b60 100644 --- a/substrate/in-instructions/Cargo.toml +++ b/substrate/in-instructions/Cargo.toml @@ -25,14 +25,14 @@ bitvec = { version = "1", default-features = false, features = ["alloc"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-application-crypto = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-io = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-std = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-application-crypto = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } serai-primitives = { path = "../primitives", default-features = false } @@ -43,9 +43,9 @@ genesis-liquidity-pallet = { package = "serai-genesis-liquidity-pallet", path = emissions-pallet = { package = "serai-emissions-pallet", path = "../emissions", default-features = false } [dev-dependencies] -pallet-babe = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -pallet-grandpa = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -pallet-timestamp = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +pallet-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +pallet-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } economic-security-pallet = { package = "serai-economic-security-pallet", path = "../economic-security", default-features = false } diff --git a/substrate/node/Cargo.toml b/substrate/node/Cargo.toml index a77152f0..db445bf1 100644 --- a/substrate/node/Cargo.toml +++ b/substrate/node/Cargo.toml @@ -34,16 +34,16 @@ secq256k1 = { path = "../../crypto/secq256k1" } libp2p = "0.54" -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sp-keystore = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sp-timestamp = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sp-io = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sp-blockchain = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sp-api = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sp-block-builder = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sp-consensus-babe = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sp-keystore = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sp-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sp-blockchain = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sp-block-builder = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } -frame-benchmarking = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } +frame-benchmarking = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } serai-runtime = { path = "../runtime", features = ["std"] } @@ -55,28 +55,28 @@ jsonrpsee = { version = "0.24", features = ["server"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } -sc-offchain = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-transaction-pool = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-transaction-pool-api = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-basic-authorship = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-executor = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-service = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-client-api = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-network-common = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-network = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false, features = [] } +sc-offchain = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-transaction-pool = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-transaction-pool-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-basic-authorship = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-executor = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-service = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-client-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-network-common = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-network = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false, features = [] } -sc-consensus = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-consensus-babe = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-consensus-grandpa = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-authority-discovery = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } +sc-consensus = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-consensus-grandpa = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-authority-discovery = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } -sc-telemetry = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -sc-cli = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false, features = ["rocksdb"] } +sc-telemetry = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +sc-cli = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false, features = ["rocksdb"] } -sc-rpc-api = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } +sc-rpc-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } -substrate-frame-rpc-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } -pallet-transaction-payment-rpc = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } +substrate-frame-rpc-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } +pallet-transaction-payment-rpc = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } serai-env = { path = "../../common/env" } @@ -85,7 +85,7 @@ bitcoin-serai = { path = "../../networks/bitcoin", default-features = false, fea monero-address = { git = "https://github.com/monero-oxide/monero-oxide", rev = "6966575e05fe09b77674c46984b21686ed9304ff", default-features = false, features = ["std"] } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } +substrate-build-script-utils = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } [features] default = [] diff --git a/substrate/primitives/Cargo.toml b/substrate/primitives/Cargo.toml index a948490c..a22ee5fd 100644 --- a/substrate/primitives/Cargo.toml +++ b/substrate/primitives/Cargo.toml @@ -21,11 +21,11 @@ borsh = { version = "1", default-features = false, features = ["derive", "de_str bitvec = { version = "1", default-features = false, features = ["alloc"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["alloc"] } dalek-ff-group = { path = "../../crypto/dalek-ff-group", default-features = false } -dkg = { path = "../../crypto/dkg", default-features = false } +dkg = { package = "dkg-musig", path = "../../crypto/dkg/musig", default-features = false } bech32 = { version = "0.11", default-features = false } diff --git a/substrate/primitives/src/coin.rs b/substrate/primitives/src/coin.rs index f4d7927f..a837a077 100644 --- a/substrate/primitives/src/coin.rs +++ b/substrate/primitives/src/coin.rs @@ -41,6 +41,7 @@ impl ExternalCoin { feature = "non_canonical_scale_derivations", derive(scale::Encode, scale::Decode, scale::MaxEncodedLen) )] +#[cfg_attr(feature = "non_canonical_scale_derivations", allow(clippy::cast_possible_truncation))] #[cfg_attr(feature = "serde", derive(sp_core::serde::Serialize, sp_core::serde::Deserialize))] #[cfg_attr(feature = "serde", serde(crate = "sp_core::serde"))] pub enum Coin { diff --git a/substrate/primitives/src/instructions/in/batch.rs b/substrate/primitives/src/instructions/in/batch.rs index 52659824..893d1e2d 100644 --- a/substrate/primitives/src/instructions/in/batch.rs +++ b/substrate/primitives/src/instructions/in/batch.rs @@ -67,6 +67,7 @@ impl BorshDeserialize for Batch { let read = self.reader.read(buf)?; self.read = self.read.saturating_add(read); if self.read > Batch::MAX_SIZE { + #[allow(clippy::io_other_error)] Err(io::Error::new(io::ErrorKind::Other, "Batch size exceeded maximum"))?; } Ok(read) diff --git a/substrate/primitives/src/instructions/out.rs b/substrate/primitives/src/instructions/out.rs index 3468f963..3929f488 100644 --- a/substrate/primitives/src/instructions/out.rs +++ b/substrate/primitives/src/instructions/out.rs @@ -10,6 +10,7 @@ use crate::{address::ExternalAddress, balance::ExternalBalance}; feature = "non_canonical_scale_derivations", derive(scale::Encode, scale::Decode, scale::MaxEncodedLen) )] +#[cfg_attr(feature = "non_canonical_scale_derivations", allow(clippy::cast_possible_truncation))] pub enum OutInstruction { /// Transfer to the specified address. Transfer(ExternalAddress), diff --git a/substrate/primitives/src/lib.rs b/substrate/primitives/src/lib.rs index b047dbb8..06f90568 100644 --- a/substrate/primitives/src/lib.rs +++ b/substrate/primitives/src/lib.rs @@ -69,6 +69,8 @@ impl From for BlockNumber { #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, Zeroize, BorshSerialize, BorshDeserialize)] #[rustfmt::skip] #[derive(scale::Encode, scale::Decode)] // This is safe as scale and borsh share an encoding here +#[cfg_attr(feature = "serde", derive(sp_core::serde::Serialize, sp_core::serde::Deserialize))] +#[cfg_attr(feature = "serde", serde(crate = "sp_core::serde"))] pub struct BlockHash(pub [u8; 32]); impl From<[u8; 32]> for BlockHash { fn from(hash: [u8; 32]) -> BlockHash { diff --git a/substrate/primitives/src/merkle.rs b/substrate/primitives/src/merkle.rs index 5b871495..023f3ec1 100644 --- a/substrate/primitives/src/merkle.rs +++ b/substrate/primitives/src/merkle.rs @@ -145,19 +145,6 @@ fn unbalanced_merkle_tree() { let with_new = UnbalancedMerkleTree::new(tag, list_of_hashes.clone()); // Check `is_empty` works assert_eq!(with_new.is_empty(), i == 0); - // The reference method, easy to audit, should have identical behavior to the optimized method - assert_eq!( - with_new, - UnbalancedMerkleTree::from_scale_encoded_list_of_hashes(tag, list_of_hashes.encode()) - ); - // The encoding of a slice should work the same as the encoding of a list - assert_eq!( - with_new, - UnbalancedMerkleTree::from_scale_encoded_list_of_hashes( - tag, - list_of_hashes.as_slice().encode() - ) - ); // Check the incremental method produces an identical result assert_eq!(incremental.clone().calculate(tag), with_new, "{i}"); diff --git a/substrate/primitives/src/network_id.rs b/substrate/primitives/src/network_id.rs index ddfcc092..2c5353f0 100644 --- a/substrate/primitives/src/network_id.rs +++ b/substrate/primitives/src/network_id.rs @@ -71,6 +71,7 @@ impl ExternalNetworkId { feature = "non_canonical_scale_derivations", derive(scale::Encode, scale::Decode, scale::MaxEncodedLen) )] +#[cfg_attr(feature = "non_canonical_scale_derivations", allow(clippy::cast_possible_truncation))] pub enum NetworkId { /// The Serai network. Serai, diff --git a/substrate/primitives/src/sp_borsh.rs b/substrate/primitives/src/sp_borsh.rs index b474c6ab..2c4f4252 100644 --- a/substrate/primitives/src/sp_borsh.rs +++ b/substrate/primitives/src/sp_borsh.rs @@ -45,6 +45,7 @@ pub fn borsh_deserialize_bounded_vec reader.read_exact(&mut length[.. bytes_for_length])?; let length = u32::from_le_bytes(length); if length > B { + #[allow(clippy::io_other_error)] Err(Error::new(ErrorKind::Other, "bound exceeded"))?; } diff --git a/substrate/primitives/src/validator_sets/mod.rs b/substrate/primitives/src/validator_sets/mod.rs index 87cd87bb..2960c0ef 100644 --- a/substrate/primitives/src/validator_sets/mod.rs +++ b/substrate/primitives/src/validator_sets/mod.rs @@ -65,8 +65,24 @@ impl TryFrom for ExternalValidatorSet { impl ExternalValidatorSet { /// The MuSig context for this validator set. - pub fn musig_context(&self) -> Vec { - borsh::to_vec(&(b"ValidatorSets-musig_key".as_ref(), self)).unwrap() + pub fn musig_context(&self) -> [u8; 32] { + let mut res = [0; 32]; + + const DST: &[u8] = b"ValidatorSets-musig_key"; + res[0] = u8::try_from(DST.len()).unwrap(); + #[allow(clippy::range_plus_one)] + res[1 .. (1 + DST.len())].copy_from_slice(DST); + + // Check we have room to encode into `res`, using the approximate `size_of` for the max size of + // the serialization + const BYTES_FOR_SET: usize = 32 - (1 + DST.len()); + const _ASSERT_MORE_BYTES_THAN_SIZE: [(); + BYTES_FOR_SET - core::mem::size_of::()] = [(); _]; + + let encoded = borsh::to_vec(&self).unwrap(); + res[(1 + DST.len()) .. (1 + DST.len() + encoded.len())].copy_from_slice(&encoded); + + res } /// The MuSig public key for a validator set. @@ -80,7 +96,7 @@ impl ExternalValidatorSet { .expect("invalid participant"), ); } - Public(dkg::musig::musig_key::(&self.musig_context(), &keys).unwrap().to_bytes()) + Public(dkg::musig_key::(self.musig_context(), &keys).unwrap().to_bytes()) } /// The message for the `set_keys` signature. diff --git a/substrate/primitives/src/validator_sets/slashes.rs b/substrate/primitives/src/validator_sets/slashes.rs index 15ad8495..7a5856b9 100644 --- a/substrate/primitives/src/validator_sets/slashes.rs +++ b/substrate/primitives/src/validator_sets/slashes.rs @@ -24,6 +24,7 @@ fn downtime_per_slash_point(validators: NonZero) -> Duration { feature = "non_canonical_scale_derivations", derive(scale::Encode, scale::Decode, scale::MaxEncodedLen) )] +#[cfg_attr(feature = "non_canonical_scale_derivations", allow(clippy::cast_possible_truncation))] pub enum Slash { /// The slash points accumulated by this validator. /// diff --git a/substrate/runtime/Cargo.toml b/substrate/runtime/Cargo.toml index 970c7b3c..31d14d06 100644 --- a/substrate/runtime/Cargo.toml +++ b/substrate/runtime/Cargo.toml @@ -23,21 +23,21 @@ borsh = { version = "1", default-features = false, features = ["derive", "de_str scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-version = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-api = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-version = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-api = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } serai-abi = { path = "../abi", default-features = false, features = ["substrate"] } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-executive = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-executive = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } serai-coins-pallet = { path = "../coins", default-features = false } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next" } +substrate-wasm-builder = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23" } [features] std = [ diff --git a/substrate/signals/Cargo.toml b/substrate/signals/Cargo.toml index 03166cef..ed3cb5e9 100644 --- a/substrate/signals/Cargo.toml +++ b/substrate/signals/Cargo.toml @@ -22,11 +22,11 @@ workspace = true scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-io = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } serai-primitives = { path = "../primitives", default-features = false } diff --git a/substrate/validator-sets/Cargo.toml b/substrate/validator-sets/Cargo.toml index aa0edf28..2f283a96 100644 --- a/substrate/validator-sets/Cargo.toml +++ b/substrate/validator-sets/Cargo.toml @@ -21,21 +21,21 @@ bitvec = { version = "1", default-features = false, features = ["alloc", "serde" scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "bit-vec"] } scale-info = { version = "2", default-features = false, features = ["derive", "bit-vec"] } -sp-core = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-io = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -sp-runtime = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-io = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +sp-runtime = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -frame-system = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } -frame-support = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } +frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } serai-primitives = { path = "../primitives", default-features = false, features = ["non_canonical_scale_derivations"] } coins-pallet = { package = "serai-coins-pallet", path = "../coins", default-features = false } [dev-dependencies] -#pallet-timestamp = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +#pallet-timestamp = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } -#sp-consensus-babe = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "serai-next", default-features = false } +#sp-consensus-babe = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "799658329bf66a829e67b34a0e86376b63eb7d23", default-features = false } #ciphersuite = { path = "../../../crypto/ciphersuite", default-features = false, features = ["std"] } #dalek-ff-group = { path = "../../../crypto/dalek-ff-group", default-features = false, features = ["std"] }