diff --git a/Cargo.lock b/Cargo.lock index 0baadf0669..48ce354ff1 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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" +dependencies = [ + "gimli 0.32.3", ] [[package]] @@ -34,7 +43,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ "crypto-common", - "generic-array 0.14.7", + "generic-array 0.14.9", ] [[package]] @@ -101,9 +110,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.20" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -116,9 +125,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" @@ -517,7 +526,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27d55334c98d756b32dcceb60248647ab34f027690f87f9a362fd292676ee927" dependencies = [ "smallvec", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -566,7 +575,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror 2.0.16", + "thiserror 2.0.17", "time", ] @@ -647,7 +656,7 @@ dependencies = [ "polling", "rustix", "slab", - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -772,7 +781,7 @@ dependencies = [ "sp-runtime", "sp-session-validator-management", "sp-std", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", ] @@ -784,9 +793,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "axum" -version = "0.8.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021e862c184ae977658b36c4500f7feac3221ca5da43e3f25bd04ab6c79a29b5" +checksum = "8a18ed336352031311f4e0b4dd2ff392d4fbb370777c9d18d7fc9d7359f73871" dependencies = [ "axum-core", "bytes", @@ -800,8 +809,7 @@ dependencies = [ "mime", "percent-encoding", "pin-project-lite", - "rustversion", - "serde", + "serde_core", "sync_wrapper", "tower 0.5.2", "tower-layer", @@ -810,9 +818,9 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.5.2" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68464cd0412f486726fb3373129ef5d2993f90c34bc2bc1c1e9943b2f4fc7ca6" +checksum = "59446ce19cd142f8833f856eb31f3eb097812d1479ab224f54d72428ca21ea22" dependencies = [ "bytes", "futures-core", @@ -821,7 +829,6 @@ dependencies = [ "http-body-util", "mime", "pin-project-lite", - "rustversion", "sync_wrapper", "tower-layer", "tower-service", @@ -829,17 +836,17 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.75" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ - "addr2line", + "addr2line 0.25.1", "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.37.3", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -854,6 +861,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" +[[package]] +name = "base256emoji" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e9430d9a245a77c92176e649af6e275f20839a48389859d1661e9a128d077c" +dependencies = [ + "const-str", + "match-lookup", +] + [[package]] name = "base58" version = "0.2.0" @@ -911,8 +928,8 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "16.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "13.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "hash-db", "log", @@ -921,25 +938,35 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.65.1" +version = "0.72.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" +checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.9.4", "cexpr", "clang-sys", - "lazy_static", - "lazycell", - "peeking_take_while", - "prettyplease", + "itertools 0.10.5", "proc-macro2", "quote", "regex", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "shlex", "syn 2.0.106", ] +[[package]] +name = "bip39" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d193de1f7487df1914d3a568b772458861d33f9c54249612cc2893d6915054" +dependencies = [ + "bitcoin_hashes 0.13.0", + "rand 0.8.5", + "rand_core 0.4.2", + "serde", + "unicode-normalization", +] + [[package]] name = "bit-set" version = "0.8.0" @@ -1076,7 +1103,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "generic-array 0.14.7", + "generic-array 0.14.9", ] [[package]] @@ -1085,7 +1112,7 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.7", + "generic-array 0.14.9", ] [[package]] @@ -1137,7 +1164,7 @@ dependencies = [ "serde_json", "serde_repr", "serde_urlencoded", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", "tokio-stream", "tokio-util", @@ -1253,9 +1280,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.23.2" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3995eaeebcdf32f91f980d360f78732ddc061097ab4e39991ae7a6ace9194677" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" [[package]] name = "byteorder" @@ -1291,9 +1318,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1de8bc0aa9e9385ceb3bf0c152e3a9b9544f6c4a912c8ae504e80c1f0368603" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" dependencies = [ "serde_core", ] @@ -1363,9 +1390,9 @@ checksum = "089a0261d1bc59e54e8e11860031efd88593f0e61b921172c474f1f38c2f2d3c" [[package]] name = "cc" -version = "1.2.38" +version = "1.2.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80f41ae168f955c12fb8960b057d70d0ca153fb83182b57d86380443527be7e9" +checksum = "ac9fe6cdbb24b6ade63616c0a0688e45bb56732262c158df3c0c4bea4ca47cb7" dependencies = [ "find-msvc-tools", "jobserver", @@ -1460,7 +1487,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-link 0.2.0", + "windows-link", ] [[package]] @@ -1494,7 +1521,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" dependencies = [ - "generic-array 0.14.7", + "generic-array 0.14.9", ] [[package]] @@ -1516,14 +1543,13 @@ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", - "libloading", ] [[package]] name = "clap" -version = "4.5.48" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae" +checksum = "f4512b90fa68d3a9932cea5184017c5d200f5921df706d45e853537dea51508f" dependencies = [ "clap_builder", "clap_derive", @@ -1531,9 +1557,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.48" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9" +checksum = "0025e98baa12e766c67ba13ff4695a887a1eba19569aad00a472546795bd6730" dependencies = [ "anstream", "anstyle", @@ -1544,9 +1570,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.47" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfd7eae0b0f1a6e63d4b13c9c478de77c2eb546fba158ad50b4203dc24b9f9c" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -1556,9 +1582,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675" +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "clear_on_drop" @@ -1595,7 +1621,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-sidechain", - "thiserror 2.0.16", + "thiserror 2.0.17", "time-source", ] @@ -1614,7 +1640,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" dependencies = [ - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -1625,7 +1651,7 @@ checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" dependencies = [ "serde", "termcolor", - "unicode-width 0.2.1", + "unicode-width 0.2.2", ] [[package]] @@ -1677,15 +1703,15 @@ dependencies = [ "encode_unicode", "libc", "once_cell", - "unicode-width 0.2.1", + "unicode-width 0.2.2", "windows-sys 0.59.0", ] [[package]] name = "const-hex" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6407bff74dea37e0fa3dc1c1c974e5d46405f0c987bf9997a0762adce71eda6" +checksum = "3bb320cac8a0750d7f25280aa97b09c26edfe161164238ecbbb31092b079e735" dependencies = [ "cfg-if", "cpufeatures", @@ -1719,11 +1745,17 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "const-str" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f421161cb492475f1661ddc9815a745a1c894592070661180fdec3d4872e9c3" + [[package]] name = "const_format" -version = "0.2.34" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" +checksum = "7faa7469a93a566e9ccc1c73fe783b4a65c274c5ace346038dca9c39fe0030ad" dependencies = [ "const_format_proc_macros", ] @@ -1856,7 +1888,7 @@ dependencies = [ "cranelift-control", "cranelift-entity", "cranelift-isle", - "gimli", + "gimli 0.31.1", "hashbrown 0.15.5", "log", "pulley-interpreter", @@ -2024,7 +2056,7 @@ dependencies = [ "crossterm_winapi", "libc", "mio 0.8.11", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "signal-hook", "signal-hook-mio", "winapi", @@ -2051,7 +2083,7 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ - "generic-array 0.14.7", + "generic-array 0.14.9", "rand_core 0.6.4", "subtle 2.6.1", "zeroize", @@ -2063,7 +2095,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.7", + "generic-array 0.14.9", "rand_core 0.6.4", "typenum", ] @@ -2138,9 +2170,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.185" +version = "1.0.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f81de88da10862f22b5b3a60f18f6f42bbe7cb8faa24845dd7b1e4e22190e77" +checksum = "4e9c4fe7f2f5dc5c62871a1b43992d197da6fa1394656a94276ac2894a90a6fe" dependencies = [ "cc", "cxx-build", @@ -2153,9 +2185,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.185" +version = "1.0.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5edd58bf75c3fdfc80d79806403af626570662f7b6cc782a7fabe156166bd6d6" +checksum = "b5cf2909d37d80633ddd208676fc27c2608a7f035fff69c882421168038b26dd" dependencies = [ "cc", "codespan-reporting", @@ -2168,9 +2200,9 @@ dependencies = [ [[package]] name = "cxxbridge-cmd" -version = "1.0.185" +version = "1.0.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd46bf2b541a4e0c2d5abba76607379ee05d68e714868e3cb406dc8d591ce2d2" +checksum = "077f5ee3d3bfd8d27f83208fdaa96ddd50af7f096c77077cc4b94da10bfacefd" dependencies = [ "clap", "codespan-reporting", @@ -2182,15 +2214,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.185" +version = "1.0.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c79b68f6a3a8f809d39b38ae8af61305a6113819b19b262643b9c21353b92d9" +checksum = "b0108748615125b9f2e915dfafdffcbdabbca9b15102834f6d7e9a768f2f2864" [[package]] name = "cxxbridge-macro" -version = "1.0.185" +version = "1.0.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862b7fdb048ff9ef0779a0d0a03affd09746c4c875543746b640756be9cff2af" +checksum = "e6e896681ef9b8dc462cfa6961d61909704bde0984b30bcb4082fe102b478890" dependencies = [ "indexmap 2.11.4", "proc-macro2", @@ -2244,7 +2276,7 @@ dependencies = [ "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.11", + "parking_lot_core 0.9.12", ] [[package]] @@ -2282,6 +2314,15 @@ dependencies = [ "sqlx", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", +] + [[package]] name = "der" version = "0.7.10" @@ -2323,12 +2364,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc" +checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071" dependencies = [ "powerfmt", - "serde", + "serde_core", ] [[package]] @@ -2462,7 +2503,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.7", + "generic-array 0.14.9", ] [[package]] @@ -2720,7 +2761,7 @@ dependencies = [ "crypto-bigint", "digest 0.10.7", "ff", - "generic-array 0.14.7", + "generic-array 0.14.9", "group", "pkcs8", "rand_core 0.6.4", @@ -2782,9 +2823,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -2841,7 +2882,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -2952,7 +2993,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cb01cd46b0cf372153850f4c6c272d9cbea2da513e07538405148f95bd789f3" dependencies = [ "atomic", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pear", "serde", "tempfile", @@ -2994,15 +3035,15 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "scale-info", ] [[package]] name = "find-msvc-tools" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959" +checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127" [[package]] name = "fixed-hash" @@ -3053,9 +3094,8 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "fork-tree" -version = "13.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6736bef9fd175fafbb97495565456651c43ccac2ae550faee709e11534e3621" +version = "12.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", ] @@ -3063,7 +3103,8 @@ dependencies = [ [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6736bef9fd175fafbb97495565456651c43ccac2ae550faee709e11534e3621" dependencies = [ "parity-scale-codec", ] @@ -3106,8 +3147,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-support", "frame-support-procedural", @@ -3130,8 +3171,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "aquamarine", "frame-support", @@ -3160,8 +3201,8 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.1.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "const-hex", @@ -3176,8 +3217,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -3217,8 +3258,8 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "23.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "Inflector", "cfg-expr", @@ -3237,8 +3278,8 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" -version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "10.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.4.0", @@ -3249,8 +3290,8 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" -version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "11.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "proc-macro2", "quote", @@ -3259,8 +3300,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "cfg-if", "docify", @@ -3278,8 +3319,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3292,8 +3333,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "docify", "parity-scale-codec", @@ -3302,8 +3343,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.34.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-support", "parity-scale-codec", @@ -3403,7 +3444,7 @@ checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" dependencies = [ "futures-core", "lock_api", - "parking_lot 0.12.4", + "parking_lot 0.12.5", ] [[package]] @@ -3498,6 +3539,19 @@ dependencies = [ "byteorder", ] +[[package]] +name = "fxprof-processed-profile" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" +dependencies = [ + "bitflags 2.9.4", + "debugid", + "fxhash", + "serde", + "serde_json", +] + [[package]] name = "generic-array" version = "0.12.4" @@ -3509,9 +3563,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.7" +version = "0.14.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" dependencies = [ "typenum", "version_check", @@ -3574,6 +3628,12 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" + [[package]] name = "glob" version = "0.3.3" @@ -3592,7 +3652,7 @@ dependencies = [ "futures-timer", "no-std-compat", "nonzero_ext", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "portable-atomic", "quanta", "rand 0.8.5", @@ -3651,12 +3711,13 @@ dependencies = [ [[package]] name = "half" -version = "2.6.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" dependencies = [ "cfg-if", "crunchy", + "zerocopy", ] [[package]] @@ -3844,7 +3905,7 @@ dependencies = [ "once_cell", "rand 0.9.2", "ring 0.17.14", - "thiserror 2.0.16", + "thiserror 2.0.17", "tinyvec", "tokio", "tracing", @@ -3863,7 +3924,7 @@ dependencies = [ "ipconfig", "lru-cache", "once_cell", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "resolv-conf", "smallvec", @@ -3884,11 +3945,11 @@ dependencies = [ "ipconfig", "moka", "once_cell", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.9.2", "resolv-conf", "smallvec", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", "tracing", ] @@ -4101,7 +4162,7 @@ dependencies = [ "hyper 1.7.0", "libc", "pin-project-lite", - "socket2 0.6.0", + "socket2 0.6.1", "tokio", "tower-service", "tracing", @@ -4134,7 +4195,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.62.0", + "windows-core 0.62.2", ] [[package]] @@ -4405,7 +4466,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" dependencies = [ - "generic-array 0.14.7", + "generic-array 0.14.9", ] [[package]] @@ -4546,6 +4607,26 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +[[package]] +name = "ittapi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b996fe614c41395cdaedf3cf408a9534851090959d90d54a535f675550b64b1" +dependencies = [ + "anyhow", + "ittapi-sys", + "log", +] + +[[package]] +name = "ittapi-sys" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52f5385394064fa2c886205dba02598013ce83d3e92d33dbdc0c52fe0e7bf4fc" +dependencies = [ + "cc", +] + [[package]] name = "jam-codec" version = "0.1.1" @@ -4692,7 +4773,7 @@ dependencies = [ "http-body 1.0.1", "http-body-util", "jsonrpsee-types", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "rustc-hash 2.1.1", @@ -4840,21 +4921,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.4", + "parking_lot 0.12.5", ] [[package]] name = "kvdb-rocksdb" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" +checksum = "e8beb5ce840610e5a945f0306f6e7a2d5b3e68ea3e64e9a4f081fa4ee5aa6525" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "regex", "rocksdb", - "smallvec", ] [[package]] @@ -4866,12 +4946,6 @@ dependencies = [ "spin 0.9.8", ] -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - [[package]] name = "leb128fmt" version = "0.1.0" @@ -4880,19 +4954,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" -version = "0.2.176" +version = "0.2.177" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174" - -[[package]] -name = "libloading" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" -dependencies = [ - "cfg-if", - "windows-link 0.2.0", -] +checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libm" @@ -4974,7 +5038,7 @@ dependencies = [ "multihash 0.19.3", "multistream-select", "once_cell", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "quick-protobuf", "rand 0.8.5", @@ -4998,7 +5062,7 @@ dependencies = [ "hickory-resolver 0.24.4", "libp2p-core", "libp2p-identity", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "smallvec", "tracing", ] @@ -5039,7 +5103,7 @@ dependencies = [ "quick-protobuf", "rand 0.8.5", "sha2 0.10.9", - "thiserror 2.0.16", + "thiserror 2.0.17", "tracing", "zeroize", ] @@ -5169,7 +5233,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-tls", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "quinn", "rand 0.8.5", "ring 0.17.14", @@ -5299,7 +5363,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "libp2p-identity", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project-lite", "rw-stream-sink", "soketto", @@ -5321,7 +5385,7 @@ dependencies = [ "thiserror 1.0.69", "tracing", "yamux 0.12.1", - "yamux 0.13.6", + "yamux 0.13.7", ] [[package]] @@ -5332,19 +5396,18 @@ checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ "bitflags 2.9.4", "libc", - "redox_syscall 0.5.17", + "redox_syscall 0.5.18", ] [[package]] name = "librocksdb-sys" -version = "0.11.0+8.1.1" +version = "0.17.3+10.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" +checksum = "cef2a00ee60fe526157c9023edab23943fae1ce2ab6f4abb2a807c1746835de9" dependencies = [ "bindgen", "bzip2-sys", "cc", - "glob", "libc", "libz-sys", "tikv-jemalloc-sys", @@ -5494,7 +5557,7 @@ dependencies = [ "multiaddr 0.17.1", "multihash 0.17.0", "network-interface", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "prost 0.13.5", "prost-build", @@ -5505,7 +5568,7 @@ dependencies = [ "smallvec", "snow", "socket2 0.5.10", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", "tokio-stream", "tokio-tungstenite", @@ -5516,18 +5579,17 @@ dependencies = [ "url", "x25519-dalek", "x509-parser 0.17.0", - "yamux 0.13.6", + "yamux 0.13.7", "yasna", "zeroize", ] [[package]] name = "lock_api" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] @@ -5562,13 +5624,13 @@ dependencies = [ "log", "log-mdc", "mock_instant", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.9.2", "serde", "serde-value", "serde_json", "serde_yaml", - "thiserror 2.0.16", + "thiserror 2.0.17", "thread-id", "typemap-ors", "unicode-segmentation", @@ -5678,6 +5740,17 @@ dependencies = [ "syn 2.0.106", ] +[[package]] +name = "match-lookup" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1265724d8cb29dbbc2b0f06fffb8bf1a8c0cf73a78eede9ba73a4a66c52a981e" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "matchers" version = "0.2.0" @@ -5715,9 +5788,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.5" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memfd" @@ -5887,7 +5960,7 @@ dependencies = [ "hashlink 0.8.4", "lioness", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "rand_chacha 0.3.1", "rand_distr", @@ -5938,7 +6011,7 @@ dependencies = [ "crossbeam-epoch", "crossbeam-utils", "equivalent", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "portable-atomic", "rustc_version", "smallvec", @@ -5986,11 +6059,12 @@ dependencies = [ [[package]] name = "multibase" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3539ec3c1f04ac9748a260728e855f261b4977f5c3406612c884564f329404" +checksum = "8694bb4835f452b0e3bb06dbebb1d6fc5385b6ca1caf2e55fd165c042390ec77" dependencies = [ "base-x", + "base256emoji", "data-encoding", "data-encoding-macro", ] @@ -6128,7 +6202,7 @@ dependencies = [ "log", "netlink-packet-core", "netlink-sys", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -6152,7 +6226,7 @@ checksum = "07709a6d4eba90ab10ec170a0530b3aafc81cb8a2d380e4423ae41fc55fe5745" dependencies = [ "cc", "libc", - "thiserror 2.0.16", + "thiserror 2.0.17", "winapi", ] @@ -6227,11 +6301,11 @@ dependencies = [ [[package]] name = "nu-ansi-term" -version = "0.50.1" +version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -6377,6 +6451,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.37.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +dependencies = [ + "memchr", +] + [[package]] name = "ogmios-client" version = "1.8.0" @@ -6390,7 +6473,7 @@ dependencies = [ "serde", "serde_json", "sidechain-domain", - "thiserror 2.0.16", + "thiserror 2.0.17", "time", "tokio", ] @@ -6603,8 +6686,8 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "27.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-support", "frame-system", @@ -6619,8 +6702,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-support", "frame-system", @@ -6632,8 +6715,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6655,8 +6738,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "docify", "frame-benchmarking", @@ -6669,6 +6752,50 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-beefy" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy", + "sp-runtime", + "sp-session", + "sp-staking", +] + +[[package]] +name = "pallet-beefy-mmr" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "array-bytes 6.2.3", + "binary-merkle-tree", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-beefy", + "pallet-mmr", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", +] + [[package]] name = "pallet-block-participation" version = "1.8.0" @@ -6797,8 +6924,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6817,6 +6944,18 @@ dependencies = [ "sp-staking", ] +[[package]] +name = "pallet-mmr" +version = "27.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "log", + "parity-scale-codec", + "polkadot-sdk-frame", + "scale-info", + "sp-mmr-primitives", +] + [[package]] name = "pallet-partner-chains-bridge" version = "1.8.0" @@ -6836,8 +6975,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-support", "frame-system", @@ -6932,8 +7071,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "docify", "frame-benchmarking", @@ -6947,8 +7086,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "27.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "docify", "frame-benchmarking", @@ -6965,12 +7104,13 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", @@ -6980,8 +7120,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "46.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "30.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6996,8 +7136,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7008,8 +7148,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7021,19 +7161,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "parity-bip39" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" -dependencies = [ - "bitcoin_hashes 0.13.0", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", -] - [[package]] name = "parity-db" version = "0.4.13" @@ -7048,7 +7175,7 @@ dependencies = [ "log", "lz4", "memmap2 0.5.10", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "siphasher", "snap", @@ -7109,12 +7236,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.11", + "parking_lot_core 0.9.12", ] [[package]] @@ -7133,15 +7260,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.11" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.17", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -7248,7 +7375,7 @@ dependencies = [ "sp-session-validator-management", "sp-staking", "tempfile", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", ] @@ -7314,7 +7441,7 @@ dependencies = [ "sp-timestamp", "sqlx", "testcontainers-modules", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", "tokio-test", ] @@ -7356,6 +7483,8 @@ dependencies = [ "sc-client-db", "sc-consensus", "sc-consensus-aura", + "sc-consensus-beefy", + "sc-consensus-beefy-rpc", "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-executor", @@ -7381,6 +7510,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-aura", + "sp-consensus-beefy", "sp-consensus-grandpa", "sp-core", "sp-governed-map", @@ -7397,7 +7527,7 @@ dependencies = [ "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", - "thiserror 2.0.16", + "thiserror 2.0.17", "time-source", "tokio", ] @@ -7422,12 +7552,15 @@ dependencies = [ "pallet-address-associations", "pallet-aura", "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", "pallet-block-participation", "pallet-block-producer-fees", "pallet-block-producer-metadata", "pallet-block-production-log", "pallet-governed-map", "pallet-grandpa", + "pallet-mmr", "pallet-partner-chains-bridge", "pallet-session", "pallet-session-validator-management", @@ -7451,6 +7584,7 @@ dependencies = [ "sp-block-producer-metadata", "sp-block-production-log", "sp-consensus-aura", + "sp-consensus-beefy", "sp-consensus-grandpa", "sp-consensus-slots", "sp-core", @@ -7551,7 +7685,7 @@ dependencies = [ "serde_json", "sidechain-domain", "sp-core", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -7621,12 +7755,6 @@ dependencies = [ "syn 2.0.106", ] -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "peg" version = "0.8.5" @@ -7656,12 +7784,12 @@ checksum = "132dca9b868d927b35b5dd728167b2dee150eb1ad686008fc71ccb298b776fca" [[package]] name = "pem" -version = "3.0.5" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" dependencies = [ "base64 0.22.1", - "serde", + "serde_core", ] [[package]] @@ -7766,6 +7894,51 @@ dependencies = [ "syn 2.0.106", ] +[[package]] +name = "polkadot-ckb-merkle-mountain-range" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "221c71b432b38e494a0fdedb5f720e4cb974edf03a0af09e5b2238dbac7e6947" +dependencies = [ + "cfg-if", + "itertools 0.10.5", +] + +[[package]] +name = "polkadot-sdk-frame" +version = "0.1.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-arithmetic", + "sp-block-builder", + "sp-consensus-aura", + "sp-consensus-grandpa", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-keyring", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-storage", + "sp-transaction-pool", + "sp-version", +] + [[package]] name = "polkavm" version = "0.26.0" @@ -7836,10 +8009,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "beb896023e5bd89bba40311797d8d42490fa4a1fd5256c74820753c5722d1e67" dependencies = [ "dirs", - "gimli", + "gimli 0.31.1", "hashbrown 0.14.5", "log", - "object", + "object 0.36.7", "polkavm-common", "regalloc2 0.9.3", "rustc-demangle", @@ -7862,7 +8035,7 @@ dependencies = [ "hermit-abi", "pin-project-lite", "rustix", - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -8028,7 +8201,7 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" dependencies = [ - "toml_edit 0.23.6", + "toml_edit 0.23.7", ] [[package]] @@ -8098,7 +8271,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "thiserror 1.0.69", ] @@ -8110,7 +8283,7 @@ checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "prometheus-client-derive-encode", ] @@ -8322,7 +8495,7 @@ dependencies = [ "rustc-hash 2.1.1", "rustls", "socket2 0.5.10", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", "tracing", ] @@ -8341,7 +8514,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.16", + "thiserror 2.0.17", "tinyvec", "tracing", "web-time", @@ -8356,16 +8529,16 @@ dependencies = [ "cfg_aliases 0.2.1", "libc", "once_cell", - "socket2 0.6.0", + "socket2 0.6.1", "tracing", "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.40" +version = "1.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1" dependencies = [ "proc-macro2", ] @@ -8511,7 +8684,7 @@ dependencies = [ [[package]] name = "raw-scripts" version = "8.2.0" -source = "git+https://github.com/input-output-hk/partner-chains-smart-contracts.git?tag=v8.2.0#8d57492a9d9a8e3ccda4165bf2ec61f98aa9430c" +source = "git+https://github.com/input-output-hk/partner-chains-smart-contracts.git?rev=v8.2.0#8d57492a9d9a8e3ccda4165bf2ec61f98aa9430c" dependencies = [ "hex-literal 0.4.1", ] @@ -8583,9 +8756,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.17" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ "bitflags 2.9.4", ] @@ -8603,18 +8776,18 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" dependencies = [ "proc-macro2", "quote", @@ -8650,9 +8823,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.2" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", @@ -8662,9 +8835,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -8673,9 +8846,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.6" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "resolv-conf" @@ -8724,9 +8897,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.21.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" +checksum = "ddb7af00d2b17dbd07d82c0063e25411959748ff03e8d4f96134c2ff41fce34f" dependencies = [ "libc", "librocksdb-sys", @@ -8849,7 +9022,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -8862,7 +9035,7 @@ dependencies = [ "once_cell", "ring 0.17.14", "rustls-pki-types", - "rustls-webpki 0.103.6", + "rustls-webpki 0.103.7", "subtle 2.6.1", "zeroize", ] @@ -8912,7 +9085,7 @@ dependencies = [ "rustls", "rustls-native-certs", "rustls-platform-verifier-android", - "rustls-webpki 0.103.6", + "rustls-webpki 0.103.7", "security-framework", "security-framework-sys", "webpki-root-certs 0.26.11", @@ -8937,9 +9110,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.6" +version = "0.103.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8572f3c2cb9934231157b45499fc41e1f58c589fdfb81a844ba873265e80f8eb" +checksum = "e10b3f4191e8a80e6b43eebabfac91e5dcecebb27a71f04e820c47ec41d314bf" dependencies = [ "ring 0.17.14", "rustls-pki-types", @@ -8954,9 +9127,9 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "rusty-fork" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" dependencies = [ "fnv", "quick-error", @@ -9001,8 +9174,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "23.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "log", "sp-core", @@ -9012,8 +9185,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.34.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "futures", "log", @@ -9034,8 +9207,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "sp-api", @@ -9049,8 +9222,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "46.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "docify", @@ -9075,8 +9248,8 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" -version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "11.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "proc-macro-crate 3.4.0", "proc-macro2", @@ -9086,10 +9259,11 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.55.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.36.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", + "bip39", "chrono", "clap", "fdlimit", @@ -9098,7 +9272,6 @@ dependencies = [ "libp2p-identity", "log", "names", - "parity-bip39", "parity-scale-codec", "rand 0.8.5", "regex", @@ -9128,14 +9301,14 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -9154,8 +9327,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.35.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "hash-db", "kvdb", @@ -9165,7 +9338,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-client-api", "sc-state-db", "schnellru", @@ -9182,14 +9355,14 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "futures", "log", "mockall", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-client-api", "sc-network-types", "sc-utils", @@ -9205,15 +9378,15 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.53.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.34.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", - "fork-tree 13.0.1 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509)", + "fork-tree 12.0.0", "futures", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -9234,22 +9407,76 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "sc-consensus-beefy" +version = "13.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "array-bytes 6.2.3", + "async-channel", + "async-trait", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.5", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-gossip", + "sc-network-sync", + "sc-network-types", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", + "tokio", + "wasm-timer", +] + +[[package]] +name = "sc-consensus-beefy-rpc" +version = "13.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "futures", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.5", + "sc-consensus-beefy", + "sc-rpc", + "serde", + "sp-application-crypto", + "sp-consensus-beefy", + "sp-core", + "sp-runtime", + "thiserror 1.0.69", +] + [[package]] name = "sc-consensus-grandpa" -version = "0.38.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.19.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "ahash", "array-bytes 6.2.3", "async-trait", "dyn-clone", "finality-grandpa", - "fork-tree 13.0.1 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509)", + "fork-tree 12.0.0", "futures", "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "sc-block-builder", "sc-chain-spec", @@ -9280,8 +9507,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.38.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.19.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "finality-grandpa", "futures", @@ -9300,8 +9527,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "futures", @@ -9323,11 +9550,11 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.32.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-executor-common", "sc-executor-polkavm", "sc-executor-wasmtime", @@ -9346,8 +9573,8 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.29.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "polkavm", "sc-allocator", @@ -9359,8 +9586,8 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.38.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.29.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "log", "polkavm", @@ -9370,12 +9597,12 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.29.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "anyhow", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rustix", "sc-allocator", "sc-executor-common", @@ -9386,8 +9613,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "console", "futures", @@ -9402,11 +9629,11 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "25.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "serde_json", "sp-application-crypto", "sp-core", @@ -9416,8 +9643,8 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.23.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.4.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "arrayvec 0.7.6", @@ -9428,7 +9655,7 @@ dependencies = [ "log", "mixnet", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-client-api", "sc-network", "sc-network-types", @@ -9444,8 +9671,8 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.53.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.34.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -9464,7 +9691,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "partial_sort", "pin-project", "prost 0.12.6", @@ -9494,8 +9721,8 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -9504,8 +9731,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.53.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.34.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "ahash", "futures", @@ -9523,8 +9750,8 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -9544,13 +9771,13 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "async-channel", "async-trait", - "fork-tree 13.0.1 (git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509)", + "fork-tree 12.0.0", "futures", "log", "mockall", @@ -9580,7 +9807,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-channel", "async-trait", @@ -9588,7 +9815,7 @@ dependencies = [ "futures-timer", "libp2p", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "sc-block-builder", "sc-client-api", @@ -9612,8 +9839,8 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "futures", @@ -9631,8 +9858,8 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.10.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "bs58", "bytes", @@ -9655,11 +9882,11 @@ name = "sc-partner-chains-consensus-aura" version = "1.8.0" dependencies = [ "async-trait", - "fork-tree 13.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "fork-tree 13.0.1", "futures", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -9686,14 +9913,14 @@ dependencies = [ "sp-tracing", "substrate-test-runtime-client", "tempfile", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", ] [[package]] name = "sc-proposer-metrics" -version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.17.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9701,14 +9928,14 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "48.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "29.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "futures", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -9733,8 +9960,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.33.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9753,8 +9980,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "11.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -9777,8 +10004,8 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.53.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.34.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "futures", @@ -9788,7 +10015,7 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "sc-chain-spec", "sc-client-api", @@ -9810,8 +10037,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.54.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.35.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "directories", @@ -9821,7 +10048,7 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "sc-chain-spec", @@ -9874,19 +10101,19 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.30.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sp-core", ] [[package]] name = "sc-sysinfo" -version = "45.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "27.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "derive_more 0.99.20", "futures", @@ -9905,14 +10132,14 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "15.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "chrono", "futures", "libp2p", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "sc-utils", @@ -9924,8 +10151,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "chrono", "console", @@ -9933,7 +10160,7 @@ dependencies = [ "libc", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rustc-hash 1.1.0", "sc-client-api", "sc-tracing-proc-macro", @@ -9952,8 +10179,8 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "11.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "11.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "proc-macro-crate 3.4.0", "proc-macro2", @@ -9963,8 +10190,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "futures", @@ -9973,7 +10200,7 @@ dependencies = [ "itertools 0.11.0", "linked-hash-map", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-client-api", "sc-transaction-pool-api", "sc-utils", @@ -9994,8 +10221,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "futures", @@ -10011,14 +10238,14 @@ dependencies = [ [[package]] name = "sc-utils" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "14.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-channel", "futures", "futures-timer", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "prometheus", "sp-arithmetic", ] @@ -10043,7 +10270,7 @@ dependencies = [ "scale-bits", "scale-type-resolver", "smallvec", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -10084,7 +10311,7 @@ version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" dependencies = [ - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -10185,7 +10412,7 @@ checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ "base16ct", "der", - "generic-array 0.14.7", + "generic-array 0.14.9", "pkcs8", "serdect", "subtle 2.6.1", @@ -10259,9 +10486,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "3.5.0" +version = "3.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc198e42d9b7510827939c9a15f5062a0c913f3371d765977e586d2fe6c16f4a" +checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" dependencies = [ "bitflags 2.9.4", "core-foundation 0.10.1", @@ -10317,9 +10544,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.226" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dca6411025b24b60bfa7ec1fe1f8e710ac09782dca409ee8237ba74b51295fd" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ "serde_core", "serde_derive", @@ -10358,18 +10585,18 @@ dependencies = [ [[package]] name = "serde_core" -version = "1.0.226" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba2ba63999edb9dac981fb34b3e5c0d111a69b0924e253ed29d83f7c99e966a4" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.226" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8db53ae22f34573731bafa1db20f04027b2d25e02d8205921b569171699cdb33" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", @@ -10443,9 +10670,9 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.14.1" +version = "3.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c522100790450cf78eeac1507263d0a350d4d5b30df0c8e1fe051a10c22b376e" +checksum = "6093cd8c01b25262b84927e0f7151692158fab02d961e04c979d3903eba7ecc5" dependencies = [ "base64 0.22.1", "chrono", @@ -10454,8 +10681,7 @@ dependencies = [ "indexmap 2.11.4", "schemars 0.9.0", "schemars 1.0.4", - "serde", - "serde_derive", + "serde_core", "serde_json", "serde_with_macros", "time", @@ -10463,9 +10689,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.14.1" +version = "3.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327ada00f7d64abaac1e55a6911e90cf665aa051b9a561c7006c157f4633135e" +checksum = "a7e6c180db0816026a61afa1cff5344fb7ebded7e4d3062772179f2501481c27" dependencies = [ "darling", "proc-macro2", @@ -10605,7 +10831,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -10623,7 +10849,7 @@ dependencies = [ "sp-partner-chains-consensus-aura", "sp-runtime", "sp-timestamp", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", ] @@ -10774,12 +11000,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] @@ -10800,8 +11026,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "docify", "hash-db", @@ -10822,8 +11048,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "15.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "Inflector", "blake2 0.10.6", @@ -10836,8 +11062,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "30.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10848,8 +11074,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "23.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "docify", "integer-sqrt", @@ -10862,8 +11088,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "sp-api", "sp-inherents", @@ -10884,7 +11110,7 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", ] @@ -10920,17 +11146,17 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] name = "sp-blockchain" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "futures", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "schnellru", "sp-api", "sp-consensus", @@ -10944,8 +11170,8 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.32.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "futures", @@ -10958,8 +11184,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.32.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "parity-scale-codec", @@ -10974,8 +11200,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.32.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "parity-scale-codec", @@ -10990,10 +11216,30 @@ dependencies = [ "sp-timestamp", ] +[[package]] +name = "sp-consensus-beefy" +version = "13.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-crypto-hashing", + "sp-io", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", + "sp-weights", + "strum 0.26.3", +] + [[package]] name = "sp-consensus-grandpa" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "13.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "finality-grandpa", "log", @@ -11009,8 +11255,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.32.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11020,11 +11266,12 @@ dependencies = [ [[package]] name = "sp-core" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "ark-vrf", "array-bytes 6.2.3", + "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", @@ -11040,9 +11287,8 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "parity-bip39", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "paste", "primitive-types", "rand 0.8.5", @@ -11068,7 +11314,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "blake2b_simd", "byteorder", @@ -11081,7 +11327,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "quote", "sp-crypto-hashing", @@ -11091,16 +11337,16 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "kvdb", - "parking_lot 0.12.4", + "parking_lot 0.12.5", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "proc-macro2", "quote", @@ -11109,8 +11355,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.25.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "environmental", "parity-scale-codec", @@ -11119,8 +11365,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.8.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11144,14 +11390,14 @@ dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", ] [[package]] name = "sp-inherents" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -11163,8 +11409,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "30.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "bytes", "docify", @@ -11189,8 +11435,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "31.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "sp-core", "sp-runtime", @@ -11199,19 +11445,19 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.44.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.34.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sp-core", "sp-externalities", ] [[package]] name = "sp-maybe-compressed-blob" -version = "11.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "11.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -11219,8 +11465,8 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.12.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.6.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -11229,8 +11475,8 @@ dependencies = [ [[package]] name = "sp-mixnet" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.4.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11238,10 +11484,27 @@ dependencies = [ "sp-application-crypto", ] +[[package]] +name = "sp-mmr-primitives" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" +dependencies = [ + "log", + "parity-scale-codec", + "polkadot-ckb-merkle-mountain-range", + "scale-info", + "serde", + "sp-api", + "sp-core", + "sp-debug-derive", + "sp-runtime", + "thiserror 1.0.69", +] + [[package]] name = "sp-offchain" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "sp-api", "sp-core", @@ -11250,8 +11513,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "13.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "13.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "backtrace", "regex", @@ -11272,7 +11535,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -11289,8 +11552,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "36.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -11299,8 +11562,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "31.0.1" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "binary-merkle-tree", "docify", @@ -11328,8 +11591,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "24.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -11346,8 +11609,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "17.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "Inflector", "expander", @@ -11359,8 +11622,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "27.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "scale-info", @@ -11385,7 +11648,7 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-std", - "thiserror 2.0.16", + "thiserror 2.0.17", ] [[package]] @@ -11412,7 +11675,7 @@ dependencies = [ "sp-session-validator-management", "sp-sidechain", "sp-std", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", ] @@ -11432,8 +11695,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11445,13 +11708,13 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.35.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "smallvec", "sp-core", @@ -11465,8 +11728,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "10.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -11490,12 +11753,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" [[package]] name = "sp-storage" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "19.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11506,8 +11769,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "parity-scale-codec", @@ -11518,8 +11781,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "16.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "regex", @@ -11530,8 +11793,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "sp-api", "sp-runtime", @@ -11539,8 +11802,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "26.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "async-trait", "parity-scale-codec", @@ -11553,8 +11816,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "41.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "29.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "ahash", "foldhash 0.1.5", @@ -11563,7 +11826,7 @@ dependencies = [ "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "scale-info", "schnellru", @@ -11578,8 +11841,8 @@ dependencies = [ [[package]] name = "sp-version" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "29.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11595,8 +11858,8 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "13.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -11607,8 +11870,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "20.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11619,8 +11882,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "33.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "27.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -11708,7 +11971,7 @@ dependencies = [ "serde_json", "sha2 0.10.9", "smallvec", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", "tokio-stream", "tracing", @@ -11775,7 +12038,7 @@ dependencies = [ "futures-core", "futures-io", "futures-util", - "generic-array 0.14.7", + "generic-array 0.14.9", "hex", "hkdf", "hmac", @@ -11793,7 +12056,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.16", + "thiserror 2.0.17", "tracing", "whoami", ] @@ -11833,7 +12096,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.16", + "thiserror 2.0.17", "tracing", "whoami", ] @@ -11858,7 +12121,7 @@ dependencies = [ "serde", "serde_urlencoded", "sqlx-core", - "thiserror 2.0.16", + "thiserror 2.0.17", "tracing", "url", ] @@ -11880,9 +12143,9 @@ dependencies = [ [[package]] name = "stable_deref_trait" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "static_assertions" @@ -11899,8 +12162,8 @@ dependencies = [ "bitflags 1.3.2", "cfg_aliases 0.2.1", "libc", - "parking_lot 0.12.4", - "parking_lot_core 0.9.11", + "parking_lot 0.12.5", + "parking_lot_core 0.9.12", "static_init_macro", "winapi", ] @@ -12001,8 +12264,8 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.4.7" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "hmac", "pbkdf2", @@ -12014,12 +12277,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" [[package]] name = "substrate-frame-rpc-system" -version = "47.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "28.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -12038,8 +12301,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.17.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "0.17.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "http-body-util", "hyper 1.7.0", @@ -12053,7 +12316,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "async-trait", @@ -12078,7 +12341,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "frame-executive", @@ -12124,7 +12387,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "futures", "sc-block-builder", @@ -12141,8 +12404,8 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-stable2509#5ab401310d2fbd808b3ffbcfc8735ad8f1c8fe10" +version = "17.0.0" +source = "git+https://github.com/input-output-hk/polkadot-sdk.git?rev=01884a99a9507fa1f6e893e602c85e172825cea5#01884a99a9507fa1f6e893e602c85e172825cea5" dependencies = [ "array-bytes 6.2.3", "build-helper", @@ -12296,7 +12559,7 @@ dependencies = [ "getrandom 0.3.3", "once_cell", "rustix", - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -12345,7 +12608,7 @@ dependencies = [ "serde", "serde_json", "serde_with", - "thiserror 2.0.16", + "thiserror 2.0.17", "tokio", "tokio-stream", "tokio-tar", @@ -12374,11 +12637,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.16", + "thiserror-impl 2.0.17", ] [[package]] @@ -12394,9 +12657,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.16" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", @@ -12433,9 +12696,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-sys" -version = "0.5.4+5.3.0-patched" +version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" +checksum = "cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d" dependencies = [ "cc", "libc", @@ -12521,11 +12784,11 @@ dependencies = [ "io-uring", "libc", "mio 1.0.4", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "slab", - "socket2 0.6.0", + "socket2 0.6.1", "tokio-macros", "windows-sys 0.59.0", ] @@ -12554,9 +12817,9 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f63835928ca123f1bef57abbcd23bb2ba0ac9ae1235f1e65bda0d06e7786bd" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -12664,9 +12927,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f1085dec27c2b6632b04c80b3bb1b4300d6495d1e129693bdda7d91e72eec1" +checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" dependencies = [ "serde_core", ] @@ -12687,21 +12950,21 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.23.6" +version = "0.23.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3effe7c0e86fdff4f69cdd2ccc1b96f933e24811c5441d44904e8683e27184b" +checksum = "6485ef6d0d9b5d0ec17244ff7eb05310113c3f316f2d14200d4de56b3cb98f8d" dependencies = [ "indexmap 2.11.4", - "toml_datetime 0.7.2", + "toml_datetime 0.7.3", "toml_parser", "winnow", ] [[package]] name = "toml_parser" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cf893c33be71572e0e9aa6dd15e6677937abd686b066eac3f8cd3531688a627" +checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" dependencies = [ "winnow", ] @@ -12866,7 +13129,7 @@ dependencies = [ "matchers", "nu-ansi-term", "once_cell", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "regex-automata", "sharded-slab", "smallvec", @@ -12925,7 +13188,7 @@ dependencies = [ "rustls", "rustls-pki-types", "sha1", - "thiserror 2.0.16", + "thiserror 2.0.17", "url", "utf-8", ] @@ -12965,9 +13228,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "uint" @@ -13059,9 +13322,9 @@ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-width" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "unicode-xid" @@ -13535,20 +13798,22 @@ version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6fe976922a16af3b0d67172c473d1fd4f1aa5d0af9c8ba6538c741f3af686f4" dependencies = [ - "addr2line", + "addr2line 0.24.2", "anyhow", "bitflags 2.9.4", "bumpalo", "cc", "cfg-if", - "gimli", + "fxprof-processed-profile", + "gimli 0.31.1", "hashbrown 0.15.5", "indexmap 2.11.4", + "ittapi", "libc", "log", "mach2", "memfd", - "object", + "object 0.36.7", "once_cell", "postcard", "pulley-interpreter", @@ -13556,6 +13821,7 @@ dependencies = [ "rustix", "serde", "serde_derive", + "serde_json", "smallvec", "target-lexicon", "wasmparser", @@ -13564,6 +13830,7 @@ dependencies = [ "wasmtime-internal-cache", "wasmtime-internal-cranelift", "wasmtime-internal-fiber", + "wasmtime-internal-jit-debug", "wasmtime-internal-jit-icache-coherence", "wasmtime-internal-math", "wasmtime-internal-slab", @@ -13583,10 +13850,10 @@ dependencies = [ "cpp_demangle", "cranelift-bitset", "cranelift-entity", - "gimli", + "gimli 0.31.1", "indexmap 2.11.4", "log", - "object", + "object 0.36.7", "postcard", "rustc-demangle", "serde", @@ -13640,14 +13907,14 @@ dependencies = [ "cranelift-entity", "cranelift-frontend", "cranelift-native", - "gimli", + "gimli 0.31.1", "itertools 0.14.0", "log", - "object", + "object 0.36.7", "pulley-interpreter", "smallvec", "target-lexicon", - "thiserror 2.0.16", + "thiserror 2.0.17", "wasmparser", "wasmtime-environ", "wasmtime-internal-math", @@ -13670,6 +13937,18 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "wasmtime-internal-jit-debug" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61d8693995ab3df48e88777b6ee3b2f441f2c4f895ab938996cdac3db26f256c" +dependencies = [ + "cc", + "object 0.36.7", + "rustix", + "wasmtime-internal-versioned-export-macros", +] + [[package]] name = "wasmtime-internal-jit-icache-coherence" version = "35.0.0" @@ -13707,7 +13986,7 @@ dependencies = [ "cfg-if", "cranelift-codegen", "log", - "object", + "object 0.36.7", ] [[package]] @@ -13729,8 +14008,8 @@ checksum = "2012e7384c25b91aab2f1b6a1e1cbab9d0f199bbea06cc873597a3f047f05730" dependencies = [ "anyhow", "cranelift-codegen", - "gimli", - "object", + "gimli 0.31.1", + "object 0.36.7", "target-lexicon", "wasmparser", "wasmtime-environ", @@ -13764,14 +14043,14 @@ version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e" dependencies = [ - "webpki-root-certs 1.0.2", + "webpki-root-certs 1.0.3", ] [[package]] name = "webpki-root-certs" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4ffd8df1c57e87c325000a3d6ef93db75279dc3a231125aac571650f22b12a" +checksum = "05d651ec480de84b762e7be71e6efa7461699c19d9e2c272c8d93455f567786e" dependencies = [ "rustls-pki-types", ] @@ -13788,14 +14067,14 @@ version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" dependencies = [ - "webpki-roots 1.0.2", + "webpki-roots 1.0.3", ] [[package]] name = "webpki-roots" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8983c3ab33d6fb807cfcdad2491c4ea8cbc8ed839181c7dfd9c67c83e261b2" +checksum = "32b130c0d2d49f8b6889abc456e795e82525204f27c42cf767cf0d7734e089b8" dependencies = [ "rustls-pki-types", ] @@ -13822,9 +14101,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" [[package]] name = "winapi" @@ -13848,7 +14127,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.0", + "windows-sys 0.61.2", ] [[package]] @@ -13866,11 +14145,11 @@ dependencies = [ "anyhow", "cranelift-assembler-x64", "cranelift-codegen", - "gimli", + "gimli 0.31.1", "regalloc2 0.12.2", "smallvec", "target-lexicon", - "thiserror 2.0.16", + "thiserror 2.0.17", "wasmparser", "wasmtime-environ", "wasmtime-internal-cranelift", @@ -13918,22 +14197,22 @@ dependencies = [ [[package]] name = "windows-core" -version = "0.62.0" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57fe7168f7de578d2d8a05b07fd61870d2e73b4020e9f49aa00da8471723497c" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", - "windows-link 0.2.0", - "windows-result 0.4.0", + "windows-link", + "windows-result 0.4.1", "windows-strings", ] [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", @@ -13942,9 +14221,9 @@ dependencies = [ [[package]] name = "windows-interface" -version = "0.59.1" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", @@ -13953,15 +14232,9 @@ dependencies = [ [[package]] name = "windows-link" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" - -[[package]] -name = "windows-link" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-result" @@ -13974,20 +14247,20 @@ dependencies = [ [[package]] name = "windows-result" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7084dcc306f89883455a206237404d3eaf961e5bd7e0f312f7c91f57eb44167f" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ - "windows-link 0.2.0", + "windows-link", ] [[package]] name = "windows-strings" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7218c655a553b0bed4426cf54b20d7ba363ef543b52d515b3e48d7fd55318dda" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-link 0.2.0", + "windows-link", ] [[package]] @@ -14032,16 +14305,16 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.3", + "windows-targets 0.53.5", ] [[package]] name = "windows-sys" -version = "0.61.0" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" dependencies = [ - "windows-link 0.2.0", + "windows-link", ] [[package]] @@ -14092,19 +14365,19 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.3" +version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ - "windows-link 0.1.3", - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", ] [[package]] @@ -14127,9 +14400,9 @@ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" [[package]] name = "windows_aarch64_msvc" @@ -14151,9 +14424,9 @@ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_aarch64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" [[package]] name = "windows_i686_gnu" @@ -14175,9 +14448,9 @@ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" [[package]] name = "windows_i686_gnullvm" @@ -14187,9 +14460,9 @@ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" [[package]] name = "windows_i686_msvc" @@ -14211,9 +14484,9 @@ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_i686_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" [[package]] name = "windows_x86_64_gnu" @@ -14235,9 +14508,9 @@ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" [[package]] name = "windows_x86_64_gnullvm" @@ -14259,9 +14532,9 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" [[package]] name = "windows_x86_64_msvc" @@ -14283,9 +14556,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "windows_x86_64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winnow" @@ -14369,7 +14642,7 @@ dependencies = [ "nom", "oid-registry 0.8.1", "rusticata-macros", - "thiserror 2.0.16", + "thiserror 2.0.17", "time", ] @@ -14407,7 +14680,7 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "static_assertions", @@ -14415,14 +14688,14 @@ dependencies = [ [[package]] name = "yamux" -version = "0.13.6" +version = "0.13.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2dd50a6d6115feb3e5d7d0efd45e8ca364b6c83722c1e9c602f5764e0e9597" +checksum = "6927cfe0edfae4b26a369df6bad49cd0ef088c0ec48f4045b2084bcaedc10246" dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.9.2", "static_assertions", @@ -14511,9 +14784,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" dependencies = [ "zeroize_derive", ] diff --git a/Cargo.toml b/Cargo.toml index 3ff092768a..0e3b2d8a26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -187,77 +187,83 @@ paste = { version = "1.0.15" } fork-tree = { version = "13.0.1" } # substrate dependencies -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -frame-executive = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -frame-support = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -frame-system = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -frame-system-benchmarking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -frame-try-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-balances = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-session = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-sudo = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-transaction-payment-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-basic-authorship = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-block-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-consensus-slots = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-cli = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-client-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-client-db = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-consensus = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-consensus-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-consensus-grandpa-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-executor = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-keystore = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-network = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-network-test = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-rpc = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-rpc-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-service = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-telemetry = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-transaction-pool = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-transaction-pool-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sc-offchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-api = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-arithmetic = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-application-crypto = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-block-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-blockchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-consensus = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-consensus-grandpa = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-core = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-crypto-hashing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-genesis-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-inherents = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-io = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-keyring = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-keystore = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-offchain = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-session = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-tracing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-staking = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-std = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-timestamp = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-transaction-pool = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-version = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-storage = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -sp-weights = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -substrate-build-script-utils = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -substrate-frame-rpc-system = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -substrate-prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -substrate-test-runtime-client = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } -substrate-wasm-builder = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2509" } +frame-benchmarking = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +frame-executive = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +frame-support = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +frame-system = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +frame-system-benchmarking = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +frame-try-runtime = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-aura = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-balances = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-grandpa = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-session = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-sudo = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-timestamp = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-transaction-payment = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-transaction-payment-rpc = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-basic-authorship = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-block-builder = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-consensus-slots = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-cli = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-client-api = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-client-db = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-consensus = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-consensus-aura = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-consensus-grandpa = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-consensus-grandpa-rpc = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-executor = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-keystore = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-network = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-network-test = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-rpc = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-rpc-api = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-service = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-telemetry = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-transaction-pool = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-transaction-pool-api = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-offchain = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-api = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-arithmetic = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-application-crypto = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-block-builder = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-blockchain = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-consensus = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-consensus-aura = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-consensus-grandpa = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-consensus-slots = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-core = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-crypto-hashing = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-genesis-builder = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-inherents = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-io = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-keyring = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-keystore = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-offchain = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-runtime = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-session = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-tracing = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-staking = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-std = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-timestamp = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-transaction-pool = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-version = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-storage = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-weights = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +substrate-build-script-utils = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +substrate-frame-rpc-system = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +substrate-prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +substrate-test-runtime-client = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +substrate-wasm-builder = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sp-consensus-beefy = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-consensus-beefy = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +sc-consensus-beefy-rpc = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-beefy = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-beefy-mmr = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } +pallet-mmr = { default-features = false, git = "https://github.com/input-output-hk/polkadot-sdk.git", rev = "01884a99a9507fa1f6e893e602c85e172825cea5" } -raw-scripts = { git = "https://github.com/input-output-hk/partner-chains-smart-contracts.git", tag = "v8.2.0" } +raw-scripts = { git = "https://github.com/input-output-hk/partner-chains-smart-contracts.git", rev = "v8.2.0" } # local dependencies # utils diff --git a/demo/node/Cargo.toml b/demo/node/Cargo.toml index 34c01d6ea2..49d1eb187c 100644 --- a/demo/node/Cargo.toml +++ b/demo/node/Cargo.toml @@ -38,6 +38,9 @@ sp-consensus-aura = { workspace = true } sp-partner-chains-consensus-aura = { workspace = true } sp-consensus = { workspace = true } sc-consensus = { workspace = true } +sc-consensus-beefy = { workspace = true } +sc-consensus-beefy-rpc = { workspace = true } +sp-consensus-beefy = { workspace = true } sc-consensus-grandpa = { workspace = true } sc-consensus-grandpa-rpc = { workspace = true } sp-consensus-grandpa = { workspace = true } diff --git a/demo/node/src/chain_spec.rs b/demo/node/src/chain_spec.rs index 48ac5ce7e3..7b5818062b 100644 --- a/demo/node/src/chain_spec.rs +++ b/demo/node/src/chain_spec.rs @@ -43,6 +43,7 @@ pub fn pc_create_chain_spec(config: &CreateChainSpecConfig) -> serd system: partner_chains_demo_runtime::SystemConfig::default(), balances: partner_chains_demo_runtime::BalancesConfig::default(), aura: partner_chains_demo_runtime::AuraConfig::default(), + beefy: partner_chains_demo_runtime::BeefyConfig::default(), grandpa: partner_chains_demo_runtime::GrandpaConfig::default(), sudo: partner_chains_demo_runtime::SudoConfig::default(), transaction_payment: Default::default(), diff --git a/demo/node/src/rpc.rs b/demo/node/src/rpc.rs index 7b658e2395..75d2880cce 100644 --- a/demo/node/src/rpc.rs +++ b/demo/node/src/rpc.rs @@ -19,6 +19,10 @@ use partner_chains_demo_runtime::{ opaque::{Block, SessionKeys}, }; use partner_chains_demo_runtime::{BlockNumber, BlockProducerMetadataType, CrossChainPublic, Hash}; +use sc_consensus_beefy::communication::notification::{ + BeefyBestBlockStream, BeefyVersionedFinalityProofStream, +}; +use sc_consensus_beefy_rpc::Beefy; use sc_consensus_grandpa::{ FinalityProofProvider, GrandpaJustificationStream, SharedAuthoritySet, SharedVoterState, }; @@ -30,6 +34,7 @@ use sidechain_domain::mainchain_epoch::MainchainEpochConfig; use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; +use sp_consensus_beefy::AuthorityIdBound; use sp_session_validator_management_query::SessionValidatorManagementQuery; use std::sync::Arc; use time_source::TimeSource; @@ -48,14 +53,26 @@ pub struct GrandpaDeps { pub finality_provider: Arc>, } +/// Dependencies for BEEFY +pub struct BeefyDeps { + /// Receives notifications about finality proof events from BEEFY. + pub beefy_finality_proof_stream: BeefyVersionedFinalityProofStream, + /// Receives notifications about best block events from BEEFY. + pub beefy_best_block_stream: BeefyBestBlockStream, + /// Executor to drive the subscription manager in the BEEFY RPC handler. + pub subscription_executor: sc_rpc::SubscriptionTaskExecutor, +} + /// Full client dependencies. -pub struct FullDeps { +pub struct FullDeps { /// The client instance to use. pub client: Arc, /// Transaction pool instance. pub pool: Arc

, /// GRANDPA specific dependencies. pub grandpa: GrandpaDeps, + /// BEEFY specific dependencies. + pub beefy: BeefyDeps, /// Data sources. pub data_sources: DataSources, /// Source of system time @@ -63,8 +80,8 @@ pub struct FullDeps { } /// Instantiate all full RPC extensions. -pub fn create_full( - deps: FullDeps, +pub fn create_full( + deps: FullDeps, ) -> Result, Box> where C: ProvideRuntimeApi, @@ -92,10 +109,11 @@ where T: TimeSource + Send + Sync + 'static, { use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; + use sc_consensus_beefy_rpc::BeefyApiServer; use substrate_frame_rpc_system::{System, SystemApiServer}; let mut module = RpcModule::new(()); - let FullDeps { client, pool, grandpa, data_sources, time_source } = deps; + let FullDeps { client, pool, grandpa, beefy, data_sources, time_source } = deps; module.merge(System::new(client.clone(), pool.clone()).into_rpc())?; module.merge(TransactionPayment::new(client.clone()).into_rpc())?; @@ -136,6 +154,15 @@ where .into_rpc(), )?; + module.merge( + Beefy::::new( + beefy.beefy_finality_proof_stream, + beefy.beefy_best_block_stream, + beefy.subscription_executor, + )? + .into_rpc(), + )?; + // Extend this RPC with a custom API by using the following syntax. // `YourRpcStruct` should have a reference to a client, which is needed // to call into the runtime. diff --git a/demo/node/src/service.rs b/demo/node/src/service.rs index a9d5795c1e..8e1837cefd 100644 --- a/demo/node/src/service.rs +++ b/demo/node/src/service.rs @@ -2,21 +2,25 @@ use crate::data_sources::DataSources; use crate::inherent_data::{CreateInherentDataConfig, ProposalCIDP, VerifierCIDP}; -use crate::rpc::GrandpaDeps; +use crate::rpc::{BeefyDeps, GrandpaDeps}; use authority_selection_inherents::AuthoritySelectionDataSource; use partner_chains_data_source_metrics::{McFollowerMetrics, register_metrics_warn_errors}; use partner_chains_demo_runtime::{self, RuntimeApi, opaque::Block}; use sc_client_api::BlockBackend; use sc_consensus_aura::{ImportQueueParams, SlotProportion, StartAuraParams}; +use sc_consensus_beefy::{BeefyRPCLinks, BeefyVoterLinks}; use sc_consensus_grandpa::SharedVoterState; pub use sc_executor::WasmExecutor; use sc_partner_chains_consensus_aura::import_queue as partner_chains_aura_import_queue; +use sc_rpc::SubscriptionTaskExecutor; use sc_service::{Configuration, TaskManager, WarpSyncConfig, error::Error as ServiceError}; use sc_telemetry::{Telemetry, TelemetryWorker}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sidechain_domain::mainchain_epoch::MainchainEpochConfig; use sidechain_mc_hash::McHashInherentDigest; use sp_consensus_aura::sr25519::AuthorityPair as AuraPair; +use sp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId; + use sp_partner_chains_consensus_aura::block_proposal::PartnerChainsProposerFactory; use sp_runtime::traits::Block as BlockT; use std::{sync::Arc, time::Duration}; @@ -76,6 +80,8 @@ pub fn new_partial( Option, DataSources, Option, + BeefyVoterLinks, + BeefyRPCLinks, ), >, ServiceError, @@ -133,6 +139,15 @@ pub fn new_partial( select_chain.clone(), telemetry.as_ref().map(|x| x.handle()), )?; + let justification_import = grandpa_block_import.clone(); + + let (block_import, beefy_voter_links, beefy_rpc_links) = + sc_consensus_beefy::beefy_block_import_and_links( + grandpa_block_import.clone(), + backend.clone(), + client.clone(), + config.prometheus_registry().cloned(), + ); let sc_slot_config = sidechain_slots::runtime_api_client::slot_config(&*client) .map_err(sp_blockchain::Error::from)?; @@ -151,8 +166,8 @@ pub fn new_partial( _, McHashInherentDigest, >(ImportQueueParams { - block_import: grandpa_block_import.clone(), - justification_import: Some(Box::new(grandpa_block_import.clone())), + block_import: block_import.clone(), + justification_import: Some(Box::new(justification_import)), client: client.clone(), create_inherent_data_providers: VerifierCIDP::new( inherent_config, @@ -178,7 +193,15 @@ pub fn new_partial( keystore_container, select_chain, transaction_pool, - other: (grandpa_block_import, grandpa_link, telemetry, data_sources, mc_follower_metrics), + other: ( + grandpa_block_import, + grandpa_link, + telemetry, + data_sources, + mc_follower_metrics, + beefy_voter_links, + beefy_rpc_links, + ), }) } @@ -210,7 +233,16 @@ pub async fn new_full_base( grandpa_protocol_name.clone(), @@ -232,6 +267,29 @@ pub async fn new_full_base(&genesis_hash, config.chain_spec.fork_id(), client.clone(), prometheus_registry.clone()); + let beefy_notification_service = { + let (beefy_notification_config, beefy_notification_service) = + sc_consensus_beefy::communication::beefy_peers_set_config::<_, Network>( + beefy_gossip_proto_name.clone(), + metrics.clone(), + Arc::clone(&peer_store_handle), + ); + + net_config.add_notification_protocol(beefy_notification_config); + net_config.add_request_response_protocol(beefy_req_resp_cfg); + // For now we always initialize it + Some(beefy_notification_service) + }; + let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new( backend.clone(), grandpa_link.shared_authority_set().clone(), @@ -269,21 +327,27 @@ pub async fn new_full_base { + beefy_finality_proof_stream: beefy_rpc_links.from_voter_justif_stream.clone(), + beefy_best_block_stream: beefy_rpc_links.from_voter_best_beefy_stream.clone(), + subscription_executor, + }; let deps = crate::rpc::FullDeps { client: client.clone(), pool: pool.clone(), grandpa, + beefy, data_sources: data_sources.clone(), time_source: Arc::new(SystemTimeSource), }; @@ -298,12 +362,13 @@ pub async fn new_full_base, + }; + let payload_provider = sp_consensus_beefy::mmr::MmrRootProvider::new(client.clone()); + let beefy_params = sc_consensus_beefy::BeefyParams { + client: client.clone(), + backend: backend.clone(), + payload_provider, + runtime: client.clone(), + key_store: keystore_opt.clone(), + network_params, + min_block_delta: 8, + prometheus_registry: prometheus_registry.clone(), + links: beefy_voter_links, + on_demand_justifications_handler: beefy_on_demand_justifications_handler, + is_authority: role.is_authority(), + }; + + let gadget = + sc_consensus_beefy::start_beefy_gadget::<_, _, _, _, _, _, _, BeefyId>(beefy_params); + + // BEEFY is part of consensus, if it fails we'll bring the node down with it to make + // sure it is noticed. + task_manager + .spawn_essential_handle() + .spawn_blocking("beefy-gadget", None, gadget); + } + if enable_grandpa { // if the node isn't actively participating in consensus then it doesn't // need a keystore, regardless of which protocol we use below. diff --git a/demo/node/src/staging.rs b/demo/node/src/staging.rs index 8bf3e91903..a95c03ff4a 100644 --- a/demo/node/src/staging.rs +++ b/demo/node/src/staging.rs @@ -2,27 +2,29 @@ use crate::chain_spec::get_account_id_from_seed; use crate::chain_spec::*; use authority_selection_inherents::CommitteeMember; use partner_chains_demo_runtime::{ - AccountId, AuraConfig, BalancesConfig, BridgeConfig, GovernedMapConfig, GrandpaConfig, - RuntimeGenesisConfig, SessionCommitteeManagementConfig, SessionConfig, SidechainConfig, - SudoConfig, SystemConfig, TestHelperPalletConfig, + AccountId, AuraConfig, BalancesConfig, BeefyConfig, BridgeConfig, GovernedMapConfig, + GrandpaConfig, RuntimeGenesisConfig, SessionCommitteeManagementConfig, SessionConfig, + SidechainConfig, SudoConfig, SystemConfig, TestHelperPalletConfig, }; use sc_service::ChainType; use sidechain_domain::*; use sp_core::bytes::from_hex; -use sp_core::{ed25519, sr25519}; +use sp_core::{ecdsa, ed25519, sr25519}; use std::str::FromStr; pub fn authority_keys( aura_pub_key: &str, grandpa_pub_key: &str, + beefy_pub_key: &str, sidechain_pub_key: &str, ) -> AuthorityKeys { let aura_pk = sr25519::Public::from_raw(from_hex(aura_pub_key).unwrap().try_into().unwrap()); let granda_pk = ed25519::Public::from_raw(from_hex(grandpa_pub_key).unwrap().try_into().unwrap()); let sidechain_pk = sidechain_domain::SidechainPublicKey(from_hex(sidechain_pub_key).unwrap()); + let beefy_pk = ecdsa::Public::from_raw(from_hex(beefy_pub_key).unwrap().try_into().unwrap()); - let session_keys = (aura_pk, granda_pk).into(); + let session_keys = (aura_pk, granda_pk, beefy_pk).into(); AuthorityKeys { session: session_keys, cross_chain: sidechain_pk.try_into().unwrap() } } @@ -31,30 +33,35 @@ pub fn staging_initial_authorities() -> Vec { // validator-1 authority_keys( "0xba94651de6279a38a416b97b9720c3df76224435e951ac73e9e302a4ee9fcf73", + "0x03b827f4da9711bab7292e5695576a841a4d20af9a07b1ba7a230168d2a78e9df4", "0xdde2501588713ddad5daf5a898c19d82cd591609c9184679868640c8cfe8287d", "0x03b827f4da9711bab7292e5695576a841a4d20af9a07b1ba7a230168d2a78e9df4", ), // validator-2 authority_keys( "0x36128fff2acc04f206ccaf4e9f8e9995998efced29075a58b7d76d3735c21208", + "0x02ef5bcd94d54a18ad199559782cd72ac3ccd850976aaaafbca8f9d2625afbf7c4", "0x8f9a9856a27cc114ce85b64f41144f0c907c4bd8b3102b083b52b6b61aff6c47", "0x02ef5bcd94d54a18ad199559782cd72ac3ccd850976aaaafbca8f9d2625afbf7c4", ), // validator-3 authority_keys( "0x9a32d3896a56e822321f7bc915befc8ce112c5d67e3c6497295bd3d7b020f94c", + "0x02f2762ab6e1a125dc03908a7b738f8023d13763f28a11d7633c6c8bc463478430", "0x4f3c0ecc6dc474f27ad7967f5cdbd50da047ffedbc91b65f5cd247515489c98f", "0x02f2762ab6e1a125dc03908a7b738f8023d13763f28a11d7633c6c8bc463478430", ), // validator-4 authority_keys( "0xc41992b8eb2f3a8a6c46211df584827f9eeb0175e2c75e1242392262b55b6874", + "0x025e19f82c5e2bac5e8869d49ff26359e442628bc5cfa38eeb5275f43d04015da8", "0x34b71fdad96431bf115350d8ad21eec07a2b154ff32dc31125f988e308bebea8", "0x025e19f82c5e2bac5e8869d49ff26359e442628bc5cfa38eeb5275f43d04015da8", ), // validator-5 authority_keys( "0x500d7ff6d903c85db5ee5624df9510c2a085cf30da260166bd370010d0bdc97a", + "0x03f38a062a4b372c045c1dddc4fe98a2c9cb1d6eec8bf02f973fd29b1096cd8155", "0xa04d74c1539550876d04e4d2de4e0531087c3b6810ce96ddc16d78ccf4ac4f11", "0x03f38a062a4b372c045c1dddc4fe98a2c9cb1d6eec8bf02f973fd29b1096cd8155", ), @@ -124,6 +131,7 @@ pub fn staging_genesis( dev_accounts: None, }, aura: AuraConfig { authorities: vec![] }, + beefy: BeefyConfig { authorities: vec![], genesis_block: Some(10) }, grandpa: GrandpaConfig { authorities: vec![], ..Default::default() }, sudo: SudoConfig { // Assign network admin rights. diff --git a/demo/node/src/template_chain_spec.rs b/demo/node/src/template_chain_spec.rs index 6394929548..0ff60173cc 100644 --- a/demo/node/src/template_chain_spec.rs +++ b/demo/node/src/template_chain_spec.rs @@ -1,6 +1,6 @@ use crate::chain_spec::*; use partner_chains_demo_runtime::{ - AuraConfig, BalancesConfig, BridgeConfig, GovernedMapConfig, GrandpaConfig, + AuraConfig, BalancesConfig, BeefyConfig, BridgeConfig, GovernedMapConfig, GrandpaConfig, RuntimeGenesisConfig, SessionCommitteeManagementConfig, SessionConfig, SidechainConfig, SudoConfig, SystemConfig, TestHelperPalletConfig, }; @@ -20,6 +20,7 @@ pub fn chain_spec() -> Result { dev_accounts: None, }, aura: AuraConfig { authorities: vec![] }, + beefy: BeefyConfig { authorities: vec![], genesis_block: Some(10) }, grandpa: GrandpaConfig { authorities: vec![], ..Default::default() }, sudo: SudoConfig { // No sudo account by default, please update with your preferences. diff --git a/demo/node/src/testnet.rs b/demo/node/src/testnet.rs index 6b2e4201df..33d6f35a08 100644 --- a/demo/node/src/testnet.rs +++ b/demo/node/src/testnet.rs @@ -1,28 +1,30 @@ use crate::chain_spec::*; use authority_selection_inherents::CommitteeMember; use partner_chains_demo_runtime::{ - AccountId, AuraConfig, BalancesConfig, BridgeConfig, GovernedMapConfig, GrandpaConfig, - RuntimeGenesisConfig, SessionCommitteeManagementConfig, SessionConfig, SidechainConfig, - SudoConfig, SystemConfig, TestHelperPalletConfig, + AccountId, AuraConfig, BalancesConfig, BeefyConfig, BridgeConfig, GovernedMapConfig, + GrandpaConfig, RuntimeGenesisConfig, SessionCommitteeManagementConfig, SessionConfig, + SidechainConfig, SudoConfig, SystemConfig, TestHelperPalletConfig, }; use sc_service::ChainType; use sidechain_domain::*; use sidechain_slots::SlotsPerEpoch; use sp_core::bytes::from_hex; -use sp_core::{ed25519, sr25519}; +use sp_core::{ecdsa, ed25519, sr25519}; use std::str::FromStr; pub fn authority_keys( aura_pub_key: &str, grandpa_pub_key: &str, + beefy_pub_key: &str, sidechain_pub_key: &str, ) -> AuthorityKeys { let aura_pk = sr25519::Public::from_raw(from_hex(aura_pub_key).unwrap().try_into().unwrap()); let granda_pk = ed25519::Public::from_raw(from_hex(grandpa_pub_key).unwrap().try_into().unwrap()); + let beefy_pk = ecdsa::Public::from_raw(from_hex(beefy_pub_key).unwrap().try_into().unwrap()); let sidechain_pk = sidechain_domain::SidechainPublicKey(from_hex(sidechain_pub_key).unwrap()); - let session_keys = (aura_pk, granda_pk).into(); + let session_keys = (aura_pk, granda_pk, beefy_pk).into(); AuthorityKeys { session: session_keys, cross_chain: sidechain_pk.try_into().unwrap() } } @@ -39,6 +41,7 @@ pub fn development_config() -> Result { "0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d", "0x88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee", "0x020a1091341fe5664bfa1782d5e04779689068c916b04cb365ec3153755684d9a1", + "0x020a1091341fe5664bfa1782d5e04779689068c916b04cb365ec3153755684d9a1", ), ], // Sudo account @@ -69,42 +72,49 @@ pub fn testnet_initial_authorities() -> Vec { //alice public keys authority_keys( "0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d", + "0x020a1091341fe5664bfa1782d5e04779689068c916b04cb365ec3153755684d9a1", "0x88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee", "0x020a1091341fe5664bfa1782d5e04779689068c916b04cb365ec3153755684d9a1", ), //bob public keys authority_keys( "0x8eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a48", + "0x0390084fdbf27d2b79d26a4f13f0ccd982cb755a661969143c37cbc49ef5b91f27", "0xd17c2d7823ebf260fd138f2d7e27d114c0145d968b5ff5006125f2414fadae69", "0x0390084fdbf27d2b79d26a4f13f0ccd982cb755a661969143c37cbc49ef5b91f27", ), //charlie public keys authority_keys( "0x90b5ab205c6974c9ea841be688864633dc9ca8a357843eeacf2314649965fe22", + "0x0389411795514af1627765eceffcbd002719f031604fadd7d188e2dc585b4e1afb", "0x439660b36c6c03afafca027b910b4fecf99801834c62a5e6006f27d978de234f", "0x0389411795514af1627765eceffcbd002719f031604fadd7d188e2dc585b4e1afb", ), //dave public keys authority_keys( "0x306721211d5404bd9da88e0204360a1a9ab8b87c66c1bc2fcdd37f3c2222cc20", + "0x03bc9d0ca094bd5b8b3225d7651eac5d18c1c04bf8ae8f8b263eebca4e1410ed0c", "0x5e639b43e0052c47447dac87d6fd2b6ec50bdd4d0f614e4299c665249bbd09d9", "0x03bc9d0ca094bd5b8b3225d7651eac5d18c1c04bf8ae8f8b263eebca4e1410ed0c", ), //eve public keys authority_keys( "0xe659a7a1628cdd93febc04a4e0646ea20e9f5f0ce097d9a05290d4a9e054df4e", + "0x031d10105e323c4afce225208f71a6441ee327a65b9e646e772500c74d31f669aa", "0x1dfe3e22cc0d45c70779c1095f7489a8ef3cf52d62fbd8c2fa38c9f1723502b5", "0x031d10105e323c4afce225208f71a6441ee327a65b9e646e772500c74d31f669aa", ), //ferdie public keys authority_keys( "0x1cbd2d43530a44705ad088af313e18f80b53ef16b36177cd4b77b846f2a5f07c", + "0x0291f1217d5a04cb83312ee3d88a6e6b33284e053e6ccfc3a90339a0299d12967c", "0x568cb4a574c6d178feb39c27dfc8b3f789e5f5423e19c71633c748b9acf086b5", "0x0291f1217d5a04cb83312ee3d88a6e6b33284e053e6ccfc3a90339a0299d12967c", ), //greg public keys authority_keys( "0x2c4ed1038f6e4131c21b6b89885ed232c5b81bae09009376e9079cc8aa518a1c", + "0x02dacce90fca29ca80404d9b4e8ff3d9dabd03def6a82e412acb2ad04dd734dbfc", "0xfa41bacb202b0529288b05af1b324f85fe561091c2d29d9df1df37c3aa687c23", "0x02dacce90fca29ca80404d9b4e8ff3d9dabd03def6a82e412acb2ad04dd734dbfc", ), @@ -175,6 +185,7 @@ pub fn testnet_genesis( dev_accounts: None, }, aura: AuraConfig { authorities: vec![] }, + beefy: BeefyConfig { authorities: vec![], genesis_block: Some(10) }, grandpa: GrandpaConfig { authorities: vec![], ..Default::default() }, sudo: SudoConfig { // Assign network admin rights. diff --git a/demo/node/src/tests/chain_spec.rs b/demo/node/src/tests/chain_spec.rs index d8d4f8d24f..abf13f9a51 100644 --- a/demo/node/src/tests/chain_spec.rs +++ b/demo/node/src/tests/chain_spec.rs @@ -17,6 +17,7 @@ fn pc_create_chain_spec_test() { keys: SessionKeys { aura: sr25519::Public::from([12u8; 32]).into(), grandpa: ed25519::Public::from([13u8; 32]).into(), + beefy: ecdsa::Public::from([14; 33]).into(), }, }], committee_candidate_address: MainchainAddress::from_str("addr_cca").unwrap(), diff --git a/demo/node/src/tests/runtime_api_mock.rs b/demo/node/src/tests/runtime_api_mock.rs index 79b00b199d..12aefebadd 100644 --- a/demo/node/src/tests/runtime_api_mock.rs +++ b/demo/node/src/tests/runtime_api_mock.rs @@ -12,7 +12,7 @@ use sp_core::{ecdsa, ed25519, sr25519}; use sp_governed_map::MainChainScriptsV1; use sp_inherents::InherentIdentifier; use sp_runtime::Digest; -use sp_runtime::key_types::{AURA, GRANDPA}; +use sp_runtime::key_types::{AURA, BEEFY, GRANDPA}; use sp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor, Zero}; use sp_sidechain::GetGenesisUtxo; use std::collections::HashMap; @@ -82,7 +82,8 @@ sp_api::mock_impl_runtime_apis! { let cross_chain_public: CrossChainPublic = CrossChainPublic::from(ecdsa::Public::from(cross_chain_pub_slice)); let aura_pub_key = AuraPublicKey(registration.keys.find(AURA).unwrap()).try_into_sr25519().unwrap(); let grandpa_pub_key = GrandpaPublicKey(registration.keys.find(GRANDPA).unwrap()).try_into_ed25519().unwrap(); - let session_keys = (aura_pub_key, grandpa_pub_key).into(); + let beefy_pub_key = ecdsa::Public::from_raw(registration.keys.find(BEEFY).unwrap().try_into().unwrap()); + let session_keys = (aura_pub_key, grandpa_pub_key, beefy_pub_key).into(); CommitteeMember::permissioned(cross_chain_public, session_keys) }).collect(); Some(result) @@ -103,7 +104,8 @@ sp_api::mock_impl_runtime_apis! { ecdsa::Public::from_raw(hex!("000000000000000000000000000000000000000000000000000000000000000001")).into(), SessionKeys { aura: sr25519::Public::default().into(), - grandpa: ed25519::Public::default().into() + grandpa: ed25519::Public::default().into(), + beefy: ecdsa::Public::default().into(), } )) } diff --git a/demo/runtime/Cargo.toml b/demo/runtime/Cargo.toml index 085caf742b..a50d761398 100644 --- a/demo/runtime/Cargo.toml +++ b/demo/runtime/Cargo.toml @@ -25,8 +25,11 @@ serde_json = { workspace = true, default-features = false, features = [ "alloc", ] } +pallet-beefy = { workspace = true } pallet-aura = { workspace = true } pallet-balances = { workspace = true } +pallet-beefy-mmr = { workspace = true } +pallet-mmr = { workspace = true } frame-support = { workspace = true } pallet-grandpa = { workspace = true } pallet-session = { workspace = true } @@ -40,6 +43,7 @@ frame-executive = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } +sp-consensus-beefy = { workspace = true } sp-consensus-grandpa = { workspace = true } sp-consensus-slots = { workspace = true } sp-core = { workspace = true } @@ -121,6 +125,9 @@ std = [ "frame-try-runtime/std", "pallet-aura/std", "pallet-balances/std", + "pallet-beefy/std", + "pallet-beefy-mmr/std", + "pallet-mmr/std", "pallet-block-producer-fees/std", "pallet-block-production-log/std", "pallet-grandpa/std", @@ -136,6 +143,7 @@ std = [ "sp-block-builder/std", "sp-block-producer-fees/std", "sp-consensus-aura/std", + "sp-consensus-beefy/std", "sp-consensus-grandpa/std", "sp-consensus-slots/std", "sp-core/std", @@ -172,6 +180,8 @@ runtime-benchmarks = [ "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "pallet-beefy-mmr/runtime-benchmarks", + "pallet-mmr/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", @@ -192,6 +202,9 @@ try-runtime = [ "frame-support/try-runtime", "pallet-aura/try-runtime", "pallet-balances/try-runtime", + "pallet-beefy/try-runtime", + "pallet-beefy-mmr/try-runtime", + "pallet-mmr/try-runtime", "pallet-grandpa/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", diff --git a/demo/runtime/src/genesis_config_presets.rs b/demo/runtime/src/genesis_config_presets.rs index 182f43c427..39354bce98 100644 --- a/demo/runtime/src/genesis_config_presets.rs +++ b/demo/runtime/src/genesis_config_presets.rs @@ -22,13 +22,15 @@ use crate::{ use alloc::{vec, vec::Vec}; use serde_json::Value; use sp_consensus_aura::sr25519::AuthorityId as AuraId; +use sp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId; use sp_consensus_grandpa::AuthorityId as GrandpaId; +use sp_core::crypto::get_public_from_string_or_panic; use sp_genesis_builder::{self, PresetId}; use sp_keyring::Sr25519Keyring; // Returns the genesis config presets populated with given parameters. fn testnet_genesis( - initial_authorities: Vec<(AuraId, GrandpaId)>, + initial_authorities: Vec<(AuraId, GrandpaId, BeefyId)>, endowed_accounts: Vec, root: AccountId, ) -> Value { @@ -44,6 +46,10 @@ fn testnet_genesis( aura: pallet_aura::GenesisConfig { authorities: initial_authorities.iter().map(|x| x.0.clone()).collect::>(), }, + beefy: pallet_beefy::GenesisConfig { + authorities: initial_authorities.iter().map(|x| (x.2.clone())).collect::>(), + genesis_block: None, + }, grandpa: pallet_grandpa::GenesisConfig { authorities: initial_authorities.iter().map(|x| (x.1.clone(), 1)).collect::>(), ..Default::default() @@ -75,6 +81,7 @@ pub fn development_config_genesis() -> Value { vec![( sp_keyring::Sr25519Keyring::Alice.public().into(), sp_keyring::Ed25519Keyring::Alice.public().into(), + get_public_from_string_or_panic::("Alice"), )], vec![ Sr25519Keyring::Alice.to_account_id(), @@ -93,10 +100,12 @@ pub fn local_config_genesis() -> Value { ( sp_keyring::Sr25519Keyring::Alice.public().into(), sp_keyring::Ed25519Keyring::Alice.public().into(), + get_public_from_string_or_panic::("Alice"), ), ( sp_keyring::Sr25519Keyring::Bob.public().into(), sp_keyring::Ed25519Keyring::Bob.public().into(), + get_public_from_string_or_panic::("Bob"), ), ], Sr25519Keyring::iter() diff --git a/demo/runtime/src/lib.rs b/demo/runtime/src/lib.rs index 9240b588c8..2f32d03372 100644 --- a/demo/runtime/src/lib.rs +++ b/demo/runtime/src/lib.rs @@ -40,6 +40,10 @@ use sidechain_slots::Slot; use sp_api::impl_runtime_apis; use sp_block_participation::AsCardanoSPO; use sp_consensus_aura::sr25519::AuthorityId as AuraId; +use sp_consensus_beefy::{ + ecdsa_crypto::{AuthorityId as BeefyId, Signature as BeefySignature}, + mmr::MmrLeafVersion, +}; #[cfg(feature = "runtime-benchmarks")] use sp_core::ByteArray; use sp_core::{OpaqueMetadata, crypto::KeyTypeId}; @@ -47,6 +51,7 @@ use sp_governed_map::MainChainScriptsV1; use sp_inherents::InherentIdentifier; use sp_partner_chains_bridge::{BridgeDataCheckpoint, MainChainScripts as BridgeMainChainScripts}; use sp_runtime::traits::ConvertInto; +use sp_runtime::traits::Keccak256; use sp_runtime::{ ApplyExtrinsicResult, MultiSignature, Perbill, generic, impl_opaque_keys, traits::{ @@ -101,7 +106,7 @@ pub mod opaque { use super::*; use authority_selection_inherents::MaybeFromCandidateKeys; use parity_scale_codec::MaxEncodedLen; - use sp_core::{ed25519, sr25519}; + use sp_core::{ecdsa, ed25519, sr25519}; pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic; /// Opaque block header type. @@ -116,11 +121,12 @@ pub mod opaque { pub struct SessionKeys { pub aura: Aura, pub grandpa: Grandpa, + pub beefy: Beefy, } } - impl From<(sr25519::Public, ed25519::Public)> for SessionKeys { - fn from((aura, grandpa): (sr25519::Public, ed25519::Public)) -> Self { - Self { aura: aura.into(), grandpa: grandpa.into() } + impl From<(sr25519::Public, ed25519::Public, ecdsa::Public)> for SessionKeys { + fn from((aura, grandpa, beefy): (sr25519::Public, ed25519::Public, ecdsa::Public)) -> Self { + Self { aura: aura.into(), grandpa: grandpa.into(), beefy: beefy.into() } } } @@ -636,7 +642,8 @@ impl crate::test_helper_pallet::Config for Runtime { } parameter_types! { -pub const MaxTransfersPerBlock: u32 = 256;} + pub const MaxTransfersPerBlock: u32 = 256; +} impl pallet_partner_chains_bridge::Config for Runtime { type GovernanceOrigin = EnsureRoot; @@ -649,6 +656,62 @@ impl pallet_partner_chains_bridge::Config for Runtime { type BenchmarkHelper = (); } +parameter_types! { + pub const SessionsPerEra: sp_staking::SessionIndex = 6; + pub const BondingDuration: sp_staking::EraIndex = 24 * 28; +} + +parameter_types! { + pub const BeefySetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get(); +} + +impl pallet_beefy::Config for Runtime { + type BeefyId = BeefyId; + type MaxAuthorities = MaxValidators; + type MaxNominators = ConstU32<0>; + type MaxSetIdSessionEntries = BeefySetIdSessionEntries; + type OnNewValidatorSet = BeefyMmrLeaf; + type AncestryHelper = BeefyMmrLeaf; + type WeightInfo = (); + type KeyOwnerProof = sp_session::MembershipProof; + // TODO: disabled equivocations, they require additional modules like Offences and full Session pallet + // type EquivocationReportSystem = + // pallet_beefy::EquivocationReportSystem; + type EquivocationReportSystem = (); +} + +/// MMR helper types. +mod mmr { + use super::*; + pub use pallet_mmr::primitives::*; + + pub type Leaf = <::LeafData as LeafDataProvider>::LeafData; + pub type Hash = ::Output; + pub type Hashing = ::Hashing; +} + +impl pallet_mmr::Config for Runtime { + const INDEXING_PREFIX: &'static [u8] = b"mmr"; + type Hashing = Keccak256; + type LeafData = pallet_mmr::ParentNumberAndHash; + type OnNewRoot = pallet_beefy_mmr::DepositBeefyDigest; + type BlockHashProvider = pallet_mmr::DefaultBlockHashProvider; + type WeightInfo = (); + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); +} + +parameter_types! { + pub LeafVersion: MmrLeafVersion = MmrLeafVersion::new(0, 0); +} + +impl pallet_beefy_mmr::Config for Runtime { + type LeafVersion = LeafVersion; + type BeefyAuthorityToMerkleLeaf = pallet_beefy_mmr::BeefyEcdsaToEthereum; + type LeafExtra = Vec; + type BeefyDataProvider = (); + type WeightInfo = (); +} // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub struct Runtime { @@ -675,6 +738,11 @@ construct_runtime!( Session: pallet_session exclude_parts { Call }, GovernedMap: pallet_governed_map, Bridge: pallet_partner_chains_bridge, + Beefy: pallet_beefy, + Mmr: pallet_mmr, + // MMR leaf construction must be after session in order to have a leaf's next_auth_set + // refer to block. See issue polkadot-fellows/runtimes#160 for details. + BeefyMmrLeaf: pallet_beefy_mmr, TestHelperPallet: crate::test_helper_pallet, } ); @@ -919,6 +987,138 @@ impl_runtime_apis! { } } + + #[api_version(6)] + impl sp_consensus_beefy::BeefyApi for Runtime { + fn beefy_genesis() -> Option { + pallet_beefy::GenesisBlock::::get() + } + + fn validator_set() -> Option> { + Beefy::validator_set() + } + + fn submit_report_double_voting_unsigned_extrinsic( + equivocation_proof: sp_consensus_beefy::DoubleVotingProof< + BlockNumber, + BeefyId, + BeefySignature, + >, + key_owner_proof: sp_consensus_beefy::OpaqueKeyOwnershipProof, + ) -> Option<()> { + let key_owner_proof = key_owner_proof.decode()?; + + Beefy::submit_unsigned_double_voting_report( + equivocation_proof, + key_owner_proof, + ) + } + + fn submit_report_fork_voting_unsigned_extrinsic( + equivocation_proof: + sp_consensus_beefy::ForkVotingProof< + ::Header, + BeefyId, + sp_runtime::OpaqueValue + >, + key_owner_proof: sp_consensus_beefy::OpaqueKeyOwnershipProof, + ) -> Option<()> { + Beefy::submit_unsigned_fork_voting_report( + equivocation_proof.try_into()?, + key_owner_proof.decode()?, + ) + } + + fn submit_report_future_block_voting_unsigned_extrinsic( + equivocation_proof: sp_consensus_beefy::FutureBlockVotingProof, + key_owner_proof: sp_consensus_beefy::OpaqueKeyOwnershipProof, + ) -> Option<()> { + Beefy::submit_unsigned_future_block_voting_report( + equivocation_proof, + key_owner_proof.decode()?, + ) + } + + fn generate_key_ownership_proof( + _set_id: sp_consensus_beefy::ValidatorSetId, + _authority_id: BeefyId, + ) -> Option { + // TODO: right now we don't have historical module of session pallet + None + // Historical::prove((sp_consensus_beefy::KEY_TYPE, authority_id)) + // .map(|p| p.encode()) + // .map(sp_consensus_beefy::OpaqueKeyOwnershipProof::new) + } + + } + + impl pallet_mmr::primitives::MmrApi< + Block, + mmr::Hash, + BlockNumber, + > for Runtime { + fn mmr_root() -> Result { + Ok(pallet_mmr::RootHash::::get()) + } + + fn mmr_leaf_count() -> Result { + Ok(pallet_mmr::NumberOfLeaves::::get()) + } + + fn generate_proof( + block_numbers: Vec, + best_known_block_number: Option, + ) -> Result<(Vec, mmr::LeafProof), mmr::Error> { + Mmr::generate_proof(block_numbers, best_known_block_number).map( + |(leaves, proof)| { + ( + leaves + .into_iter() + .map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf)) + .collect(), + proof, + ) + }, + ) + } + + fn verify_proof(leaves: Vec, proof: mmr::LeafProof) + -> Result<(), mmr::Error> + { + let leaves = leaves.into_iter().map(|leaf| + leaf.into_opaque_leaf() + .try_decode() + .ok_or(mmr::Error::Verify)).collect::, mmr::Error>>()?; + Mmr::verify_leaves(leaves, proof) + } + + fn verify_proof_stateless( + root: mmr::Hash, + leaves: Vec, + proof: mmr::LeafProof + ) -> Result<(), mmr::Error> { + let nodes = leaves.into_iter().map(|leaf|mmr::DataOrHash::Data(leaf.into_opaque_leaf())).collect(); + pallet_mmr::verify_leaves_proof::(root, nodes, proof) + } + + fn generate_ancestry_proof( + prev_block_number: BlockNumber, + best_known_block_number: Option, + ) -> Result, mmr::Error> { + Mmr::generate_ancestry_proof(prev_block_number, best_known_block_number) + } + } + + impl pallet_beefy_mmr::BeefyMmrApi for RuntimeApi { + fn authority_set_proof() -> sp_consensus_beefy::mmr::BeefyAuthoritySet { + BeefyMmrLeaf::authority_set_proof() + } + + fn next_authority_set_proof() -> sp_consensus_beefy::mmr::BeefyNextAuthoritySet { + BeefyMmrLeaf::next_authority_set_proof() + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata(extra: bool) -> ( diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/entrypoint.sh b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/entrypoint.sh index 388aee3f4b..de035010c6 100644 --- a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/entrypoint.sh +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/entrypoint.sh @@ -21,7 +21,9 @@ export MC__FIRST_EPOCH_TIMESTAMP_MILLIS=$(cat /shared/MC__FIRST_EPOCH_TIMESTAMP_ --base-path=/data \ --keystore-path=/keystore \ --unsafe-rpc-external \ + --rpc-methods unsafe \ --rpc-port=9933 \ + -lbeefy=trace \ --rpc-cors=all \ --prometheus-port=9615 \ --prometheus-external \ diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/keys/beefy.vkey b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/keys/beefy.vkey new file mode 100644 index 0000000000..f74ddf37fd --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/keys/beefy.vkey @@ -0,0 +1 @@ +0x021e229072dc5db77dffeaf3c85d66ec4089e0d084ff6e9eac169c58ed4f39679a diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/keystore/62656566021e229072dc5db77dffeaf3c85d66ec4089e0d084ff6e9eac169c58ed4f39679a b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/keystore/62656566021e229072dc5db77dffeaf3c85d66ec4089e0d084ff6e9eac169c58ed4f39679a new file mode 100644 index 0000000000..c30c79b6be --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-1/keystore/62656566021e229072dc5db77dffeaf3c85d66ec4089e0d084ff6e9eac169c58ed4f39679a @@ -0,0 +1 @@ +"skate avocado enact box filter wild stool violin immune organ expose food" diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-2/keys/beefy.vkey b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-2/keys/beefy.vkey new file mode 100644 index 0000000000..2bd31d37e5 --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-2/keys/beefy.vkey @@ -0,0 +1 @@ +0x024111d957f7f830708a6f7996fd2e5e62c1009aaa99ffb422f6c458948962829e diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-2/keystore/62656566024111d957f7f830708a6f7996fd2e5e62c1009aaa99ffb422f6c458948962829e b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-2/keystore/62656566024111d957f7f830708a6f7996fd2e5e62c1009aaa99ffb422f6c458948962829e new file mode 100644 index 0000000000..4b10e76d59 --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-2/keystore/62656566024111d957f7f830708a6f7996fd2e5e62c1009aaa99ffb422f6c458948962829e @@ -0,0 +1 @@ +"clean fall tank address above hunt blame fetch fury maple garment employ" diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-3/keys/beefy.vkey b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-3/keys/beefy.vkey new file mode 100644 index 0000000000..388bdbebce --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-3/keys/beefy.vkey @@ -0,0 +1 @@ +0x03c806fd217e1a745a0c6fa3b54f0d6b3cd54db8a82a9e43bb25ee16ce5003e98c diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-3/keystore/6265656603c806fd217e1a745a0c6fa3b54f0d6b3cd54db8a82a9e43bb25ee16ce5003e98c b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-3/keystore/6265656603c806fd217e1a745a0c6fa3b54f0d6b3cd54db8a82a9e43bb25ee16ce5003e98c new file mode 100644 index 0000000000..0a6bc26036 --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-3/keystore/6265656603c806fd217e1a745a0c6fa3b54f0d6b3cd54db8a82a9e43bb25ee16ce5003e98c @@ -0,0 +1 @@ +"diagram scatter hour scrap skate easily ripple double absent market twelve logic" diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-4/keys/beefy.vkey b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-4/keys/beefy.vkey new file mode 100644 index 0000000000..df4bfd3477 --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-4/keys/beefy.vkey @@ -0,0 +1 @@ +0x038317a1f89f817a70f2c6a96b52a78b37527a3be2cce3137471f6a51a8c5dc1a3 diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-4/keystore/62656566038317a1f89f817a70f2c6a96b52a78b37527a3be2cce3137471f6a51a8c5dc1a3 b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-4/keystore/62656566038317a1f89f817a70f2c6a96b52a78b37527a3be2cce3137471f6a51a8c5dc1a3 new file mode 100644 index 0000000000..1ede66b356 --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-4/keystore/62656566038317a1f89f817a70f2c6a96b52a78b37527a3be2cce3137471f6a51a8c5dc1a3 @@ -0,0 +1 @@ +"quote also portion change team denial flat weather chuckle time best choose" diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-5/keys/beefy.vkey b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-5/keys/beefy.vkey new file mode 100644 index 0000000000..beedf09180 --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-5/keys/beefy.vkey @@ -0,0 +1 @@ +0x038a0f842d8393af0b834ad432db4dda262e5ce2f0185696bf858509ca351c025d diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-5/keystore/62656566038a0f842d8393af0b834ad432db4dda262e5ce2f0185696bf858509ca351c025d b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-5/keystore/62656566038a0f842d8393af0b834ad432db4dda262e5ce2f0185696bf858509ca351c025d new file mode 100644 index 0000000000..52e259ab55 --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-5/keystore/62656566038a0f842d8393af0b834ad432db4dda262e5ce2f0185696bf858509ca351c025d @@ -0,0 +1 @@ +"verify edge notable short gesture visit abuse female furnace sail reflect total" diff --git a/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-6/keystore/62656566029352d8d603892212c84f87e7d072bd47736f50e752e85feb42d5657fe82c282d b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-6/keystore/62656566029352d8d603892212c84f87e7d072bd47736f50e752e85feb42d5657fe82c282d new file mode 100644 index 0000000000..4dc991b74d --- /dev/null +++ b/dev/local-environment/configurations/partner-chains-nodes/partner-chains-node-6/keystore/62656566029352d8d603892212c84f87e7d072bd47736f50e752e85feb42d5657fe82c282d @@ -0,0 +1 @@ +"spirit balance volume scrub dutch observe impose reform response amateur wear arch" diff --git a/dev/local-environment/configurations/partner-chains-setup/entrypoint.sh b/dev/local-environment/configurations/partner-chains-setup/entrypoint.sh index 03c18b0fcf..d44982ba3a 100644 --- a/dev/local-environment/configurations/partner-chains-setup/entrypoint.sh +++ b/dev/local-environment/configurations/partner-chains-setup/entrypoint.sh @@ -94,14 +94,16 @@ echo "Inserting permissioned candidates for 'node-1' and 'node-2'..." node1_sidechain_vkey=$(cat /partner-chains-nodes/partner-chains-node-1/keys/sidechain.vkey) node1_aura_vkey=$(cat /partner-chains-nodes/partner-chains-node-1/keys/aura.vkey) node1_grandpa_vkey=$(cat /partner-chains-nodes/partner-chains-node-1/keys/grandpa.vkey) +node1_beefy_vkey=$(cat /partner-chains-nodes/partner-chains-node-1/keys/beefy.vkey) node2_sidechain_vkey=$(cat /partner-chains-nodes/partner-chains-node-2/keys/sidechain.vkey) node2_aura_vkey=$(cat /partner-chains-nodes/partner-chains-node-2/keys/aura.vkey) node2_grandpa_vkey=$(cat /partner-chains-nodes/partner-chains-node-2/keys/grandpa.vkey) +node2_beefy_vkey=$(cat /partner-chains-nodes/partner-chains-node-2/keys/beefy.vkey) cat < permissioned_candidates.csv -$node1_sidechain_vkey,aura:$node1_aura_vkey,gran:$node1_grandpa_vkey -$node2_sidechain_vkey,aura:$node2_aura_vkey,gran:$node2_grandpa_vkey +$node1_sidechain_vkey,aura:$node1_aura_vkey,gran:$node1_grandpa_vkey,beef:$node1_beefy_vkey +$node2_sidechain_vkey,aura:$node2_aura_vkey,gran:$node2_grandpa_vkey,beef:$node2_beefy_vkey EOF ./partner-chains-node smart-contracts upsert-permissioned-candidates \ @@ -178,6 +180,7 @@ node5_sidechain_public_key=$(echo "$node5_output" | jq -r ".sidechain_public_key node5_sidechain_signature=$(echo "$node5_output" | jq -r ".sidechain_signature") node5_aura_vkey=$(cat /partner-chains-nodes/partner-chains-node-5/keys/aura.vkey) node5_grandpa_vkey=$(cat /partner-chains-nodes/partner-chains-node-5/keys/grandpa.vkey) +node5_beefy_vkey=$(cat /partner-chains-nodes/partner-chains-node-5/keys/beefy.vkey) # Register 'node-5' ./partner-chains-node smart-contracts register \ @@ -185,7 +188,7 @@ node5_grandpa_vkey=$(cat /partner-chains-nodes/partner-chains-node-5/keys/grandp --genesis-utxo $GENESIS_UTXO \ --spo-public-key $node5_spo_public_key \ --spo-signature $node5_spo_signature \ - --partner-chain-public-keys $node5_sidechain_public_key,aura:$node5_aura_vkey,gran:$node5_grandpa_vkey \ + --partner-chain-public-keys $node5_sidechain_public_key,aura:$node5_aura_vkey,gran:$node5_grandpa_vkey,beef:$node5_beefy_vkey \ --sidechain-signature $node5_sidechain_signature \ --registration-utxo $node5_utxo \ --payment-key-file /partner-chains-nodes/partner-chains-node-5/keys/payment.skey @@ -207,6 +210,7 @@ jq '.genesis.runtimeGenesis.config.session.keys = [ "5FnXTMg8UnfeGsMaGg24o3NY21VRFRDRdgxuLGmXuYLeZmin", { "aura": "5Cyx94iyji8namhRxvs4mAbURtPsvwjWCb68ZihNzfRysGLZ", + "beefy": "KW3cASpk5tuL1YpmdyvVDkmFQXhjFZxex1t4v6EriJoWQBFYP", "grandpa": "5Cc5eQhbPw4CjwZpWqZkWWumMiuZywfWRK2Rh9guXUJ3U89s" } ], @@ -215,6 +219,7 @@ jq '.genesis.runtimeGenesis.config.session.keys = [ "5FJMH4MeZgd4fpiiAVLnr4uRop2EDFgzAFcvLmcduQ2cofCi", { "aura": "5E4op92Z2Di1GoVS9KqnoGVKQXG2R9x1vdh3RW892YLFsLrc", + "beefy": "KW4PyA2raaZ2fTJLoL5ysPX4t3o1JbuVCP1dD7bRqPhLVShtW", "grandpa": "5Ha53RXoJjXtcTThFA5XNW7H6f5L39HnTuVSXimxAyhoYLeL" } ] @@ -227,6 +232,7 @@ jq '.genesis.runtimeGenesis.config.sessionCommitteeManagement.initialAuthorities "id": "KW4wALva83fvah66ufXSxg6r84tTpJmDXna8A1PCYdbZdVL95", "keys": { "aura": "5Cyx94iyji8namhRxvs4mAbURtPsvwjWCb68ZihNzfRysGLZ", + "beefy": "KW3cASpk5tuL1YpmdyvVDkmFQXhjFZxex1t4v6EriJoWQBFYP", "grandpa": "5Cc5eQhbPw4CjwZpWqZkWWumMiuZywfWRK2Rh9guXUJ3U89s" } } @@ -236,6 +242,7 @@ jq '.genesis.runtimeGenesis.config.sessionCommitteeManagement.initialAuthorities "id": "KW92jBDRydnbyojCVF3USNFgEsrEvDGV3gvdgDvpfnbXvC13q", "keys": { "aura": "5E4op92Z2Di1GoVS9KqnoGVKQXG2R9x1vdh3RW892YLFsLrc", + "beefy": "KW4PyA2raaZ2fTJLoL5ysPX4t3o1JbuVCP1dD7bRqPhLVShtW", "grandpa": "5Ha53RXoJjXtcTThFA5XNW7H6f5L39HnTuVSXimxAyhoYLeL" } } diff --git a/dev/local-environment/setup.sh b/dev/local-environment/setup.sh index 7c8accf7a9..e871fda4db 100755 --- a/dev/local-environment/setup.sh +++ b/dev/local-environment/setup.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -PARTNER_CHAINS_NODE_IMAGE="ghcr.io/input-output-hk/partner-chains/partner-chains-node-unstable:latest" +PARTNER_CHAINS_NODE_IMAGE="partner-chains-node:latest" CARDANO_IMAGE="ghcr.io/intersectmbo/cardano-node:10.5.1" DBSYNC_IMAGE="ghcr.io/intersectmbo/cardano-db-sync:13.6.0.4" DOLOS_IMAGE="ghcr.io/txpipe/dolos:1.0.0-beta.5" diff --git a/toolkit/sidechain/domain/src/lib.rs b/toolkit/sidechain/domain/src/lib.rs index 77855eff3a..f901b37f86 100644 --- a/toolkit/sidechain/domain/src/lib.rs +++ b/toolkit/sidechain/domain/src/lib.rs @@ -1178,17 +1178,7 @@ impl DParameter { /// Opaque key bytes with a 4 bytes identifier #[derive( - Debug, - Clone, - PartialEq, - Eq, - Decode, - DecodeWithMemTracking, - Encode, - TypeInfo, - PartialOrd, - Ord, - Hash, + Clone, PartialEq, Eq, Decode, DecodeWithMemTracking, Encode, TypeInfo, PartialOrd, Ord, Hash, )] #[cfg_attr(feature = "serde", derive(Serialize))] pub struct CandidateKey { @@ -1198,6 +1188,14 @@ pub struct CandidateKey { pub bytes: Vec, } +impl alloc::fmt::Debug for CandidateKey { + fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { + let id = hex::encode(self.id); + let bytes = hex::encode(&self.bytes); + f.write_str(&alloc::format!("CandidateKey {{ id: {id}, bytes: {bytes} }}")) + } +} + impl FromStr for CandidateKey { type Err = &'static str;