diff --git a/.cargo-deny.toml b/.cargo-deny.toml index 665f2c11a..348dff81e 100644 --- a/.cargo-deny.toml +++ b/.cargo-deny.toml @@ -57,6 +57,9 @@ license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] name = "ring" [sources] -allow-git = ["https://github.com/paritytech/polkadot-sdk"] -unknown-git = "deny" +allow-git = [ + "https://github.com/paritytech/polkadot-sdk", + "https://github.com/polytope-labs/hyperbridge", +] +unknown-git = "deny" unknown-registry = "deny" diff --git a/Cargo.lock b/Cargo.lock index 4e699a6c7..02716fc81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -110,6 +110,145 @@ version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" +[[package]] +name = "alloy-primitives" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0628ec0ba5b98b3370bb6be17b12f23bfce8ee4ad83823325a20546d9b03b78" +dependencies = [ + "alloy-rlp", + "bytes", + "cfg-if", + "const-hex", + "derive_more 0.99.20", + "hex-literal 0.4.1", + "itoa", + "proptest", + "rand 0.8.5", + "ruint", + "serde", + "tiny-keccak", +] + +[[package]] +name = "alloy-primitives" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccb3ead547f4532bc8af961649942f0b9c16ee9226e26caa3f38420651cc0bf4" +dependencies = [ + "alloy-rlp", + "bytes", + "cfg-if", + "const-hex", + "derive_more 0.99.20", + "hex-literal 0.4.1", + "itoa", + "k256", + "keccak-asm", + "proptest", + "rand 0.8.5", + "ruint", + "serde", + "tiny-keccak", +] + +[[package]] +name = "alloy-rlp" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6c1d995bff8d011f7cd6c81820d51825e6e06d6db73914c1630ecf544d83d6" +dependencies = [ + "arrayvec 0.7.6", + "bytes", +] + +[[package]] +name = "alloy-sol-macro" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a98ad1696a2e17f010ae8e43e9f2a1e930ed176a8e3ff77acfeff6dfb07b42c" +dependencies = [ + "const-hex", + "dunce", + "heck 0.4.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.101", + "syn-solidity 0.4.2", + "tiny-keccak", +] + +[[package]] +name = "alloy-sol-macro" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b40397ddcdcc266f59f959770f601ce1280e699a91fc1862f29cef91707cd09" +dependencies = [ + "alloy-sol-macro-expander", + "alloy-sol-macro-input", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "alloy-sol-macro-expander" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "867a5469d61480fea08c7333ffeca52d5b621f5ca2e44f271b117ec1fc9a0525" +dependencies = [ + "alloy-sol-macro-input", + "const-hex", + "heck 0.5.0", + "indexmap 2.9.0", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 2.0.101", + "syn-solidity 0.7.7", + "tiny-keccak", +] + +[[package]] +name = "alloy-sol-macro-input" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e482dc33a32b6fadbc0f599adea520bd3aaa585c141a80b404d0a3e3fa72528" +dependencies = [ + "const-hex", + "dunce", + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.101", + "syn-solidity 0.7.7", +] + +[[package]] +name = "alloy-sol-types" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98d7107bed88e8f09f0ddcc3335622d87bfb6821f3e0c7473329fb1cfad5e015" +dependencies = [ + "alloy-primitives 0.4.2", + "alloy-sol-macro 0.4.2", + "const-hex", + "serde", +] + +[[package]] +name = "alloy-sol-types" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a91ca40fa20793ae9c3841b83e74569d1cc9af29a2f5237314fd3452d51e38c7" +dependencies = [ + "alloy-primitives 0.7.7", + "alloy-sol-macro 0.7.7", + "const-hex", +] + [[package]] name = "always-assert" version = "0.1.3" @@ -217,8 +356,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ "ark-ec", - "ark-ff", - "ark-std", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-models-ext", + "ark-std 0.4.0", ] [[package]] @@ -228,9 +379,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bls12-381-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-serialize 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bw6-761" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-bw6-761-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" +dependencies = [ + "ark-bw6-761", + "ark-ec", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", ] [[package]] @@ -239,14 +429,83 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ - "ark-ff", + "ark-ff 0.4.2", "ark-poly", - "ark-serialize", - "ark-std", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "hashbrown 0.13.2", "itertools 0.10.5", "num-traits", + "rayon", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff 0.4.2", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.4.2", + "ark-models-ext", + "ark-std 0.4.0", +] + +[[package]] +name = "ark-ff" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b3235cc41ee7a12aaaf2c575a2ad7b46713a8a50bda2fc3b003a04845c05dd6" +dependencies = [ + "ark-ff-asm 0.3.0", + "ark-ff-macros 0.3.0", + "ark-serialize 0.3.0", + "ark-std 0.3.0", + "derivative", + "num-bigint", + "num-traits", + "paste", + "rustc_version 0.3.3", "zeroize", ] @@ -256,20 +515,30 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", + "ark-ff-asm 0.4.2", + "ark-ff-macros 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "digest 0.10.7", "itertools 0.10.5", "num-bigint", "num-traits", "paste", - "rustc_version", + "rustc_version 0.4.1", "zeroize", ] +[[package]] +name = "ark-ff-asm" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db02d390bf6643fb404d3d22d31aee1c4bc4459600aef9113833d17e786c6e44" +dependencies = [ + "quote", + "syn 1.0.109", +] + [[package]] name = "ark-ff-asm" version = "0.4.2" @@ -280,6 +549,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-ff-macros" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db2fd794a08ccb318058009eefdf15bcaaaaf6f8161eb3345f907222bac38b20" +dependencies = [ + "num-bigint", + "num-traits", + "quote", + "syn 1.0.109", +] + [[package]] name = "ark-ff-macros" version = "0.4.2" @@ -293,19 +574,56 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-models-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" +dependencies = [ + "ark-ec", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "derivative", +] + [[package]] name = "ark-poly" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", "derivative", "hashbrown 0.13.2", ] +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", + "ark-std 0.4.0", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "ark-serialize" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6c2b318ee6e10f8c2853e73a83adc0ccb88995aa978d8a3408d492ab2ee671" +dependencies = [ + "ark-std 0.3.0", + "digest 0.9.0", +] + [[package]] name = "ark-serialize" version = "0.4.2" @@ -313,7 +631,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ "ark-serialize-derive", - "ark-std", + "ark-std 0.4.0", "digest 0.10.7", "num-bigint", ] @@ -329,6 +647,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-std" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + [[package]] name = "ark-std" version = "0.4.0" @@ -336,7 +664,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", + "rayon", ] [[package]] @@ -453,7 +782,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-hub-rococo-emulated-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "asset-hub-rococo-runtime", "bp-bridge-hub-rococo", @@ -470,7 +799,7 @@ dependencies = [ [[package]] name = "asset-hub-rococo-runtime" version = "0.22.4" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "assets-common", "bp-asset-hub-rococo", @@ -554,7 +883,7 @@ dependencies = [ [[package]] name = "asset-test-utils" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -585,7 +914,7 @@ dependencies = [ [[package]] name = "assets-common" version = "0.18.3" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -833,6 +1162,17 @@ dependencies = [ "url", ] +[[package]] +name = "auto_impl" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "autocfg" version = "1.4.0" @@ -899,7 +1239,7 @@ checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" [[package]] name = "binary-merkle-tree" version = "15.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "hash-db", "log", @@ -944,6 +1284,21 @@ dependencies = [ "bitcoin_hashes", ] +[[package]] +name = "bit-set" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + [[package]] name = "bitcoin-internals" version = "0.2.0" @@ -1106,7 +1461,7 @@ dependencies = [ [[package]] name = "bp-asset-hub-rococo" version = "0.14.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-xcm-bridge-hub-router", "frame-support", @@ -1119,7 +1474,7 @@ dependencies = [ [[package]] name = "bp-asset-hub-westend" version = "0.13.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-xcm-bridge-hub-router", "frame-support", @@ -1132,7 +1487,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-cumulus" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1147,7 +1502,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-rococo" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1163,7 +1518,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-westend" version = "0.14.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-bridge-hub-cumulus", "bp-messages", @@ -1179,7 +1534,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.18.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1196,7 +1551,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1210,32 +1565,80 @@ dependencies = [ ] [[package]] -name = "bp-polkadot-core" +name = "bp-parachains" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ - "bp-messages", + "bp-header-chain", + "bp-polkadot-core", "bp-runtime", "frame-support", - "frame-system", + "impl-trait-for-tuples", "parity-scale-codec", - "parity-util-mem", "scale-info", - "serde", "sp-core", "sp-runtime", "sp-std", ] [[package]] -name = "bp-runtime" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +name = "bp-polkadot" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ + "bp-header-chain", + "bp-polkadot-core", + "bp-runtime", "frame-support", - "frame-system", - "hash-db", - "impl-trait-for-tuples", + "sp-api", + "sp-std", +] + +[[package]] +name = "bp-polkadot-core" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bp-messages", + "bp-runtime", + "frame-support", + "frame-system", + "parity-scale-codec", + "parity-util-mem", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-relayers" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-runtime", + "frame-support", + "frame-system", + "pallet-utility", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bp-runtime" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "hash-db", + "impl-trait-for-tuples", "log", "num-traits", "parity-scale-codec", @@ -1250,10 +1653,30 @@ dependencies = [ "trie-db", ] +[[package]] +name = "bp-test-utils" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "ed25519-dalek", + "finality-grandpa", + "parity-scale-codec", + "sp-application-crypto", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", + "sp-std", + "sp-trie", +] + [[package]] name = "bp-xcm-bridge-hub" version = "0.4.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-messages", "bp-runtime", @@ -1270,13 +1693,102 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.14.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "staging-xcm", +] + +[[package]] +name = "bridge-hub-common" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ + "cumulus-primitives-core", + "frame-support", + "pallet-message-queue", "parity-scale-codec", "scale-info", + "snowbridge-core", + "sp-core", + "sp-runtime", + "sp-std", + "staging-xcm", +] + +[[package]] +name = "bridge-hub-test-utils" +version = "0.20.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "asset-test-utils", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-test-utils", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-balances", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-timestamp", + "pallet-utility", + "pallet-xcm", + "pallet-xcm-bridge-hub", + "parachains-common", + "parachains-runtimes-test-utils", + "parity-scale-codec", "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", + "sp-tracing", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", +] + +[[package]] +name = "bridge-runtime-common" +version = "0.18.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "frame-support", + "frame-system", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-transaction-payment", + "pallet-utility", + "parity-scale-codec", + "scale-info", + "sp-io", "sp-runtime", + "sp-std", + "sp-trie", "staging-xcm", + "tuplex", ] [[package]] @@ -1606,6 +2118,27 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "color-print" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3aa954171903797d5623e047d9ab69d91b493657917bdfb8c2c80ecaf9cdb6f4" +dependencies = [ + "color-print-proc-macro", +] + +[[package]] +name = "color-print-proc-macro" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692186b5ebe54007e45a59aea47ece9eb4108e141326c304cdc91699a7118a22" +dependencies = [ + "nom", + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "colorchoice" version = "1.0.3" @@ -1660,6 +2193,19 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "const-hex" +version = "1.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83e22e0ed40b96a48d3db274f72fd365bd78f67af39b6bbd47e8a15e1c6207ff" +dependencies = [ + "cfg-if", + "cpufeatures", + "hex", + "proptest", + "serde", +] + [[package]] name = "const-oid" version = "0.9.6" @@ -1956,7 +2502,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", - "rand_core", + "rand_core 0.6.4", "subtle 2.6.1", "zeroize", ] @@ -1968,7 +2514,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", - "rand_core", + "rand_core 0.6.4", "typenum", ] @@ -2023,7 +2569,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "clap", "parity-scale-codec", @@ -2040,7 +2586,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2063,7 +2609,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.18.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2108,7 +2654,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2138,7 +2684,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "anyhow", "async-trait", @@ -2150,10 +2696,33 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "cumulus-client-consensus-relay-chain" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "async-trait", + "cumulus-client-consensus-common", + "cumulus-primitives-core", + "cumulus-relay-chain-interface", + "futures", + "parking_lot 0.12.3", + "sc-consensus", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-inherents", + "sp-runtime", + "substrate-prometheus-endpoint", + "tracing", +] + [[package]] name = "cumulus-client-network" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2179,7 +2748,7 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" version = "0.12.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2201,7 +2770,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2213,7 +2782,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "rand", + "rand 0.8.5", "sc-client-api", "sc-consensus", "sp-api", @@ -2227,7 +2796,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2264,7 +2833,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2278,10 +2847,27 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "cumulus-pallet-dmp-queue" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "cumulus-primitives-core", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "staging-xcm", +] + [[package]] name = "cumulus-pallet-parachain-system" -version = "0.17.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "0.17.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2317,7 +2903,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -2328,7 +2914,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -2338,10 +2924,25 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "cumulus-pallet-solo-to-para" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "cumulus-pallet-parachain-system", + "frame-support", + "frame-system", + "pallet-sudo", + "parity-scale-codec", + "polkadot-primitives", + "scale-info", + "sp-runtime", +] + [[package]] name = "cumulus-pallet-xcm" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2355,8 +2956,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.17.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "0.17.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2378,10 +2979,25 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "cumulus-ping" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "cumulus-pallet-xcm", + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "staging-xcm", +] + [[package]] name = "cumulus-primitives-aura" version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "sp-api", "sp-consensus-aura", @@ -2390,7 +3006,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2406,7 +3022,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2420,7 +3036,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2430,7 +3046,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -2446,7 +3062,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -2455,8 +3071,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "0.17.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2473,7 +3089,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2497,7 +3113,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2516,7 +3132,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "async-trait", @@ -2551,7 +3167,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2563,7 +3179,7 @@ dependencies = [ "parity-scale-codec", "pin-project", "polkadot-overseer", - "rand", + "rand 0.8.5", "sc-client-api", "sc-rpc-api", "sc-service", @@ -2590,7 +3206,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2611,7 +3227,7 @@ dependencies = [ "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "rustc_version", + "rustc_version 0.4.1", "subtle 2.6.1", "zeroize", ] @@ -2635,7 +3251,7 @@ checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" dependencies = [ "byteorder", "digest 0.9.0", - "rand_core", + "rand_core 0.6.4", "subtle-ng", "zeroize", ] @@ -2735,7 +3351,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976" dependencies = [ "data-encoding", - "syn 1.0.109", + "syn 2.0.101", ] [[package]] @@ -2840,7 +3456,7 @@ dependencies = [ "convert_case", "proc-macro2", "quote", - "rustc_version", + "rustc_version 0.4.1", "syn 2.0.101", ] @@ -2862,6 +3478,7 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.101", + "unicode-xid", ] [[package]] @@ -3237,6 +3854,12 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + [[package]] name = "dyn-clonable" version = "0.9.2" @@ -3297,7 +3920,7 @@ checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek", "ed25519", - "rand_core", + "rand_core 0.6.4", "serde", "sha2 0.10.8", "subtle 2.6.1", @@ -3314,7 +3937,7 @@ dependencies = [ "ed25519", "hashbrown 0.14.5", "hex", - "rand_core", + "rand_core 0.6.4", "sha2 0.10.8", "zeroize", ] @@ -3338,7 +3961,7 @@ dependencies = [ "generic-array 0.14.7", "group", "pkcs8", - "rand_core", + "rand_core 0.6.4", "sec1", "serdect", "subtle 2.6.1", @@ -3348,7 +3971,7 @@ dependencies = [ [[package]] name = "emulated-integration-tests-common" version = "16.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "asset-test-utils", "bp-messages", @@ -3513,7 +4136,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3646,6 +4269,28 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +[[package]] +name = "fastrlp" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" +dependencies = [ + "arrayvec 0.7.6", + "auto_impl", + "bytes", +] + +[[package]] +name = "fastrlp" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce8dba4714ef14b8274c371879b175aa55b16b30f269663f19d576f380018dc4" +dependencies = [ + "arrayvec 0.7.6", + "auto_impl", + "bytes", +] + [[package]] name = "fatality" version = "0.1.1" @@ -3686,7 +4331,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" dependencies = [ - "rand_core", + "rand_core 0.6.4", "subtle 2.6.1", ] @@ -3751,7 +4396,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand", + "rand 0.8.5", "rustc-hex", "static_assertions", ] @@ -3810,7 +4455,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", ] @@ -3824,6 +4469,17 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "fortuples" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87630a8087e9cac4b7edfb6ee5e250ddca9112b57b6b17d8f5107375a3a8eace" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "forwarded-header-value" version = "0.1.1" @@ -3843,7 +4499,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-support-procedural", @@ -3867,7 +4523,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "Inflector", "array-bytes", @@ -3884,7 +4540,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "rand", + "rand 0.8.5", "rand_pcg", "sc-block-builder", "sc-chain-spec", @@ -3914,10 +4570,24 @@ dependencies = [ "thousands", ] +[[package]] +name = "frame-benchmarking-pallet-pov" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", +] + [[package]] name = "frame-election-provider-solution-type" version = "14.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -3928,7 +4598,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3944,7 +4614,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "aquamarine", "frame-support", @@ -3974,7 +4644,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "docify", @@ -3989,7 +4659,7 @@ dependencies = [ [[package]] name = "frame-support" version = "38.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "aquamarine", "array-bytes", @@ -4030,7 +4700,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "30.0.6" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "Inflector", "cfg-expr", @@ -4050,7 +4720,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -4062,7 +4732,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "proc-macro2", "quote", @@ -4072,7 +4742,7 @@ dependencies = [ [[package]] name = "frame-system" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cfg-if", "docify", @@ -4092,7 +4762,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -4106,7 +4776,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "parity-scale-codec", @@ -4116,7 +4786,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "parity-scale-codec", @@ -4371,8 +5041,8 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "rand", - "rand_core", + "rand 0.8.5", + "rand_core 0.6.4", ] [[package]] @@ -4433,7 +5103,7 @@ dependencies = [ "parking_lot 0.12.3", "portable-atomic", "quanta", - "rand", + "rand 0.8.5", "smallvec", "spinning_top", ] @@ -4445,7 +5115,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core", + "rand_core 0.6.4", "subtle 2.6.1", ] @@ -5058,7 +5728,7 @@ dependencies = [ "http 0.2.12", "hyper 0.14.32", "log", - "rand", + "rand 0.8.5", "tokio", "url", "xmltree", @@ -5235,7 +5905,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" dependencies = [ "hermit-abi 0.5.0", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -5253,6 +5923,65 @@ version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +[[package]] +name = "ismp" +version = "0.2.2" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "anyhow", + "derive_more 1.0.0", + "displaydoc", + "hex", + "parity-scale-codec", + "primitive-types", + "scale-info", + "serde", + "serde-hex-utils", + "thiserror 2.0.12", +] + +[[package]] +name = "ismp-parachain" +version = "16.1.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "hex", + "hex-literal 0.4.1", + "ismp", + "log", + "pallet-ismp", + "parity-scale-codec", + "polkadot-sdk", + "primitive-types", + "scale-info", + "serde", + "substrate-state-machine", +] + +[[package]] +name = "ismp-parachain-inherent" +version = "16.1.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "anyhow", + "async-trait", + "ismp", + "ismp-parachain", + "ismp-parachain-runtime-api", + "log", + "pallet-ismp-runtime-api", + "parity-scale-codec", + "polkadot-sdk", +] + +[[package]] +name = "ismp-parachain-runtime-api" +version = "16.0.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "polkadot-sdk", +] + [[package]] name = "itertools" version = "0.10.5" @@ -5382,7 +6111,7 @@ dependencies = [ "jsonrpsee-types", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "rustc-hash 2.1.1", "serde", "serde_json", @@ -5480,6 +6209,16 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "keccak-asm" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "505d1856a39b200489082f90d897c3f07c455563880bc5952e38eabf731c83b6" +dependencies = [ + "digest 0.10.7", + "sha3-asm", +] + [[package]] name = "kestrel-runtime" version = "1.16.0-dev" @@ -5608,9 +6347,13 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "hex-literal 0.3.4", + "ismp-parachain-inherent", + "ismp-parachain-runtime-api", "jsonrpsee", "kilt-support", "log", + "pallet-ismp-rpc", + "pallet-ismp-runtime-api", "pallet-transaction-payment-rpc", "parity-scale-codec", "peregrine-runtime", @@ -5874,7 +6617,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "quick-protobuf", - "rand", + "rand 0.8.5", "rw-stream-sink", "smallvec", "thiserror 1.0.69", @@ -5932,7 +6675,7 @@ dependencies = [ "hkdf", "multihash 0.19.3", "quick-protobuf", - "rand", + "rand 0.8.5", "sha2 0.10.8", "thiserror 1.0.69", "tracing", @@ -5959,7 +6702,7 @@ dependencies = [ "log", "quick-protobuf", "quick-protobuf-codec", - "rand", + "rand 0.8.5", "sha2 0.10.8", "smallvec", "thiserror 1.0.69", @@ -5981,7 +6724,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand", + "rand 0.8.5", "smallvec", "socket2 0.5.9", "tokio", @@ -6022,7 +6765,7 @@ dependencies = [ "multihash 0.19.3", "once_cell", "quick-protobuf", - "rand", + "rand 0.8.5", "sha2 0.10.8", "snow", "static_assertions", @@ -6045,7 +6788,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand", + "rand 0.8.5", "void", ] @@ -6065,7 +6808,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "quinn 0.10.2", - "rand", + "rand 0.8.5", "ring 0.16.20", "rustls 0.21.12", "socket2 0.5.9", @@ -6086,7 +6829,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand", + "rand 0.8.5", "smallvec", "void", ] @@ -6108,7 +6851,7 @@ dependencies = [ "log", "multistream-select", "once_cell", - "rand", + "rand 0.8.5", "smallvec", "tokio", "void", @@ -6266,7 +7009,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand", + "rand 0.8.5", "serde", "sha2 0.9.9", "typenum", @@ -6413,7 +7156,7 @@ dependencies = [ "prost 0.12.6", "prost-build 0.11.9", "quinn 0.9.4", - "rand", + "rand 0.8.5", "rcgen", "ring 0.16.20", "rustls 0.20.9", @@ -6665,7 +7408,7 @@ checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core", + "rand_core 0.6.4", "zeroize", ] @@ -6676,7 +7419,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures", - "rand", + "rand 0.8.5", "thrift", ] @@ -6723,8 +7466,8 @@ dependencies = [ "lioness", "log", "parking_lot 0.12.3", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_distr", "subtle 2.6.1", "thiserror 1.0.69", @@ -6734,7 +7477,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "log", @@ -6753,7 +7496,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -6819,6 +7562,12 @@ dependencies = [ "syn 2.0.101", ] +[[package]] +name = "multi-stash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f" + [[package]] name = "multiaddr" version = "0.17.1" @@ -6967,7 +7716,7 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ - "rand", + "rand 0.8.5", ] [[package]] @@ -7162,6 +7911,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "num-format" version = "0.4.4" @@ -7386,10 +8146,30 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "pallet-alliance" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "array-bytes", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-collective", + "pallet-identity", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-crypto-hashing", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-asset-conversion" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7407,7 +8187,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7425,7 +8205,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -7439,7 +8219,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7485,7 +8265,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7502,7 +8282,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7518,7 +8298,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7530,10 +8310,24 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-atomic-swap" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-aura" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -7549,7 +8343,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -7564,7 +8358,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -7577,7 +8371,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7600,7 +8394,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "aquamarine", "docify", @@ -7621,7 +8415,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "39.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-benchmarking", @@ -7636,7 +8430,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -7655,7 +8449,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7713,7 +8507,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "37.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7727,10 +8521,29 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-bridge-grandpa" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bp-header-chain", + "bp-runtime", + "bp-test-utils", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-consensus-grandpa", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-bridge-messages" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-header-chain", "bp-messages", @@ -7746,10 +8559,54 @@ dependencies = [ "sp-trie", ] +[[package]] +name = "pallet-bridge-parachains" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bp-header-chain", + "bp-parachains", + "bp-polkadot-core", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-bridge-grandpa", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-bridge-relayers" +version = "0.18.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bp-header-chain", + "bp-messages", + "bp-relayers", + "bp-runtime", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-broker" version = "0.17.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "frame-benchmarking", @@ -7767,7 +8624,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7785,7 +8642,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7795,7 +8652,7 @@ dependencies = [ "pallet-balances", "pallet-session", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-runtime", "sp-staking", @@ -7804,7 +8661,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7817,6 +8674,20 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-collective-content" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + [[package]] name = "pallet-configuration" version = "1.16.0-dev" @@ -7836,10 +8707,100 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-contracts" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bitflags 1.3.2", + "environmental", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-balances", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "rand_pcg", + "scale-info", + "serde", + "smallvec", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-builder", + "wasm-instrument", + "wasmi 0.32.3", +] + +[[package]] +name = "pallet-contracts-mock-network" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "pallet-assets", + "pallet-balances", + "pallet-contracts", + "pallet-contracts-proc-macro", + "pallet-contracts-uapi", + "pallet-insecure-randomness-collective-flip", + "pallet-message-queue", + "pallet-proxy", + "pallet-timestamp", + "pallet-utility", + "pallet-xcm", + "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-parachains", + "scale-info", + "sp-api", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-tracing", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "xcm-simulator", +] + +[[package]] +name = "pallet-contracts-proc-macro" +version = "23.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "pallet-contracts-uapi" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "polkavm-derive 0.9.1", + "scale-info", +] + [[package]] name = "pallet-conviction-voting" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7852,10 +8813,28 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-core-fellowship" +version = "22.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-ranked-collective", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-delegated-staking" -version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "5.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -7870,7 +8849,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -7904,8 +8883,23 @@ dependencies = [ ] [[package]] -name = "pallet-did-lookup" -version = "1.16.0-dev" +name = "pallet-dev-mode" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", +] + +[[package]] +name = "pallet-did-lookup" +version = "1.16.0-dev" dependencies = [ "base58", "blake2 0.10.6", @@ -7971,7 +8965,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7980,7 +8974,7 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-arithmetic", "sp-core", @@ -7993,7 +8987,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8006,7 +9000,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8024,7 +9018,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-benchmarking", @@ -8039,10 +9033,28 @@ dependencies = [ "sp-staking", ] +[[package]] +name = "pallet-glutton" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "blake2 0.10.6", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-inherents", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-grandpa" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8061,10 +9073,24 @@ dependencies = [ "sp-staking", ] +[[package]] +name = "pallet-hyperbridge" +version = "16.0.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "anyhow", + "ismp", + "pallet-ismp", + "parity-scale-codec", + "polkadot-sdk", + "primitive-types", + "scale-info", +] + [[package]] name = "pallet-identity" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8080,7 +9106,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8099,7 +9125,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8128,10 +9154,86 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime", +] + +[[package]] +name = "pallet-ismp" +version = "16.1.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "anyhow", + "fortuples", + "ismp", + "log", + "parity-scale-codec", + "polkadot-sdk", + "scale-info", + "serde", + "sp-io", +] + +[[package]] +name = "pallet-ismp-rpc" +version = "16.0.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "anyhow", + "hash-db", + "hex", + "hex-literal 0.4.1", + "ismp", + "jsonrpsee", + "pallet-ismp", + "pallet-ismp-runtime-api", + "parity-scale-codec", + "polkadot-sdk", + "serde", + "serde_json", + "tower", + "trie-db", +] + +[[package]] +name = "pallet-ismp-runtime-api" +version = "16.0.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "ismp", + "pallet-ismp", + "parity-scale-codec", + "polkadot-sdk", + "primitive-types", + "serde", +] + +[[package]] +name = "pallet-lottery" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + [[package]] name = "pallet-membership" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8147,7 +9249,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "41.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "environmental", "frame-benchmarking", @@ -8195,10 +9297,46 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-migrations" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "pallet-mixnet" +version = "0.14.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto", + "sp-arithmetic", + "sp-io", + "sp-mixnet", + "sp-runtime", +] + [[package]] name = "pallet-mmr" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8215,7 +9353,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8230,7 +9368,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8246,7 +9384,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8263,7 +9401,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "pallet-nfts", "parity-scale-codec", @@ -8273,7 +9411,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8285,10 +9423,25 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-node-authorization" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-nomination-pools" -version = "35.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "35.0.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -8306,7 +9459,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8326,7 +9479,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "33.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8336,7 +9489,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -8352,7 +9505,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8372,10 +9525,27 @@ dependencies = [ "sp-staking", ] +[[package]] +name = "pallet-paged-list" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-metadata-ir", + "sp-runtime", +] + [[package]] name = "pallet-parameters" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-benchmarking", @@ -8404,7 +9574,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8420,7 +9590,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8434,7 +9604,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "38.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8452,7 +9622,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8466,7 +9636,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8501,10 +9671,141 @@ dependencies = [ "sp-trie", ] +[[package]] +name = "pallet-remark" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", +] + +[[package]] +name = "pallet-revive" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bitflags 1.3.2", + "environmental", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-balances", + "pallet-revive-fixtures", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "parity-scale-codec", + "paste", + "polkavm 0.10.0", + "scale-info", + "serde", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-builder", +] + +[[package]] +name = "pallet-revive-fixtures" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "anyhow", + "frame-system", + "parity-wasm", + "polkavm-linker 0.10.0", + "sp-runtime", + "tempfile", + "toml 0.8.21", +] + +[[package]] +name = "pallet-revive-mock-network" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "pallet-assets", + "pallet-balances", + "pallet-message-queue", + "pallet-proxy", + "pallet-revive", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "pallet-timestamp", + "pallet-utility", + "pallet-xcm", + "parity-scale-codec", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-parachains", + "scale-info", + "sp-api", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-tracing", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "xcm-simulator", +] + +[[package]] +name = "pallet-revive-proc-macro" +version = "0.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "pallet-revive-uapi" +version = "0.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bitflags 1.3.2", + "parity-scale-codec", + "paste", + "polkavm-derive 0.10.0", + "scale-info", +] + +[[package]] +name = "pallet-root-offences" +version = "35.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "pallet-session", + "pallet-staking", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-staking", +] + [[package]] name = "pallet-root-testing" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -8515,10 +9816,46 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-safe-mode" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-proxy", + "pallet-utility", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-runtime", +] + +[[package]] +name = "pallet-salary" +version = "23.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-ranked-collective", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-scheduler" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-benchmarking", @@ -8532,10 +9869,23 @@ dependencies = [ "sp-weights", ] +[[package]] +name = "pallet-scored-pool" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-session" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -8556,7 +9906,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8564,22 +9914,34 @@ dependencies = [ "pallet-session", "pallet-staking", "parity-scale-codec", - "rand", + "rand 0.8.5", "sp-runtime", "sp-session", ] +[[package]] +name = "pallet-skip-feeless-payment" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + [[package]] name = "pallet-society" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", - "rand_chacha", + "rand_chacha 0.3.1", "scale-info", "sp-arithmetic", "sp-io", @@ -8588,8 +9950,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "38.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8599,7 +9961,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand_chacha", + "rand_chacha 0.3.1", "scale-info", "serde", "sp-application-crypto", @@ -8611,7 +9973,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "log", "sp-arithmetic", @@ -8620,7 +9982,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "sp-api", @@ -8630,7 +9992,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8643,10 +10005,27 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-statement" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-statement-store", +] + [[package]] name = "pallet-sudo" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-benchmarking", @@ -8661,7 +10040,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-benchmarking", @@ -8680,7 +10059,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8695,10 +10074,30 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-token-gateway" +version = "16.2.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "alloy-primitives 0.7.7", + "alloy-sol-macro 0.7.7", + "alloy-sol-types 0.7.7", + "anyhow", + "ismp", + "log", + "pallet-hyperbridge", + "pallet-ismp", + "parity-scale-codec", + "polkadot-sdk", + "primitive-types", + "scale-info", + "token-gateway-primitives", +] + [[package]] name = "pallet-transaction-payment" version = "38.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -8713,7 +10112,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -8729,19 +10128,39 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-weights", + "sp-weights", +] + +[[package]] +name = "pallet-transaction-storage" +version = "37.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "array-bytes", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-transaction-storage-proof", ] [[package]] name = "pallet-treasury" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-benchmarking", @@ -8756,10 +10175,27 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-tx-pause" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-proxy", + "pallet-utility", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + [[package]] name = "pallet-uniques" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8773,7 +10209,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8788,7 +10224,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8821,7 +10257,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", @@ -8834,8 +10270,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "17.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8858,13 +10294,12 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "17.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-io", @@ -8877,7 +10312,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.13.3" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-messages", "bp-runtime", @@ -8899,7 +10334,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.15.3" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -8944,7 +10379,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -8973,8 +10408,8 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "19.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -9010,8 +10445,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes", - "rand", - "rand_core", + "rand 0.8.5", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -9037,7 +10472,7 @@ dependencies = [ "lz4", "memmap2 0.5.10", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "siphasher", "snap", "winapi", @@ -9174,7 +10609,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" dependencies = [ "base64ct", - "rand_core", + "rand_core 0.6.4", "subtle 2.6.1", ] @@ -9219,6 +10654,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" name = "peregrine-runtime" version = "1.16.0-dev" dependencies = [ + "anyhow", "attestation", "cfg-if", "ctype", @@ -9243,6 +10679,9 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.3.4", + "ismp", + "ismp-parachain", + "ismp-parachain-runtime-api", "kilt-runtime-api-did", "kilt-runtime-api-dip-provider", "kilt-runtime-api-public-credentials", @@ -9262,8 +10701,11 @@ dependencies = [ "pallet-deposit-storage", "pallet-did-lookup", "pallet-dip-provider", + "pallet-hyperbridge", "pallet-indices", "pallet-inflation", + "pallet-ismp", + "pallet-ismp-runtime-api", "pallet-membership", "pallet-message-queue", "pallet-migration", @@ -9275,6 +10717,7 @@ dependencies = [ "pallet-sudo", "pallet-timestamp", "pallet-tips", + "pallet-token-gateway", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", @@ -9430,7 +10873,7 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-approval-distribution" version = "18.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "futures", @@ -9443,14 +10886,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand", + "rand 0.8.5", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "always-assert", "futures", @@ -9459,14 +10902,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand", + "rand 0.8.5", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "derive_more 0.99.20", "fatality", @@ -9478,7 +10921,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand", + "rand 0.8.5", "sc-network", "schnellru", "sp-core", @@ -9490,7 +10933,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "fatality", @@ -9502,7 +10945,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand", + "rand 0.8.5", "sc-network", "schnellru", "thiserror 1.0.69", @@ -9523,7 +10966,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cfg-if", "clap", @@ -9551,7 +10994,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "fatality", @@ -9574,7 +11017,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -9585,7 +11028,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "derive_more 0.99.20", "fatality", @@ -9610,7 +11053,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9624,7 +11067,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "futures-timer", @@ -9632,8 +11075,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "sc-network", "sc-network-common", "sp-application-crypto", @@ -9646,7 +11089,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "always-assert", "async-trait", @@ -9669,7 +11112,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "parity-scale-codec", @@ -9687,7 +11130,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "18.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "derive_more 0.99.20", @@ -9703,9 +11146,9 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "rand", - "rand_chacha", - "rand_core", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "sc-keystore", "schnellru", "schnorrkel 0.11.4", @@ -9720,7 +11163,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "futures", @@ -9742,7 +11185,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "fatality", @@ -9762,7 +11205,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9777,7 +11220,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -9799,7 +11242,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "polkadot-node-metrics", @@ -9813,7 +11256,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "futures-timer", @@ -9830,7 +11273,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "fatality", "futures", @@ -9849,7 +11292,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -9866,7 +11309,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "fatality", "futures", @@ -9880,7 +11323,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "fatality", @@ -9898,7 +11341,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "always-assert", "array-bytes", @@ -9915,7 +11358,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", - "rand", + "rand 0.8.5", "slotmap", "sp-core", "tempfile", @@ -9927,7 +11370,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "polkadot-node-primitives", @@ -9943,7 +11386,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cpu-time", "futures", @@ -9969,7 +11412,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "polkadot-node-metrics", @@ -9984,7 +11427,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "lazy_static", "log", @@ -10003,7 +11446,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bs58 0.5.1", "futures", @@ -10022,7 +11465,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "18.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -10035,7 +11478,7 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", - "rand", + "rand 0.8.5", "sc-authority-discovery", "sc-network", "sc-network-types", @@ -10048,7 +11491,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "bounded-vec", @@ -10074,7 +11517,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -10084,7 +11527,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "bitvec", @@ -10114,7 +11557,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "derive_more 0.99.20", @@ -10137,7 +11580,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "prioritized-metered-channel", - "rand", + "rand 0.8.5", "sc-client-api", "schnellru", "sp-application-crypto", @@ -10150,7 +11593,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -10169,10 +11612,79 @@ dependencies = [ "tracing-gum", ] +[[package]] +name = "polkadot-parachain-lib" +version = "0.3.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "async-trait", + "clap", + "color-print", + "cumulus-client-cli", + "cumulus-client-collator", + "cumulus-client-consensus-aura", + "cumulus-client-consensus-common", + "cumulus-client-consensus-proposer", + "cumulus-client-consensus-relay-chain", + "cumulus-client-parachain-inherent", + "cumulus-client-service", + "cumulus-primitives-aura", + "cumulus-primitives-core", + "cumulus-relay-chain-interface", + "docify", + "frame-benchmarking", + "frame-benchmarking-cli", + "frame-support", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "futures", + "jsonrpsee", + "log", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc", + "pallet-transaction-payment-rpc-runtime-api", + "parachains-common", + "parity-scale-codec", + "polkadot-cli", + "polkadot-primitives", + "sc-basic-authorship", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-executor", + "sc-network", + "sc-rpc", + "sc-service", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "serde", + "serde_json", + "sp-api", + "sp-block-builder", + "sp-consensus-aura", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-timestamp", + "sp-transaction-pool", + "sp-version", + "sp-weights", + "substrate-frame-rpc-system", + "substrate-prometheus-endpoint", + "substrate-state-trie-migration-rpc", +] + [[package]] name = "polkadot-parachain-primitives" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bounded-collections", "derive_more 0.99.20", @@ -10188,7 +11700,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -10214,7 +11726,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -10248,8 +11760,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "17.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bitvec", "frame-benchmarking", @@ -10274,93 +11786,368 @@ dependencies = [ "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", - "parity-scale-codec", + "parity-scale-codec", + "polkadot-primitives", + "polkadot-runtime-parachains", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "slot-range-helper", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-session", + "sp-staking", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "static_assertions", +] + +[[package]] +name = "polkadot-runtime-metrics" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bs58 0.5.1", + "frame-benchmarking", + "parity-scale-codec", + "polkadot-primitives", + "sp-tracing", +] + +[[package]] +name = "polkadot-runtime-parachains" +version = "17.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "bitflags 1.3.2", + "bitvec", + "derive_more 0.99.20", + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "log", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-broker", + "pallet-message-queue", + "pallet-mmr", + "pallet-session", + "pallet-staking", + "pallet-timestamp", + "pallet-vesting", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-metrics", + "rand 0.8.5", + "rand_chacha 0.3.1", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "staging-xcm", + "staging-xcm-executor", + "static_assertions", +] + +[[package]] +name = "polkadot-sdk" +version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "asset-test-utils", + "assets-common", + "binary-merkle-tree", + "bp-header-chain", + "bp-messages", + "bp-parachains", + "bp-polkadot", + "bp-polkadot-core", + "bp-relayers", + "bp-runtime", + "bp-test-utils", + "bp-xcm-bridge-hub", + "bp-xcm-bridge-hub-router", + "bridge-hub-common", + "bridge-hub-test-utils", + "bridge-runtime-common", + "cumulus-pallet-aura-ext", + "cumulus-pallet-dmp-queue", + "cumulus-pallet-parachain-system", + "cumulus-pallet-parachain-system-proc-macro", + "cumulus-pallet-session-benchmarking", + "cumulus-pallet-solo-to-para", + "cumulus-pallet-xcm", + "cumulus-pallet-xcmp-queue", + "cumulus-ping", + "cumulus-primitives-aura", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", + "cumulus-primitives-storage-weight-reclaim", + "cumulus-primitives-timestamp", + "cumulus-primitives-utility", + "cumulus-relay-chain-interface", + "cumulus-test-relay-sproof-builder", + "frame-benchmarking", + "frame-benchmarking-cli", + "frame-benchmarking-pallet-pov", + "frame-election-provider-support", + "frame-executive", + "frame-metadata-hash-extension", + "frame-support", + "frame-support-procedural", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", + "pallet-alliance", + "pallet-asset-conversion", + "pallet-asset-conversion-ops", + "pallet-asset-conversion-tx-payment", + "pallet-asset-rate", + "pallet-asset-tx-payment", + "pallet-assets", + "pallet-assets-freezer", + "pallet-atomic-swap", + "pallet-aura", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-bags-list", + "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", + "pallet-bounties", + "pallet-bridge-grandpa", + "pallet-bridge-messages", + "pallet-bridge-parachains", + "pallet-bridge-relayers", + "pallet-broker", + "pallet-child-bounties", + "pallet-collator-selection", + "pallet-collective", + "pallet-collective-content", + "pallet-contracts", + "pallet-contracts-mock-network", + "pallet-conviction-voting", + "pallet-core-fellowship", + "pallet-delegated-staking", + "pallet-democracy", + "pallet-dev-mode", + "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", + "pallet-elections-phragmen", + "pallet-fast-unstake", + "pallet-glutton", + "pallet-grandpa", + "pallet-identity", + "pallet-im-online", + "pallet-indices", + "pallet-insecure-randomness-collective-flip", + "pallet-lottery", + "pallet-membership", + "pallet-message-queue", + "pallet-migrations", + "pallet-mixnet", + "pallet-mmr", + "pallet-multisig", + "pallet-nft-fractionalization", + "pallet-nfts", + "pallet-nfts-runtime-api", + "pallet-nis", + "pallet-node-authorization", + "pallet-nomination-pools", + "pallet-nomination-pools-benchmarking", + "pallet-nomination-pools-runtime-api", + "pallet-offences", + "pallet-offences-benchmarking", + "pallet-paged-list", + "pallet-parameters", + "pallet-preimage", + "pallet-proxy", + "pallet-ranked-collective", + "pallet-recovery", + "pallet-referenda", + "pallet-remark", + "pallet-revive", + "pallet-revive-fixtures", + "pallet-revive-mock-network", + "pallet-root-offences", + "pallet-root-testing", + "pallet-safe-mode", + "pallet-salary", + "pallet-scheduler", + "pallet-scored-pool", + "pallet-session", + "pallet-session-benchmarking", + "pallet-skip-feeless-payment", + "pallet-society", + "pallet-staking", + "pallet-staking-reward-fn", + "pallet-staking-runtime-api", + "pallet-state-trie-migration", + "pallet-statement", + "pallet-sudo", + "pallet-timestamp", + "pallet-tips", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-transaction-storage", + "pallet-treasury", + "pallet-tx-pause", + "pallet-uniques", + "pallet-utility", + "pallet-vesting", + "pallet-whitelist", + "pallet-xcm", + "pallet-xcm-benchmarks", + "pallet-xcm-bridge-hub", + "pallet-xcm-bridge-hub-router", + "parachains-common", + "parachains-runtimes-test-utils", + "polkadot-cli", + "polkadot-core-primitives", + "polkadot-node-metrics", + "polkadot-parachain-lib", + "polkadot-parachain-primitives", "polkadot-primitives", + "polkadot-runtime-common", + "polkadot-runtime-metrics", "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", + "polkadot-sdk-frame", + "polkadot-service", + "sc-client-api", + "sc-client-db", + "sc-executor", + "sc-rpc", + "sc-service", "slot-range-helper", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-outbound-queue-merkle-tree", + "snowbridge-outbound-queue-runtime-api", + "snowbridge-pallet-ethereum-client", + "snowbridge-pallet-ethereum-client-fixtures", + "snowbridge-pallet-inbound-queue", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-pallet-outbound-queue", + "snowbridge-pallet-system", + "snowbridge-router-primitives", + "snowbridge-runtime-common", + "snowbridge-runtime-test-common", + "snowbridge-system-runtime-api", "sp-api", + "sp-api-proc-macro", + "sp-application-crypto", + "sp-arithmetic", + "sp-authority-discovery", + "sp-block-builder", + "sp-blockchain", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-consensus-pow", + "sp-consensus-slots", "sp-core", + "sp-core-hashing", + "sp-crypto-ec-utils", + "sp-crypto-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-genesis-builder", "sp-inherents", "sp-io", + "sp-keyring", + "sp-keystore", + "sp-metadata-ir", + "sp-mixnet", + "sp-mmr-primitives", "sp-npos-elections", + "sp-offchain", "sp-runtime", + "sp-runtime-interface", "sp-session", "sp-staking", + "sp-state-machine", + "sp-statement-store", + "sp-std", + "sp-storage", + "sp-timestamp", + "sp-tracing", + "sp-transaction-pool", + "sp-transaction-storage-proof", + "sp-trie", + "sp-version", + "sp-wasm-interface", + "sp-weights", + "staging-node-inspect", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", - "static_assertions", -] - -[[package]] -name = "polkadot-runtime-metrics" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" -dependencies = [ - "bs58 0.5.1", - "frame-benchmarking", - "parity-scale-codec", - "polkadot-primitives", - "sp-tracing", + "substrate-bip39", + "testnet-parachains-constants", + "xcm-runtime-apis", ] [[package]] -name = "polkadot-runtime-parachains" -version = "17.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +name = "polkadot-sdk-frame" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ - "bitflags 1.3.2", - "bitvec", - "derive_more 0.99.20", + "docify", "frame-benchmarking", + "frame-executive", "frame-support", "frame-system", - "impl-trait-for-tuples", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime", "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-balances", - "pallet-broker", - "pallet-message-queue", - "pallet-mmr", - "pallet-session", - "pallet-staking", - "pallet-timestamp", - "pallet-vesting", "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "polkadot-primitives", - "polkadot-runtime-metrics", - "rand", - "rand_chacha", "scale-info", - "serde", "sp-api", - "sp-application-crypto", "sp-arithmetic", + "sp-block-builder", + "sp-consensus-aura", + "sp-consensus-grandpa", "sp-core", "sp-inherents", "sp-io", - "sp-keystore", + "sp-offchain", "sp-runtime", "sp-session", - "sp-staking", - "sp-std", - "staging-xcm", - "staging-xcm-executor", - "static_assertions", + "sp-storage", + "sp-transaction-pool", + "sp-version", ] [[package]] name = "polkadot-service" -version = "19.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "19.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "frame-benchmarking", @@ -10467,7 +12254,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -10490,7 +12277,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10506,9 +12293,22 @@ checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" dependencies = [ "libc", "log", - "polkavm-assembler", - "polkavm-common", - "polkavm-linux-raw", + "polkavm-assembler 0.9.0", + "polkavm-common 0.9.0", + "polkavm-linux-raw 0.9.0", +] + +[[package]] +name = "polkavm" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ec0c5935f2eff23cfc4653002f4f8d12b37f87a720e0631282d188c32089d6" +dependencies = [ + "libc", + "log", + "polkavm-assembler 0.10.0", + "polkavm-common 0.10.0", + "polkavm-linux-raw 0.10.0", ] [[package]] @@ -10520,6 +12320,15 @@ dependencies = [ "log", ] +[[package]] +name = "polkavm-assembler" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8e4fd5a43100bf1afe9727b8130d01f966f5cfc9144d5604b21e795c2bcd80e" +dependencies = [ + "log", +] + [[package]] name = "polkavm-common" version = "0.9.0" @@ -10529,13 +12338,32 @@ dependencies = [ "log", ] +[[package]] +name = "polkavm-common" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0097b48bc0bedf9f3f537ce8f37e8f1202d8d83f9b621bdb21ff2c59b9097c50" +dependencies = [ + "log", + "polkavm-assembler 0.10.0", +] + [[package]] name = "polkavm-derive" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" dependencies = [ - "polkavm-derive-impl-macro", + "polkavm-derive-impl-macro 0.9.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dcc701385c08c31bdb0569f0c51a290c580d892fa77f1dd88a7352a62679ecf" +dependencies = [ + "polkavm-derive-impl-macro 0.10.0", ] [[package]] @@ -10544,7 +12372,19 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" dependencies = [ - "polkavm-common", + "polkavm-common 0.9.0", + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7855353a5a783dd5d09e3b915474bddf66575f5a3cf45dec8d1c5e051ba320dc" +dependencies = [ + "polkavm-common 0.10.0", "proc-macro2", "quote", "syn 2.0.101", @@ -10556,7 +12396,17 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ - "polkavm-derive-impl", + "polkavm-derive-impl 0.9.0", + "syn 2.0.101", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9324fe036de37c17829af233b46ef6b5562d4a0c09bb7fdb9f8378856dee30cf" +dependencies = [ + "polkavm-derive-impl 0.10.0", "syn 2.0.101", ] @@ -10570,7 +12420,22 @@ dependencies = [ "hashbrown 0.14.5", "log", "object 0.32.2", - "polkavm-common", + "polkavm-common 0.9.0", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linker" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d704edfe7bdcc876784f19436d53d515b65eb07bc9a0fae77085d552c2dbbb5" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.5", + "log", + "object 0.36.7", + "polkavm-common 0.10.0", "regalloc2 0.9.3", "rustc-demangle", ] @@ -10581,6 +12446,12 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" +[[package]] +name = "polkavm-linux-raw" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e45fa59c7e1bb12ef5289080601e9ec9b31435f6e32800a5c90c132453d126" + [[package]] name = "polling" version = "2.8.0" @@ -10858,6 +12729,26 @@ dependencies = [ "syn 2.0.101", ] +[[package]] +name = "proptest" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14cae93065090804185d3b75f0bf93b8eeda30c7a9b4a33d3bdb3988d6229e50" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags 2.9.0", + "lazy_static", + "num-traits", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_xorshift", + "regex-syntax 0.8.5", + "rusty-fork", + "tempfile", + "unarray", +] + [[package]] name = "prost" version = "0.11.9" @@ -10907,8 +12798,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes", - "heck 0.4.1", - "itertools 0.11.0", + "heck 0.5.0", + "itertools 0.12.1", "log", "multimap", "once_cell", @@ -11010,6 +12901,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + [[package]] name = "quick-protobuf" version = "0.8.1" @@ -11075,7 +12972,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", - "rand", + "rand 0.8.5", "ring 0.16.20", "rustc-hash 1.1.0", "rustls 0.20.9", @@ -11093,7 +12990,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" dependencies = [ "bytes", - "rand", + "rand 0.8.5", "ring 0.16.20", "rustc-hash 1.1.0", "rustls 0.21.12", @@ -11157,8 +13054,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", ] [[package]] @@ -11168,7 +13075,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", ] [[package]] @@ -11177,7 +13094,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.2", ] [[package]] @@ -11187,7 +13113,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", ] [[package]] @@ -11196,7 +13122,16 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_xorshift" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +dependencies = [ + "rand_core 0.6.4", ] [[package]] @@ -11447,7 +13382,7 @@ dependencies = [ [[package]] name = "rococo-emulated-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "emulated-integration-tests-common", "parachains-common", @@ -11464,7 +13399,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "18.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "binary-merkle-tree", "bitvec", @@ -11564,7 +13499,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "polkadot-primitives", @@ -11622,6 +13557,39 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "ruint" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78a46eb779843b2c4f21fac5773e25d6d5b7c8f0922876c91541790d2ca27eef" +dependencies = [ + "alloy-rlp", + "ark-ff 0.3.0", + "ark-ff 0.4.2", + "bytes", + "fastrlp 0.3.1", + "fastrlp 0.4.0", + "num-bigint", + "num-integer", + "num-traits", + "parity-scale-codec", + "primitive-types", + "proptest", + "rand 0.8.5", + "rand 0.9.1", + "rlp", + "ruint-macro", + "serde", + "valuable", + "zeroize", +] + +[[package]] +name = "ruint-macro" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" + [[package]] name = "runtime-common" version = "1.16.0-dev" @@ -11701,6 +13669,24 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" +[[package]] +name = "rustc_version" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +dependencies = [ + "semver 0.9.0", +] + +[[package]] +name = "rustc_version" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" +dependencies = [ + "semver 0.11.0", +] + [[package]] name = "rustc_version" version = "0.4.1" @@ -11757,7 +13743,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.4.15", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -11770,7 +13756,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.9.4", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -11868,7 +13854,7 @@ dependencies = [ "security-framework 3.2.0", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -11904,6 +13890,18 @@ version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" +[[package]] +name = "rusty-fork" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] + [[package]] name = "ruzstd" version = "0.4.0" @@ -11932,6 +13930,15 @@ version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +[[package]] +name = "safe-mix" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" +dependencies = [ + "rustc_version 0.2.3", +] + [[package]] name = "safe_arch" version = "0.7.4" @@ -11953,7 +13960,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "log", "sp-core", @@ -11964,7 +13971,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -11977,7 +13984,7 @@ dependencies = [ "parity-scale-codec", "prost 0.12.6", "prost-build 0.12.6", - "rand", + "rand 0.8.5", "sc-client-api", "sc-network", "sc-network-types", @@ -11994,7 +14001,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "futures-timer", @@ -12016,7 +14023,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.42.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "sp-api", @@ -12031,7 +14038,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "docify", @@ -12058,7 +14065,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -12069,7 +14076,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "chrono", @@ -12082,7 +14089,7 @@ dependencies = [ "names", "parity-bip39", "parity-scale-codec", - "rand", + "rand 0.8.5", "regex", "rpassword", "sc-client-api", @@ -12110,7 +14117,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "fnv", "futures", @@ -12137,7 +14144,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.44.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "hash-db", "kvdb", @@ -12163,7 +14170,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -12187,7 +14194,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -12216,7 +14223,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "fork-tree", @@ -12252,7 +14259,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "jsonrpsee", @@ -12274,7 +14281,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12310,7 +14317,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "jsonrpsee", @@ -12330,7 +14337,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "fork-tree", "parity-scale-codec", @@ -12343,7 +14350,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "ahash 0.8.11", "array-bytes", @@ -12356,7 +14363,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -12387,7 +14394,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "finality-grandpa", "futures", @@ -12407,7 +14414,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -12430,7 +14437,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.40.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -12453,9 +14460,9 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ - "polkavm", + "polkavm 0.9.3", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -12466,10 +14473,10 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "log", - "polkavm", + "polkavm 0.9.3", "sc-executor-common", "sp-wasm-interface", ] @@ -12477,7 +14484,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "anyhow", "cfg-if", @@ -12495,7 +14502,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "console", "futures", @@ -12512,7 +14519,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "33.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -12526,7 +14533,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -12555,7 +14562,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.45.6" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12580,7 +14587,7 @@ dependencies = [ "pin-project", "prost 0.12.6", "prost-build 0.12.6", - "rand", + "rand 0.8.5", "sc-client-api", "sc-network-common", "sc-network-types", @@ -12606,7 +14613,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12624,7 +14631,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "ahash 0.8.11", "futures", @@ -12643,7 +14650,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.44.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12664,7 +14671,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.44.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12701,7 +14708,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.44.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "futures", @@ -12720,7 +14727,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.12.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bs58 0.5.1", "ed25519-dalek", @@ -12729,7 +14736,7 @@ dependencies = [ "log", "multiaddr 0.18.2", "multihash 0.19.3", - "rand", + "rand 0.8.5", "thiserror 1.0.69", "zeroize", ] @@ -12737,7 +14744,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "bytes", @@ -12751,7 +14758,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "sc-client-api", "sc-network", "sc-network-common", @@ -12771,7 +14778,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12780,7 +14787,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "jsonrpsee", @@ -12812,7 +14819,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12832,7 +14839,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "17.1.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -12856,7 +14863,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "futures", @@ -12866,7 +14873,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "sc-chain-spec", "sc-client-api", "sc-rpc", @@ -12888,7 +14895,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "directories", @@ -12900,7 +14907,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -12952,7 +14959,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "log", "parity-scale-codec", @@ -12963,7 +14970,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "clap", "fs4", @@ -12976,7 +14983,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12995,13 +15002,13 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "derive_more 0.99.20", "futures", "libc", "log", - "rand", + "rand 0.8.5", "rand_pcg", "regex", "sc-telemetry", @@ -13016,7 +15023,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "chrono", "futures", @@ -13024,7 +15031,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "sc-network", "sc-utils", "serde", @@ -13036,7 +15043,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "37.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "chrono", "console", @@ -13065,7 +15072,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -13076,7 +15083,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -13103,7 +15110,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -13119,7 +15126,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-channel 1.9.0", "futures", @@ -13216,7 +15223,7 @@ dependencies = [ "arrayvec 0.7.6", "curve25519-dalek-ng", "merlin", - "rand_core", + "rand_core 0.6.4", "sha2 0.9.9", "subtle-ng", "zeroize", @@ -13234,7 +15241,7 @@ dependencies = [ "curve25519-dalek", "getrandom_or_panic", "merlin", - "rand_core", + "rand_core 0.6.4", "serde_bytes", "sha2 0.10.8", "subtle 2.6.1", @@ -13273,7 +15280,7 @@ dependencies = [ "crc", "fxhash", "log", - "rand", + "rand 0.8.5", "slab", "thiserror 1.0.69", ] @@ -13371,7 +15378,25 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" dependencies = [ - "semver-parser", + "semver-parser 0.7.0", +] + +[[package]] +name = "semver" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" +dependencies = [ + "semver-parser 0.7.0", +] + +[[package]] +name = "semver" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" +dependencies = [ + "semver-parser 0.10.3", ] [[package]] @@ -13389,6 +15414,15 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +[[package]] +name = "semver-parser" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9900206b54a3527fdc7b8a938bffd94a568bac4f4aa8113b209df75a09c0dec2" +dependencies = [ + "pest", +] + [[package]] name = "send_wrapper" version = "0.6.0" @@ -13413,6 +15447,16 @@ dependencies = [ "serde", ] +[[package]] +name = "serde-hex-utils" +version = "0.1.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "anyhow", + "hex", + "serde", +] + [[package]] name = "serde_bytes" version = "0.11.17" @@ -13543,6 +15587,16 @@ dependencies = [ "keccak", ] +[[package]] +name = "sha3-asm" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28efc5e327c837aa837c59eae585fc250715ef939ac32881bcc11677cd02d46" +dependencies = [ + "cc", + "cfg-if", +] + [[package]] name = "sharded-slab" version = "0.1.7" @@ -13574,7 +15628,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest 0.10.7", - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -13629,7 +15683,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "enumn", "parity-scale-codec", @@ -13705,8 +15759,8 @@ dependencies = [ "pbkdf2", "pin-project", "poly1305", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "ruzstd", "schnorrkel 0.10.2", "serde", @@ -13718,7 +15772,7 @@ dependencies = [ "smallvec", "soketto 0.7.1", "twox-hash", - "wasmi", + "wasmi 0.31.2", "x25519-dalek", "zeroize", ] @@ -13748,8 +15802,8 @@ dependencies = [ "no-std-net", "parking_lot 0.12.3", "pin-project", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "serde", "serde_json", "siphasher", @@ -13775,9 +15829,9 @@ dependencies = [ "blake2 0.10.6", "chacha20poly1305", "curve25519-dalek", - "rand_core", + "rand_core 0.6.4", "ring 0.17.14", - "rustc_version", + "rustc_version 0.4.1", "sha2 0.10.8", "subtle 2.6.1", ] @@ -13793,104 +15847,306 @@ dependencies = [ ] [[package]] -name = "snowbridge-beacon-primitives" +name = "snowbridge-beacon-primitives" +version = "0.10.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "byte-slice-cast", + "frame-support", + "hex", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "snowbridge-ethereum", + "snowbridge-milagro-bls", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "ssz_rs", + "ssz_rs_derive", +] + +[[package]] +name = "snowbridge-core" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "ethabi-decode", + "frame-support", + "frame-system", + "hex-literal 0.4.1", + "parity-scale-codec", + "polkadot-parachain-primitives", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-builder", +] + +[[package]] +name = "snowbridge-ethereum" +version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "ethabi-decode", + "ethbloom", + "ethereum-types", + "hex-literal 0.4.1", + "parity-bytes", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "serde-big-array", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "snowbridge-milagro-bls" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "026aa8638f690a53e3f7676024b9e913b1cab0111d1b7b92669d40a188f9d7e6" +dependencies = [ + "hex", + "lazy_static", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "snowbridge-amcl", + "zeroize", +] + +[[package]] +name = "snowbridge-outbound-queue-merkle-tree" +version = "0.9.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "snowbridge-outbound-queue-runtime-api" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "parity-scale-codec", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", + "sp-api", + "sp-std", +] + +[[package]] +name = "snowbridge-pallet-ethereum-client" +version = "0.10.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal 0.4.1", + "log", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-pallet-ethereum-client-fixtures", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "static_assertions", +] + +[[package]] +name = "snowbridge-pallet-ethereum-client-fixtures" +version = "0.18.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "hex-literal 0.4.1", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core", + "sp-std", +] + +[[package]] +name = "snowbridge-pallet-inbound-queue" +version = "0.10.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "alloy-primitives 0.4.2", + "alloy-sol-types 0.4.2", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal 0.4.1", + "log", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "snowbridge-beacon-primitives", + "snowbridge-core", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-router-primitives", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-executor", +] + +[[package]] +name = "snowbridge-pallet-inbound-queue-fixtures" +version = "0.18.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "hex-literal 0.4.1", + "snowbridge-beacon-primitives", + "snowbridge-core", + "sp-core", + "sp-std", +] + +[[package]] +name = "snowbridge-pallet-outbound-queue" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ - "byte-slice-cast", + "bridge-hub-common", + "ethabi-decode", + "frame-benchmarking", "frame-support", - "hex", + "frame-system", "parity-scale-codec", - "rlp", "scale-info", "serde", - "snowbridge-ethereum", - "snowbridge-milagro-bls", + "snowbridge-core", + "snowbridge-outbound-queue-merkle-tree", + "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", "sp-std", - "ssz_rs", - "ssz_rs_derive", ] [[package]] -name = "snowbridge-core" +name = "snowbridge-pallet-system" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ - "ethabi-decode", + "frame-benchmarking", "frame-support", "frame-system", - "hex-literal 0.4.1", + "log", "parity-scale-codec", - "polkadot-parachain-primitives", "scale-info", - "serde", - "snowbridge-beacon-primitives", - "sp-arithmetic", + "snowbridge-core", "sp-core", "sp-io", "sp-runtime", "sp-std", "staging-xcm", - "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] -name = "snowbridge-ethereum" -version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +name = "snowbridge-router-primitives" +version = "0.16.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ - "ethabi-decode", - "ethbloom", - "ethereum-types", + "frame-support", "hex-literal 0.4.1", - "parity-bytes", + "log", "parity-scale-codec", - "rlp", "scale-info", - "serde", - "serde-big-array", + "snowbridge-core", + "sp-core", "sp-io", "sp-runtime", "sp-std", + "staging-xcm", + "staging-xcm-executor", ] [[package]] -name = "snowbridge-milagro-bls" -version = "1.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "026aa8638f690a53e3f7676024b9e913b1cab0111d1b7b92669d40a188f9d7e6" +name = "snowbridge-runtime-common" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ - "hex", - "lazy_static", + "frame-support", + "log", "parity-scale-codec", - "rand", - "scale-info", - "snowbridge-amcl", - "zeroize", + "snowbridge-core", + "sp-arithmetic", + "sp-std", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] -name = "snowbridge-router-primitives" -version = "0.16.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +name = "snowbridge-runtime-test-common" +version = "0.12.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ + "cumulus-pallet-parachain-system", "frame-support", - "hex-literal 0.4.1", - "log", + "frame-system", + "pallet-balances", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-session", + "pallet-timestamp", + "pallet-utility", + "pallet-xcm", + "parachains-runtimes-test-utils", "parity-scale-codec", - "scale-info", "snowbridge-core", + "snowbridge-pallet-ethereum-client", + "snowbridge-pallet-ethereum-client-fixtures", + "snowbridge-pallet-outbound-queue", + "snowbridge-pallet-system", "sp-core", "sp-io", + "sp-keyring", "sp-runtime", - "sp-std", + "staging-parachain-info", "staging-xcm", "staging-xcm-executor", ] +[[package]] +name = "snowbridge-system-runtime-api" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "parity-scale-codec", + "snowbridge-core", + "sp-api", + "sp-std", + "staging-xcm", +] + [[package]] name = "socket2" version = "0.4.10" @@ -13922,7 +16178,7 @@ dependencies = [ "futures", "httparse", "log", - "rand", + "rand 0.8.5", "sha-1 0.9.8", ] @@ -13938,14 +16194,14 @@ dependencies = [ "http 1.3.1", "httparse", "log", - "rand", + "rand 0.8.5", "sha1", ] [[package]] name = "sp-api" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "hash-db", @@ -13967,7 +16223,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "Inflector", "blake2 0.10.6", @@ -13981,7 +16237,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -13993,7 +16249,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "integer-sqrt", @@ -14007,7 +16263,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -14019,7 +16275,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "sp-api", "sp-inherents", @@ -14029,7 +16285,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "37.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "futures", "parity-scale-codec", @@ -14048,7 +16304,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "futures", @@ -14063,7 +16319,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "parity-scale-codec", @@ -14079,7 +16335,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "parity-scale-codec", @@ -14097,7 +16353,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "22.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "lazy_static", "parity-scale-codec", @@ -14118,7 +16374,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "finality-grandpa", "log", @@ -14132,10 +16388,21 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "sp-consensus-pow" +version = "0.40.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "parity-scale-codec", + "sp-api", + "sp-core", + "sp-runtime", +] + [[package]] name = "sp-consensus-slots" version = "0.40.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -14146,7 +16413,7 @@ dependencies = [ [[package]] name = "sp-core" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -14169,7 +16436,7 @@ dependencies = [ "parking_lot 0.12.3", "paste", "primitive-types", - "rand", + "rand 0.8.5", "scale-info", "schnorrkel 0.11.4", "secp256k1", @@ -14189,10 +16456,38 @@ dependencies = [ "zeroize", ] +[[package]] +name = "sp-core-hashing" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "sp-crypto-hashing", +] + +[[package]] +name = "sp-crypto-ec-utils" +version = "0.14.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "ark-bls12-377", + "ark-bls12-377-ext", + "ark-bls12-381", + "ark-bls12-381-ext", + "ark-bw6-761", + "ark-bw6-761-ext", + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ed-on-bls12-377-ext", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ed-on-bls12-381-bandersnatch-ext", + "ark-scale", + "sp-runtime-interface", +] + [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "blake2b_simd", "byteorder", @@ -14205,7 +16500,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "quote", "sp-crypto-hashing", @@ -14215,7 +16510,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -14224,7 +16519,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "proc-macro2", "quote", @@ -14234,7 +16529,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "environmental", "parity-scale-codec", @@ -14244,7 +16539,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.15.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -14256,7 +16551,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -14268,8 +16563,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "38.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bytes", "docify", @@ -14277,7 +16572,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.9.1", "rustversion", "secp256k1", "sp-core", @@ -14295,7 +16590,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "sp-core", "sp-runtime", @@ -14305,7 +16600,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.40.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -14316,7 +16611,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -14325,7 +16620,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -14335,7 +16630,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.12.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -14346,7 +16641,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "34.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "log", "parity-scale-codec", @@ -14363,7 +16658,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -14376,7 +16671,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "sp-api", "sp-core", @@ -14386,7 +16681,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "backtrace", "lazy_static", @@ -14396,7 +16691,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -14406,7 +16701,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "39.0.5" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "either", @@ -14416,7 +16711,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "paste", - "rand", + "rand 0.8.5", "scale-info", "serde", "simple-mermaid", @@ -14432,12 +16727,12 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.9.1", "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -14451,7 +16746,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "Inflector", "expander", @@ -14464,7 +16759,7 @@ dependencies = [ [[package]] name = "sp-session" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "scale-info", @@ -14478,7 +16773,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -14491,13 +16786,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "hash-db", "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "smallvec", "sp-core", "sp-externalities", @@ -14511,14 +16806,14 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "aes-gcm", "curve25519-dalek", "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sha2 0.10.8", "sp-api", @@ -14535,12 +16830,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" [[package]] name = "sp-storage" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14552,7 +16847,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "parity-scale-codec", @@ -14564,7 +16859,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "tracing", @@ -14575,7 +16870,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "sp-api", "sp-runtime", @@ -14584,7 +16879,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "async-trait", "parity-scale-codec", @@ -14598,7 +16893,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "ahash 0.8.11", "hash-db", @@ -14607,7 +16902,7 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", "schnellru", "sp-core", @@ -14621,7 +16916,7 @@ dependencies = [ [[package]] name = "sp-version" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14638,7 +16933,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -14649,7 +16944,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -14661,7 +16956,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -14697,6 +16992,7 @@ dependencies = [ name = "spiritnet-runtime" version = "1.16.0-dev" dependencies = [ + "anyhow", "attestation", "cfg-if", "ctype", @@ -14721,6 +17017,9 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.3.4", + "ismp", + "ismp-parachain", + "ismp-parachain-runtime-api", "kilt-runtime-api-did", "kilt-runtime-api-dip-provider", "kilt-runtime-api-public-credentials", @@ -14733,13 +17032,18 @@ dependencies = [ "pallet-aura", "pallet-authorship", "pallet-balances", + "pallet-bonded-coins", + "pallet-bonded-coins-runtime-api", "pallet-collective", "pallet-democracy", "pallet-deposit-storage", "pallet-did-lookup", "pallet-dip-provider", + "pallet-hyperbridge", "pallet-indices", "pallet-inflation", + "pallet-ismp", + "pallet-ismp-runtime-api", "pallet-membership", "pallet-message-queue", "pallet-migration", @@ -14750,6 +17054,7 @@ dependencies = [ "pallet-session", "pallet-timestamp", "pallet-tips", + "pallet-token-gateway", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", @@ -14842,10 +17147,28 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "staging-node-inspect" +version = "0.23.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "clap", + "parity-scale-codec", + "sc-cli", + "sc-client-api", + "sc-service", + "sp-blockchain", + "sp-core", + "sp-io", + "sp-runtime", + "sp-statement-store", + "thiserror 1.0.69", +] + [[package]] name = "staging-parachain-info" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -14857,8 +17180,8 @@ dependencies = [ [[package]] name = "staging-xcm" -version = "14.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "14.2.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "bounded-collections", @@ -14876,8 +17199,8 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "17.0.4" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "17.0.5" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "frame-system", @@ -14898,8 +17221,8 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "17.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "environmental", "frame-benchmarking", @@ -15016,6 +17339,17 @@ dependencies = [ "tracing", ] +[[package]] +name = "string-interner" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" +dependencies = [ + "cfg-if", + "hashbrown 0.14.5", + "serde", +] + [[package]] name = "strsim" version = "0.11.1" @@ -15066,7 +17400,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -15078,7 +17412,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" [[package]] name = "substrate-fixed" @@ -15095,7 +17429,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -15115,7 +17449,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -15126,10 +17460,25 @@ dependencies = [ "tokio", ] +[[package]] +name = "substrate-state-machine" +version = "16.0.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "hash-db", + "ismp", + "pallet-ismp", + "parity-scale-codec", + "polkadot-sdk", + "primitive-types", + "scale-info", + "serde", +] + [[package]] name = "substrate-state-trie-migration-rpc" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15155,8 +17504,8 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "24.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "24.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "build-helper", @@ -15168,7 +17517,7 @@ dependencies = [ "merkleized-metadata", "parity-scale-codec", "parity-wasm", - "polkavm-linker", + "polkavm-linker 0.9.2", "sc-executor", "sp-core", "sp-io", @@ -15222,6 +17571,30 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn-solidity" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b837ef12ab88835251726eb12237655e61ec8dc8a280085d1961cdc3dfd047" +dependencies = [ + "paste", + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "syn-solidity" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c837dc8852cb7074e46b444afb81783140dab12c58867b49fb3898fbafedf7ea" +dependencies = [ + "paste", + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "synstructure" version = "0.12.6" @@ -15288,7 +17661,7 @@ dependencies = [ "getrandom 0.3.2", "once_cell", "rustix 1.0.5", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -15341,7 +17714,7 @@ dependencies = [ [[package]] name = "testnet-parachains-constants" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -15537,6 +17910,24 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +[[package]] +name = "token-gateway-primitives" +version = "16.0.0" +source = "git+https://github.com/polytope-labs/hyperbridge?branch=polkadot-stable2409#c7237a7388c210a60177ce74fc512e814d331da0" +dependencies = [ + "alloy-primitives 0.7.7", + "alloy-sol-macro 0.7.7", + "alloy-sol-types 0.7.7", + "anyhow", + "ismp", + "log", + "pallet-ismp", + "parity-scale-codec", + "polkadot-sdk", + "primitive-types", + "scale-info", +] + [[package]] name = "tokio" version = "1.44.2" @@ -15766,7 +18157,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "coarsetime", "polkadot-primitives", @@ -15777,7 +18168,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "expander", "proc-macro-crate 3.3.0", @@ -15854,7 +18245,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand", + "rand 0.8.5", "smallvec", "socket2 0.4.10", "thiserror 1.0.69", @@ -15880,7 +18271,7 @@ dependencies = [ "idna 0.4.0", "ipnet", "once_cell", - "rand", + "rand 0.8.5", "smallvec", "thiserror 1.0.69", "tinyvec", @@ -15901,7 +18292,7 @@ dependencies = [ "lru-cache", "once_cell", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "resolv-conf", "smallvec", "thiserror 1.0.69", @@ -15934,7 +18325,7 @@ dependencies = [ "http 0.2.12", "httparse", "log", - "rand", + "rand 0.8.5", "rustls 0.21.12", "sha1", "thiserror 1.0.69", @@ -15942,6 +18333,12 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tuplex" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "676ac81d5454c4dcf37955d34fa8626ede3490f744b86ca14a7b90168d2a08aa" + [[package]] name = "twox-hash" version = "1.6.3" @@ -15950,7 +18347,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand", + "rand 0.8.5", "static_assertions", ] @@ -15978,6 +18375,12 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + [[package]] name = "unicode-bidi" version = "0.3.18" @@ -16129,19 +18532,28 @@ dependencies = [ "ark-bls12-377", "ark-bls12-381", "ark-ec", - "ark-ff", - "ark-serialize", + "ark-ff 0.4.2", + "ark-serialize 0.4.2", "ark-serialize-derive", "arrayref", "digest 0.10.7", - "rand", - "rand_chacha", - "rand_core", + "rand 0.8.5", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "sha2 0.10.8", "sha3", "zeroize", ] +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + [[package]] name = "waker-fn" version = "1.2.0" @@ -16335,7 +18747,24 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_arena", - "wasmi_core", + "wasmi_core 0.13.0", + "wasmparser-nostd", +] + +[[package]] +name = "wasmi" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca" +dependencies = [ + "arrayvec 0.7.6", + "multi-stash", + "num-derive", + "num-traits", + "smallvec", + "spin 0.9.8", + "wasmi_collections", + "wasmi_core 0.32.3", "wasmparser-nostd", ] @@ -16345,6 +18774,17 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +[[package]] +name = "wasmi_collections" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" +dependencies = [ + "ahash 0.8.11", + "hashbrown 0.14.5", + "string-interner", +] + [[package]] name = "wasmi_core" version = "0.13.0" @@ -16357,6 +18797,18 @@ dependencies = [ "paste", ] +[[package]] +name = "wasmi_core" +version = "0.32.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41" +dependencies = [ + "downcast-rs", + "libm", + "num-traits", + "paste", +] + [[package]] name = "wasmparser" version = "0.102.0" @@ -16551,7 +19003,7 @@ dependencies = [ "memfd", "memoffset", "paste", - "rand", + "rand 0.8.5", "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", @@ -16609,7 +19061,7 @@ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "westend-runtime" version = "18.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16717,7 +19169,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "polkadot-primitives", @@ -16780,7 +19232,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -17162,7 +19614,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ "curve25519-dalek", - "rand_core", + "rand_core 0.6.4", "serde", "zeroize", ] @@ -17204,7 +19656,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "array-bytes", "cumulus-pallet-parachain-system", @@ -17281,7 +19733,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "10.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "Inflector", "proc-macro2", @@ -17291,8 +19743,8 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" -version = "0.4.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2409-5#ac431bce9d42edd0b04530f7dada02c37c0aa1de" +version = "0.4.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" dependencies = [ "frame-support", "parity-scale-codec", @@ -17303,6 +19755,28 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "xcm-simulator" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2409#be2d857aeff5cdb6c9cb0987f9880df223a528db" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "paste", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-parachains", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", +] + [[package]] name = "xml-rs" version = "0.8.26" @@ -17329,7 +19803,7 @@ dependencies = [ "nohash-hasher", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "static_assertions", ] diff --git a/Cargo.toml b/Cargo.toml index ec4e01551..b5a575d1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,9 +25,10 @@ version = "1.16.0-dev" [workspace.dependencies] # Build deps -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } # External (without extra features and with default disabled if necessary) +anyhow = { version = "1.0", default-features = false } base58 = { version = "0.2.0", default-features = false } bitflags = { version = "1.3.2", default-features = false } cfg-if = { version = "1.0" } @@ -98,152 +99,163 @@ peregrine-runtime = { path = "runtimes/peregrine", default-features = false } spiritnet-runtime = { path = "runtimes/spiritnet", default-features = false } # Benchmarking (with default disabled) -cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } +cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } # Cumulus (with default disabled) -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } # XCM Emulator tests -asset-hub-kusama-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -asset-hub-polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -asset-hub-rococo-emulated-chain = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -asset-hub-rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -asset-hub-westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -bridge-hub-kusama-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -bridge-hub-polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -bridge-hub-rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -collectives-polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -emulated-integration-tests-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -penpal-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -rococo-emulated-chain = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } +asset-hub-kusama-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +asset-hub-polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +asset-hub-rococo-emulated-chain = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +asset-hub-rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +asset-hub-westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +bridge-hub-kusama-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +bridge-hub-polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +bridge-hub-rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +collectives-polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +emulated-integration-tests-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +penpal-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +rococo-emulated-chain = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } # Substrate (with default disabled) -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-indices = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -pallet-vesting = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-metadata-ir = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-indices = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +pallet-vesting = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-metadata-ir = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } # Polkadot (with default disabled) -pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } -xcm-simulator = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-stable2409-5" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } +xcm-simulator = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "stable2409" } # Client-only (with default enabled) -cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2409-5" } +cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } + +# ISMP +ismp = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } +ismp-parachain = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } +ismp-parachain-inherent = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } +ismp-parachain-runtime-api = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } +pallet-hyperbridge = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } +pallet-ismp = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } +pallet-ismp-rpc = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409" } +pallet-ismp-runtime-api = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } +pallet-token-gateway = { git = "https://github.com/polytope-labs/hyperbridge", branch = "polkadot-stable2409", default-features = false } [profile] diff --git a/integration-tests/emulated/src/tests/peregrine/unpaid_execution.rs b/integration-tests/emulated/src/tests/peregrine/unpaid_execution.rs index a1c723e74..dd48016b0 100644 --- a/integration-tests/emulated/src/tests/peregrine/unpaid_execution.rs +++ b/integration-tests/emulated/src/tests/peregrine/unpaid_execution.rs @@ -79,7 +79,7 @@ fn test_unpaid_execution_from_asset_hub_to_peregrine() { assert_expected_events!( Peregrine, vec![ - PeregrineRuntimeEvent::MessageQueue(pallet_message_queue::Event::ProcessingFailed { .. }) => {}, + PeregrineRuntimeEvent::MessageQueue(pallet_message_queue::Event::Processed { success: false, .. }) => {}, ] ); }); diff --git a/integration-tests/emulated/src/tests/spiritnet/unpaid_execution.rs b/integration-tests/emulated/src/tests/spiritnet/unpaid_execution.rs index 2f5e8fd2d..e1e0bad5f 100644 --- a/integration-tests/emulated/src/tests/spiritnet/unpaid_execution.rs +++ b/integration-tests/emulated/src/tests/spiritnet/unpaid_execution.rs @@ -80,7 +80,7 @@ fn test_unpaid_execution_to_spiritnet() { assert_expected_events!( Spiritnet, vec![ - SpiritnetRuntimeEvent::MessageQueue(pallet_message_queue::Event::ProcessingFailed { .. }) => {}, + SpiritnetRuntimeEvent::MessageQueue(pallet_message_queue::Event::Processed { success: false, .. }) => {}, ] ); }); diff --git a/nodes/parachain/Cargo.toml b/nodes/parachain/Cargo.toml index 7029f0ead..0b1de5687 100644 --- a/nodes/parachain/Cargo.toml +++ b/nodes/parachain/Cargo.toml @@ -92,6 +92,12 @@ xcm = { workspace = true, features = ["std"] } frame-benchmarking = { workspace = true, features = ["std"] } frame-benchmarking-cli = { workspace = true } +#ISMP +ismp-parachain-inherent = { workspace = true } +ismp-parachain-runtime-api = { workspace = true } +pallet-ismp-rpc = { workspace = true } +pallet-ismp-runtime-api = { workspace = true } + [features] default = [] fast-gov = ["peregrine-runtime/fast-gov", "runtime-common/fast-gov"] diff --git a/nodes/parachain/src/command.rs b/nodes/parachain/src/command.rs index de6bb8a3d..94ff3c7ef 100644 --- a/nodes/parachain/src/command.rs +++ b/nodes/parachain/src/command.rs @@ -69,7 +69,11 @@ macro_rules! construct_async_run { /// Parse command line arguments into service configuration. pub(crate) fn run() -> sc_cli::Result<()> { - let cli = Cli::from_args(); + let mut cli = Cli::from_args(); + + // all full nodes should store request/responses, otherwise they'd basically be + // useless without it. https://docs.hyperbridge.network/developers/polkadot/pallet-ismp#offchain-indexing + cli.run.base.offchain_worker_params.indexing_enabled = true; match &cli.subcommand { Some(Subcommand::BuildSpec(cmd)) => { diff --git a/nodes/parachain/src/rpc.rs b/nodes/parachain/src/rpc.rs index 5653b952d..76f8909dd 100644 --- a/nodes/parachain/src/rpc.rs +++ b/nodes/parachain/src/rpc.rs @@ -25,7 +25,8 @@ use std::sync::Arc; -use sc_client_api::AuxStore; +use pallet_ismp_rpc::{IsmpApiServer, IsmpRpcHandler}; +use sc_client_api::{AuxStore, BlockBackend, ProofProvider}; use sc_transaction_pool_api::TransactionPool; use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; @@ -37,18 +38,24 @@ use runtime_common::{opaque::Block, AccountId, Balance, Nonce}; pub(crate) type RpcExtension = jsonrpsee::RpcModule<()>; /// Full client dependencies. -pub(crate) struct FullDeps { +pub(crate) struct FullDeps { /// The client instance to use. pub client: Arc, /// Transaction pool instance. pub pool: Arc

, + /// Backend used by the node. + pub backend: Arc, } /// Instantiate all RPC extensions. -pub(crate) fn create_full(deps: FullDeps) -> Result> +pub(crate) fn create_full( + deps: FullDeps, +) -> Result> where C: ProvideRuntimeApi + HeaderBackend + + BlockBackend + + ProofProvider + AuxStore + HeaderMetadata + Send @@ -56,22 +63,26 @@ where + 'static, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi + substrate_frame_rpc_system::AccountNonceApi - + BlockBuilder, + + BlockBuilder + + pallet_ismp_runtime_api::IsmpRuntimeApi, + P: TransactionPool + 'static, + B: sc_client_api::Backend + Send + Sync + 'static, + B::State: sc_client_api::StateBackend>, { use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; use substrate_frame_rpc_system::{System, SystemApiServer}; let mut module = RpcExtension::new(()); - let FullDeps { client, pool } = deps; + let FullDeps { client, pool, backend } = deps; module.merge(System::new(Arc::clone(&client), pool).into_rpc())?; - module.merge(TransactionPayment::new(client).into_rpc())?; + module.merge(TransactionPayment::new(Arc::clone(&client)).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. // - // `module.merge(YourRpcStruct::new(ReferenceToClient).into_rpc())?;` + module.merge(IsmpRpcHandler::new(client, backend)?.into_rpc())?; Ok(module) } diff --git a/nodes/parachain/src/service.rs b/nodes/parachain/src/service.rs index 63dfc1e42..fd5881024 100644 --- a/nodes/parachain/src/service.rs +++ b/nodes/parachain/src/service.rs @@ -210,7 +210,9 @@ where + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi + substrate_frame_rpc_system::AccountNonceApi + sp_consensus_aura::AuraApi - + cumulus_primitives_aura::AuraUnincludedSegmentApi, + + cumulus_primitives_aura::AuraUnincludedSegmentApi + + pallet_ismp_runtime_api::IsmpRuntimeApi + + ismp_parachain_runtime_api::IsmpParachainApi, sc_client_api::StateBackendFor, Block>: sp_state_machine::Backend, RB: FnOnce( Arc>>, @@ -270,11 +272,13 @@ where let rpc_builder = { let client = Arc::clone(&client); let transaction_pool = Arc::clone(&transaction_pool); + let backend = Arc::clone(&backend); Box::new(move |_| { let deps = crate::rpc::FullDeps { client: Arc::clone(&client), pool: Arc::clone(&transaction_pool), + backend: Arc::clone(&backend), }; crate::rpc::create_full(deps).map_err(Into::into) @@ -430,7 +434,9 @@ where + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi + sp_consensus_aura::AuraApi + cumulus_primitives_core::CollectCollationInfo - + cumulus_primitives_aura::AuraUnincludedSegmentApi, + + cumulus_primitives_aura::AuraUnincludedSegmentApi + + pallet_ismp_runtime_api::IsmpRuntimeApi + + ismp_parachain_runtime_api::IsmpParachainApi, sc_client_api::StateBackendFor, Block>: sp_state_machine::Backend, { start_node_impl::( @@ -476,7 +482,9 @@ where + pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi + substrate_frame_rpc_system::AccountNonceApi + sp_consensus_aura::AuraApi - + cumulus_primitives_aura::AuraUnincludedSegmentApi, + + cumulus_primitives_aura::AuraUnincludedSegmentApi + + ismp_parachain_runtime_api::IsmpParachainApi + + pallet_ismp_runtime_api::IsmpRuntimeApi, { use cumulus_client_consensus_aura::collators::lookahead::{self as aura, Params as AuraParams}; @@ -497,8 +505,20 @@ where Arc::clone(&client), ); + let (client_clone, relay_chain_interface_clone) = (Arc::clone(&client), Arc::clone(&relay_chain_interface)); + let params = AuraParams { - create_inherent_data_providers: move |_, ()| async move { Ok(()) }, + create_inherent_data_providers: move |parent, ()| { + let client = Arc::clone(&client_clone); + let relay_chain_interface = Arc::clone(&relay_chain_interface_clone); + async move { + let inherent = + ismp_parachain_inherent::ConsensusInherentProvider::create(parent, client, relay_chain_interface) + .await?; + + Ok(inherent) + } + }, block_import, para_client: Arc::clone(&client), para_backend: backend, diff --git a/runtimes/peregrine/Cargo.toml b/runtimes/peregrine/Cargo.toml index 66a6c6ada..24dc7c440 100644 --- a/runtimes/peregrine/Cargo.toml +++ b/runtimes/peregrine/Cargo.toml @@ -19,6 +19,7 @@ sp-io = { workspace = true } [dependencies] # External dependencies +anyhow = { workspace = true } cfg-if = { workspace = true } log = { workspace = true } parity-scale-codec = { workspace = true, features = ["derive"] } @@ -125,6 +126,15 @@ frame-system-benchmarking = { workspace = true, optional = true } # Runtime tests frame-try-runtime = { workspace = true, optional = true } +# ISMP +ismp = { workspace = true } +ismp-parachain = { workspace = true } +ismp-parachain-runtime-api = { workspace = true } +pallet-hyperbridge = { workspace = true } +pallet-ismp = { workspace = true, features = ["unsigned"] } +pallet-ismp-runtime-api = { workspace = true } +pallet-token-gateway = { workspace = true } + [features] default = ["std"] fast-gov = ["runtime-common/fast-gov"] @@ -143,6 +153,7 @@ runtime-benchmarks = [ "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "hex-literal", + "ismp-parachain/runtime-benchmarks", "kilt-support/runtime-benchmarks", "pallet-asset-switch/runtime-benchmarks", "pallet-assets/runtime-benchmarks", @@ -165,6 +176,7 @@ runtime-benchmarks = [ "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-tips/runtime-benchmarks", + "pallet-token-gateway/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", @@ -199,6 +211,9 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime?/std", + "ismp-parachain-runtime-api/std", + "ismp-parachain/std", + "ismp/std", "kilt-runtime-api-did/std", "kilt-runtime-api-dip-provider/std", "kilt-runtime-api-public-credentials/std", @@ -220,6 +235,8 @@ std = [ "pallet-dip-provider/std", "pallet-indices/std", "pallet-inflation/std", + "pallet-ismp-runtime-api/std", + "pallet-ismp/std", "pallet-membership/std", "pallet-message-queue/std", "pallet-migration/std", @@ -231,6 +248,7 @@ std = [ "pallet-sudo/std", "pallet-timestamp/std", "pallet-tips/std", + "pallet-token-gateway/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-treasury/std", @@ -276,6 +294,7 @@ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime", + "ismp-parachain/try-runtime", "kilt-support/try-runtime", "pallet-asset-switch/try-runtime", "pallet-assets/try-runtime", @@ -290,6 +309,7 @@ try-runtime = [ "pallet-dip-provider/try-runtime", "pallet-indices/try-runtime", "pallet-inflation/try-runtime", + "pallet-ismp/try-runtime", "pallet-membership/try-runtime", "pallet-message-queue/try-runtime", "pallet-migration/try-runtime", @@ -301,6 +321,7 @@ try-runtime = [ "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-tips/try-runtime", + "pallet-token-gateway/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", diff --git a/runtimes/peregrine/src/benchmarks/mod.rs b/runtimes/peregrine/src/benchmarks/mod.rs index 19a42e18c..f10abb1c0 100644 --- a/runtimes/peregrine/src/benchmarks/mod.rs +++ b/runtimes/peregrine/src/benchmarks/mod.rs @@ -39,9 +39,9 @@ use xcm::v4::{Asset, Assets, Fungibility, Location}; use crate::{ xcm::XcmConfig, AllPalletsWithSystem, AssetSwitchPool1, Attestation, Balances, BondedCurrencies, BondedFungibles, Collators, Council, Ctype, Delegation, Democracy, DepositStorage, Did, DidLookup, DipProvider, Fungibles, Indices, - MessageQueue, Migration, Multisig, ParachainStaking, ParachainSystem, Preimage, Proxy, PublicCredentials, Runtime, - RuntimeEvent, Scheduler, Sudo, System, TechnicalCommittee, TechnicalMembership, Timestamp, Tips, TipsMembership, - Treasury, Utility, Vesting, Web3Names, + IsmpParachain, MessageQueue, Migration, Multisig, ParachainStaking, ParachainSystem, Preimage, Proxy, + PublicCredentials, Runtime, RuntimeEvent, Scheduler, Sudo, System, TechnicalCommittee, TechnicalMembership, + Timestamp, Tips, TipsMembership, TokenGateway, Treasury, Utility, Vesting, Web3Names, }; pub(crate) mod asset_switch; @@ -105,6 +105,9 @@ define_benchmarks!( // pallet assets instances [pallet_assets, Fungibles] [pallet_bonded_assets, BondedFungibles] + // ISMP + [ismp_parachain, IsmpParachain] + [pallet_token_gateway, TokenGateway] ); impl pallet_xcm::benchmarking::Config for Runtime { diff --git a/runtimes/peregrine/src/governance.rs b/runtimes/peregrine/src/governance.rs index 14a6a4279..d0de6eb0d 100644 --- a/runtimes/peregrine/src/governance.rs +++ b/runtimes/peregrine/src/governance.rs @@ -157,7 +157,7 @@ impl pallet_collective::Config for Runtime { type SetMembersOrigin = EnsureRoot; } -type TechnicalCollective = pallet_collective::Instance2; +pub(crate) type TechnicalCollective = pallet_collective::Instance2; impl pallet_collective::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type MaxProposalWeight = MaxProposalWeight; diff --git a/runtimes/peregrine/src/ismp.rs b/runtimes/peregrine/src/ismp.rs new file mode 100644 index 000000000..c5075c922 --- /dev/null +++ b/runtimes/peregrine/src/ismp.rs @@ -0,0 +1,103 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at + +use frame_support::parameter_types; +use ismp::{host::StateMachine, module::IsmpModule, router::IsmpRouter}; +use runtime_common::{AccountId, Balance}; +use sp_core::{ConstU8, Get}; +use sp_std::{boxed::Box, vec::Vec}; +use xcm::v4::Location; + +use crate::{ + governance::{RootOrCollectiveProportion, TechnicalCollective}, + Balances, Fungibles, Hyperbridge, Ismp, IsmpParachain, Runtime, RuntimeEvent, Timestamp, TokenGateway, Treasury, +}; + +parameter_types! { + // The hyperbridge parachain on Polkadot + pub const Coprocessor: Option = Some(StateMachine::Polkadot(4009)); + pub const HostStateMachine: StateMachine = StateMachine::Polkadot(2086); +} + +#[derive(Default)] +pub struct Router; + +impl IsmpRouter for Router { + fn module_for_id(&self, input: Vec) -> Result, anyhow::Error> { + match input.as_slice() { + pallet_hyperbridge::PALLET_HYPERBRIDGE_ID => Ok(Box::new(pallet_hyperbridge::Pallet::::default())), + id if TokenGateway::is_token_gateway(id) => { + Ok(Box::new(pallet_token_gateway::Pallet::::default())) + } + _ => Err(ismp::Error::ModuleNotFound(input))?, + } + } +} + +impl pallet_ismp::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type AdminOrigin = RootOrCollectiveProportion; + type HostStateMachine = HostStateMachine; + type TimestampProvider = Timestamp; + type Balance = Balance; + type Currency = Balances; + type Coprocessor = Coprocessor; + type ConsensusClients = (ismp_parachain::ParachainConsensusClient,); + type Router = Router; + + type WeightProvider = (); + type OffchainDB = (); +} + +impl pallet_hyperbridge::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type IsmpHost = Ismp; +} + +impl ismp_parachain::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type IsmpHost = Ismp; + type WeightInfo = crate::weights::ismp_parachain::WeightInfo; +} + +pub struct AssetAdmin; +impl Get for AssetAdmin { + fn get() -> AccountId { + Treasury::account_id() + } +} + +parameter_types! { + pub const NativeAssetId: Location = Location::here(); +} + +impl pallet_token_gateway::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Dispatcher = Hyperbridge; + type Assets = Fungibles; + #[cfg(not(feature = "runtime-benchmarks"))] + type CreateOrigin = RootOrCollectiveProportion; + #[cfg(feature = "runtime-benchmarks")] + type CreateOrigin = frame_system::EnsureSigned; + type AssetAdmin = AssetAdmin; + type Decimals = ConstU8<15>; + type NativeCurrency = Balances; + type NativeAssetId = NativeAssetId; + type EvmToSubstrate = (); + type WeightInfo = crate::weights::pallet_token_gateway::WeightInfo; +} diff --git a/runtimes/peregrine/src/lib.rs b/runtimes/peregrine/src/lib.rs index 72d941abe..17b72c9f5 100644 --- a/runtimes/peregrine/src/lib.rs +++ b/runtimes/peregrine/src/lib.rs @@ -61,6 +61,7 @@ pub use runtime_apis::{api, RuntimeApi}; mod system; use sp_version::RuntimeVersion; pub use system::{SessionKeys, SS_58_PREFIX}; +mod ismp; use crate::runtime_apis::RUNTIME_API_VERSION; mod weights; @@ -183,6 +184,12 @@ construct_runtime! { // DmpQueue: cumulus_pallet_dmp_queue = 85, // Queue and pass DMP messages on to be executed. MessageQueue: pallet_message_queue = 86, + + // ISMP + Ismp: pallet_ismp = 90, + Hyperbridge: pallet_hyperbridge = 91, + IsmpParachain: ismp_parachain = 92, + TokenGateway: pallet_token_gateway = 93, } } diff --git a/runtimes/peregrine/src/runtime_apis.rs b/runtimes/peregrine/src/runtime_apis.rs index eb7ca8ccb..5499dae1a 100644 --- a/runtimes/peregrine/src/runtime_apis.rs +++ b/runtimes/peregrine/src/runtime_apis.rs @@ -4,6 +4,7 @@ use ::xcm::{ v4::{Asset, AssetId, Location}, VersionedAssetId, VersionedLocation, VersionedXcm, }; +use cumulus_pallet_parachain_system::RelayChainState; use cumulus_primitives_aura::Slot; use cumulus_primitives_core::CollationInfo; use frame_support::{ @@ -15,6 +16,11 @@ use frame_support::{ }, weights::Weight, }; +use ismp::{ + consensus::{ConsensusClientId, StateMachineHeight, StateMachineId}, + host::StateMachine, + router::{Request, Response}, +}; use kilt_runtime_api_did::RawDidLinkedInfo; use kilt_support::traits::ItemFilter; use pallet_asset_switch::xcm::AccountId32ToAccountId32JunctionConverter; @@ -49,7 +55,7 @@ use runtime_common::{ AccountId, AuthorityId, Balance, BlockNumber, DidIdentifier, Hash, Nonce, }; use sp_api::impl_runtime_apis; -use sp_core::OpaqueMetadata; +use sp_core::{OpaqueMetadata, H256}; use sp_inherents::{CheckInherentsResult, InherentData}; use sp_metadata_ir::RuntimeApiMetadataIR; use sp_runtime::{ @@ -63,8 +69,9 @@ use crate::{ kilt::{DipProofError, DipProofRequest, NativeAndForeignAssets}, parachain::ConsensusHook, xcm::UniversalLocation, - AssetSwitchPool1, Block, BondedCurrencies, BondedFungibles, Executive, InherentDataExt, ParachainStaking, - ParachainSystem, Runtime, RuntimeCall, RuntimeGenesisConfig, SessionKeys, TransactionPayment, Web3Name, VERSION, + AssetSwitchPool1, Block, BondedCurrencies, BondedFungibles, Executive, InherentDataExt, IsmpParachain, + ParachainStaking, ParachainSystem, Runtime, RuntimeCall, RuntimeGenesisConfig, SessionKeys, TransactionPayment, + Web3Name, VERSION, }; // This is necessary since by default `RUNTIME_API_VERSIONS` generated by @@ -617,6 +624,60 @@ impl_runtime_apis! { } } + impl pallet_ismp_runtime_api::IsmpRuntimeApi::Hash> for Runtime { + fn host_state_machine() -> StateMachine { + ::HostStateMachine::get() + } + + fn challenge_period(state_machine_id: StateMachineId) -> Option { + pallet_ismp::Pallet::::challenge_period(state_machine_id) + } + + /// Fetch all ISMP events in the block, should only be called from runtime-api. + fn block_events() -> Vec<::ismp::events::Event> { + pallet_ismp::Pallet::::block_events() + } + + /// Fetch all ISMP events and their extrinsic metadata, should only be called from runtime-api. + fn block_events_with_metadata() -> Vec<(::ismp::events::Event, Option)> { + pallet_ismp::Pallet::::block_events_with_metadata() + } + + /// Return the scale encoded consensus state + fn consensus_state(id: ConsensusClientId) -> Option> { + pallet_ismp::Pallet::::consensus_states(id) + } + + /// Return the timestamp this client was last updated in seconds + fn state_machine_update_time(height: StateMachineHeight) -> Option { + pallet_ismp::Pallet::::state_machine_update_time(height) + } + + /// Return the latest height of the state machine + fn latest_state_machine_height(id: StateMachineId) -> Option { + pallet_ismp::Pallet::::latest_state_machine_height(id) + } + + /// Get actual requests + fn requests(commitments: Vec) -> Vec { + pallet_ismp::Pallet::::requests(commitments) + } + + /// Get actual requests + fn responses(commitments: Vec) -> Vec { + pallet_ismp::Pallet::::responses(commitments) + } + } + + impl ismp_parachain_runtime_api::IsmpParachainApi for Runtime { + fn para_ids() -> Vec { + IsmpParachain::para_ids() + } + + fn current_relay_chain_state() -> RelayChainState { + IsmpParachain::current_relay_chain_state() + } + } #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { diff --git a/runtimes/peregrine/src/weights/ismp_parachain.rs b/runtimes/peregrine/src/weights/ismp_parachain.rs new file mode 100644 index 000000000..b5ce8908e --- /dev/null +++ b/runtimes/peregrine/src/weights/ismp_parachain.rs @@ -0,0 +1,134 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at + +//! Autogenerated weights for `ismp_parachain` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 +//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// frame-omni-bencher +// v1 +// benchmark +// pallet +// --pallet=ismp-parachain +// --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_imports)] +#![allow(clippy::as_conversions)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `ismp_parachain`. +pub struct WeightInfo(PhantomData); +impl ismp_parachain::WeightInfo for WeightInfo { + /// Storage: `IsmpParachain::Parachains` (r:0 w:100) + /// Proof: `IsmpParachain::Parachains` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// Storage: `Ismp::ChallengePeriod` (r:0 w:100) + /// Proof: `Ismp::ChallengePeriod` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `n` is `[1, 100]`. + fn add_parachain(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_388_000 picoseconds. + Weight::from_parts(6_725_135, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 4_114 + .saturating_add(Weight::from_parts(1_995_999, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) + } + /// Storage: `IsmpParachain::Parachains` (r:0 w:5) + /// Proof: `IsmpParachain::Parachains` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 100]`. + fn remove_parachain(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_479_000 picoseconds. + Weight::from_parts(8_755_956, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 475 + .saturating_add(Weight::from_parts(14_864, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: `IsmpParachain::ConsensusUpdated` (r:1 w:1) + /// Proof: `IsmpParachain::ConsensusUpdated` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Ismp::ConsensusStateClient` (r:1 w:0) + /// Proof: `Ismp::ConsensusStateClient` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::ConsensusStates` (r:1 w:1) + /// Proof: `Ismp::ConsensusStates` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::FrozenConsensusClients` (r:1 w:0) + /// Proof: `Ismp::FrozenConsensusClients` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Ismp::UnbondingPeriod` (r:1 w:0) + /// Proof: `Ismp::UnbondingPeriod` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::ConsensusClientUpdateTime` (r:1 w:1) + /// Proof: `Ismp::ConsensusClientUpdateTime` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `IsmpParachain::RelayChainStateCommitments` (r:1 w:0) + /// Proof: `IsmpParachain::RelayChainStateCommitments` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `IsmpParachain::Parachains` (r:2 w:0) + /// Proof: `IsmpParachain::Parachains` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// Storage: `Ismp::LatestStateMachineHeight` (r:1 w:1) + /// Proof: `Ismp::LatestStateMachineHeight` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::StateCommitments` (r:1 w:1) + /// Proof: `Ismp::StateCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::StateMachineUpdateTime` (r:0 w:1) + /// Proof: `Ismp::StateMachineUpdateTime` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x7374617465859b5c7d03c68da7d492f1cc906e886ce9b49cc592d063993bdd8c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7374617465859b5c7d03c68da7d492f1cc906e886ce9b49cc592d063993bdd8c` (r:1 w:1) + fn update_parachain_consensus() -> Weight { + // Proof Size summary in bytes: + // Measured: `753` + // Estimated: `5964` + // Minimum execution time: 75_559_000 picoseconds. + Weight::from_parts(79_529_000, 0) + .saturating_add(Weight::from_parts(0, 5964)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(7)) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_update_parachain_consensus() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5964 + ); + } +} diff --git a/runtimes/peregrine/src/weights/mod.rs b/runtimes/peregrine/src/weights/mod.rs index e6928d4e0..d0f96e225 100644 --- a/runtimes/peregrine/src/weights/mod.rs +++ b/runtimes/peregrine/src/weights/mod.rs @@ -23,6 +23,7 @@ pub mod cumulus_pallet_parachain_system; pub mod delegation; pub mod did; pub mod frame_system; +pub mod ismp_parachain; pub mod pallet_asset_switch; pub mod pallet_assets; pub mod pallet_balances; @@ -48,6 +49,7 @@ pub mod pallet_technical_committee_collective; pub mod pallet_technical_membership; pub mod pallet_timestamp; pub mod pallet_tips; +pub mod pallet_token_gateway; pub mod pallet_treasury; pub mod pallet_utility; pub mod pallet_vesting; diff --git a/runtimes/peregrine/src/weights/pallet_token_gateway.rs b/runtimes/peregrine/src/weights/pallet_token_gateway.rs new file mode 100644 index 000000000..6f27639b3 --- /dev/null +++ b/runtimes/peregrine/src/weights/pallet_token_gateway.rs @@ -0,0 +1,182 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at + +//! Autogenerated weights for `pallet_token_gateway` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 +//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// frame-omni-bencher +// v1 +// benchmark +// pallet +// --pallet=pallet-token-gateway +// --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/peregrine-runtime/peregrine_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/peregrine/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_imports)] +#![allow(clippy::as_conversions)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_token_gateway`. +pub struct WeightInfo(PhantomData); +impl pallet_token_gateway::WeightInfo for WeightInfo { + /// Storage: `Hyperbridge::HostParams` (r:1 w:0) + /// Proof: `Hyperbridge::HostParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::Nonce` (r:1 w:1) + /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::Precisions` (r:0 w:100) + /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::NativeAssets` (r:0 w:1) + /// Proof: `TokenGateway::NativeAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::LocalAssets` (r:0 w:1) + /// Proof: `TokenGateway::LocalAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::SupportedAssets` (r:0 w:1) + /// Proof: `TokenGateway::SupportedAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) + /// The range of component `x` is `[1, 100]`. + fn create_erc6160_asset(x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `290` + // Estimated: `3755` + // Minimum execution time: 31_268_000 picoseconds. + Weight::from_parts(30_872_263, 0) + .saturating_add(Weight::from_parts(0, 3755)) + // Standard Error: 3_317 + .saturating_add(Weight::from_parts(1_558_070, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + } + /// Storage: `TokenGateway::SupportedAssets` (r:1 w:0) + /// Proof: `TokenGateway::SupportedAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::NativeAssets` (r:1 w:0) + /// Proof: `TokenGateway::NativeAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `TokenGateway::Precisions` (r:1 w:0) + /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::Nonce` (r:1 w:1) + /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) + fn teleport() -> Weight { + // Proof Size summary in bytes: + // Measured: `732` + // Estimated: `4197` + // Minimum execution time: 64_709_000 picoseconds. + Weight::from_parts(66_906_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `TokenGateway::TokenGatewayAddresses` (r:0 w:1) + /// Proof: `TokenGateway::TokenGatewayAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `x` is `[1, 100]`. + fn set_token_gateway_addresses(_x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_490_000 picoseconds. + Weight::from_parts(4_037_612, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Hyperbridge::HostParams` (r:1 w:0) + /// Proof: `Hyperbridge::HostParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::Nonce` (r:1 w:1) + /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) + fn update_erc6160_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `455` + // Estimated: `3920` + // Minimum execution time: 24_180_000 picoseconds. + Weight::from_parts(25_391_000, 0) + .saturating_add(Weight::from_parts(0, 3920)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `TokenGateway::Precisions` (r:0 w:100) + /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `x` is `[1, 100]`. + fn update_asset_precision(x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_861_000 picoseconds. + Weight::from_parts(2_719_181, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 3_076 + .saturating_add(Weight::from_parts(1_528_011, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_create_erc6160_asset() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 3755 + ); + } + #[test] + fn test_teleport() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4197 + ); + } + #[test] + fn test_update_erc6160_asset() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 3920 + ); + } +} diff --git a/runtimes/spiritnet/Cargo.toml b/runtimes/spiritnet/Cargo.toml index 6241c377c..a0a857910 100644 --- a/runtimes/spiritnet/Cargo.toml +++ b/runtimes/spiritnet/Cargo.toml @@ -19,6 +19,7 @@ sp-io = { workspace = true } [dependencies] # External dependencies +anyhow = { workspace = true } cfg-if = { workspace = true } log = { workspace = true } parity-scale-codec = { workspace = true, features = ["derive"] } @@ -33,6 +34,7 @@ kilt-runtime-api-did = { workspace = true } kilt-runtime-api-public-credentials = { workspace = true } kilt-runtime-api-staking = { workspace = true } pallet-asset-switch-runtime-api = { workspace = true } +pallet-bonded-coins-runtime-api = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } # KILT pallets & primitives @@ -43,6 +45,7 @@ did = { workspace = true } kilt-runtime-api-dip-provider = { workspace = true } kilt-support = { workspace = true } pallet-asset-switch = { workspace = true } +pallet-bonded-coins = { workspace = true } pallet-deposit-storage = { workspace = true } pallet-did-lookup = { workspace = true } pallet-dip-provider = { workspace = true } @@ -122,6 +125,15 @@ frame-system-benchmarking = { workspace = true, optional = true } # Runtime tests frame-try-runtime = { workspace = true, optional = true } +# ISMP +ismp = { workspace = true } +ismp-parachain = { workspace = true } +ismp-parachain-runtime-api = { workspace = true } +pallet-hyperbridge = { workspace = true } +pallet-ismp = { workspace = true, features = ["unsigned"] } +pallet-ismp-runtime-api = { workspace = true } +pallet-token-gateway = { workspace = true } + [features] default = ["std"] fast-gov = ["runtime-common/fast-gov"] @@ -132,7 +144,6 @@ runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", - "cumulus-primitives-core/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "delegation/runtime-benchmarks", "did/runtime-benchmarks", @@ -141,10 +152,12 @@ runtime-benchmarks = [ "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "hex-literal", + "ismp-parachain/runtime-benchmarks", "kilt-support/runtime-benchmarks", "pallet-asset-switch/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "pallet-bonded-coins/runtime-benchmarks", "pallet-collective/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-deposit-storage/runtime-benchmarks", @@ -161,13 +174,13 @@ runtime-benchmarks = [ "pallet-scheduler/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-tips/runtime-benchmarks", + "pallet-token-gateway/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-web3-names/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "parachain-staking/runtime-benchmarks", - "polkadot-runtime-common/runtime-benchmarks", "public-credentials/runtime-benchmarks", "runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", @@ -196,6 +209,9 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime?/std", + "ismp-parachain-runtime-api/std", + "ismp-parachain/std", + "ismp/std", "kilt-runtime-api-did/std", "kilt-runtime-api-dip-provider/std", "kilt-runtime-api-public-credentials/std", @@ -208,6 +224,8 @@ std = [ "pallet-aura/std", "pallet-authorship/std", "pallet-balances/std", + "pallet-bonded-coins-runtime-api/std", + "pallet-bonded-coins/std", "pallet-collective/std", "pallet-democracy/std", "pallet-deposit-storage/std", @@ -215,6 +233,8 @@ std = [ "pallet-dip-provider/std", "pallet-indices/std", "pallet-inflation/std", + "pallet-ismp-runtime-api/std", + "pallet-ismp/std", "pallet-membership/std", "pallet-message-queue/std", "pallet-migration/std", @@ -225,6 +245,7 @@ std = [ "pallet-session/std", "pallet-timestamp/std", "pallet-tips/std", + "pallet-token-gateway/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-treasury/std", @@ -270,12 +291,14 @@ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime", + "ismp-parachain/try-runtime", "kilt-support/try-runtime", "pallet-asset-switch/try-runtime", "pallet-assets/try-runtime", "pallet-aura/try-runtime", "pallet-authorship/try-runtime", "pallet-balances/try-runtime", + "pallet-bonded-coins/try-runtime", "pallet-collective/try-runtime", "pallet-democracy/try-runtime", "pallet-deposit-storage/try-runtime", @@ -283,6 +306,7 @@ try-runtime = [ "pallet-dip-provider/try-runtime", "pallet-indices/try-runtime", "pallet-inflation/try-runtime", + "pallet-ismp/try-runtime", "pallet-membership/try-runtime", "pallet-message-queue/try-runtime", "pallet-migration/try-runtime", @@ -293,6 +317,7 @@ try-runtime = [ "pallet-session/try-runtime", "pallet-timestamp/try-runtime", "pallet-tips/try-runtime", + "pallet-token-gateway/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", diff --git a/runtimes/spiritnet/src/benchmarks/mod.rs b/runtimes/spiritnet/src/benchmarks/mod.rs index e26c2e22b..90bf16c4c 100644 --- a/runtimes/spiritnet/src/benchmarks/mod.rs +++ b/runtimes/spiritnet/src/benchmarks/mod.rs @@ -38,10 +38,10 @@ use xcm::v4::{Asset, Assets, Fungibility, Location}; use crate::{ xcm::XcmConfig, AllPalletsWithSystem, AssetSwitchPool1, Attestation, Balances, Collators, Council, Ctype, - Delegation, Democracy, DepositStorage, Did, DidLookup, DipProvider, Fungibles, Indices, MessageQueue, Migration, - Multisig, ParachainStaking, ParachainSystem, Preimage, Proxy, PublicCredentials, Runtime, RuntimeEvent, Scheduler, - System, TechnicalCommittee, TechnicalMembership, Timestamp, Tips, TipsMembership, Treasury, Utility, Vesting, - Web3Names, + Delegation, Democracy, DepositStorage, Did, DidLookup, DipProvider, Fungibles, Indices, IsmpParachain, + MessageQueue, Migration, Multisig, ParachainStaking, ParachainSystem, Preimage, Proxy, PublicCredentials, Runtime, + RuntimeEvent, Scheduler, System, TechnicalCommittee, TechnicalMembership, Timestamp, Tips, TipsMembership, + TokenGateway, Treasury, Utility, Vesting, Web3Names, }; pub(crate) mod asset_switch; @@ -100,6 +100,8 @@ define_benchmarks!( [pallet_did_lookup, DidLookup] // pallet_web3_names instances [pallet_web3_names, Web3Names] + [ismp_parachain, IsmpParachain] + [pallet_token_gateway, TokenGateway] ); impl pallet_xcm::benchmarking::Config for Runtime { diff --git a/runtimes/spiritnet/src/governance.rs b/runtimes/spiritnet/src/governance.rs index 8fea2144d..bd8b8d730 100644 --- a/runtimes/spiritnet/src/governance.rs +++ b/runtimes/spiritnet/src/governance.rs @@ -157,7 +157,7 @@ impl pallet_collective::Config for Runtime { type SetMembersOrigin = EnsureRoot; } -type TechnicalCollective = pallet_collective::Instance2; +pub(crate) type TechnicalCollective = pallet_collective::Instance2; impl pallet_collective::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; type MaxProposalWeight = MaxProposalWeight; diff --git a/runtimes/spiritnet/src/ismp.rs b/runtimes/spiritnet/src/ismp.rs new file mode 100644 index 000000000..b4579db38 --- /dev/null +++ b/runtimes/spiritnet/src/ismp.rs @@ -0,0 +1,103 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at + +use frame_support::parameter_types; +use ismp::{host::StateMachine, module::IsmpModule, router::IsmpRouter}; +use runtime_common::{AccountId, Balance}; +use sp_core::{ConstU8, Get}; +use sp_std::{boxed::Box, vec::Vec}; +use xcm::v4::Location; + +use crate::{ + governance::{RootOrCollectiveProportion, TechnicalCollective}, + Balances, Fungibles, Hyperbridge, Ismp, IsmpParachain, Runtime, RuntimeEvent, Timestamp, TokenGateway, Treasury, +}; + +parameter_types! { + // The hyperbridge parachain on Polkadot + pub const Coprocessor: Option = Some(StateMachine::Polkadot(3367)); + pub const HostStateMachine: StateMachine = StateMachine::Polkadot(2086); +} + +#[derive(Default)] +pub struct Router; + +impl IsmpRouter for Router { + fn module_for_id(&self, input: Vec) -> Result, anyhow::Error> { + match input.as_slice() { + pallet_hyperbridge::PALLET_HYPERBRIDGE_ID => Ok(Box::new(pallet_hyperbridge::Pallet::::default())), + id if TokenGateway::is_token_gateway(id) => { + Ok(Box::new(pallet_token_gateway::Pallet::::default())) + } + _ => Err(ismp::Error::ModuleNotFound(input))?, + } + } +} + +impl pallet_ismp::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type AdminOrigin = RootOrCollectiveProportion; + type HostStateMachine = HostStateMachine; + type TimestampProvider = Timestamp; + type Balance = Balance; + type Currency = Balances; + type Coprocessor = Coprocessor; + type ConsensusClients = (ismp_parachain::ParachainConsensusClient,); + type Router = Router; + + type WeightProvider = (); + type OffchainDB = (); +} + +impl pallet_hyperbridge::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type IsmpHost = Ismp; +} + +impl ismp_parachain::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type IsmpHost = Ismp; + type WeightInfo = crate::weights::ismp_parachain::WeightInfo; +} + +pub struct AssetAdmin; +impl Get for AssetAdmin { + fn get() -> AccountId { + Treasury::account_id() + } +} + +parameter_types! { + pub const NativeAssetId: Location = Location::here(); +} + +impl pallet_token_gateway::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Dispatcher = Hyperbridge; + type Assets = Fungibles; + #[cfg(not(feature = "runtime-benchmarks"))] + type CreateOrigin = RootOrCollectiveProportion; + #[cfg(feature = "runtime-benchmarks")] + type CreateOrigin = frame_system::EnsureSigned; + type AssetAdmin = AssetAdmin; + type Decimals = ConstU8<15>; + type NativeCurrency = Balances; + type NativeAssetId = NativeAssetId; + type EvmToSubstrate = (); + type WeightInfo = crate::weights::pallet_token_gateway::WeightInfo; +} diff --git a/runtimes/spiritnet/src/lib.rs b/runtimes/spiritnet/src/lib.rs index 56400590c..351710036 100644 --- a/runtimes/spiritnet/src/lib.rs +++ b/runtimes/spiritnet/src/lib.rs @@ -60,6 +60,7 @@ mod system; use sp_version::RuntimeVersion; pub use system::{SessionKeys, SS_58_PREFIX}; pub mod genesis_state; +mod ismp; use crate::runtime_apis::RUNTIME_API_VERSION; mod weights; @@ -176,6 +177,12 @@ construct_runtime! { // DmpQueue: cumulus_pallet_dmp_queue = 85, // Queue and pass DMP messages on to be executed. MessageQueue: pallet_message_queue = 86, + + // ISMP + Ismp: pallet_ismp = 90, + Hyperbridge: pallet_hyperbridge = 91, + IsmpParachain: ismp_parachain = 92, + TokenGateway: pallet_token_gateway = 93, } } diff --git a/runtimes/spiritnet/src/runtime_apis.rs b/runtimes/spiritnet/src/runtime_apis.rs index 3bce8a08f..c6ef1b0ad 100644 --- a/runtimes/spiritnet/src/runtime_apis.rs +++ b/runtimes/spiritnet/src/runtime_apis.rs @@ -4,6 +4,7 @@ use ::xcm::{ v4::{Asset, AssetId, Location}, VersionedAssetId, VersionedLocation, VersionedXcm, }; +use cumulus_pallet_parachain_system::RelayChainState; use cumulus_primitives_aura::Slot; use cumulus_primitives_core::CollationInfo; use frame_support::{ @@ -12,6 +13,11 @@ use frame_support::{ traits::PalletInfoAccess, weights::Weight, }; +use ismp::{ + consensus::{ConsensusClientId, StateMachineHeight, StateMachineId}, + host::StateMachine, + router::{Request, Response}, +}; use kilt_runtime_api_did::RawDidLinkedInfo; use kilt_support::traits::ItemFilter; use pallet_asset_switch::xcm::AccountId32ToAccountId32JunctionConverter; @@ -31,7 +37,7 @@ use runtime_common::{ AccountId, AuthorityId, Balance, BlockNumber, DidIdentifier, Hash, Nonce, }; use sp_api::impl_runtime_apis; -use sp_core::OpaqueMetadata; +use sp_core::{OpaqueMetadata, H256}; use sp_inherents::{CheckInherentsResult, InherentData}; use sp_metadata_ir::RuntimeApiMetadataIR; use sp_runtime::{ @@ -45,8 +51,8 @@ use crate::{ kilt::{DipProofError, DipProofRequest}, parachain::ConsensusHook, xcm::UniversalLocation, - AssetSwitchPool1, Block, Executive, InherentDataExt, ParachainStaking, ParachainSystem, Runtime, RuntimeCall, - RuntimeGenesisConfig, SessionKeys, TransactionPayment, Web3Name, VERSION, + AssetSwitchPool1, Block, Executive, InherentDataExt, IsmpParachain, ParachainStaking, ParachainSystem, Runtime, + RuntimeCall, RuntimeGenesisConfig, SessionKeys, TransactionPayment, Web3Name, VERSION, }; // This is necessary since by default `RUNTIME_API_VERSIONS` generated by @@ -454,6 +460,63 @@ impl_runtime_apis! { } } + + impl pallet_ismp_runtime_api::IsmpRuntimeApi::Hash> for Runtime { + fn host_state_machine() -> StateMachine { + ::HostStateMachine::get() + } + + fn challenge_period(state_machine_id: StateMachineId) -> Option { + pallet_ismp::Pallet::::challenge_period(state_machine_id) + } + + /// Fetch all ISMP events in the block, should only be called from runtime-api. + fn block_events() -> Vec<::ismp::events::Event> { + pallet_ismp::Pallet::::block_events() + } + + /// Fetch all ISMP events and their extrinsic metadata, should only be called from runtime-api. + fn block_events_with_metadata() -> Vec<(::ismp::events::Event, Option)> { + pallet_ismp::Pallet::::block_events_with_metadata() + } + + /// Return the scale encoded consensus state + fn consensus_state(id: ConsensusClientId) -> Option> { + pallet_ismp::Pallet::::consensus_states(id) + } + + /// Return the timestamp this client was last updated in seconds + fn state_machine_update_time(height: StateMachineHeight) -> Option { + pallet_ismp::Pallet::::state_machine_update_time(height) + } + + /// Return the latest height of the state machine + fn latest_state_machine_height(id: StateMachineId) -> Option { + pallet_ismp::Pallet::::latest_state_machine_height(id) + } + + /// Get actual requests + fn requests(commitments: Vec) -> Vec { + pallet_ismp::Pallet::::requests(commitments) + } + + /// Get actual requests + fn responses(commitments: Vec) -> Vec { + pallet_ismp::Pallet::::responses(commitments) + } + } + + impl ismp_parachain_runtime_api::IsmpParachainApi for Runtime { + fn para_ids() -> Vec { + IsmpParachain::para_ids() + } + + fn current_relay_chain_state() -> RelayChainState { + IsmpParachain::current_relay_chain_state() + } + } + + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata(extra: bool) -> ( diff --git a/runtimes/spiritnet/src/weights/ismp_parachain.rs b/runtimes/spiritnet/src/weights/ismp_parachain.rs new file mode 100644 index 000000000..dafd48f95 --- /dev/null +++ b/runtimes/spiritnet/src/weights/ismp_parachain.rs @@ -0,0 +1,134 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at + +//! Autogenerated weights for `ismp_parachain` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 +//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// frame-omni-bencher +// v1 +// benchmark +// pallet +// --pallet=ismp-parachain +// --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_imports)] +#![allow(clippy::as_conversions)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `ismp_parachain`. +pub struct WeightInfo(PhantomData); +impl ismp_parachain::WeightInfo for WeightInfo { + /// Storage: `IsmpParachain::Parachains` (r:0 w:100) + /// Proof: `IsmpParachain::Parachains` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// Storage: `Ismp::ChallengePeriod` (r:0 w:100) + /// Proof: `Ismp::ChallengePeriod` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `n` is `[1, 100]`. + fn add_parachain(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_230_000 picoseconds. + Weight::from_parts(5_017_544, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 3_189 + .saturating_add(Weight::from_parts(1_970_967, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(n.into()))) + } + /// Storage: `IsmpParachain::Parachains` (r:0 w:5) + /// Proof: `IsmpParachain::Parachains` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 100]`. + fn remove_parachain(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_446_000 picoseconds. + Weight::from_parts(8_612_220, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 490 + .saturating_add(Weight::from_parts(12_386, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: `IsmpParachain::ConsensusUpdated` (r:1 w:1) + /// Proof: `IsmpParachain::ConsensusUpdated` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Ismp::ConsensusStateClient` (r:1 w:0) + /// Proof: `Ismp::ConsensusStateClient` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::ConsensusStates` (r:1 w:1) + /// Proof: `Ismp::ConsensusStates` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::FrozenConsensusClients` (r:1 w:0) + /// Proof: `Ismp::FrozenConsensusClients` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Timestamp::Now` (r:1 w:0) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Ismp::UnbondingPeriod` (r:1 w:0) + /// Proof: `Ismp::UnbondingPeriod` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::ConsensusClientUpdateTime` (r:1 w:1) + /// Proof: `Ismp::ConsensusClientUpdateTime` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `IsmpParachain::RelayChainStateCommitments` (r:1 w:0) + /// Proof: `IsmpParachain::RelayChainStateCommitments` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `IsmpParachain::Parachains` (r:2 w:0) + /// Proof: `IsmpParachain::Parachains` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// Storage: `Ismp::LatestStateMachineHeight` (r:1 w:1) + /// Proof: `Ismp::LatestStateMachineHeight` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::StateCommitments` (r:1 w:1) + /// Proof: `Ismp::StateCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::StateMachineUpdateTime` (r:0 w:1) + /// Proof: `Ismp::StateMachineUpdateTime` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x7374617465859b5c7d03c68da7d492f1cc906e886ce9b49cc592d063993bdd8c` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7374617465859b5c7d03c68da7d492f1cc906e886ce9b49cc592d063993bdd8c` (r:1 w:1) + fn update_parachain_consensus() -> Weight { + // Proof Size summary in bytes: + // Measured: `753` + // Estimated: `5964` + // Minimum execution time: 75_663_000 picoseconds. + Weight::from_parts(77_561_000, 0) + .saturating_add(Weight::from_parts(0, 5964)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(7)) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_update_parachain_consensus() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 5964 + ); + } +} diff --git a/runtimes/spiritnet/src/weights/mod.rs b/runtimes/spiritnet/src/weights/mod.rs index b4f54e293..ae474c203 100644 --- a/runtimes/spiritnet/src/weights/mod.rs +++ b/runtimes/spiritnet/src/weights/mod.rs @@ -23,6 +23,7 @@ pub mod cumulus_pallet_parachain_system; pub mod delegation; pub mod did; pub mod frame_system; +pub mod ismp_parachain; pub mod pallet_asset_switch; pub mod pallet_assets; pub mod pallet_balances; @@ -45,6 +46,7 @@ pub mod pallet_technical_committee_collective; pub mod pallet_technical_membership; pub mod pallet_timestamp; pub mod pallet_tips; +pub mod pallet_token_gateway; pub mod pallet_treasury; pub mod pallet_utility; pub mod pallet_vesting; diff --git a/runtimes/spiritnet/src/weights/pallet_token_gateway.rs b/runtimes/spiritnet/src/weights/pallet_token_gateway.rs new file mode 100644 index 000000000..6d3ffaf04 --- /dev/null +++ b/runtimes/spiritnet/src/weights/pallet_token_gateway.rs @@ -0,0 +1,184 @@ +// KILT Blockchain – +// Copyright (C) 2025, KILT Foundation + +// The KILT Blockchain is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The KILT Blockchain is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// If you feel like getting in touch with us, you can do so at + +//! Autogenerated weights for `pallet_token_gateway` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 +//! DATE: 2025-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `rust-2`, CPU: `12th Gen Intel(R) Core(TM) i9-12900K` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// frame-omni-bencher +// v1 +// benchmark +// pallet +// --pallet=pallet-token-gateway +// --extrinsic=* +// --genesis-builder=runtime +// --runtime=./target/release/wbuild/spiritnet-runtime/spiritnet_runtime.compact.compressed.wasm +// --header=HEADER-GPL +// --template=.maintain/runtime-weight-template.hbs +// --output=./runtimes/spiritnet/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_imports)] +#![allow(clippy::as_conversions)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_token_gateway`. +pub struct WeightInfo(PhantomData); +impl pallet_token_gateway::WeightInfo for WeightInfo { + /// Storage: `Hyperbridge::HostParams` (r:1 w:0) + /// Proof: `Hyperbridge::HostParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::Nonce` (r:1 w:1) + /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::Precisions` (r:0 w:100) + /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::NativeAssets` (r:0 w:1) + /// Proof: `TokenGateway::NativeAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::LocalAssets` (r:0 w:1) + /// Proof: `TokenGateway::LocalAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::SupportedAssets` (r:0 w:1) + /// Proof: `TokenGateway::SupportedAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e74736dbf7451ee5809df8f986d7fa449` (r:1 w:1) + /// The range of component `x` is `[1, 100]`. + fn create_erc6160_asset(x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `290` + // Estimated: `3755` + // Minimum execution time: 29_974_000 picoseconds. + Weight::from_parts(32_747_433, 0) + .saturating_add(Weight::from_parts(0, 3755)) + // Standard Error: 4_554 + .saturating_add(Weight::from_parts(1_675_177, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + } + /// Storage: `TokenGateway::SupportedAssets` (r:1 w:0) + /// Proof: `TokenGateway::SupportedAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `TokenGateway::NativeAssets` (r:1 w:0) + /// Proof: `TokenGateway::NativeAssets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `TokenGateway::Precisions` (r:1 w:0) + /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::Nonce` (r:1 w:1) + /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e747387c60cc3838067ec43c7c32db115` (r:1 w:1) + fn teleport() -> Weight { + // Proof Size summary in bytes: + // Measured: `732` + // Estimated: `4197` + // Minimum execution time: 64_977_000 picoseconds. + Weight::from_parts(67_796_000, 0) + .saturating_add(Weight::from_parts(0, 4197)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `TokenGateway::TokenGatewayAddresses` (r:0 w:1) + /// Proof: `TokenGateway::TokenGatewayAddresses` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `x` is `[1, 100]`. + fn set_token_gateway_addresses(x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_553_000 picoseconds. + Weight::from_parts(3_928_493, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 181 + .saturating_add(Weight::from_parts(1_795, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Hyperbridge::HostParams` (r:1 w:0) + /// Proof: `Hyperbridge::HostParams` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Ismp::Nonce` (r:1 w:1) + /// Proof: `Ismp::Nonce` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x52657175657374436f6d6d69746d656e7473063ffee434bbc145cf1b300aac5e` (r:1 w:1) + fn update_erc6160_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `455` + // Estimated: `3920` + // Minimum execution time: 24_059_000 picoseconds. + Weight::from_parts(25_861_000, 0) + .saturating_add(Weight::from_parts(0, 3920)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `TokenGateway::Precisions` (r:0 w:100) + /// Proof: `TokenGateway::Precisions` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `x` is `[1, 100]`. + fn update_asset_precision(x: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_781_000 picoseconds. + Weight::from_parts(3_283_265, 0) + .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 3_391 + .saturating_add(Weight::from_parts(1_610_356, 0).saturating_mul(x.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(x.into()))) + } +} + +#[cfg(test)] +mod tests { + #[test] + fn test_create_erc6160_asset() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 3755 + ); + } + #[test] + fn test_teleport() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4197 + ); + } + #[test] + fn test_update_erc6160_asset() { + assert!( + ::BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 3920 + ); + } +} diff --git a/scripts/run_benches_for_runtime.sh b/scripts/run_benches_for_runtime.sh index dcd6d0605..b247747ca 100755 --- a/scripts/run_benches_for_runtime.sh +++ b/scripts/run_benches_for_runtime.sh @@ -52,6 +52,9 @@ pallets=( pallet-did-lookup # `pallet-web3-names` instances pallet-web3-names + # ISMP + ismp-parachain + pallet-token-gateway ) # Add Peregrine-only pallets here!