diff --git a/operator/Cargo.lock b/operator/Cargo.lock index 586435c3..898a2979 100644 --- a/operator/Cargo.lock +++ b/operator/Cargo.lock @@ -343,7 +343,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-std 0.4.0", ] @@ -354,12 +354,24 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" dependencies = [ - "ark-ec", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", ] +[[package]] +name = "ark-bls12-381" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3df4dcc01ff89867cd86b0da835f23c3f02738353aaee7dde7495af71363b8d5" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", +] + [[package]] name = "ark-ec" version = "0.4.2" @@ -367,7 +379,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" dependencies = [ "ark-ff 0.4.2", - "ark-poly", + "ark-poly 0.4.2", "ark-serialize 0.4.2", "ark-std 0.4.0", "derivative", @@ -377,6 +389,39 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ark-ec" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43d68f2d516162846c1238e755a7c4d131b892b70cc70c471a8e3ca3ed818fce" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.5", + "itertools 0.13.0", + "num-bigint", + "num-integer", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1786b2e3832f6f0f7c8d62d5d5a282f6952a1ab99981c54cd52b6ac1d8f02df5" +dependencies = [ + "ark-bls12-381 0.5.0", + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-std 0.5.0", +] + [[package]] name = "ark-ff" version = "0.3.0" @@ -516,6 +561,21 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "ark-poly" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "579305839da207f02b89cd1679e50e67b4331e2f9294a57693e5051b7703fe27" +dependencies = [ + "ahash", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "educe", + "fnv", + "hashbrown 0.15.5", +] + [[package]] name = "ark-serialize" version = "0.3.0" @@ -532,7 +592,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "ark-std 0.4.0", "digest 0.10.7", "num-bigint", @@ -544,6 +604,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f4d068aaf107ebcd7dfb52bc748f8030e0fc930ac8e360146ca54c1203088f7" dependencies = [ + "ark-serialize-derive 0.5.0", "ark-std 0.5.0", "arrayvec 0.7.6", "digest 0.10.7", @@ -561,6 +622,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "ark-serialize-derive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", +] + [[package]] name = "ark-std" version = "0.3.0" @@ -591,6 +663,39 @@ dependencies = [ "rand 0.8.5", ] +[[package]] +name = "ark-transcript" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47c1c928edb9d8ff24cb5dcb7651d3a98494fff3099eee95c2404cd813a9139f" +dependencies = [ + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3", +] + +[[package]] +name = "ark-vrf" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d63e9780640021b74d02b32895d8cec1b4abe8e5547b560a6bda6b14b78c6da" +dependencies = [ + "ark-bls12-381 0.5.0", + "ark-ec 0.5.0", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "digest 0.10.7", + "rand_chacha 0.3.1", + "sha2 0.10.9", + "w3f-ring-proof", + "zeroize", +] + [[package]] name = "array-bytes" version = "6.2.3" @@ -620,12 +725,12 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "asn1-rs" -version = "0.5.2" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" dependencies = [ - "asn1-rs-derive 0.4.0", - "asn1-rs-impl 0.1.0", + "asn1-rs-derive 0.5.1", + "asn1-rs-impl", "displaydoc", "nom", "num-traits", @@ -641,7 +746,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56624a96882bb8c26d61312ae18cb45868e5a9992ea73c58e45c3101e56a1e60" dependencies = [ "asn1-rs-derive 0.6.0", - "asn1-rs-impl 0.2.0", + "asn1-rs-impl", "displaydoc", "nom", "num-traits", @@ -652,14 +757,14 @@ dependencies = [ [[package]] name = "asn1-rs-derive" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", - "synstructure 0.12.6", + "syn 2.0.106", + "synstructure 0.13.2", ] [[package]] @@ -674,17 +779,6 @@ dependencies = [ "synstructure 0.13.2", ] -[[package]] -name = "asn1-rs-impl" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "asn1-rs-impl" version = "0.2.0" @@ -897,6 +991,19 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "asynchronous-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a860072022177f903e59730004fb5dc13db9275b79bb2aef7ba8ce831956c233" +dependencies = [ + "bytes", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite", +] + [[package]] name = "atoi" version = "2.0.0" @@ -1068,12 +1175,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - [[package]] name = "base64" version = "0.21.7" @@ -1104,15 +1205,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - [[package]] name = "bigdecimal" version = "0.4.8" @@ -1130,7 +1222,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "hash-db", "log", @@ -1208,7 +1300,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43d193de1f7487df1914d3a568b772458861d33f9c54249612cc2893d6915054" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.13.0", "serde", "unicode-normalization", ] @@ -1234,6 +1326,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" +[[package]] +name = "bitcoin-io" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dee39a0ee5b4095224a0cfc6bf4cc1baf0f9624b96b367e53b66d974e51d953" + [[package]] name = "bitcoin_hashes" version = "0.13.0" @@ -1241,7 +1339,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" dependencies = [ "bitcoin-internals", - "hex-conservative", + "hex-conservative 0.1.2", +] + +[[package]] +name = "bitcoin_hashes" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26ec84b80c482df901772e931a9a681e26a1b9ee2302edeff23cb30328745c8b" +dependencies = [ + "bitcoin-io", + "hex-conservative 0.2.2", ] [[package]] @@ -1389,8 +1497,8 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1406,8 +1514,8 @@ dependencies = [ [[package]] name = "bp-messages" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1422,8 +1530,8 @@ dependencies = [ [[package]] name = "bp-parachains" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1439,8 +1547,8 @@ dependencies = [ [[package]] name = "bp-polkadot-core" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bp-messages", "bp-runtime", @@ -1456,8 +1564,8 @@ dependencies = [ [[package]] name = "bp-relayers" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bp-header-chain", "bp-messages", @@ -1474,8 +1582,8 @@ dependencies = [ [[package]] name = "bp-runtime" -version = "0.19.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-system", @@ -1492,24 +1600,7 @@ dependencies = [ "sp-state-machine", "sp-std", "sp-trie", - "trie-db 0.29.1", -] - -[[package]] -name = "bridge-hub-common" -version = "0.12.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "pallet-message-queue", - "parity-scale-codec", - "scale-info", - "snowbridge-core 0.12.2", - "sp-core", - "sp-runtime", - "sp-std", - "staging-xcm", + "trie-db 0.30.0", ] [[package]] @@ -1521,7 +1612,25 @@ dependencies = [ "pallet-message-queue", "parity-scale-codec", "scale-info", - "snowbridge-core 0.26.0", + "snowbridge-core 0.23.0", + "sp-core", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", +] + +[[package]] +name = "bridge-hub-common" +version = "0.13.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "pallet-message-queue", + "parity-scale-codec", + "scale-info", + "snowbridge-core 0.13.2", "sp-core", "sp-runtime", "sp-std", @@ -1833,7 +1942,7 @@ dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim 0.11.1", + "strsim", "terminal_size", ] @@ -2286,6 +2395,21 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "crypto_secretbox" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d6cf87adf719ddf43a805e92c6870a531aedda35ff640442cbaf8674e141e1" +dependencies = [ + "aead", + "cipher 0.4.4", + "generic-array 0.14.7", + "poly1305", + "salsa20", + "subtle 2.6.1", + "zeroize", +] + [[package]] name = "ctr" version = "0.9.2" @@ -2297,8 +2421,8 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" -version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2307,20 +2431,18 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "parity-scale-codec", "sc-client-api", - "sp-api", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-inherents", "sp-runtime", "sp-state-machine", "sp-storage", - "sp-trie", "tracing", ] [[package]] name = "cumulus-primitives-core" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.18.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2335,8 +2457,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.18.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2349,8 +2471,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.12.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2359,8 +2481,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "9.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -2376,13 +2498,13 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.23.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "cumulus-primitives-core", "futures", - "jsonrpsee-core 0.24.9", + "jsonrpsee-core", "parity-scale-codec", "polkadot-overseer", "sc-client-api", @@ -2395,8 +2517,8 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2496,38 +2618,14 @@ dependencies = [ "syn 2.0.106", ] -[[package]] -name = "darling" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" -dependencies = [ - "darling_core 0.14.4", - "darling_macro 0.14.4", -] - [[package]] name = "darling" version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" dependencies = [ - "darling_core 0.20.11", - "darling_macro 0.20.11", -] - -[[package]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn 1.0.109", + "darling_core", + "darling_macro", ] [[package]] @@ -2540,28 +2638,17 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", + "strsim", "syn 2.0.106", ] -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core 0.14.4", - "quote", - "syn 1.0.109", -] - [[package]] name = "darling_macro" version = "0.20.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ - "darling_core 0.20.11", + "darling_core", "quote", "syn 2.0.106", ] @@ -2607,7 +2694,7 @@ dependencies = [ [[package]] name = "datahaven-mainnet-runtime" -version = "0.26.0" +version = "0.23.0" dependencies = [ "alloy-core", "bridge-hub-common 0.13.1", @@ -2669,7 +2756,6 @@ dependencies = [ "pallet-file-system", "pallet-file-system-runtime-api", "pallet-grandpa", - "pallet-grandpa-benchmarking", "pallet-identity", "pallet-im-online", "pallet-message-queue", @@ -2720,11 +2806,11 @@ dependencies = [ "shp-treasury-funding", "shp-tx-implicits-runtime-api", "smallvec", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", + "snowbridge-merkle-tree 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "snowbridge-outbound-queue-v2-runtime-api", "snowbridge-pallet-ethereum-client", "snowbridge-pallet-ethereum-client-fixtures", @@ -2733,7 +2819,7 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-pallet-system-v2", "snowbridge-system-v2-runtime-api", - "snowbridge-verification-primitives", + "snowbridge-verification-primitives 0.23.0", "sp-api", "sp-block-builder", "sp-consensus-babe", @@ -2748,7 +2834,6 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", "sp-storage", "sp-tracing", "sp-transaction-pool", @@ -2764,7 +2849,7 @@ dependencies = [ [[package]] name = "datahaven-node" -version = "0.26.0" +version = "0.23.0" dependencies = [ "async-channel 1.9.0", "clap", @@ -2790,7 +2875,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "futures", "hex-literal 0.3.4", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "mmr-gadget", "mmr-rpc", @@ -2877,7 +2962,7 @@ dependencies = [ [[package]] name = "datahaven-runtime-common" -version = "0.26.0" +version = "0.23.0" dependencies = [ "alloy-core", "fp-account", @@ -2901,17 +2986,16 @@ dependencies = [ "polkadot-runtime-common", "precompile-utils", "scale-info", - "snowbridge-outbound-queue-primitives", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", ] [[package]] name = "datahaven-stagenet-runtime" -version = "0.26.0" +version = "0.23.0" dependencies = [ "alloy-core", "bridge-hub-common 0.13.1", @@ -2973,7 +3057,6 @@ dependencies = [ "pallet-file-system", "pallet-file-system-runtime-api", "pallet-grandpa", - "pallet-grandpa-benchmarking", "pallet-identity", "pallet-im-online", "pallet-message-queue", @@ -3024,11 +3107,11 @@ dependencies = [ "shp-treasury-funding", "shp-tx-implicits-runtime-api", "smallvec", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", + "snowbridge-merkle-tree 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "snowbridge-outbound-queue-v2-runtime-api", "snowbridge-pallet-ethereum-client", "snowbridge-pallet-ethereum-client-fixtures", @@ -3037,7 +3120,7 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-pallet-system-v2", "snowbridge-system-v2-runtime-api", - "snowbridge-verification-primitives", + "snowbridge-verification-primitives 0.23.0", "sp-api", "sp-block-builder", "sp-consensus-babe", @@ -3052,7 +3135,6 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", "sp-storage", "sp-tracing", "sp-transaction-pool", @@ -3068,7 +3150,7 @@ dependencies = [ [[package]] name = "datahaven-testnet-runtime" -version = "0.26.0" +version = "0.23.0" dependencies = [ "alloy-core", "bridge-hub-common 0.13.1", @@ -3130,7 +3212,6 @@ dependencies = [ "pallet-file-system", "pallet-file-system-runtime-api", "pallet-grandpa", - "pallet-grandpa-benchmarking", "pallet-identity", "pallet-im-online", "pallet-message-queue", @@ -3181,11 +3262,11 @@ dependencies = [ "shp-treasury-funding", "shp-tx-implicits-runtime-api", "smallvec", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", + "snowbridge-merkle-tree 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "snowbridge-outbound-queue-v2-runtime-api", "snowbridge-pallet-ethereum-client", "snowbridge-pallet-ethereum-client-fixtures", @@ -3194,7 +3275,7 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-pallet-system-v2", "snowbridge-system-v2-runtime-api", - "snowbridge-verification-primitives", + "snowbridge-verification-primitives 0.23.0", "sp-api", "sp-block-builder", "sp-consensus-babe", @@ -3209,7 +3290,6 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", "sp-storage", "sp-tracing", "sp-transaction-pool", @@ -3238,11 +3318,11 @@ dependencies = [ [[package]] name = "der-parser" -version = "8.2.0" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs 0.6.2", "displaydoc", "nom", "num-bigint", @@ -3374,7 +3454,7 @@ dependencies = [ [[package]] name = "dhp-bridge" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-support", "frame-system", @@ -3382,10 +3462,9 @@ dependencies = [ "pallet-datahaven-native-transfer", "pallet-external-validators", "parity-scale-codec", - "snowbridge-core 0.26.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", "sp-core", - "sp-std", ] [[package]] @@ -3460,12 +3539,6 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - [[package]] name = "digest" version = "0.8.1" @@ -3515,6 +3588,15 @@ dependencies = [ "dirs-sys-next", ] +[[package]] +name = "dirs" +version = "5.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +dependencies = [ + "dirs-sys", +] + [[package]] name = "dirs-sys" version = "0.4.1" @@ -3606,7 +3688,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "139ae9aca7527f85f26dd76483eb38533fd84bd571065da1739656ef71c5ff5b" dependencies = [ - "darling 0.20.11", + "darling", "either", "heck 0.5.0", "proc-macro2", @@ -3765,18 +3847,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "enum-as-inner" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" -dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "enum-as-inner" version = "0.6.1" @@ -3895,20 +3965,22 @@ dependencies = [ "fixed-hash", "impl-codec 0.7.1", "impl-rlp", - "impl-serde 0.5.0", + "impl-serde", "scale-info", "tiny-keccak", ] [[package]] name = "ethereum" -version = "0.15.0" -source = "git+https://github.com/rust-ethereum/ethereum?rev=3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba#3be0d8fd4c2ad1ba216b69ef65b9382612efc8ba" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ee371ebb7479ed3258617557ab0b3247e741075cb6b02b820d188f68da44441" dependencies = [ "bytes", "ethereum-types", "hash-db", "hash256-std-hasher", + "k256", "parity-scale-codec", "rlp 0.6.1", "scale-info", @@ -3927,7 +3999,7 @@ dependencies = [ "fixed-hash", "impl-codec 0.7.1", "impl-rlp", - "impl-serde 0.5.0", + "impl-serde", "primitive-types 0.13.1", "scale-info", "uint 0.10.0", @@ -3939,16 +4011,6 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" -[[package]] -name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "pin-project-lite", -] - [[package]] name = "event-listener" version = "5.4.1" @@ -3972,8 +4034,9 @@ dependencies = [ [[package]] name = "evm" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=6d86fe2d3bcc14887c2575f62958a67ac2d523db#6d86fe2d3bcc14887c2575f62958a67ac2d523db" +version = "0.43.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b54f188e7563c1702ecefdef92c8b2c4be8941b84a50684907a747f87121aace" dependencies = [ "auto_impl", "environmental", @@ -3992,8 +4055,9 @@ dependencies = [ [[package]] name = "evm-core" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=6d86fe2d3bcc14887c2575f62958a67ac2d523db#6d86fe2d3bcc14887c2575f62958a67ac2d523db" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22ef956f8cc0c25a2d8be1dea7d659782b7c5f201f7e8057878f2051eec78350" dependencies = [ "parity-scale-codec", "primitive-types 0.13.1", @@ -4003,8 +4067,9 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=6d86fe2d3bcc14887c2575f62958a67ac2d523db#6d86fe2d3bcc14887c2575f62958a67ac2d523db" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54aa0327b242bad8dd83ba524effd1d798e9102ff592910dfdded79c6bde4ff3" dependencies = [ "environmental", "evm-core", @@ -4014,8 +4079,9 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.42.0" -source = "git+https://github.com/rust-ethereum/evm?rev=6d86fe2d3bcc14887c2575f62958a67ac2d523db#6d86fe2d3bcc14887c2575f62958a67ac2d523db" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf22109a8f12b6d9ae60475584c80f2c9d48cf12427eac651b69ce14e5b95666" dependencies = [ "auto_impl", "environmental", @@ -4115,7 +4181,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "async-trait", "fp-storage", @@ -4127,7 +4193,7 @@ dependencies = [ [[package]] name = "fc-cli" version = "1.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "clap", "ethereum-types", @@ -4145,7 +4211,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "async-trait", "fp-consensus", @@ -4155,13 +4221,13 @@ dependencies = [ "sp-block-builder", "sp-consensus", "sp-runtime", - "thiserror 1.0.69", + "thiserror 2.0.17", ] [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "async-trait", "ethereum", @@ -4191,7 +4257,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "fc-db", "fc-storage", @@ -4214,7 +4280,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "ethereum", "ethereum-types", @@ -4228,20 +4294,19 @@ dependencies = [ "fp-storage", "futures", "hex", - "jsonrpsee 0.24.9", + "jsonrpsee", "libsecp256k1", "log", "pallet-evm", "parity-scale-codec", "prometheus", - "rand 0.8.5", + "rand 0.9.2", "rlp 0.6.1", "sc-client-api", "sc-network", "sc-network-sync", "sc-rpc", "sc-service", - "sc-transaction-pool", "sc-transaction-pool-api", "sc-utils", "schnellru", @@ -4257,30 +4322,31 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-storage", + "sp-trie", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror 2.0.17", "tokio", ] [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "ethereum", "ethereum-types", - "jsonrpsee 0.24.9", + "jsonrpsee", "rlp 0.6.1", "rustc-hex", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", ] [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "ethereum", "ethereum-types", @@ -4374,16 +4440,6 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3" -[[package]] -name = "finito" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2384245d85162258a14b43567a9ee3598f5ae746a1581fb5d3d2cb780f0dbf95" -dependencies = [ - "futures-timer", - "pin-project", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -4414,15 +4470,6 @@ version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7ac824320a75a52197e8f2d787f6a38b6718bb6897a35142d749af3c0e8f4fe" -[[package]] -name = "float-cmp" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -dependencies = [ - "num-traits", -] - [[package]] name = "flume" version = "0.10.14" @@ -4483,7 +4530,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", ] @@ -4510,10 +4557,10 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "hex", - "impl-serde 0.5.0", + "impl-serde", "libsecp256k1", "log", "parity-scale-codec", @@ -4529,7 +4576,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "ethereum", "parity-scale-codec", @@ -4540,7 +4587,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "ethereum", "ethereum-types", @@ -4552,7 +4599,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "environmental", "evm", @@ -4568,7 +4615,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "ethereum", "ethereum-types", @@ -4584,7 +4631,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "frame-support", "parity-scale-codec", @@ -4596,7 +4643,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "parity-scale-codec", "serde", @@ -4610,8 +4657,8 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.2.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-support-procedural", @@ -4634,8 +4681,8 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "46.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "48.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "Inflector", "array-bytes", @@ -4649,7 +4696,6 @@ dependencies = [ "frame-system", "gethostname", "handlebars", - "hex", "itertools 0.11.0", "linked-hash-map", "log", @@ -4664,7 +4710,7 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-executor", - "sc-executor-common", + "sc-runtime-utilities", "sc-service", "sc-sysinfo", "serde", @@ -4673,7 +4719,6 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", "sp-database", "sp-externalities", "sp-genesis-builder", @@ -4694,10 +4739,24 @@ dependencies = [ "thousands", ] +[[package]] +name = "frame-decode" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6027a409bac4fe95b4d107f965fcdbc252fc89d884a360d076b3070b6128c094" +dependencies = [ + "frame-metadata 17.0.0", + "parity-scale-codec", + "scale-decode 0.14.0", + "scale-info", + "scale-type-resolver", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "frame-election-provider-solution-type" -version = "14.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "16.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "proc-macro-crate 3.4.0", "proc-macro2", @@ -4707,8 +4766,8 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "39.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4723,8 +4782,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "aquamarine", "frame-support", @@ -4741,20 +4800,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "15.1.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "frame-metadata" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +checksum = "701bac17e9b55e0f95067c428ebcb46496587f08e8cf4ccc0fe5903bea10dbb8" dependencies = [ "cfg-if", "parity-scale-codec", @@ -4764,9 +4812,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "18.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daaf440c68eb2c3d88e5760fe8c7af3f9fee9181fab6c2f2c4e7cc48dcc40bb8" +checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" dependencies = [ "cfg-if", "parity-scale-codec", @@ -4776,8 +4824,8 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.8.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "const-hex", @@ -4792,8 +4840,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "aquamarine", "array-bytes", @@ -4801,7 +4849,7 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 18.0.0", + "frame-metadata 20.0.0", "frame-support-procedural", "impl-trait-for-tuples", "k256", @@ -4812,7 +4860,6 @@ dependencies = [ "scale-info", "serde", "serde_json", - "smallvec", "sp-api", "sp-arithmetic", "sp-core", @@ -4829,14 +4876,13 @@ dependencies = [ "sp-tracing", "sp-trie", "sp-weights", - "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "31.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "33.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "Inflector", "cfg-expr", @@ -4846,17 +4892,17 @@ dependencies = [ "frame-support-procedural-tools", "itertools 0.11.0", "macro_magic", - "proc-macro-warning 1.84.1", + "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "syn 2.0.106", ] [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.4.0", @@ -4868,7 +4914,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "proc-macro2", "quote", @@ -4878,11 +4924,11 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-executive", - "frame-metadata 18.0.0", + "frame-metadata 20.0.0", "frame-support", "frame-support-test-pallet", "frame-system", @@ -4905,7 +4951,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-system", @@ -4917,8 +4963,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "cfg-if", "docify", @@ -4930,15 +4976,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-version", "sp-weights", ] [[package]] name = "frame-system-benchmarking" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4951,8 +4996,8 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "parity-scale-codec", @@ -4961,8 +5006,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.46.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "parity-scale-codec", @@ -5012,9 +5057,9 @@ dependencies = [ [[package]] name = "futures-bounded" -version = "0.1.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" +checksum = "91f328e7fb845fc832912fb6a34f40cf6d1888c92f974d1893a54e97b5ff542e" dependencies = [ "futures-timer", "futures-util", @@ -5091,12 +5136,13 @@ dependencies = [ [[package]] name = "futures-rustls" -version = "0.24.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" +checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb" dependencies = [ "futures-io", - "rustls 0.21.12", + "rustls", + "rustls-pki-types", ] [[package]] @@ -5234,9 +5280,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" dependencies = [ "fallible-iterator 0.3.0", "stable_deref_trait", @@ -5485,6 +5531,15 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" +[[package]] +name = "hex-conservative" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fda06d18ac606267c40c04e41b9947729bf8b9efe74bd4e82b61a5f26a510b9f" +dependencies = [ + "arrayvec 0.7.6", +] + [[package]] name = "hex-literal" version = "0.3.4" @@ -5497,6 +5552,31 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" +[[package]] +name = "hickory-proto" +version = "0.24.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92652067c9ce6f66ce53cc38d1169daa36e6e7eb7dd3b63b5103bd9d97117248" +dependencies = [ + "async-trait", + "cfg-if", + "data-encoding", + "enum-as-inner", + "futures-channel", + "futures-io", + "futures-util", + "idna", + "ipnet", + "once_cell", + "rand 0.8.5", + "socket2 0.5.10", + "thiserror 1.0.69", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "hickory-proto" version = "0.25.2" @@ -5506,11 +5586,11 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner 0.6.1", + "enum-as-inner", "futures-channel", "futures-io", "futures-util", - "idna 1.1.0", + "idna", "ipnet", "once_cell", "rand 0.9.2", @@ -5522,6 +5602,27 @@ dependencies = [ "url", ] +[[package]] +name = "hickory-resolver" +version = "0.24.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbb117a1ca520e111743ab2f6688eddee69db4e0ea242545a604dce8a66fd22e" +dependencies = [ + "cfg-if", + "futures-util", + "hickory-proto 0.24.4", + "ipconfig", + "lru-cache", + "once_cell", + "parking_lot 0.12.5", + "rand 0.8.5", + "resolv-conf", + "smallvec", + "thiserror 1.0.69", + "tokio", + "tracing", +] + [[package]] name = "hickory-resolver" version = "0.25.2" @@ -5530,7 +5631,7 @@ checksum = "dc62a9a99b0bfb44d2ab95a7208ac952d31060efc16241c87eaf36406fecf87a" dependencies = [ "cfg-if", "futures-util", - "hickory-proto", + "hickory-proto 0.25.2", "ipconfig", "moka", "once_cell", @@ -5656,6 +5757,16 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" +[[package]] +name = "humantime-serde" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" +dependencies = [ + "humantime", + "serde", +] + [[package]] name = "hyper" version = "0.14.32" @@ -5703,22 +5814,6 @@ dependencies = [ "want", ] -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http 0.2.12", - "hyper 0.14.32", - "log", - "rustls 0.21.12", - "rustls-native-certs 0.6.3", - "tokio", - "tokio-rustls 0.24.1", -] - [[package]] name = "hyper-rustls" version = "0.27.7" @@ -5729,11 +5824,11 @@ dependencies = [ "hyper 1.7.0", "hyper-util", "log", - "rustls 0.23.32", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.4", + "tokio-rustls", "tower-service", "webpki-roots 1.0.3", ] @@ -5878,27 +5973,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "idna" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "1.1.0" @@ -6010,15 +6084,6 @@ dependencies = [ "rlp 0.6.1", ] -[[package]] -name = "impl-serde" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" -dependencies = [ - "serde", -] - [[package]] name = "impl-serde" version = "0.5.0" @@ -6229,20 +6294,6 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" -[[package]] -name = "jni" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" -dependencies = [ - "cesu8", - "combine", - "jni-sys", - "log", - "thiserror 1.0.69", - "walkdir", -] - [[package]] name = "jni" version = "0.21.1" @@ -6285,132 +6336,45 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "jsonrpsee" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" -dependencies = [ - "jsonrpsee-client-transport 0.22.5", - "jsonrpsee-core 0.22.5", - "jsonrpsee-http-client", - "jsonrpsee-types 0.22.5", -] - -[[package]] -name = "jsonrpsee" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" -dependencies = [ - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", - "jsonrpsee-ws-client", -] - [[package]] name = "jsonrpsee" version = "0.24.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b26c20e2178756451cfeb0661fb74c47dd5988cb7e3939de7e9241fd604d42" dependencies = [ - "jsonrpsee-core 0.24.9", + "jsonrpsee-client-transport", + "jsonrpsee-core", "jsonrpsee-proc-macros", "jsonrpsee-server", - "jsonrpsee-types 0.24.9", + "jsonrpsee-types", + "jsonrpsee-ws-client", "tokio", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.22.5" +version = "0.24.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" -dependencies = [ - "futures-util", - "http 0.2.12", - "jsonrpsee-core 0.22.5", - "pin-project", - "rustls-native-certs 0.7.3", - "rustls-pki-types", - "soketto 0.7.1", - "thiserror 1.0.69", - "tokio", - "tokio-rustls 0.25.0", - "tokio-util", - "tracing", - "url", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" +checksum = "bacb85abf4117092455e1573625e21b8f8ef4dec8aff13361140b2dc266cdff2" dependencies = [ "base64 0.22.1", "futures-util", "http 1.3.1", - "jsonrpsee-core 0.23.2", + "jsonrpsee-core", "pin-project", - "rustls 0.23.32", + "rustls", "rustls-pki-types", - "rustls-platform-verifier 0.3.4", - "soketto 0.8.1", + "rustls-platform-verifier", + "soketto", "thiserror 1.0.69", "tokio", - "tokio-rustls 0.26.4", + "tokio-rustls", "tokio-util", "tracing", "url", ] -[[package]] -name = "jsonrpsee-core" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "futures-timer", - "futures-util", - "hyper 0.14.32", - "jsonrpsee-types 0.22.5", - "pin-project", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tokio-stream", - "tracing", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b" -dependencies = [ - "anyhow", - "async-trait", - "beef", - "futures-timer", - "futures-util", - "jsonrpsee-types 0.23.2", - "pin-project", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tokio-stream", - "tracing", -] - [[package]] name = "jsonrpsee-core" version = "0.24.9" @@ -6419,41 +6383,24 @@ checksum = "456196007ca3a14db478346f58c7238028d55ee15c1df15115596e411ff27925" dependencies = [ "async-trait", "bytes", + "futures-timer", "futures-util", "http 1.3.1", "http-body 1.0.1", "http-body-util", - "jsonrpsee-types 0.24.9", + "jsonrpsee-types", "parking_lot 0.12.5", + "pin-project", "rand 0.8.5", "rustc-hash 2.1.1", "serde", "serde_json", "thiserror 1.0.69", "tokio", + "tokio-stream", "tracing", ] -[[package]] -name = "jsonrpsee-http-client" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" -dependencies = [ - "async-trait", - "hyper 0.14.32", - "hyper-rustls 0.24.2", - "jsonrpsee-core 0.22.5", - "jsonrpsee-types 0.22.5", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tower 0.4.13", - "tracing", - "url", -] - [[package]] name = "jsonrpsee-proc-macros" version = "0.24.9" @@ -6479,13 +6426,13 @@ dependencies = [ "http-body-util", "hyper 1.7.0", "hyper-util", - "jsonrpsee-core 0.24.9", - "jsonrpsee-types 0.24.9", + "jsonrpsee-core", + "jsonrpsee-types", "pin-project", "route-recognizer", "serde", "serde_json", - "soketto 0.8.1", + "soketto", "thiserror 1.0.69", "tokio", "tokio-stream", @@ -6494,32 +6441,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-types" -version = "0.22.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror 1.0.69", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af" -dependencies = [ - "beef", - "http 1.3.1", - "serde", - "serde_json", - "thiserror 1.0.69", -] - [[package]] name = "jsonrpsee-types" version = "0.24.9" @@ -6534,14 +6455,14 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.23.2" +version = "0.24.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" +checksum = "01b3323d890aa384f12148e8d2a1fd18eb66e9e7e825f9de4fa53bcc19b93eef" dependencies = [ "http 1.3.1", - "jsonrpsee-client-transport 0.23.2", - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", "url", ] @@ -6581,11 +6502,11 @@ dependencies = [ [[package]] name = "keccak-hash" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b286e6b663fb926e1eeb68528e69cb70ed46c6d65871a21b2215ae8154c6d3c" +checksum = "3e1b8590eb6148af2ea2d75f38e7d29f5ca970d5a4df456b3ef19b8b415d0264" dependencies = [ - "primitive-types 0.12.2", + "primitive-types 0.13.1", "tiny-keccak", ] @@ -6710,16 +6631,15 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libp2p" -version = "0.52.4" +version = "0.54.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" +checksum = "bbbe80f9c7e00526cd6b838075b9c171919404a4732cb2fa8ece0a093223bfc4" dependencies = [ "bytes", "either", "futures", "futures-timer", "getrandom 0.2.16", - "instant", "libp2p-allow-block-list", "libp2p-connection-limits", "libp2p-core", @@ -6736,7 +6656,6 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-upnp", - "libp2p-wasm-ext", "libp2p-websocket", "libp2p-yamux", "multiaddr 0.18.2", @@ -6747,9 +6666,9 @@ dependencies = [ [[package]] name = "libp2p-allow-block-list" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" +checksum = "d1027ccf8d70320ed77e984f273bc8ce952f623762cb9bf2d126df73caef8041" dependencies = [ "libp2p-core", "libp2p-identity", @@ -6759,9 +6678,9 @@ dependencies = [ [[package]] name = "libp2p-connection-limits" -version = "0.2.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" +checksum = "8d003540ee8baef0d254f7b6bfd79bac3ddf774662ca0abf69186d517ef82ad8" dependencies = [ "libp2p-core", "libp2p-identity", @@ -6771,17 +6690,15 @@ dependencies = [ [[package]] name = "libp2p-core" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" +checksum = "a61f26c83ed111104cd820fe9bc3aaabbac5f1652a1d213ed6e900b7918a1298" dependencies = [ "either", "fnv", "futures", "futures-timer", - "instant", "libp2p-identity", - "log", "multiaddr 0.18.2", "multihash 0.19.3", "multistream-select", @@ -6793,33 +6710,35 @@ dependencies = [ "rw-stream-sink", "smallvec", "thiserror 1.0.69", - "unsigned-varint 0.7.2", + "tracing", + "unsigned-varint 0.8.0", "void", + "web-time", ] [[package]] name = "libp2p-dns" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" +checksum = "97f37f30d5c7275db282ecd86e54f29dd2176bd3ac656f06abf43bedb21eb8bd" dependencies = [ "async-trait", "futures", + "hickory-resolver 0.24.4", "libp2p-core", "libp2p-identity", - "log", "parking_lot 0.12.5", "smallvec", - "trust-dns-resolver", + "tracing", ] [[package]] name = "libp2p-identify" -version = "0.43.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" +checksum = "1711b004a273be4f30202778856368683bd9a83c4c7dcc8f848847606831a4e3" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.7.0", "either", "futures", "futures-bounded", @@ -6827,12 +6746,12 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "lru 0.12.5", "quick-protobuf", "quick-protobuf-codec", "smallvec", "thiserror 1.0.69", + "tracing", "void", ] @@ -6856,83 +6775,84 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.44.6" +version = "0.46.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" +checksum = "ced237d0bd84bbebb7c2cad4c073160dacb4fe40534963c32ed6d4c6bb7702a3" dependencies = [ "arrayvec 0.7.6", - "asynchronous-codec", + "asynchronous-codec 0.7.0", "bytes", "either", "fnv", "futures", + "futures-bounded", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", "sha2 0.10.9", "smallvec", "thiserror 1.0.69", + "tracing", "uint 0.9.5", - "unsigned-varint 0.7.2", "void", + "web-time", ] [[package]] name = "libp2p-mdns" -version = "0.44.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" +checksum = "14b8546b6644032565eb29046b42744aee1e9f261ed99671b2c93fb140dba417" dependencies = [ "data-encoding", "futures", + "hickory-proto 0.24.4", "if-watch", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand 0.8.5", "smallvec", "socket2 0.5.10", "tokio", - "trust-dns-proto 0.22.0", + "tracing", "void", ] [[package]] name = "libp2p-metrics" -version = "0.13.1" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" +checksum = "77ebafa94a717c8442d8db8d3ae5d1c6a15e30f2d347e0cd31d057ca72e42566" dependencies = [ - "instant", + "futures", "libp2p-core", "libp2p-identify", "libp2p-identity", "libp2p-kad", "libp2p-ping", "libp2p-swarm", - "once_cell", + "pin-project", "prometheus-client", + "web-time", ] [[package]] name = "libp2p-noise" -version = "0.43.2" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" +checksum = "36b137cb1ae86ee39f8e5d6245a296518912014eaa87427d24e6ff58cfc1b28c" dependencies = [ + "asynchronous-codec 0.7.0", "bytes", "curve25519-dalek", "futures", "libp2p-core", "libp2p-identity", - "log", "multiaddr 0.18.2", "multihash 0.19.3", "once_cell", @@ -6942,33 +6862,34 @@ dependencies = [ "snow", "static_assertions", "thiserror 1.0.69", + "tracing", "x25519-dalek", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.43.1" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" +checksum = "005a34420359223b974ee344457095f027e51346e992d1e0dcd35173f4cdd422" dependencies = [ "either", "futures", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand 0.8.5", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-quic" -version = "0.9.3" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" +checksum = "46352ac5cd040c70e88e7ff8257a2ae2f891a4076abad2c439584a31c15fd24e" dependencies = [ "bytes", "futures", @@ -6977,66 +6898,68 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-tls", - "log", "parking_lot 0.12.5", - "quinn 0.10.2", + "quinn", "rand 0.8.5", - "ring 0.16.20", - "rustls 0.21.12", + "ring 0.17.14", + "rustls", "socket2 0.5.10", "thiserror 1.0.69", "tokio", + "tracing", ] [[package]] name = "libp2p-request-response" -version = "0.25.3" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" +checksum = "1356c9e376a94a75ae830c42cdaea3d4fe1290ba409a22c809033d1b7dcab0a6" dependencies = [ "async-trait", "futures", - "instant", + "futures-bounded", + "futures-timer", "libp2p-core", "libp2p-identity", "libp2p-swarm", - "log", "rand 0.8.5", "smallvec", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-swarm" -version = "0.43.7" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" +checksum = "d7dd6741793d2c1fb2088f67f82cf07261f25272ebe3c0b0c311e0c6b50e851a" dependencies = [ "either", "fnv", "futures", "futures-timer", - "instant", "libp2p-core", "libp2p-identity", "libp2p-swarm-derive", - "log", + "lru 0.12.5", "multistream-select", "once_cell", "rand 0.8.5", "smallvec", "tokio", + "tracing", "void", + "web-time", ] [[package]] name = "libp2p-swarm-derive" -version = "0.33.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" +checksum = "206e0aa0ebe004d778d79fb0966aa0de996c19894e2c0605ba2f8524dd4443d8" dependencies = [ - "heck 0.4.1", - "proc-macro-warning 0.4.2", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.106", @@ -7044,9 +6967,9 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" +checksum = "ad964f312c59dcfcac840acd8c555de8403e295d39edf96f5240048b5fcaa314" dependencies = [ "futures", "futures-timer", @@ -7054,92 +6977,80 @@ dependencies = [ "libc", "libp2p-core", "libp2p-identity", - "log", "socket2 0.5.10", "tokio", + "tracing", ] [[package]] name = "libp2p-tls" -version = "0.2.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" +checksum = "47b23dddc2b9c355f73c1e36eb0c3ae86f7dc964a3715f0731cfad352db4d847" dependencies = [ "futures", "futures-rustls", "libp2p-core", "libp2p-identity", "rcgen", - "ring 0.16.20", - "rustls 0.21.12", + "ring 0.17.14", + "rustls", "rustls-webpki 0.101.7", "thiserror 1.0.69", - "x509-parser 0.15.1", + "x509-parser 0.16.0", "yasna", ] [[package]] name = "libp2p-upnp" -version = "0.1.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" +checksum = "01bf2d1b772bd3abca049214a3304615e6a36fa6ffc742bdd1ba774486200b8f" dependencies = [ "futures", "futures-timer", "igd-next", "libp2p-core", "libp2p-swarm", - "log", "tokio", + "tracing", "void", ] -[[package]] -name = "libp2p-wasm-ext" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" -dependencies = [ - "futures", - "js-sys", - "libp2p-core", - "send_wrapper", - "wasm-bindgen", - "wasm-bindgen-futures", -] - [[package]] name = "libp2p-websocket" -version = "0.42.2" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538" +checksum = "888b2ff2e5d8dcef97283daab35ad1043d18952b65e05279eecbe02af4c6e347" dependencies = [ "either", "futures", "futures-rustls", "libp2p-core", "libp2p-identity", - "log", "parking_lot 0.12.5", "pin-project-lite", "rw-stream-sink", - "soketto 0.8.1", + "soketto", "thiserror 1.0.69", + "tracing", "url", "webpki-roots 0.25.4", ] [[package]] name = "libp2p-yamux" -version = "0.44.1" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" +checksum = "788b61c80789dba9760d8c669a5bedb642c8267555c803fabd8396e4ca5c5882" dependencies = [ + "either", "futures", "libp2p-core", - "log", "thiserror 1.0.69", + "tracing", "yamux 0.12.1", + "yamux 0.13.7", ] [[package]] @@ -7316,10 +7227,10 @@ dependencies = [ "ed25519-dalek", "futures", "futures-timer", - "hickory-resolver", + "hickory-resolver 0.25.2", "indexmap 2.11.4", "libc", - "mockall 0.13.1", + "mockall", "multiaddr 0.17.1", "multihash 0.17.0", "network-interface", @@ -7524,12 +7435,6 @@ dependencies = [ "regex-automata", ] -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - [[package]] name = "matchit" version = "0.8.4" @@ -7609,15 +7514,15 @@ dependencies = [ [[package]] name = "merkleized-metadata" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38c592efaf1b3250df14c8f3c2d952233f0302bb81d3586db2f303666c1cd607" +checksum = "dc9b7ac0ce054412d9a85ff39bac27aec27483b06cef8756b57d9c29d448d081" dependencies = [ "array-bytes", "blake3", - "frame-metadata 18.0.0", + "frame-metadata 20.0.0", "parity-scale-codec", - "scale-decode", + "scale-decode 0.13.1", "scale-info", ] @@ -7723,8 +7628,8 @@ dependencies = [ [[package]] name = "mmr-gadget" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "futures", "log", @@ -7742,10 +7647,10 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "parity-scale-codec", "serde", "sp-api", @@ -7755,21 +7660,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "mockall" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "lazy_static", - "mockall_derive 0.11.4", - "predicates 2.1.5", - "predicates-tree", -] - [[package]] name = "mockall" version = "0.13.1" @@ -7779,23 +7669,11 @@ dependencies = [ "cfg-if", "downcast", "fragile", - "mockall_derive 0.13.1", - "predicates 3.1.3", + "mockall_derive", + "predicates", "predicates-tree", ] -[[package]] -name = "mockall_derive" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "mockall_derive" version = "0.13.1" @@ -7843,6 +7721,12 @@ dependencies = [ "version_check", ] +[[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" @@ -8097,12 +7981,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" -[[package]] -name = "no-std-net" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" - [[package]] name = "nodrop" version = "0.1.14" @@ -8137,12 +8015,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - [[package]] name = "ntapi" version = "0.4.2" @@ -8200,6 +8072,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.106", +] + [[package]] name = "num-format" version = "0.4.4" @@ -8316,9 +8199,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" dependencies = [ "memchr", ] @@ -8334,11 +8217,11 @@ dependencies = [ [[package]] name = "oid-registry" -version = "0.6.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs 0.6.2", ] [[package]] @@ -8482,8 +8365,8 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8500,8 +8383,8 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8514,8 +8397,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-system", @@ -8529,8 +8412,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-system", @@ -8542,8 +8425,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8565,8 +8448,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "41.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -8575,13 +8458,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "sp-core", "sp-runtime", ] [[package]] name = "pallet-beefy" -version = "40.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "41.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-system", @@ -8599,8 +8483,8 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -8624,8 +8508,8 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.19.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bitvec", "frame-benchmarking", @@ -8642,8 +8526,8 @@ dependencies = [ [[package]] name = "pallet-bucket-nfts" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8661,13 +8545,12 @@ dependencies = [ "sp-core", "sp-keyring", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-collective" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -8683,8 +8566,8 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8699,8 +8582,8 @@ dependencies = [ [[package]] name = "pallet-cr-randomness" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-support", "frame-system", @@ -8714,12 +8597,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-datahaven-native-transfer" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8727,20 +8609,19 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "snowbridge-core 0.26.0", - "snowbridge-outbound-queue-primitives", + "snowbridge-core 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "38.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8761,8 +8642,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8775,7 +8656,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "ethereum", "ethereum-types", @@ -8798,9 +8679,11 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ + "cumulus-primitives-storage-weight-reclaim", "environmental", + "ethereum", "evm", "fp-account", "fp-evm", @@ -8821,7 +8704,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "frame-support", "frame-system", @@ -8831,7 +8714,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-balances-erc20" -version = "0.26.0" +version = "0.23.0" dependencies = [ "fp-evm", "frame-support", @@ -8849,12 +8732,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-batch" -version = "0.26.0" +version = "0.23.0" dependencies = [ "evm", "fp-evm", @@ -8870,13 +8752,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "fp-evm", ] @@ -8884,7 +8765,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "fp-evm", "sp-core", @@ -8893,7 +8774,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-call-permit" -version = "0.26.0" +version = "0.23.0" dependencies = [ "evm", "fp-evm", @@ -8910,7 +8791,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] @@ -8933,7 +8813,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] @@ -8954,12 +8833,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-datahaven-native-transfer" -version = "0.26.0" +version = "0.23.0" dependencies = [ "evm", "fp-evm", @@ -8973,18 +8851,17 @@ dependencies = [ "parity-scale-codec", "precompile-utils", "scale-info", - "snowbridge-core 0.26.0", - "snowbridge-outbound-queue-primitives", + "snowbridge-core 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-file-system" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "fp-account", "fp-evm", @@ -8998,7 +8875,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] @@ -9018,13 +8894,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "fp-evm", "num", @@ -9047,12 +8922,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-proxy" -version = "0.26.0" +version = "0.23.0" dependencies = [ "evm", "fp-evm", @@ -9068,7 +8942,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] @@ -9091,12 +8964,11 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-evm-precompile-registry" -version = "0.26.0" +version = "0.23.0" dependencies = [ "fp-evm", "frame-support", @@ -9115,7 +8987,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "fp-evm", "tiny-keccak", @@ -9124,7 +8996,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "fp-evm", "ripemd", @@ -9142,12 +9014,13 @@ dependencies = [ "log", "pallet-external-validators", "pallet-session", + "pallet-staking", "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", - "snowbridge-core 0.26.0", - "snowbridge-outbound-queue-primitives", + "snowbridge-core 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-core", "sp-io", "sp-runtime", @@ -9156,7 +9029,7 @@ dependencies = [ [[package]] name = "pallet-external-validators" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9170,17 +9043,16 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "snowbridge-outbound-queue-primitives", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-core", "sp-io", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-external-validators-rewards" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9193,19 +9065,18 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "snowbridge-core 0.26.0", - "snowbridge-outbound-queue-primitives", + "snowbridge-core 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-core", "sp-io", "sp-runtime", "sp-staking", - "sp-std", ] [[package]] name = "pallet-fast-unstake" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -9222,8 +9093,8 @@ dependencies = [ [[package]] name = "pallet-file-system" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9244,28 +9115,26 @@ dependencies = [ "shp-traits", "sp-core", "sp-runtime", - "sp-std", "sp-trie", "sp-weights", ] [[package]] name = "pallet-file-system-runtime-api" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-grandpa" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -9284,29 +9153,10 @@ dependencies = [ "sp-staking", ] -[[package]] -name = "pallet-grandpa-benchmarking" -version = "0.26.0" -dependencies = [ - "finality-grandpa", - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-grandpa", - "pallet-session", - "parity-scale-codec", - "sp-application-crypto", - "sp-consensus-grandpa", - "sp-core", - "sp-runtime", - "sp-session", - "sp-std", -] - [[package]] name = "pallet-identity" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -9321,8 +9171,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -9340,8 +9190,8 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "43.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "environmental", "frame-benchmarking", @@ -9359,10 +9209,9 @@ dependencies = [ [[package]] name = "pallet-migrations" -version = "9.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "10.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "cfg-if", "docify", "frame-benchmarking", "frame-support", @@ -9370,32 +9219,29 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", "sp-core", + "sp-io", "sp-runtime", ] [[package]] name = "pallet-mmr" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "log", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-core", - "sp-io", "sp-mmr-primitives", - "sp-runtime", ] [[package]] name = "pallet-multisig" -version = "39.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "log", "parity-scale-codec", @@ -9405,8 +9251,8 @@ dependencies = [ [[package]] name = "pallet-nfts" -version = "33.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "34.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -9422,13 +9268,12 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-system", "log", - "pallet-balances", "parity-scale-codec", "scale-info", "serde", @@ -9438,7 +9283,7 @@ dependencies = [ [[package]] name = "pallet-outbound-commitment-store" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-support", "frame-system", @@ -9449,8 +9294,8 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.10.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.11.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -9466,8 +9311,8 @@ dependencies = [ [[package]] name = "pallet-payment-streams" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9486,20 +9331,19 @@ dependencies = [ [[package]] name = "pallet-payment-streams-runtime-api" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-preimage" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -9514,8 +9358,8 @@ dependencies = [ [[package]] name = "pallet-proofs-dealer" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9533,27 +9377,25 @@ dependencies = [ "sp-core", "sp-keyring", "sp-runtime", - "sp-std", "sp-trie", "sp-weights", ] [[package]] name = "pallet-proofs-dealer-runtime-api" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-proxy" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -9562,7 +9404,7 @@ dependencies = [ [[package]] name = "pallet-proxy-genesis-companion" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-support", "frame-system", @@ -9574,13 +9416,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-randomness" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9594,13 +9435,12 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-referenda" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9615,10 +9455,94 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-revive" +version = "0.6.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" +dependencies = [ + "alloy-core", + "derive_more 0.99.20", + "environmental", + "ethabi-decode", + "ethereum-types", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal 0.4.1", + "humantime-serde", + "impl-trait-for-tuples", + "log", + "num-bigint", + "num-integer", + "num-traits", + "pallet-revive-fixtures", + "pallet-revive-proc-macro", + "pallet-revive-uapi", + "pallet-transaction-payment", + "parity-scale-codec", + "paste", + "polkavm 0.21.0", + "polkavm-common 0.21.0", + "rand 0.8.5", + "rand_pcg", + "ripemd", + "rlp 0.6.1", + "scale-info", + "serde", + "sp-api", + "sp-arithmetic", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-slots", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "substrate-bn", + "subxt-signer", +] + +[[package]] +name = "pallet-revive-fixtures" +version = "0.3.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" +dependencies = [ + "anyhow", + "cargo_metadata", + "pallet-revive-uapi", + "polkavm-linker 0.21.0", + "sp-core", + "sp-io", + "toml 0.8.23", +] + +[[package]] +name = "pallet-revive-proc-macro" +version = "0.3.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.106", +] + +[[package]] +name = "pallet-revive-uapi" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" +dependencies = [ + "bitflags 1.3.2", + "pallet-revive-proc-macro", + "parity-scale-codec", + "polkavm-derive 0.21.0", + "scale-info", +] + [[package]] name = "pallet-safe-mode" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "21.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -9635,8 +9559,8 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "40.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "41.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -9652,8 +9576,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "frame-system", @@ -9673,7 +9597,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9681,13 +9605,12 @@ dependencies = [ "pallet-session", "parity-scale-codec", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-staking" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9708,8 +9631,8 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "22.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "log", "sp-arithmetic", @@ -9717,8 +9640,8 @@ dependencies = [ [[package]] name = "pallet-storage-providers" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-benchmarking", "frame-support", @@ -9733,26 +9656,24 @@ dependencies = [ "shp-traits", "sp-arithmetic", "sp-runtime", - "sp-std", "sp-trie", ] [[package]] name = "pallet-storage-providers-runtime-api" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-runtime", - "sp-std", ] [[package]] name = "pallet-sudo" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -9766,8 +9687,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -9785,8 +9706,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -9801,10 +9722,10 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -9817,8 +9738,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -9829,8 +9750,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -9848,25 +9769,22 @@ dependencies = [ [[package]] name = "pallet-tx-pause" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "21.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", - "frame-benchmarking", - "frame-support", - "frame-system", "pallet-balances", "pallet-proxy", "pallet-utility", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-runtime", ] [[package]] name = "pallet-utility" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -9880,8 +9798,8 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-benchmarking", "frame-support", @@ -9894,28 +9812,27 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", "parity-scale-codec", + "polkadot-sdk-frame", "scale-info", - "sp-api", - "sp-runtime", ] [[package]] name = "pallet-xcm" -version = "18.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.2.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", + "hex-literal 0.4.1", "pallet-balances", + "pallet-revive", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", @@ -9935,7 +9852,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.13.0", "rand 0.8.5", "rand_core 0.6.4", "serde", @@ -10088,6 +10005,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", + "hmac 0.12.1", "password-hash", ] @@ -10099,11 +10017,12 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" [[package]] name = "pem" -version = "1.1.1" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" dependencies = [ - "base64 0.13.1", + "base64 0.22.1", + "serde_core", ] [[package]] @@ -10264,9 +10183,9 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-ckb-merkle-mountain-range" -version = "0.7.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4b44320e5f7ce2c18227537a3032ae5b2c476a7e8eddba45333e1011fc31b92" +checksum = "221c71b432b38e494a0fdedb5f720e4cb974edf03a0af09e5b2238dbac7e6947" dependencies = [ "cfg-if", "itertools 0.10.5", @@ -10274,8 +10193,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "17.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10285,13 +10204,12 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bs58", "futures", "futures-timer", - "log", "parity-scale-codec", "polkadot-primitives", "prioritized-metered-channel", @@ -10299,13 +10217,12 @@ dependencies = [ "sc-service", "sc-tracing", "substrate-prometheus-endpoint", - "tracing-gum", ] [[package]] name = "polkadot-node-network-protocol" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "23.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -10329,8 +10246,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bitvec", "bounded-vec", @@ -10345,21 +10262,18 @@ dependencies = [ "sp-application-crypto", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime", "thiserror 1.0.69", "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem-types" -version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", - "bitvec", "derive_more 0.99.20", "fatality", "futures", @@ -10384,21 +10298,19 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", "futures-timer", "orchestra", - "parking_lot 0.12.5", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "sp-api", "sp-core", "tikv-jemalloc-ctl", "tracing-gum", @@ -10406,8 +10318,8 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "16.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bounded-collections", "derive_more 0.99.20", @@ -10422,8 +10334,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "18.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -10450,8 +10362,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bitvec", "frame-benchmarking", @@ -10482,7 +10394,6 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "serde_derive", "slot-range-helper", "sp-api", "sp-core", @@ -10501,8 +10412,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bs58", "frame-benchmarking", @@ -10513,12 +10424,11 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.2.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bitflags 1.3.2", "bitvec", - "derive_more 0.99.20", "frame-benchmarking", "frame-support", "frame-system", @@ -10534,7 +10444,6 @@ dependencies = [ "pallet-session", "pallet-staking", "pallet-timestamp", - "pallet-vesting", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", @@ -10560,10 +10469,19 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "polkadot-sdk" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb819108697967452fa6d8d96ab4c0d48cbaa423b3156499dcb24f1cf95d6775" +dependencies = [ + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "polkadot-sdk-frame" -version = "0.8.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.9.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-benchmarking", @@ -10576,6 +10494,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "serde", "sp-api", "sp-arithmetic", "sp-block-builder", @@ -10596,62 +10515,116 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", "tracing-gum", ] [[package]] name = "polkavm" -version = "0.9.3" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +checksum = "dd044ab1d3b11567ab6b98ca71259a992b4034220d5972988a0e96518e5d343d" dependencies = [ "libc", "log", - "polkavm-assembler", - "polkavm-common", - "polkavm-linux-raw", + "polkavm-assembler 0.18.0", + "polkavm-common 0.18.0", + "polkavm-linux-raw 0.18.0", +] + +[[package]] +name = "polkavm" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd34e2f74206fff33482ae1718e275f11365ef8c4de7f0e69217f8845303867" +dependencies = [ + "libc", + "log", + "polkavm-assembler 0.21.0", + "polkavm-common 0.21.0", + "polkavm-linux-raw 0.21.0", ] [[package]] name = "polkavm-assembler" -version = "0.9.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" +checksum = "eaad38dc420bfed79e6f731471c973ce5ff5e47ab403e63cf40358fef8a6368f" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-assembler" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f512bc80cb10439391a7c13a9eb2d37cf66b7305e7df0a06d662eff4f5b07625" dependencies = [ "log", ] [[package]] name = "polkavm-common" -version = "0.9.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +checksum = "31ff33982a807d8567645d4784b9b5d7ab87bcb494f534a57cadd9012688e102" dependencies = [ "log", + "polkavm-assembler 0.18.0", +] + +[[package]] +name = "polkavm-common" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c16b809cfd398f861261c045a8745e6c78b71ea7e0d3ef6f7cc553eb27bc17e" +dependencies = [ + "blake3", + "log", + "polkavm-assembler 0.21.0", ] [[package]] name = "polkavm-derive" -version = "0.9.1" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +checksum = "c2eb703f3b6404c13228402e98a5eae063fd16b8f58afe334073ec105ee4117e" dependencies = [ - "polkavm-derive-impl-macro", + "polkavm-derive-impl-macro 0.18.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47239245f87329541932c0d7fec750a66a75b13aa87dfe4fbfd637bab86ad387" +dependencies = [ + "polkavm-derive-impl-macro 0.21.0", ] [[package]] name = "polkavm-derive-impl" -version = "0.9.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +checksum = "2f2116a92e6e96220a398930f4c8a6cda1264206f3e2034fc9982bfd93f261f7" dependencies = [ - "polkavm-common", + "polkavm-common 0.18.0", + "proc-macro2", + "quote", + "syn 2.0.106", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24fd6c6215450c3e57511df5c38a82eb4bde208de15ee15046ac33852f3c3eaa" +dependencies = [ + "polkavm-common 0.21.0", "proc-macro2", "quote", "syn 2.0.106", @@ -10659,34 +10632,67 @@ dependencies = [ [[package]] name = "polkavm-derive-impl-macro" -version = "0.9.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +checksum = "48c16669ddc7433e34c1007d31080b80901e3e8e523cb9d4b441c3910cf9294b" dependencies = [ - "polkavm-derive-impl", + "polkavm-derive-impl 0.18.1", + "syn 2.0.106", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36837f6b7edfd6f4498f8d25d81da16cf03bd6992c3e56f3d477dfc90f4fefca" +dependencies = [ + "polkavm-derive-impl 0.21.0", "syn 2.0.106", ] [[package]] name = "polkavm-linker" -version = "0.9.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +checksum = "e9bfe793b094d9ea5c99b7c43ba46e277b0f8f48f4bbfdbabf8d3ebf701a4bd3" dependencies = [ - "gimli 0.28.1", + "dirs", + "gimli 0.31.1", "hashbrown 0.14.5", "log", - "object 0.32.2", - "polkavm-common", + "object 0.36.7", + "polkavm-common 0.18.0", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linker" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23bc764986c4a63f9ab9890c3f4eb9b4c13b6ff80d79685bd48ade147234aab4" +dependencies = [ + "dirs", + "gimli 0.31.1", + "hashbrown 0.14.5", + "log", + "object 0.36.7", + "polkavm-common 0.21.0", "regalloc2 0.9.3", "rustc-demangle", ] [[package]] name = "polkavm-linux-raw" -version = "0.9.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" +checksum = "23eff02c070c70f31878a3d915e88a914ecf3e153741e2fb572dde28cce20fde" + +[[package]] +name = "polkavm-linux-raw" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be6cd1d48c5e7814d287a3e12a339386a5dfa2f3ac72f932335f4cf56467f1b3" [[package]] name = "polling" @@ -10809,7 +10815,7 @@ dependencies = [ [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "derive_more 1.0.0", "environmental", @@ -10838,31 +10844,17 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/polkadot-evm/frontier?branch=stable2412#75329a2df49e2cc7981485392c31160929d1bd48" +source = "git+https://github.com/polkadot-evm/frontier?branch=stable2503#7d1cff7f13828b563752ad8a71458cab1ea42009" dependencies = [ "case", "num_enum", "prettyplease", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "syn 2.0.106", ] -[[package]] -name = "predicates" -version = "2.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" -dependencies = [ - "difflib", - "float-cmp", - "itertools 0.10.5", - "normalize-line-endings", - "predicates-core", - "regex", -] - [[package]] name = "predicates" version = "3.1.3" @@ -10917,8 +10909,6 @@ checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec 0.6.0", - "impl-serde 0.4.0", - "scale-info", "uint 0.9.5", ] @@ -10932,7 +10922,7 @@ dependencies = [ "impl-codec 0.7.1", "impl-num-traits", "impl-rlp", - "impl-serde 0.5.0", + "impl-serde", "scale-info", "uint 0.10.0", ] @@ -11028,17 +11018,6 @@ dependencies = [ "syn 2.0.106", ] -[[package]] -name = "proc-macro-warning" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.106", -] - [[package]] name = "proc-macro-warning" version = "1.84.1" @@ -11075,9 +11054,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.21.2" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" +checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", @@ -11262,33 +11241,15 @@ dependencies = [ [[package]] name = "quick-protobuf-codec" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" +checksum = "15a0580ab32b169745d7a39db2ba969226ca16738931be152a3209b409de2474" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.7.0", "bytes", "quick-protobuf", "thiserror 1.0.69", - "unsigned-varint 0.7.2", -] - -[[package]] -name = "quinn" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" -dependencies = [ - "bytes", - "futures-io", - "pin-project-lite", - "quinn-proto 0.10.6", - "quinn-udp 0.4.1", - "rustc-hash 1.1.0", - "rustls 0.21.12", - "thiserror 1.0.69", - "tokio", - "tracing", + "unsigned-varint 0.8.0", ] [[package]] @@ -11299,11 +11260,12 @@ checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", "cfg_aliases 0.2.1", + "futures-io", "pin-project-lite", - "quinn-proto 0.11.13", - "quinn-udp 0.5.14", + "quinn-proto", + "quinn-udp", "rustc-hash 2.1.1", - "rustls 0.23.32", + "rustls", "socket2 0.6.0", "thiserror 2.0.17", "tokio", @@ -11311,23 +11273,6 @@ dependencies = [ "web-time", ] -[[package]] -name = "quinn-proto" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" -dependencies = [ - "bytes", - "rand 0.8.5", - "ring 0.16.20", - "rustc-hash 1.1.0", - "rustls 0.21.12", - "slab", - "thiserror 1.0.69", - "tinyvec", - "tracing", -] - [[package]] name = "quinn-proto" version = "0.11.13" @@ -11340,7 +11285,7 @@ dependencies = [ "rand 0.9.2", "ring 0.17.14", "rustc-hash 2.1.1", - "rustls 0.23.32", + "rustls", "rustls-pki-types", "slab", "thiserror 2.0.17", @@ -11349,19 +11294,6 @@ dependencies = [ "web-time", ] -[[package]] -name = "quinn-udp" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" -dependencies = [ - "bytes", - "libc", - "socket2 0.5.10", - "tracing", - "windows-sys 0.48.0", -] - [[package]] name = "quinn-udp" version = "0.5.14" @@ -11522,9 +11454,9 @@ dependencies = [ [[package]] name = "rcgen" -version = "0.10.0" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" +checksum = "52c4f3084aa3bc7dfbba4eff4fab2a54db4324965d8872ab933565e6fbd83bc6" dependencies = [ "pem", "ring 0.16.20", @@ -11532,22 +11464,6 @@ dependencies = [ "yasna", ] -[[package]] -name = "reconnecting-jsonrpsee-ws-client" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06fa4f17e09edfc3131636082faaec633c7baa269396b4004040bc6c52f49f65" -dependencies = [ - "cfg_aliases 0.2.1", - "finito", - "futures", - "jsonrpsee 0.23.2", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tracing", -] - [[package]] name = "redox_syscall" version = "0.2.16" @@ -11680,21 +11596,21 @@ dependencies = [ "http-body 1.0.1", "http-body-util", "hyper 1.7.0", - "hyper-rustls 0.27.7", + "hyper-rustls", "hyper-util", "js-sys", "log", "percent-encoding", "pin-project-lite", - "quinn 0.11.9", - "rustls 0.23.32", + "quinn", + "rustls", "rustls-pki-types", "serde", "serde_json", "serde_urlencoded", "sync_wrapper", "tokio", - "tokio-rustls 0.26.4", + "tokio-rustls", "tokio-util", "tower 0.5.2", "tower-http 0.6.6", @@ -11960,32 +11876,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "rustls" -version = "0.21.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" -dependencies = [ - "log", - "ring 0.17.14", - "rustls-webpki 0.101.7", - "sct", -] - -[[package]] -name = "rustls" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" -dependencies = [ - "log", - "ring 0.17.14", - "rustls-pki-types", - "rustls-webpki 0.102.8", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "rustls" version = "0.23.32" @@ -12001,31 +11891,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-native-certs" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" -dependencies = [ - "openssl-probe", - "rustls-pemfile 1.0.4", - "schannel", - "security-framework 2.11.1", -] - -[[package]] -name = "rustls-native-certs" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" -dependencies = [ - "openssl-probe", - "rustls-pemfile 2.2.0", - "rustls-pki-types", - "schannel", - "security-framework 2.11.1", -] - [[package]] name = "rustls-native-certs" version = "0.8.1" @@ -12038,15 +11903,6 @@ dependencies = [ "security-framework 3.5.1", ] -[[package]] -name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.7", -] - [[package]] name = "rustls-pemfile" version = "2.2.0" @@ -12066,27 +11922,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-platform-verifier" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490" -dependencies = [ - "core-foundation 0.9.4", - "core-foundation-sys", - "jni 0.19.0", - "log", - "once_cell", - "rustls 0.23.32", - "rustls-native-certs 0.7.3", - "rustls-platform-verifier-android", - "rustls-webpki 0.102.8", - "security-framework 2.11.1", - "security-framework-sys", - "webpki-roots 0.26.11", - "winapi", -] - [[package]] name = "rustls-platform-verifier" version = "0.5.3" @@ -12095,11 +11930,11 @@ checksum = "19787cda76408ec5404443dc8b31795c87cd8fec49762dc75fa727740d34acc1" dependencies = [ "core-foundation 0.10.1", "core-foundation-sys", - "jni 0.21.1", + "jni", "log", "once_cell", - "rustls 0.23.32", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-platform-verifier-android", "rustls-webpki 0.103.7", "security-framework 3.5.1", @@ -12124,17 +11959,6 @@ dependencies = [ "untrusted 0.9.0", ] -[[package]] -name = "rustls-webpki" -version = "0.102.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" -dependencies = [ - "ring 0.17.14", - "rustls-pki-types", - "untrusted 0.9.0", -] - [[package]] name = "rustls-webpki" version = "0.103.7" @@ -12166,13 +11990,12 @@ dependencies = [ [[package]] name = "ruzstd" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" +checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b" dependencies = [ "byteorder", "derive_more 0.99.20", - "twox-hash", ] [[package]] @@ -12201,6 +12024,15 @@ dependencies = [ "bytemuck", ] +[[package]] +name = "salsa20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" +dependencies = [ + "cipher 0.4.4", +] + [[package]] name = "same-file" version = "1.0.6" @@ -12212,8 +12044,8 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "log", "sp-core", @@ -12223,17 +12055,15 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", "futures-timer", "ip_network", - "libp2p", "linked_hash_set", "log", - "multihash 0.19.3", "parity-scale-codec", "prost 0.12.6", "prost-build 0.13.5", @@ -12253,11 +12083,10 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "futures", - "futures-timer", "log", "parity-scale-codec", "sc-block-builder", @@ -12275,8 +12104,8 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.44.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "sp-api", @@ -12290,12 +12119,11 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "43.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "docify", - "log", "memmap2 0.9.8", "parity-scale-codec", "sc-chain-spec-derive", @@ -12307,7 +12135,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -12318,7 +12146,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "proc-macro-crate 3.4.0", "proc-macro2", @@ -12328,8 +12156,8 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.50.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.52.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "chrono", @@ -12370,8 +12198,8 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "fnv", "futures", @@ -12389,7 +12217,6 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-state-machine", - "sp-statement-store", "sp-storage", "sp-trie", "substrate-prometheus-endpoint", @@ -12397,8 +12224,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.45.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.46.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "hash-db", "kvdb", @@ -12423,19 +12250,18 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", "log", - "mockall 0.11.4", + "mockall", "parking_lot 0.12.5", "sc-client-api", "sc-network-types", "sc-utils", "serde", - "sp-api", "sp-blockchain", "sp-consensus", "sp-core", @@ -12447,8 +12273,8 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", @@ -12476,8 +12302,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "fork-tree", @@ -12502,7 +12328,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -12512,13 +12338,12 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "async-channel 1.9.0", "async-trait", - "fnv", "futures", "log", "parity-scale-codec", @@ -12537,7 +12362,6 @@ dependencies = [ "sp-consensus", "sp-consensus-beefy", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -12548,11 +12372,11 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "futures", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.5", @@ -12568,8 +12392,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "fork-tree", "parity-scale-codec", @@ -12581,8 +12405,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "ahash", "array-bytes", @@ -12616,7 +12440,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -12625,14 +12449,14 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" -version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "assert_matches", "async-trait", "futures", "futures-timer", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", @@ -12660,8 +12484,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", @@ -12683,8 +12507,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.42.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "parking_lot 0.12.5", @@ -12706,10 +12530,10 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.38.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "polkavm", + "polkavm 0.18.0", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -12719,23 +12543,21 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "log", - "polkavm", + "polkavm 0.18.0", "sc-executor-common", "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" -version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.38.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "anyhow", - "cfg-if", - "libc", "log", "parking_lot 0.12.5", "rustix 0.36.17", @@ -12748,8 +12570,8 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "console", "futures", @@ -12757,7 +12579,6 @@ dependencies = [ "log", "sc-client-api", "sc-network", - "sc-network-common", "sc-network-sync", "sp-blockchain", "sp-runtime", @@ -12765,8 +12586,8 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "35.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "parking_lot 0.12.5", @@ -12779,8 +12600,8 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -12790,7 +12611,6 @@ dependencies = [ "futures-timer", "log", "mixnet", - "multiaddr 0.18.2", "parity-scale-codec", "parking_lot 0.12.5", "sc-client-api", @@ -12808,13 +12628,13 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.48.4" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.50.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "async-channel 1.9.0", "async-trait", - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes", "cid 0.9.0", "either", @@ -12826,8 +12646,7 @@ dependencies = [ "linked_hash_set", "litep2p", "log", - "mockall 0.11.4", - "once_cell", + "mockall", "parity-scale-codec", "parking_lot 0.12.5", "partial_sort", @@ -12859,26 +12678,18 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.48.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "async-trait", "bitflags 1.3.2", - "futures", - "libp2p-identity", "parity-scale-codec", - "prost-build 0.13.5", - "sc-consensus", - "sc-network-types", - "sp-consensus", - "sp-consensus-grandpa", "sp-runtime", ] [[package]] name = "sc-network-gossip" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "ahash", "futures", @@ -12896,8 +12707,8 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12917,17 +12728,16 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "async-channel 1.9.0", "async-trait", "fork-tree", "futures", - "futures-timer", "log", - "mockall 0.11.4", + "mockall", "parity-scale-codec", "prost 0.12.6", "prost-build 0.13.5", @@ -12953,8 +12763,8 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "futures", @@ -12972,12 +12782,14 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.15.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bs58", + "bytes", "ed25519-dalek", "libp2p-identity", + "libp2p-kad", "litep2p", "log", "multiaddr 0.18.2", @@ -12989,28 +12801,25 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "array-bytes", "bytes", "fnv", "futures", "futures-timer", "http-body-util", "hyper 1.7.0", - "hyper-rustls 0.27.7", + "hyper-rustls", "hyper-util", - "log", "num_cpus", "once_cell", "parity-scale-codec", "parking_lot 0.12.5", "rand 0.8.5", - "rustls 0.23.32", + "rustls", "sc-client-api", "sc-network", - "sc-network-common", "sc-network-types", "sc-transaction-pool-api", "sc-utils", @@ -13026,8 +12835,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -13035,11 +12844,11 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "45.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "futures", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.5", @@ -13067,10 +12876,10 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.49.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "jsonrpsee 0.24.9", + "jsonrpsee", "parity-scale-codec", "sc-chain-spec", "sc-mixnet", @@ -13087,8 +12896,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -13098,7 +12907,7 @@ dependencies = [ "http-body-util", "hyper 1.7.0", "ip_network", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "sc-rpc-api", "serde", @@ -13111,15 +12920,15 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.50.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "futures", "futures-util", "hex", "itertools 0.11.0", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.5", @@ -13136,22 +12945,38 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-version", + "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", "tokio-stream", ] +[[package]] +name = "sc-runtime-utilities" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" +dependencies = [ + "parity-scale-codec", + "sc-executor", + "sc-executor-common", + "sp-core", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", + "sp-state-machine", + "sp-wasm-interface", + "thiserror 1.0.69", +] + [[package]] name = "sc-service" -version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.51.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.5", @@ -13207,8 +13032,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.37.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.38.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "log", "parity-scale-codec", @@ -13218,8 +13043,8 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "derive_more 0.99.20", "futures", @@ -13232,15 +13057,14 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-io", - "sp-std", ] [[package]] name = "sc-telemetry" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "28.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "chrono", "futures", @@ -13249,7 +13073,6 @@ dependencies = [ "parking_lot 0.12.5", "pin-project", "rand 0.8.5", - "sc-network", "sc-utils", "serde", "serde_json", @@ -13259,8 +13082,8 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "chrono", "console", @@ -13287,8 +13110,8 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "11.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "proc-macro-crate 3.4.0", "proc-macro2", @@ -13298,8 +13121,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", @@ -13317,7 +13140,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -13325,15 +13148,17 @@ dependencies = [ "thiserror 1.0.69", "tokio", "tokio-stream", + "tracing", ] [[package]] name = "sc-transaction-pool-api" -version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", + "indexmap 2.11.4", "log", "parity-scale-codec", "serde", @@ -13345,8 +13170,8 @@ dependencies = [ [[package]] name = "sc-utils" -version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "18.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-channel 1.9.0", "futures", @@ -13377,7 +13202,20 @@ checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ "derive_more 0.99.20", "parity-scale-codec", - "primitive-types 0.12.2", + "scale-bits", + "scale-type-resolver", + "smallvec", +] + +[[package]] +name = "scale-decode" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ae9cc099ae85ff28820210732b00f019546f36f33225f509fe25d5816864a0" +dependencies = [ + "derive_more 1.0.0", + "parity-scale-codec", + "primitive-types 0.13.1", "scale-bits", "scale-decode-derive", "scale-type-resolver", @@ -13386,25 +13224,25 @@ dependencies = [ [[package]] name = "scale-decode-derive" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb22f574168103cdd3133b19281639ca65ad985e24612728f727339dcaf4021" +checksum = "5ed9401effa946b493f9f84dc03714cca98119b230497df6f3df6b84a2b03648" dependencies = [ - "darling 0.14.4", + "darling", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.106", ] [[package]] name = "scale-encode" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602" +checksum = "5f9271284d05d0749c40771c46180ce89905fd95aa72a2a2fddb4b7c0aa424db" dependencies = [ - "derive_more 0.99.20", + "derive_more 1.0.0", "parity-scale-codec", - "primitive-types 0.12.2", + "primitive-types 0.13.1", "scale-bits", "scale-encode-derive", "scale-type-resolver", @@ -13413,11 +13251,11 @@ dependencies = [ [[package]] name = "scale-encode-derive" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef2618f123c88da9cd8853b69d766068f1eddc7692146d7dfe9b89e25ce2efd" +checksum = "102fbc6236de6c53906c0b262f12c7aa69c2bdc604862c12728f5f4d370bc137" dependencies = [ - "darling 0.20.11", + "darling", "proc-macro-crate 3.4.0", "proc-macro2", "quote", @@ -13462,9 +13300,9 @@ dependencies = [ [[package]] name = "scale-typegen" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "498d1aecf2ea61325d4511787c115791639c0fd21ef4f8e11e49dd09eff2bbac" +checksum = "0dc4c70c7fea2eef1740f0081d3fe385d8bee1eef11e9272d3bec7dc8e5438e0" dependencies = [ "proc-macro2", "quote", @@ -13475,18 +13313,17 @@ dependencies = [ [[package]] name = "scale-value" -version = "0.16.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" +checksum = "f5e0ef2a0ee1e02a69ada37feb87ea1616ce9808aca072befe2d3131bf28576e" dependencies = [ "base58", "blake2 0.10.6", - "derive_more 0.99.20", + "derive_more 1.0.0", "either", - "frame-metadata 15.1.0", "parity-scale-codec", "scale-bits", - "scale-decode", + "scale-decode 0.14.0", "scale-encode", "scale-info", "scale-type-resolver", @@ -13555,13 +13392,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d68f2ec51b097e4c1a75b681a8bec621909b5e91f15bb7b840c4f2f7b01148b2" [[package]] -name = "sct" -version = "0.7.1" +name = "scrypt" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f" dependencies = [ - "ring 0.17.14", - "untrusted 0.9.0", + "password-hash", + "pbkdf2", + "salsa20", + "sha2 0.10.9", ] [[package]] @@ -13597,6 +13436,17 @@ dependencies = [ "secp256k1-sys 0.9.2", ] +[[package]] +name = "secp256k1" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" +dependencies = [ + "bitcoin_hashes 0.14.1", + "rand 0.8.5", + "secp256k1-sys 0.10.1", +] + [[package]] name = "secp256k1-sys" version = "0.8.2" @@ -13615,6 +13465,15 @@ dependencies = [ "cc", ] +[[package]] +name = "secp256k1-sys" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4387882333d3aa8cb20530a17c69a3752e97837832f34f6dccc760e715001d9" +dependencies = [ + "cc", +] + [[package]] name = "secrecy" version = "0.8.0" @@ -13624,6 +13483,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "secrecy" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e891af845473308773346dc847b2c23ee78fe442e0472ac50e22a18a93d3ae5a" +dependencies = [ + "zeroize", +] + [[package]] name = "security-framework" version = "2.11.1" @@ -13634,7 +13502,6 @@ dependencies = [ "core-foundation 0.9.4", "core-foundation-sys", "libc", - "num-bigint", "security-framework-sys", ] @@ -13704,12 +13571,6 @@ dependencies = [ "pest", ] -[[package]] -name = "send_wrapper" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" - [[package]] name = "serde" version = "1.0.228" @@ -13823,19 +13684,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - [[package]] name = "sha1" version = "0.10.6" @@ -13902,8 +13750,8 @@ dependencies = [ [[package]] name = "shc-actors-derive" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "once_cell", "proc-macro2", @@ -13915,8 +13763,8 @@ dependencies = [ [[package]] name = "shc-actors-framework" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "anyhow", "bincode", @@ -13934,8 +13782,8 @@ dependencies = [ [[package]] name = "shc-blockchain-service" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "anyhow", "array-bytes", @@ -13990,8 +13838,8 @@ dependencies = [ [[package]] name = "shc-blockchain-service-db" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "chrono", "diesel", @@ -14000,9 +13848,9 @@ dependencies = [ "futures", "hex", "log", - "rustls 0.23.32", - "rustls-pemfile 2.2.0", - "rustls-platform-verifier 0.5.3", + "rustls", + "rustls-pemfile", + "rustls-platform-verifier", "sc-transaction-pool-api", "serde", "serde_json", @@ -14014,8 +13862,8 @@ dependencies = [ [[package]] name = "shc-client" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "anyhow", "array-bytes", @@ -14023,7 +13871,6 @@ dependencies = [ "async-trait", "axum", "axum-extra", - "bytes", "chrono", "frame-benchmarking", "frame-benchmarking-cli", @@ -14031,7 +13878,7 @@ dependencies = [ "frame-system", "futures", "hex", - "jsonrpsee 0.24.9", + "jsonrpsee", "kvdb", "kvdb-rocksdb", "lazy_static", @@ -14089,13 +13936,12 @@ dependencies = [ [[package]] name = "shc-common" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "anyhow", "bigdecimal", "bincode", - "bytes", "cumulus-primitives-core", "cumulus-primitives-storage-weight-reclaim", "fp-account", @@ -14145,17 +13991,16 @@ dependencies = [ "sp-keystore", "sp-rpc", "sp-runtime", - "sp-std", "sp-trie", "substrate-frame-rpc-system", "thiserror 1.0.69", - "trie-db 0.29.1", + "trie-db 0.30.0", ] [[package]] name = "shc-file-manager" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "bincode", "hash-db", @@ -14163,7 +14008,6 @@ dependencies = [ "kvdb-memorydb", "kvdb-rocksdb", "log", - "lru 0.16.3", "parity-scale-codec", "serde_json", "shc-common", @@ -14174,13 +14018,13 @@ dependencies = [ "sp-trie", "strum 0.26.3", "thiserror 1.0.69", - "trie-db 0.29.1", + "trie-db 0.30.0", ] [[package]] name = "shc-file-transfer-service" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "anyhow", "array-bytes", @@ -14188,7 +14032,6 @@ dependencies = [ "async-trait", "chrono", "futures", - "pallet-storage-providers-runtime-api", "parity-scale-codec", "prost 0.12.6", "prost-build 0.12.6", @@ -14203,15 +14046,14 @@ dependencies = [ "shc-common", "shp-file-key-verifier", "shp-file-metadata", - "sp-api", "thiserror 1.0.69", "tokio", ] [[package]] name = "shc-fisherman-service" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "async-trait", "diesel", @@ -14241,8 +14083,8 @@ dependencies = [ [[package]] name = "shc-forest-manager" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "anyhow", "async-trait", @@ -14262,13 +14104,13 @@ dependencies = [ "sp-trie", "thiserror 1.0.69", "tokio", - "trie-db 0.29.1", + "trie-db 0.30.0", ] [[package]] name = "shc-indexer-db" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "bigdecimal", "chrono", @@ -14278,9 +14120,9 @@ dependencies = [ "futures", "hex", "log", - "rustls 0.23.32", - "rustls-pemfile 2.2.0", - "rustls-platform-verifier 0.5.3", + "rustls", + "rustls-pemfile", + "rustls-platform-verifier", "sc-network", "serde", "serde_json", @@ -14295,8 +14137,8 @@ dependencies = [ [[package]] name = "shc-indexer-service" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "anyhow", "array-bytes", @@ -14346,8 +14188,8 @@ dependencies = [ [[package]] name = "shc-rpc" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "array-bytes", "async-trait", @@ -14355,7 +14197,7 @@ dependencies = [ "futures", "futures-util", "hex", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "mime_guess", "pallet-file-system-runtime-api", @@ -14392,8 +14234,8 @@ dependencies = [ [[package]] name = "shc-telemetry" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -14409,8 +14251,8 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "shp-constants" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "sp-core", "sp-runtime", @@ -14418,8 +14260,8 @@ dependencies = [ [[package]] name = "shp-data-price-updater" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-support", "parity-scale-codec", @@ -14428,13 +14270,12 @@ dependencies = [ "shp-traits", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "shp-file-key-verifier" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-support", "parity-scale-codec", @@ -14444,15 +14285,14 @@ dependencies = [ "shp-traits", "sp-core", "sp-runtime", - "sp-std", "sp-trie", - "trie-db 0.29.1", + "trie-db 0.30.0", ] [[package]] name = "shp-file-metadata" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "hex", "num-bigint", @@ -14462,13 +14302,12 @@ dependencies = [ "shp-traits", "sp-arithmetic", "sp-core", - "sp-std", ] [[package]] name = "shp-forest-verifier" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-support", "parity-scale-codec", @@ -14477,23 +14316,22 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "sp-trie", - "trie-db 0.29.1", + "trie-db 0.30.0", ] [[package]] name = "shp-opaque" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "sp-runtime", ] [[package]] name = "shp-session-keys" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "async-trait", "parity-scale-codec", @@ -14502,27 +14340,25 @@ dependencies = [ "sp-inherents", "sp-keystore", "sp-runtime", - "sp-std", ] [[package]] name = "shp-traits" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "sp-core", "sp-runtime", - "sp-std", "sp-trie", ] [[package]] name = "shp-treasury-funding" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "log", "shp-traits", @@ -14532,21 +14368,20 @@ dependencies = [ [[package]] name = "shp-tx-implicits-runtime-api" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-core", "sp-runtime", - "sp-std", ] [[package]] name = "shp-types" -version = "0.4.3" -source = "git+https://github.com/Moonsong-Labs/storage-hub.git?tag=v0.4.3#0176413b97dbbacb9148f1134e2797e174afa713" +version = "0.4.0" +source = "git+https://github.com/Moonsong-Labs/storage-hub.git?branch=feat%2Fpolkadot-upgrade-stable2503#6e75f11a953d14a4341b0c1fb9c3d42e82ecc8a0" dependencies = [ "sp-core", "sp-runtime", @@ -14646,8 +14481,8 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "enumn", "parity-scale-codec", @@ -14680,14 +14515,14 @@ dependencies = [ [[package]] name = "smoldot" -version = "0.16.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9" +checksum = "966e72d77a3b2171bb7461d0cb91f43670c63558c62d7cf42809cae6c8b6b818" dependencies = [ "arrayvec 0.7.6", "async-lock", "atomic-take", - "base64 0.21.7", + "base64 0.22.1", "bip39", "blake2-rfc", "bs58", @@ -14696,18 +14531,17 @@ dependencies = [ "derive_more 0.99.20", "ed25519-zebra", "either", - "event-listener 4.0.3", + "event-listener 5.4.1", "fnv", "futures-lite", "futures-util", "hashbrown 0.14.5", "hex", "hmac 0.12.1", - "itertools 0.12.1", + "itertools 0.13.0", "libm", "libsecp256k1", "merlin", - "no-std-net", "nom", "num-bigint", "num-rational", @@ -14726,7 +14560,7 @@ dependencies = [ "siphasher 1.0.1", "slab", "smallvec", - "soketto 0.7.1", + "soketto", "twox-hash", "wasmi", "x25519-dalek", @@ -14735,27 +14569,27 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "0.14.0" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5496f2d116b7019a526b1039ec2247dd172b8670633b1a64a614c9ea12c9d8c7" +checksum = "2a33b06891f687909632ce6a4e3fd7677b24df930365af3d0bcb078310129f3f" dependencies = [ "async-channel 2.5.0", "async-lock", - "base64 0.21.7", + "base64 0.22.1", "blake2-rfc", + "bs58", "derive_more 0.99.20", "either", - "event-listener 4.0.3", + "event-listener 5.4.1", "fnv", "futures-channel", "futures-lite", "futures-util", "hashbrown 0.14.5", "hex", - "itertools 0.12.1", + "itertools 0.13.0", "log", "lru 0.12.5", - "no-std-net", "parking_lot 0.12.5", "pin-project", "rand 0.8.5", @@ -14804,8 +14638,8 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.12.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.13.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "byte-slice-cast", "frame-support", @@ -14814,7 +14648,7 @@ dependencies = [ "rlp 0.6.1", "scale-info", "serde", - "snowbridge-ethereum 0.11.0", + "snowbridge-ethereum 0.12.0", "snowbridge-milagro-bls", "sp-core", "sp-io", @@ -14826,7 +14660,7 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.26.0" +version = "0.23.0" dependencies = [ "byte-slice-cast", "frame-support", @@ -14841,25 +14675,25 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "ssz_rs", "ssz_rs_derive", ] [[package]] name = "snowbridge-core" -version = "0.12.2" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.13.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ + "bp-relayers", "ethabi-decode", "frame-support", "frame-system", "hex-literal 0.4.1", + "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", "serde", - "snowbridge-beacon-primitives 0.12.1", "sp-arithmetic", "sp-core", "sp-io", @@ -14867,11 +14701,12 @@ dependencies = [ "sp-std", "staging-xcm", "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] name = "snowbridge-core" -version = "0.26.0" +version = "0.23.0" dependencies = [ "bp-relayers", "ethabi-decode", @@ -14888,7 +14723,6 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -14912,13 +14746,12 @@ dependencies = [ "serde_json", "sp-io", "sp-runtime", - "sp-std", ] [[package]] name = "snowbridge-ethereum" -version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.12.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "ethabi-decode", "ethbloom", @@ -14948,13 +14781,12 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", - "snowbridge-verification-primitives", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", + "snowbridge-verification-primitives 0.23.0", "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -14962,7 +14794,18 @@ dependencies = [ [[package]] name = "snowbridge-merkle-tree" -version = "0.26.0" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "snowbridge-merkle-tree" +version = "0.23.0" dependencies = [ "array-bytes", "hex", @@ -14970,7 +14813,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-runtime", "sp-tracing", ] @@ -14990,33 +14833,22 @@ dependencies = [ "zeroize", ] -[[package]] -name = "snowbridge-outbound-queue-merkle-tree" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", -] - [[package]] name = "snowbridge-outbound-queue-primitives" -version = "0.26.0" +version = "0.2.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "alloy-core", "ethabi-decode", "frame-support", "frame-system", - "hex", - "hex-literal 0.3.4", + "hex-literal 0.4.1", "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "snowbridge-core 0.26.0", - "snowbridge-verification-primitives", + "snowbridge-core 0.13.2", + "snowbridge-verification-primitives 0.2.0", "sp-arithmetic", "sp-core", "sp-io", @@ -15027,24 +14859,48 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "snowbridge-outbound-queue-primitives" +version = "0.23.0" +dependencies = [ + "alloy-core", + "ethabi-decode", + "frame-support", + "frame-system", + "hex", + "hex-literal 0.3.4", + "log", + "parity-scale-codec", + "polkadot-parachain-primitives", + "scale-info", + "snowbridge-core 0.23.0", + "snowbridge-verification-primitives 0.23.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", +] + [[package]] name = "snowbridge-outbound-queue-v2-runtime-api" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "snowbridge-core 0.26.0", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", + "snowbridge-core 0.23.0", + "snowbridge-merkle-tree 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-api", - "sp-std", "staging-xcm", ] [[package]] name = "snowbridge-pallet-ethereum-client" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -15057,15 +14913,14 @@ dependencies = [ "scale-info", "serde", "serde_json", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-ethereum 0.3.0", "snowbridge-inbound-queue-primitives", "snowbridge-pallet-ethereum-client-fixtures", "sp-core", "sp-io", "sp-runtime", - "sp-std", "static_assertions", ] @@ -15074,16 +14929,15 @@ name = "snowbridge-pallet-ethereum-client-fixtures" version = "0.9.0" dependencies = [ "hex-literal 0.3.4", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", "sp-core", - "sp-std", ] [[package]] name = "snowbridge-pallet-inbound-queue-v2" -version = "0.26.0" +version = "0.23.0" dependencies = [ "alloy-core", "bp-relayers", @@ -15097,8 +14951,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", "snowbridge-pallet-ethereum-client", "snowbridge-pallet-inbound-queue-v2-fixtures", @@ -15107,7 +14961,6 @@ dependencies = [ "sp-io", "sp-keyring", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -15119,19 +14972,18 @@ name = "snowbridge-pallet-inbound-queue-v2-fixtures" version = "0.10.0" dependencies = [ "hex-literal 0.3.4", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", "sp-core", - "sp-std", ] [[package]] name = "snowbridge-pallet-outbound-queue" -version = "0.12.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.13.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "bridge-hub-common 0.12.0", + "bridge-hub-common 0.13.1 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "ethabi-decode", "frame-benchmarking", "frame-support", @@ -15139,8 +14991,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "snowbridge-core 0.12.2", - "snowbridge-outbound-queue-merkle-tree", + "snowbridge-core 0.13.2", + "snowbridge-merkle-tree 0.2.0", + "snowbridge-outbound-queue-primitives 0.2.2", "sp-arithmetic", "sp-core", "sp-io", @@ -15150,7 +15003,7 @@ dependencies = [ [[package]] name = "snowbridge-pallet-outbound-queue-v2" -version = "0.26.0" +version = "0.23.0" dependencies = [ "alloy-core", "bp-relayers", @@ -15164,18 +15017,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "snowbridge-beacon-primitives 0.26.0", - "snowbridge-core 0.26.0", + "snowbridge-beacon-primitives 0.23.0", + "snowbridge-core 0.23.0", "snowbridge-inbound-queue-primitives", - "snowbridge-merkle-tree", - "snowbridge-outbound-queue-primitives", - "snowbridge-verification-primitives", + "snowbridge-merkle-tree 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", + "snowbridge-verification-primitives 0.23.0", "sp-arithmetic", "sp-core", "sp-io", "sp-keyring", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -15196,20 +15048,19 @@ dependencies = [ "parity-scale-codec", "polkadot-primitives", "scale-info", - "snowbridge-core 0.26.0", - "snowbridge-outbound-queue-primitives", + "snowbridge-core 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "snowbridge-pallet-outbound-queue", "sp-core", "sp-io", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "snowbridge-pallet-system-v2" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -15221,8 +15072,8 @@ dependencies = [ "parity-scale-codec", "polkadot-primitives", "scale-info", - "snowbridge-core 0.26.0", - "snowbridge-outbound-queue-primitives", + "snowbridge-core 0.23.0", + "snowbridge-outbound-queue-primitives 0.23.0", "snowbridge-pallet-outbound-queue-v2", "snowbridge-pallet-system", "snowbridge-test-utils", @@ -15230,25 +15081,23 @@ dependencies = [ "sp-io", "sp-keyring", "sp-runtime", - "sp-std", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "snowbridge-system-v2-runtime-api" -version = "0.26.0" +version = "0.23.0" dependencies = [ "parity-scale-codec", - "snowbridge-core 0.26.0", + "snowbridge-core 0.23.0", "sp-api", - "sp-std", "staging-xcm", ] [[package]] name = "snowbridge-test-utils" -version = "0.26.0" +version = "0.23.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -15258,9 +15107,8 @@ dependencies = [ "pallet-xcm", "parity-scale-codec", "scale-info", - "snowbridge-outbound-queue-primitives", + "snowbridge-outbound-queue-primitives 0.23.0", "sp-core", - "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -15268,24 +15116,26 @@ dependencies = [ [[package]] name = "snowbridge-verification-primitives" -version = "0.26.0" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "snowbridge-beacon-primitives 0.26.0", + "snowbridge-beacon-primitives 0.13.1", "sp-core", "sp-std", ] [[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +name = "snowbridge-verification-primitives" +version = "0.23.0" dependencies = [ - "libc", - "winapi", + "frame-support", + "parity-scale-codec", + "scale-info", + "snowbridge-beacon-primitives 0.23.0", + "sp-core", ] [[package]] @@ -15308,21 +15158,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "soketto" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" -dependencies = [ - "base64 0.13.1", - "bytes", - "futures", - "httparse", - "log", - "rand 0.8.5", - "sha-1", -] - [[package]] name = "soketto" version = "0.8.1" @@ -15341,8 +15176,8 @@ dependencies = [ [[package]] name = "sp-api" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "hash-db", @@ -15363,8 +15198,8 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "22.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "Inflector", "blake2 0.10.6", @@ -15377,8 +15212,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15389,8 +15224,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "26.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "integer-sqrt", @@ -15403,8 +15238,8 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15415,8 +15250,8 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "sp-api", "sp-inherents", @@ -15425,8 +15260,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "futures", "parity-scale-codec", @@ -15444,13 +15279,12 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.42.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "futures", "log", - "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -15459,8 +15293,8 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.42.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "parity-scale-codec", @@ -15475,8 +15309,8 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.42.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "parity-scale-codec", @@ -15493,8 +15327,8 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "24.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15502,7 +15336,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -15513,8 +15347,8 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "23.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "finality-grandpa", "log", @@ -15530,8 +15364,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.42.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15541,9 +15375,10 @@ dependencies = [ [[package]] name = "sp-core" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ + "ark-vrf", "array-bytes", "bitflags 1.3.2", "blake2 0.10.6", @@ -15554,7 +15389,7 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "impl-serde 0.5.0", + "impl-serde", "itertools 0.11.0", "k256", "libsecp256k1", @@ -15569,9 +15404,9 @@ dependencies = [ "scale-info", "schnorrkel", "secp256k1 0.28.2", - "secrecy", + "secrecy 0.8.0", "serde", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -15602,7 +15437,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "blake2b_simd", "byteorder", @@ -15615,17 +15450,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "syn 2.0.106", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "kvdb", "parking_lot 0.12.5", @@ -15634,7 +15469,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "proc-macro2", "quote", @@ -15644,7 +15479,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "environmental", "parity-scale-codec", @@ -15653,8 +15488,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15665,8 +15500,8 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -15678,8 +15513,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "39.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "40.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bytes", "docify", @@ -15687,11 +15522,11 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.18.0", "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -15704,8 +15539,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "41.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "sp-core", "sp-runtime", @@ -15714,8 +15549,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.41.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.42.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "parking_lot 0.12.5", @@ -15726,7 +15561,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -15734,18 +15569,18 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "frame-metadata 18.0.0", + "frame-metadata 20.0.0", "parity-scale-codec", "scale-info", ] [[package]] name = "sp-mixnet" -version = "0.13.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.14.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15755,8 +15590,8 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "log", "parity-scale-codec", @@ -15772,8 +15607,8 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "35.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15785,8 +15620,8 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "sp-api", "sp-core", @@ -15795,8 +15630,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "13.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "backtrace", "regex", @@ -15804,8 +15639,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "33.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "34.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -15814,8 +15649,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "41.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "binary-merkle-tree", "docify", @@ -15843,13 +15678,13 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "29.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive", + "polkavm-derive 0.18.0", "primitive-types 0.13.1", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -15863,7 +15698,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "Inflector", "expander", @@ -15875,8 +15710,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "38.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "scale-info", @@ -15889,8 +15724,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "38.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -15902,8 +15737,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.45.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "hash-db", "log", @@ -15917,13 +15752,13 @@ dependencies = [ "sp-trie", "thiserror 1.0.69", "tracing", - "trie-db 0.29.1", + "trie-db 0.30.0", ] [[package]] name = "sp-statement-store" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "20.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -15936,7 +15771,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -15947,14 +15782,14 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" [[package]] name = "sp-storage" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "impl-serde 0.5.0", + "impl-serde", "parity-scale-codec", "ref-cast", "serde", @@ -15963,8 +15798,8 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "parity-scale-codec", @@ -15975,8 +15810,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "17.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", "tracing", @@ -15986,8 +15821,8 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "sp-api", "sp-runtime", @@ -15995,8 +15830,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "36.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "async-trait", "parity-scale-codec", @@ -16009,8 +15844,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "ahash", "hash-db", @@ -16025,16 +15860,16 @@ dependencies = [ "sp-externalities", "thiserror 1.0.69", "tracing", - "trie-db 0.29.1", + "trie-db 0.30.0", "trie-root", ] [[package]] name = "sp-version" -version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "39.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ - "impl-serde 0.5.0", + "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", @@ -16049,10 +15884,10 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "parity-scale-codec", - "proc-macro-warning 1.84.1", + "proc-macro-warning", "proc-macro2", "quote", "syn 2.0.106", @@ -16061,7 +15896,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -16072,8 +15907,8 @@ dependencies = [ [[package]] name = "sp-weights" -version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "31.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -16284,12 +16119,12 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "staging-xcm" -version = "15.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "16.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "bounded-collections", - "derivative", + "derive-where", "environmental", "frame-support", "hex-literal 0.4.1", @@ -16305,30 +16140,32 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "18.2.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "20.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ + "environmental", "frame-support", "frame-system", "impl-trait-for-tuples", - "log", "pallet-asset-conversion", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", "sp-arithmetic", + "sp-core", "sp-io", "sp-runtime", "sp-weights", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "staging-xcm-executor" -version = "18.0.3" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.1.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "environmental", "frame-benchmarking", @@ -16379,6 +16216,16 @@ dependencies = [ "syn 1.0.109", ] +[[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", +] + [[package]] name = "stringprep" version = "0.1.5" @@ -16390,12 +16237,6 @@ dependencies = [ "unicode-properties", ] -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - [[package]] name = "strsim" version = "0.11.1" @@ -16446,7 +16287,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -16471,17 +16312,17 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" [[package]] name = "substrate-frame-rpc-system" -version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "44.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "docify", "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.24.9", + "jsonrpsee", "log", "parity-scale-codec", "sc-rpc-api", @@ -16495,8 +16336,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.17.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.17.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "http-body-util", "hyper 1.7.0", @@ -16509,20 +16350,20 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "25.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "26.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "array-bytes", "build-helper", "cargo_metadata", "console", "filetime", - "frame-metadata 18.0.0", + "frame-metadata 20.0.0", "jobserver", "merkleized-metadata", "parity-scale-codec", "parity-wasm", - "polkavm-linker", + "polkavm-linker 0.18.0", "sc-executor", "shlex", "sp-core", @@ -16551,50 +16392,47 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subxt" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a160cba1edbf3ec4fbbeaea3f1a185f70448116a6bccc8276bb39adb3b3053bd" +checksum = "1c17d7ec2359d33133b63c97e28c8b7cd3f0a5bc6ce567ae3aef9d9e85be3433" dependencies = [ "async-trait", "derive-where", "either", - "frame-metadata 16.0.0", + "frame-metadata 17.0.0", "futures", "hex", - "impl-serde 0.4.0", - "instant", - "jsonrpsee 0.22.5", + "impl-serde", + "jsonrpsee", "parity-scale-codec", - "primitive-types 0.12.2", - "reconnecting-jsonrpsee-ws-client", + "polkadot-sdk", + "primitive-types 0.13.1", "scale-bits", - "scale-decode", + "scale-decode 0.14.0", "scale-encode", "scale-info", "scale-value", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "subxt-lightclient", "subxt-macro", "subxt-metadata", "thiserror 1.0.69", + "tokio", "tokio-util", "tracing", "url", + "web-time", ] [[package]] name = "subxt-codegen" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786" +checksum = "6550ef451c77db6e3bc7c56fb6fe1dca9398a2c8fc774b127f6a396a769b9c5b" dependencies = [ - "frame-metadata 16.0.0", "heck 0.5.0", - "hex", - "jsonrpsee 0.22.5", "parity-scale-codec", "proc-macro2", "quote", @@ -16603,41 +16441,42 @@ dependencies = [ "subxt-metadata", "syn 2.0.106", "thiserror 1.0.69", - "tokio", ] [[package]] name = "subxt-core" -version = "0.37.1" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af3b36405538a36b424d229dc908d1396ceb0994c90825ce928709eac1a159a" +checksum = "cb7a1bc6c9c1724971636a66e3225a7253cdb35bb6efb81524a6c71c04f08c59" dependencies = [ "base58", "blake2 0.10.6", "derive-where", - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "hex", - "impl-serde 0.4.0", + "impl-serde", + "keccak-hash", "parity-scale-codec", - "primitive-types 0.12.2", + "polkadot-sdk", + "primitive-types 0.13.1", "scale-bits", - "scale-decode", + "scale-decode 0.14.0", "scale-encode", "scale-info", "scale-value", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-metadata", "tracing", ] [[package]] name = "subxt-lightclient" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d9406fbdb9548c110803cb8afa750f8b911d51eefdf95474b11319591d225d9" +checksum = "89ebc9131da4d0ba1f7814495b8cc79698798ccd52cacd7bcefe451e415bd945" dependencies = [ "futures", "futures-util", @@ -16652,56 +16491,74 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c195f803d70687e409aba9be6c87115b5da8952cd83c4d13f2e043239818fcd" +checksum = "7819c5e09aae0319981ee853869f2fcd1fac4db8babd0d004c17161297aadc05" dependencies = [ - "darling 0.20.11", + "darling", "parity-scale-codec", - "proc-macro-error", + "proc-macro-error2", "quote", "scale-typegen", "subxt-codegen", + "subxt-utils-fetchmetadata", "syn 2.0.106", ] [[package]] name = "subxt-metadata" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" +checksum = "aacd4e7484fef58deaa2dcb32d94753a864b208a668c0dd0c28be1d8abeeadb2" dependencies = [ - "frame-metadata 16.0.0", + "frame-decode", + "frame-metadata 17.0.0", "hashbrown 0.14.5", "parity-scale-codec", + "polkadot-sdk", "scale-info", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "subxt-signer" -version = "0.37.0" +version = "0.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" +checksum = "d680352d04665b1e4eb6f9d2a54b800c4d8e1b20478e69be1b7d975b08d9fc34" dependencies = [ + "base64 0.22.1", "bip32", "bip39", "cfg-if", + "crypto_secretbox", "hex", "hmac 0.12.1", "keccak-hash", "parity-scale-codec", "pbkdf2", + "polkadot-sdk", "regex", "schnorrkel", - "secp256k1 0.28.2", - "secrecy", + "scrypt", + "secp256k1 0.30.0", + "secrecy 0.10.3", + "serde", + "serde_json", "sha2 0.10.9", - "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "zeroize", ] +[[package]] +name = "subxt-utils-fetchmetadata" +version = "0.38.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3c53bc3eeaacc143a2f29ace4082edd2edaccab37b69ad20befba9fb00fdb3d" +dependencies = [ + "hex", + "parity-scale-codec", + "thiserror 1.0.69", +] + [[package]] name = "suppaftp" version = "6.3.0" @@ -16715,7 +16572,7 @@ dependencies = [ "lazy-regex", "log", "pin-project", - "rustls 0.23.32", + "rustls", "thiserror 2.0.17", ] @@ -17118,41 +16975,20 @@ checksum = "27d684bad428a0f2481f42241f821db42c54e2dc81d8c00db8536c506b0a0144" dependencies = [ "const-oid", "ring 0.17.14", - "rustls 0.23.32", + "rustls", "tokio", "tokio-postgres", - "tokio-rustls 0.26.4", + "tokio-rustls", "x509-cert", ] -[[package]] -name = "tokio-rustls" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" -dependencies = [ - "rustls 0.21.12", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" -dependencies = [ - "rustls 0.22.4", - "rustls-pki-types", - "tokio", -] - [[package]] name = "tokio-rustls" version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ - "rustls 0.23.32", + "rustls", "tokio", ] @@ -17176,11 +17012,11 @@ checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" dependencies = [ "futures-util", "log", - "rustls 0.23.32", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.4", + "tokio-rustls", "tungstenite", ] @@ -17422,8 +17258,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "coarsetime", "polkadot-primitives", @@ -17434,7 +17270,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "expander", "proc-macro-crate 3.4.0", @@ -17489,9 +17325,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.29.1" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" +checksum = "6c0670ab45a6b7002c7df369fee950a27cf29ae0474343fd3a15aa15f691e7a6" dependencies = [ "hash-db", "log", @@ -17508,78 +17344,6 @@ dependencies = [ "hash-db", ] -[[package]] -name = "trust-dns-proto" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" -dependencies = [ - "async-trait", - "cfg-if", - "data-encoding", - "enum-as-inner 0.5.1", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.2.3", - "ipnet", - "lazy_static", - "rand 0.8.5", - "smallvec", - "socket2 0.4.10", - "thiserror 1.0.69", - "tinyvec", - "tokio", - "tracing", - "url", -] - -[[package]] -name = "trust-dns-proto" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3119112651c157f4488931a01e586aa459736e9d6046d3bd9105ffb69352d374" -dependencies = [ - "async-trait", - "cfg-if", - "data-encoding", - "enum-as-inner 0.6.1", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.4.0", - "ipnet", - "once_cell", - "rand 0.8.5", - "smallvec", - "thiserror 1.0.69", - "tinyvec", - "tokio", - "tracing", - "url", -] - -[[package]] -name = "trust-dns-resolver" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" -dependencies = [ - "cfg-if", - "futures-util", - "ipconfig", - "lru-cache", - "once_cell", - "parking_lot 0.12.5", - "rand 0.8.5", - "resolv-conf", - "smallvec", - "thiserror 1.0.69", - "tokio", - "tracing", - "trust-dns-proto 0.23.2", -] - [[package]] name = "try-lock" version = "0.2.5" @@ -17620,7 +17384,7 @@ dependencies = [ "httparse", "log", "rand 0.9.2", - "rustls 0.23.32", + "rustls", "rustls-pki-types", "sha1", "thiserror 2.0.17", @@ -17761,7 +17525,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ - "asynchronous-codec", + "asynchronous-codec 0.6.2", "bytes", "futures-io", "futures-util", @@ -17796,7 +17560,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", - "idna 1.1.0", + "idna", "percent-encoding", "serde", ] @@ -17873,11 +17637,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6bfb937b3d12077654a9e43e32a4e9c20177dd9fea0f3aba673e7840bb54f32" dependencies = [ "ark-bls12-377", - "ark-bls12-381", - "ark-ec", + "ark-bls12-381 0.4.0", + "ark-ec 0.4.2", "ark-ff 0.4.2", "ark-serialize 0.4.2", - "ark-serialize-derive", + "ark-serialize-derive 0.4.2", "arrayref", "digest 0.10.7", "rand 0.8.5", @@ -17888,6 +17652,52 @@ dependencies = [ "zeroize", ] +[[package]] +name = "w3f-pcs" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbe7a8d5c914b69392ab3b267f679a2e546fe29afaddce47981772ac71bd02e1" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "merlin", +] + +[[package]] +name = "w3f-plonk-common" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aca389e494fe08c5c108b512e2328309036ee1c0bc7bdfdb743fef54d448c8c" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "getrandom_or_panic", + "rand_core 0.6.4", + "w3f-pcs", +] + +[[package]] +name = "w3f-ring-proof" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a639379402ad51504575dbd258740383291ac8147d3b15859bdf1ea48c677de" +dependencies = [ + "ark-ec 0.5.0", + "ark-ff 0.5.0", + "ark-poly 0.5.0", + "ark-serialize 0.5.0", + "ark-std 0.5.0", + "ark-transcript", + "w3f-pcs", + "w3f-plonk-common", +] + [[package]] name = "wait-timeout" version = "0.2.1" @@ -18106,28 +17916,37 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.31.2" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" +checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca" dependencies = [ + "arrayvec 0.7.6", + "multi-stash", + "num-derive", + "num-traits", "smallvec", "spin 0.9.8", - "wasmi_arena", + "wasmi_collections", "wasmi_core", "wasmparser-nostd", ] [[package]] -name = "wasmi_arena" -version = "0.4.1" +name = "wasmi_collections" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" +dependencies = [ + "ahash", + "hashbrown 0.14.5", + "string-interner", +] [[package]] name = "wasmi_core" -version = "0.13.0" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" +checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41" dependencies = [ "downcast-rs", "libm", @@ -18393,15 +18212,6 @@ version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" -[[package]] -name = "webpki-roots" -version = "0.26.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" -dependencies = [ - "webpki-roots 1.0.3", -] - [[package]] name = "webpki-roots" version = "1.0.3" @@ -18978,16 +18788,16 @@ dependencies = [ [[package]] name = "x509-parser" -version = "0.15.1" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs 0.5.2", + "asn1-rs 0.6.2", "data-encoding", - "der-parser 8.2.0", + "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry 0.6.1", + "oid-registry 0.7.1", "rusticata-macros", "thiserror 1.0.69", "time", @@ -19012,8 +18822,8 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "11.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "11.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "Inflector", "proc-macro2", @@ -19023,8 +18833,8 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" -version = "0.5.3" -source = "git+https://github.com/paritytech/polkadot-sdk?tag=polkadot-stable2412-6#bbc435c7667d3283ba280a8fec44676357392753" +version = "0.7.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#067482ed1703588b2a3eb9805fb45e5e1e868efb" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/operator/Cargo.toml b/operator/Cargo.toml index 40a689e9..9e977c5b 100644 --- a/operator/Cargo.toml +++ b/operator/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" homepage = "https://datahaven.xyz/" license = "GPL-3" repository = "https://github.com/datahavenxyz/datahaven" -version = "0.26.0" +version = "0.23.0" [workspace] members = [ @@ -44,7 +44,6 @@ pallet-external-validators = { path = "./pallets/external-validators", default-f pallet-external-validators-rewards = { path = "./pallets/external-validators-rewards", default-features = false } pallet-outbound-commitment-store = { path = "./pallets/outbound-commitment-store", default-features = false } pallet-proxy-genesis-companion = { path = "./pallets/proxy-genesis-companion", default-features = false } -pallet-grandpa-benchmarking = { path = "./pallets/grandpa-benchmarking", default-features = false } pallet-session-benchmarking = { path = "./pallets/session-benchmarking", default-features = false } # Crates.io (wasm) @@ -57,7 +56,7 @@ async-trait = { version = "0.1.42" } blake2-rfc = { version = "0.2.18", default-features = false } byte-slice-cast = { version = "1.2.1", default-features = false } clap = { version = "4.5.10", features = ["derive", "env"] } -codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec" } +codec = { version = "3.7.4", default-features = false, package = "parity-scale-codec" } ethabi = { version = "2.0.0", default-features = false, package = "ethabi-decode" } ethbloom = { version = "0.14.1", default-features = false } ethereum-types = { version = "0.15.1", default-features = false } @@ -83,7 +82,7 @@ openssl-sys = { version = "0.9", features = [ "vendored", ] } # This is just to set the "vendored" feature required for the crossbuild, so that OpenSSL builds from source parity-bytes = { version = "0.1.2", default-features = false } -parity-scale-codec = { version = "3.0.0", default-features = false, features = [ +parity-scale-codec = { version = "3.7.4", default-features = false, features = [ "derive", ] } paste = "1.0.14" @@ -108,117 +107,117 @@ tracing-subscriber = { version = "=0.3.19", features = [ url = "2.2.2" # Polkadot SDK -cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-support-test = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -mmr-gadget = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-conviction-voting = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-migrations = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-mmr = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-nfts = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-parameters = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-referenda = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-safe-mode = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-tx-pause = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false } -parachains-common = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2412-6", default-features = false } -polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-consensus-beefy-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-crypto-hashing = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false, package = "staging-xcm" } -xcm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false, package = "staging-xcm-builder" } -xcm-executor = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false, package = "staging-xcm-executor" } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-support-test = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +mmr-gadget = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "stable2503", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-conviction-voting = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-migrations = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-mmr = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-nfts = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-parameters = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-referenda = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-safe-mode = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-tx-pause = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk.git", branch = "stable2503", default-features = false } +parachains-common = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "stable2503", default-features = false } +polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-consensus-beefy-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-crypto-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false, package = "staging-xcm" } +xcm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false, package = "staging-xcm-builder" } +xcm-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false, package = "staging-xcm-executor" } # Snowbridge -bp-relayers = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } +bp-relayers = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } bridge-hub-common = { path = "primitives/snowbridge/bridge-hub-common", default-features = false } snowbridge-beacon-primitives = { path = "primitives/snowbridge/beacon", default-features = false } snowbridge-core = { path = "primitives/snowbridge/core", default-features = false } @@ -231,7 +230,7 @@ snowbridge-pallet-ethereum-client = { path = "pallets/ethereum-client", default- snowbridge-pallet-ethereum-client-fixtures = { path = "pallets/ethereum-client/fixtures", default-features = false } snowbridge-pallet-inbound-queue-v2 = { path = "pallets/inbound-queue-v2", default-features = false } snowbridge-pallet-inbound-queue-v2-fixtures = { path = "pallets/inbound-queue-v2/fixtures", default-features = false } -snowbridge-pallet-outbound-queue = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false } +snowbridge-pallet-outbound-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } snowbridge-pallet-outbound-queue-v2 = { path = "pallets/outbound-queue-v2", default-features = false } snowbridge-pallet-system = { path = "pallets/system", default-features = false } snowbridge-pallet-system-v2 = { path = "pallets/system-v2", default-features = false } @@ -240,74 +239,74 @@ snowbridge-test-utils = { path = "primitives/snowbridge/test-utils", default-fea snowbridge-verification-primitives = { path = "primitives/snowbridge/verification", default-features = false } # Frontier (wasm) -evm = { git = "https://github.com/rust-ethereum/evm", rev = "6d86fe2d3bcc14887c2575f62958a67ac2d523db", default-features = false } -fp-account = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fp-evm = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fp-rpc = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fp-self-contained = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fp-storage = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-base-fee = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-dynamic-fee = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-ethereum = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2412", default-features = false } -pallet-evm = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2412", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2412", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -pallet-hotfix-sufficients = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -precompile-utils = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2412", default-features = false } -precompile-utils-macro = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } +evm = { version = "0.43.2", default-features = false } +fp-account = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fp-evm = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fp-rpc = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fp-self-contained = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fp-storage = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-base-fee = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-dynamic-fee = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-ethereum = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2503", default-features = false } +pallet-evm = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2503", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2503", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +pallet-hotfix-sufficients = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +precompile-utils = { git = "https://github.com/polkadot-evm/frontier/", branch = "stable2503", default-features = false } +precompile-utils-macro = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } # Frontier (client) -fc-api = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fc-cli = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fc-consensus = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fc-db = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412" } -fc-mapping-sync = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fc-rpc = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fc-rpc-core = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } -fc-storage = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2412", default-features = false } +fc-api = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fc-cli = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fc-consensus = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fc-db = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503" } +fc-mapping-sync = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fc-rpc = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fc-rpc-core = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } +fc-storage = { git = "https://github.com/polkadot-evm/frontier", branch = "stable2503", default-features = false } # StorageHub ## Runtime -pallet-bucket-nfts = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-cr-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-file-system-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-payment-streams = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-payment-streams-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-proofs-dealer = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-proofs-dealer-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-storage-providers = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -pallet-storage-providers-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-constants = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-data-price-updater = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-file-key-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-file-metadata = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-forest-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-traits = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-treasury-funding = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } +pallet-bucket-nfts = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-cr-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-file-system-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-payment-streams = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-payment-streams-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-proofs-dealer = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-proofs-dealer-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-randomness = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-storage-providers = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +pallet-storage-providers-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-constants = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-data-price-updater = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-file-key-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-file-metadata = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-forest-verifier = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-traits = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-treasury-funding = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } ## Client -shc-actors-derive = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-actors-framework = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-blockchain-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-client = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-common = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-file-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-file-transfer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-fisherman-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-forest-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-indexer-db = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-indexer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shc-rpc = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-opaque = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-tx-implicits-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } -shp-types = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } +shc-actors-derive = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-actors-framework = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-blockchain-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-client = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-common = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-file-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-file-transfer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-fisherman-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-forest-manager = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-indexer-db = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-indexer-service = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shc-rpc = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-opaque = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-tx-implicits-runtime-api = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } +shp-types = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } ## Precompiles -pallet-evm-precompile-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", tag = "v0.4.3", default-features = false } +pallet-evm-precompile-file-system = { git = "https://github.com/Moonsong-Labs/storage-hub.git", branch = "feat/polkadot-upgrade-stable2503", default-features = false } # Static linking diff --git a/operator/benchmarking/frame-weight-template.hbs b/operator/benchmarking/frame-weight-template.hbs index 9fcc72c5..5a220d5a 100644 --- a/operator/benchmarking/frame-weight-template.hbs +++ b/operator/benchmarking/frame-weight-template.hbs @@ -18,7 +18,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `{{pallet}}`. pub struct WeightInfo(PhantomData); diff --git a/operator/pallets/datahaven-native-transfer/Cargo.toml b/operator/pallets/datahaven-native-transfer/Cargo.toml index da35d0d0..ee85cc10 100644 --- a/operator/pallets/datahaven-native-transfer/Cargo.toml +++ b/operator/pallets/datahaven-native-transfer/Cargo.toml @@ -20,7 +20,6 @@ frame-support = { workspace = true } frame-system = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } snowbridge-core = { workspace = true } snowbridge-outbound-queue-primitives = { workspace = true } @@ -48,7 +47,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm/std", "xcm-builder/std", "pallet-balances/std", diff --git a/operator/pallets/datahaven-native-transfer/src/lib.rs b/operator/pallets/datahaven-native-transfer/src/lib.rs index a60315b0..91fad635 100644 --- a/operator/pallets/datahaven-native-transfer/src/lib.rs +++ b/operator/pallets/datahaven-native-transfer/src/lib.rs @@ -29,7 +29,9 @@ //! It uses a dedicated Ethereum sovereign account to hold locked tokens during transfers. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::vec; use frame_support::{ pallet_prelude::*, traits::{ @@ -41,7 +43,6 @@ use snowbridge_core::TokenId; use snowbridge_outbound_queue_primitives::v2::{Command, Message as OutboundMessage, SendMessage}; use sp_core::{H160, H256}; use sp_runtime::{traits::Saturating, BoundedVec}; -use sp_std::vec; pub use pallet::*; diff --git a/operator/pallets/ethereum-client/Cargo.toml b/operator/pallets/ethereum-client/Cargo.toml index bc354399..752a46fb 100644 --- a/operator/pallets/ethereum-client/Cargo.toml +++ b/operator/pallets/ethereum-client/Cargo.toml @@ -28,7 +28,6 @@ frame-system = { workspace = true } sp-core = { workspace = true } sp-io = { optional = true, workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } pallet-timestamp = { optional = true, workspace = true } snowbridge-beacon-primitives = { workspace = true } @@ -77,7 +76,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", 'frame-benchmarking/std', ] try-runtime = [ diff --git a/operator/pallets/ethereum-client/fixtures/Cargo.toml b/operator/pallets/ethereum-client/fixtures/Cargo.toml index 49a545c6..f5aa84fa 100644 --- a/operator/pallets/ethereum-client/fixtures/Cargo.toml +++ b/operator/pallets/ethereum-client/fixtures/Cargo.toml @@ -20,7 +20,6 @@ snowbridge-beacon-primitives = { workspace = true } snowbridge-core = { workspace = true } snowbridge-inbound-queue-primitives = { workspace = true } sp-core = { workspace = true } -sp-std = { workspace = true } [features] default = ["std"] @@ -33,5 +32,4 @@ std = [ "snowbridge-core/std", "snowbridge-inbound-queue-primitives/std", "sp-core/std", - "sp-std/std", ] diff --git a/operator/pallets/ethereum-client/fixtures/src/lib.rs b/operator/pallets/ethereum-client/fixtures/src/lib.rs index ff949352..c4b43884 100644 --- a/operator/pallets/ethereum-client/fixtures/src/lib.rs +++ b/operator/pallets/ethereum-client/fixtures/src/lib.rs @@ -3,7 +3,9 @@ // Generated, do not edit! // See README.md for instructions to generate #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::{boxed::Box, vec}; use hex_literal::hex; use snowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, NextSyncCommitteeUpdate, @@ -11,7 +13,6 @@ use snowbridge_beacon_primitives::{ }; use snowbridge_inbound_queue_primitives::{EventProof, InboundQueueFixture, Log, Proof}; use sp_core::U256; -use sp_std::{boxed::Box, vec}; const SC_SIZE: usize = 512; const SC_BITS_SIZE: usize = 64; diff --git a/operator/pallets/ethereum-client/src/impls.rs b/operator/pallets/ethereum-client/src/impls.rs index c1702ef4..e0546982 100644 --- a/operator/pallets/ethereum-client/src/impls.rs +++ b/operator/pallets/ethereum-client/src/impls.rs @@ -4,6 +4,7 @@ use super::*; use frame_support::ensure; use snowbridge_beacon_primitives::ExecutionProof; +use alloc::vec::Vec; use snowbridge_beacon_primitives::merkle_proof::{generalized_index_length, subtree_index}; use snowbridge_ethereum::Receipt; use snowbridge_inbound_queue_primitives::{ diff --git a/operator/pallets/ethereum-client/src/lib.rs b/operator/pallets/ethereum-client/src/lib.rs index dfe9c131..ca6d5909 100644 --- a/operator/pallets/ethereum-client/src/lib.rs +++ b/operator/pallets/ethereum-client/src/lib.rs @@ -16,6 +16,7 @@ //! //! * [`Call::submit`]: Submit a finalized beacon header with an optional sync committee update #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; pub mod config; pub mod functions; @@ -38,6 +39,7 @@ mod tests_electra; #[cfg(feature = "runtime-benchmarks")] mod benchmarking; +use alloc::boxed::Box; use frame_support::{ dispatch::{DispatchResult, PostDispatchInfo}, pallet_prelude::OptionQuery, @@ -53,7 +55,6 @@ use snowbridge_beacon_primitives::{ }; use snowbridge_core::{BasicOperatingMode, RingBufferMap}; use sp_core::H256; -use sp_std::prelude::*; pub use weights::WeightInfo; use functions::{ @@ -71,6 +72,7 @@ pub const LOG_TARGET: &str = "ethereum-client"; pub mod pallet { use super::*; + use alloc::vec::Vec; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; diff --git a/operator/pallets/ethereum-client/src/mock.rs b/operator/pallets/ethereum-client/src/mock.rs index 6c1ca8a7..d994aad8 100644 --- a/operator/pallets/ethereum-client/src/mock.rs +++ b/operator/pallets/ethereum-client/src/mock.rs @@ -2,11 +2,11 @@ // SPDX-FileCopyrightText: 2023 Snowfork use crate as ethereum_beacon_client; use crate::config; +use alloc::default::Default; use frame_support::{derive_impl, dispatch::DispatchResult, parameter_types}; use pallet_timestamp; use snowbridge_beacon_primitives::{Fork, ForkVersions}; use snowbridge_inbound_queue_primitives::{Log, Proof}; -use sp_std::default::Default; use std::{fs::File, path::PathBuf}; type Block = frame_system::mocking::MockBlock; diff --git a/operator/pallets/ethereum-client/src/mock_electra.rs b/operator/pallets/ethereum-client/src/mock_electra.rs index 740bbb89..2887a119 100644 --- a/operator/pallets/ethereum-client/src/mock_electra.rs +++ b/operator/pallets/ethereum-client/src/mock_electra.rs @@ -2,11 +2,11 @@ // SPDX-FileCopyrightText: 2023 Snowfork use crate as ethereum_beacon_client; use crate::config; +use alloc::default::Default; use frame_support::{derive_impl, dispatch::DispatchResult, parameter_types}; use pallet_timestamp; use snowbridge_beacon_primitives::{Fork, ForkVersions}; use snowbridge_inbound_queue_primitives::{Log, Proof}; -use sp_std::default::Default; use std::{fs::File, path::PathBuf}; type Block = frame_system::mocking::MockBlock; diff --git a/operator/pallets/ethereum-client/src/weights.rs b/operator/pallets/ethereum-client/src/weights.rs index e4629746..5361fabf 100644 --- a/operator/pallets/ethereum-client/src/weights.rs +++ b/operator/pallets/ethereum-client/src/weights.rs @@ -29,7 +29,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions needed for ethereum_beacon_client. pub trait WeightInfo { diff --git a/operator/pallets/external-validators-rewards/Cargo.toml b/operator/pallets/external-validators-rewards/Cargo.toml index aeaa7f32..f61ec1d8 100644 --- a/operator/pallets/external-validators-rewards/Cargo.toml +++ b/operator/pallets/external-validators-rewards/Cargo.toml @@ -22,7 +22,6 @@ frame-system = { workspace = true } sp-core = { workspace = true } sp-runtime = { workspace = true } sp-staking = { workspace = true } -sp-std = { workspace = true } frame-benchmarking = { workspace = true } @@ -58,7 +57,6 @@ std = [ "sp-io/std", "sp-runtime/std", "sp-staking/std", - "sp-std/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/operator/pallets/external-validators-rewards/src/lib.rs b/operator/pallets/external-validators-rewards/src/lib.rs index 8aeaa123..0e823189 100644 --- a/operator/pallets/external-validators-rewards/src/lib.rs +++ b/operator/pallets/external-validators-rewards/src/lib.rs @@ -18,6 +18,7 @@ //! Storage will be cleared after a period of time. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; #[cfg(test)] mod mock; @@ -33,6 +34,7 @@ pub mod weights; pub use pallet::*; +use alloc::vec::Vec; use { crate::types::{EraRewardsUtils, HandleInflation, SendMessage}, frame_support::traits::{Get, ValidatorSet}, @@ -44,7 +46,6 @@ use { Perbill, }, sp_staking::SessionIndex, - sp_std::vec::Vec, }; /// Trait for checking if a validator has been slashed in a given era @@ -65,10 +66,10 @@ pub mod pallet { use sp_runtime::PerThing; pub use crate::weights::WeightInfo; + use alloc::collections::BTreeMap; use { super::*, frame_support::pallet_prelude::*, frame_system::pallet_prelude::OriginFor, pallet_external_validators::traits::EraIndexProvider, sp_runtime::Saturating, - sp_std::collections::btree_map::BTreeMap, }; /// The current storage version. diff --git a/operator/pallets/external-validators-rewards/src/types.rs b/operator/pallets/external-validators-rewards/src/types.rs index 540e6b94..23004d3f 100644 --- a/operator/pallets/external-validators-rewards/src/types.rs +++ b/operator/pallets/external-validators-rewards/src/types.rs @@ -14,9 +14,9 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see +use alloc::vec::Vec; use snowbridge_outbound_queue_primitives::SendError; use sp_core::{H160, H256}; -use sp_std::vec::Vec; /// Data needed for EigenLayer rewards submission via Snowbridge. #[derive(Debug, PartialEq, Eq, Clone)] diff --git a/operator/pallets/external-validators-rewards/src/weights.rs b/operator/pallets/external-validators-rewards/src/weights.rs index a7585778..882ee019 100644 --- a/operator/pallets/external-validators-rewards/src/weights.rs +++ b/operator/pallets/external-validators-rewards/src/weights.rs @@ -49,7 +49,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions needed for pallet_external_validators_rewards. pub trait WeightInfo { diff --git a/operator/pallets/external-validators/Cargo.toml b/operator/pallets/external-validators/Cargo.toml index f7d63eb3..cf9fb077 100644 --- a/operator/pallets/external-validators/Cargo.toml +++ b/operator/pallets/external-validators/Cargo.toml @@ -24,7 +24,6 @@ frame-system = { workspace = true } impl-trait-for-tuples = { workspace = true } sp-runtime = { workspace = true } sp-staking = { workspace = true } -sp-std = { workspace = true } sp-core = { workspace = true } frame-benchmarking = { workspace = true } @@ -56,7 +55,6 @@ std = [ "sp-io/std", "sp-runtime/std", "sp-staking/std", - "sp-std/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/operator/pallets/external-validators/src/lib.rs b/operator/pallets/external-validators/src/lib.rs index 7b2fdaf5..be82fd37 100644 --- a/operator/pallets/external-validators/src/lib.rs +++ b/operator/pallets/external-validators/src/lib.rs @@ -31,16 +31,17 @@ //! The structure of this pallet and the concept of eras is inspired by `pallet_staking` from Polkadot. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; pub use pallet::*; use { + alloc::{collections::btree_set::BTreeSet, vec::Vec}, frame_support::pallet_prelude::Weight, log::log, - parity_scale_codec::{Decode, Encode, MaxEncodedLen}, + parity_scale_codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}, scale_info::TypeInfo, sp_runtime::{traits::Get, RuntimeDebug}, sp_staking::SessionIndex, - sp_std::{collections::btree_set::BTreeSet, vec::Vec}, traits::{ ActiveEraInfo, EraIndex, EraIndexProvider, ExternalIndexProvider, InvulnerablesProvider, OnEraEnd, OnEraStart, ValidatorProvider, @@ -92,6 +93,7 @@ pub mod pallet { use frame_support::traits::Currency; use { super::*, + alloc::vec::Vec, frame_support::{ dispatch::DispatchResultWithPostInfo, pallet_prelude::*, @@ -101,7 +103,6 @@ pub mod pallet { frame_system::pallet_prelude::*, sp_core::H160, sp_runtime::{traits::Convert, SaturatedConversion}, - sp_std::vec::Vec, }; /// Configure the pallet by specifying the parameters and types on which it depends. @@ -255,7 +256,7 @@ pub mod pallet { // T::ValidatorId does not impl Ord or Hash so we cannot collect into set directly, // but we can check for duplicates if we encode them first. .map(|x| x.encode()) - .collect::>(); + .collect::>(); assert!( duplicate_validators.len() == self.whitelisted_validators.len(), "duplicate validators in genesis." @@ -763,7 +764,17 @@ impl InvulnerablesProvider for Pallet { /// Mode of era-forcing. #[derive( - Copy, Clone, PartialEq, Eq, Default, Encode, Decode, RuntimeDebug, TypeInfo, MaxEncodedLen, + Copy, + Clone, + PartialEq, + Eq, + Default, + Encode, + Decode, + RuntimeDebug, + TypeInfo, + MaxEncodedLen, + DecodeWithMemTracking, )] pub enum Forcing { /// Not forcing anything - just let whatever happen. diff --git a/operator/pallets/external-validators/src/mock.rs b/operator/pallets/external-validators/src/mock.rs index 0e8e1fd8..872a0c62 100644 --- a/operator/pallets/external-validators/src/mock.rs +++ b/operator/pallets/external-validators/src/mock.rs @@ -199,6 +199,7 @@ impl pallet_session::Config for Test { type SessionHandler = TestSessionHandler; type Keys = MockSessionKeys; type WeightInfo = (); + type DisablingStrategy = (); } // Pallet to provide some mock data, used to test @@ -298,9 +299,12 @@ pub fn new_test_ext() -> sp_io::TestExternalities { keys, ..Default::default() }; - pallet_balances::GenesisConfig:: { balances } - .assimilate_storage(&mut t) - .unwrap(); + pallet_balances::GenesisConfig:: { + balances, + ..Default::default() + } + .assimilate_storage(&mut t) + .unwrap(); pallet_external_validators::GenesisConfig:: { skip_external_validators: false, whitelisted_validators, diff --git a/operator/pallets/external-validators/src/traits.rs b/operator/pallets/external-validators/src/traits.rs index 183ea0c2..3b778d58 100644 --- a/operator/pallets/external-validators/src/traits.rs +++ b/operator/pallets/external-validators/src/traits.rs @@ -14,12 +14,12 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see +use alloc::vec::Vec; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; use snowbridge_outbound_queue_primitives::SendError; use sp_core::H256; use sp_runtime::RuntimeDebug; -use sp_std::vec::Vec; /// Information regarding the active era (era in used in session). #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo, MaxEncodedLen)] diff --git a/operator/pallets/external-validators/src/weights.rs b/operator/pallets/external-validators/src/weights.rs index 8e8cee55..c2956818 100644 --- a/operator/pallets/external-validators/src/weights.rs +++ b/operator/pallets/external-validators/src/weights.rs @@ -49,7 +49,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions needed for pallet_external_validators. pub trait WeightInfo { diff --git a/operator/pallets/inbound-queue-v2/Cargo.toml b/operator/pallets/inbound-queue-v2/Cargo.toml index edf40297..a84c0b51 100644 --- a/operator/pallets/inbound-queue-v2/Cargo.toml +++ b/operator/pallets/inbound-queue-v2/Cargo.toml @@ -30,7 +30,6 @@ pallet-balances = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } @@ -87,7 +86,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "tracing/std", "xcm-builder/std", "xcm-executor/std", diff --git a/operator/pallets/inbound-queue-v2/fixtures/Cargo.toml b/operator/pallets/inbound-queue-v2/fixtures/Cargo.toml index 7568f8fc..f95515b8 100644 --- a/operator/pallets/inbound-queue-v2/fixtures/Cargo.toml +++ b/operator/pallets/inbound-queue-v2/fixtures/Cargo.toml @@ -20,7 +20,6 @@ snowbridge-beacon-primitives = { workspace = true } snowbridge-core = { workspace = true } snowbridge-inbound-queue-primitives = { workspace = true } sp-core = { workspace = true } -sp-std = { workspace = true } [features] default = ["std"] @@ -33,5 +32,4 @@ std = [ "snowbridge-core/std", "snowbridge-inbound-queue-primitives/std", "sp-core/std", - "sp-std/std", ] diff --git a/operator/pallets/inbound-queue-v2/fixtures/src/lib.rs b/operator/pallets/inbound-queue-v2/fixtures/src/lib.rs index 3fe70c51..471d0b81 100644 --- a/operator/pallets/inbound-queue-v2/fixtures/src/lib.rs +++ b/operator/pallets/inbound-queue-v2/fixtures/src/lib.rs @@ -1,5 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; pub mod register_token; diff --git a/operator/pallets/inbound-queue-v2/fixtures/src/register_token.rs b/operator/pallets/inbound-queue-v2/fixtures/src/register_token.rs index 24645c52..a98833e9 100644 --- a/operator/pallets/inbound-queue-v2/fixtures/src/register_token.rs +++ b/operator/pallets/inbound-queue-v2/fixtures/src/register_token.rs @@ -3,13 +3,13 @@ // Generated, do not edit! // See ethereum client README.md for instructions to generate +use alloc::vec; use hex_literal::hex; use snowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; use snowbridge_inbound_queue_primitives::{EventProof, InboundQueueFixture, Log, Proof}; use sp_core::U256; -use sp_std::vec; pub fn make_register_token_message() -> InboundQueueFixture { InboundQueueFixture { diff --git a/operator/pallets/inbound-queue-v2/src/lib.rs b/operator/pallets/inbound-queue-v2/src/lib.rs index 702005c2..94a3b43e 100644 --- a/operator/pallets/inbound-queue-v2/src/lib.rs +++ b/operator/pallets/inbound-queue-v2/src/lib.rs @@ -37,6 +37,7 @@ mod mock; mod test; pub use crate::weights::WeightInfo; +use alloc::boxed::Box; use frame_system::ensure_signed; use snowbridge_core::{ sparse_bitmap::{SparseBitmap, SparseBitmapImpl}, @@ -48,7 +49,6 @@ use snowbridge_inbound_queue_primitives::{ }; use sp_core::H160; use sp_runtime::traits::Zero; -use sp_std::prelude::*; use xcm::prelude::*; #[cfg(feature = "runtime-benchmarks")] diff --git a/operator/pallets/inbound-queue-v2/src/message_processors.rs b/operator/pallets/inbound-queue-v2/src/message_processors.rs index 1bbec9d7..4b2d5e3a 100644 --- a/operator/pallets/inbound-queue-v2/src/message_processors.rs +++ b/operator/pallets/inbound-queue-v2/src/message_processors.rs @@ -2,10 +2,10 @@ // SPDX-FileCopyrightText: 2023 Snowfork use super::*; use codec::Encode; +use core::marker::PhantomData; use frame_support::traits::Get; use sp_runtime::traits::TryConvert; use sp_runtime::DispatchError; -use sp_std::marker::PhantomData; use xcm::prelude::{ExecuteXcm, Location, Parachain, SendError, SendXcm, XcmHash}; /// A message processor that simply returns the Blake2_256 hash of the SCALE encoded message diff --git a/operator/pallets/inbound-queue-v2/src/mock.rs b/operator/pallets/inbound-queue-v2/src/mock.rs index f216f868..ac972ded 100644 --- a/operator/pallets/inbound-queue-v2/src/mock.rs +++ b/operator/pallets/inbound-queue-v2/src/mock.rs @@ -4,6 +4,7 @@ use super::*; use crate::{self as inbound_queue_v2, message_processors::XcmMessageProcessor}; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; +use core::{convert::From, default::Default, marker::PhantomData}; use frame_support::{derive_impl, parameter_types, traits::ConstU32}; use hex_literal::hex; use scale_info::TypeInfo; @@ -17,7 +18,6 @@ use sp_runtime::{ traits::{IdentityLookup, MaybeEquivalence, TryConvert}, BuildStorage, DispatchError, }; -use sp_std::{convert::From, default::Default, marker::PhantomData}; use xcm::{opaque::latest::WESTEND_GENESIS_HASH, prelude::*}; type Block = frame_system::mocking::MockBlock; pub use snowbridge_test_utils::mock_xcm::{MockXcmExecutor, MockXcmSender}; diff --git a/operator/pallets/inbound-queue-v2/src/weights.rs b/operator/pallets/inbound-queue-v2/src/weights.rs index c96d3a03..139bd90b 100644 --- a/operator/pallets/inbound-queue-v2/src/weights.rs +++ b/operator/pallets/inbound-queue-v2/src/weights.rs @@ -13,7 +13,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weight functions needed for ethereum_beacon_client. pub trait WeightInfo { diff --git a/operator/pallets/outbound-queue-v2/Cargo.toml b/operator/pallets/outbound-queue-v2/Cargo.toml index de17829b..d538a221 100644 --- a/operator/pallets/outbound-queue-v2/Cargo.toml +++ b/operator/pallets/outbound-queue-v2/Cargo.toml @@ -29,7 +29,6 @@ sp-arithmetic = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } bp-relayers = { workspace = true } bridge-hub-common = { workspace = true } @@ -82,7 +81,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", diff --git a/operator/pallets/outbound-queue-v2/runtime-api/Cargo.toml b/operator/pallets/outbound-queue-v2/runtime-api/Cargo.toml index caab8c27..75d82c93 100644 --- a/operator/pallets/outbound-queue-v2/runtime-api/Cargo.toml +++ b/operator/pallets/outbound-queue-v2/runtime-api/Cargo.toml @@ -22,7 +22,6 @@ snowbridge-core = { workspace = true } snowbridge-merkle-tree = { workspace = true } snowbridge-outbound-queue-primitives = { workspace = true } sp-api = { workspace = true } -sp-std = { workspace = true } xcm = { workspace = true } [features] @@ -35,6 +34,5 @@ std = [ "snowbridge-merkle-tree/std", "snowbridge-outbound-queue-primitives/std", "sp-api/std", - "sp-std/std", "xcm/std", ] diff --git a/operator/pallets/outbound-queue-v2/src/fixture.rs b/operator/pallets/outbound-queue-v2/src/fixture.rs index 7c303b33..c759670c 100644 --- a/operator/pallets/outbound-queue-v2/src/fixture.rs +++ b/operator/pallets/outbound-queue-v2/src/fixture.rs @@ -3,13 +3,13 @@ // Generated, do not edit! // See ethereum client README.md for instructions to generate +use alloc::vec; use hex_literal::hex; use snowbridge_beacon_primitives::{ types::deneb, AncestryProof, BeaconHeader, ExecutionProof, VersionedExecutionPayloadHeader, }; use snowbridge_verification_primitives::{EventFixture, EventProof, Log, Proof}; use sp_core::U256; -use sp_std::vec; pub fn make_submit_delivery_receipt_message() -> EventFixture { EventFixture { diff --git a/operator/pallets/outbound-queue-v2/src/lib.rs b/operator/pallets/outbound-queue-v2/src/lib.rs index 40c03fe3..b36ea9d4 100644 --- a/operator/pallets/outbound-queue-v2/src/lib.rs +++ b/operator/pallets/outbound-queue-v2/src/lib.rs @@ -49,6 +49,8 @@ //! //! * `prove_message`: Generate a merkle proof for a committed message #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; + pub mod api; pub mod process_message_impl; pub mod send_message_impl; @@ -93,7 +95,6 @@ use sp_runtime::{ traits::{BlockNumberProvider, Hash, MaybeEquivalence}, DigestItem, }; -use sp_std::prelude::*; pub use types::{OnNewCommitment, PendingOrder, ProcessMessageOriginOf}; pub use weights::WeightInfo; use xcm::latest::{Location, NetworkId}; @@ -107,6 +108,8 @@ pub use pallet::*; #[frame_support::pallet] pub mod pallet { use super::*; + use alloc::boxed::Box; + use alloc::vec::Vec; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; diff --git a/operator/pallets/outbound-queue-v2/src/mock.rs b/operator/pallets/outbound-queue-v2/src/mock.rs index 39ee8c91..599e27f4 100644 --- a/operator/pallets/outbound-queue-v2/src/mock.rs +++ b/operator/pallets/outbound-queue-v2/src/mock.rs @@ -10,6 +10,7 @@ use frame_support::{ }; use codec::{DecodeWithMemTracking, Encode, MaxEncodedLen}; +use core::marker::PhantomData; use hex_literal::hex; use scale_info::TypeInfo; use snowbridge_core::{ @@ -23,7 +24,6 @@ use sp_runtime::{ traits::{BlakeTwo256, IdentityLookup, Keccak256}, AccountId32, BuildStorage, FixedU128, }; -use sp_std::marker::PhantomData; use xcm::prelude::Here; use xcm_executor::traits::ConvertLocation; diff --git a/operator/pallets/outbound-queue-v2/src/types.rs b/operator/pallets/outbound-queue-v2/src/types.rs index dccc9a72..5aa498a9 100644 --- a/operator/pallets/outbound-queue-v2/src/types.rs +++ b/operator/pallets/outbound-queue-v2/src/types.rs @@ -7,7 +7,6 @@ use scale_info::TypeInfo; pub use snowbridge_merkle_tree::MerkleProof; use sp_core::H256; use sp_runtime::RuntimeDebug; -use sp_std::prelude::*; pub type ProcessMessageOriginOf = as ProcessMessage>::Origin; diff --git a/operator/pallets/proxy-genesis-companion/Cargo.toml b/operator/pallets/proxy-genesis-companion/Cargo.toml index 1e9c634d..2003d21e 100644 --- a/operator/pallets/proxy-genesis-companion/Cargo.toml +++ b/operator/pallets/proxy-genesis-companion/Cargo.toml @@ -13,7 +13,6 @@ frame-system = { workspace = true } pallet-proxy = { workspace = true } scale-info = { workspace = true, features = ["derive"] } sp-runtime = { workspace = true } -sp-std = { workspace = true } [dev-dependencies] pallet-balances = { workspace = true, features = ["insecure_zero_ed", "std"] } @@ -30,7 +29,6 @@ std = [ "pallet-proxy/std", "scale-info/std", "sp-runtime/std", - "sp-std/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/operator/pallets/proxy-genesis-companion/src/lib.rs b/operator/pallets/proxy-genesis-companion/src/lib.rs index 9711075b..1e18773d 100644 --- a/operator/pallets/proxy-genesis-companion/src/lib.rs +++ b/operator/pallets/proxy-genesis-companion/src/lib.rs @@ -21,6 +21,7 @@ //! obstacles to including it here. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; #[cfg(test)] mod mock; @@ -32,9 +33,9 @@ pub use pallet::*; #[pallet] pub mod pallet { + use alloc::vec::Vec; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::BlockNumberFor; - use sp_std::vec::Vec; /// Pallet for configuring proxy at genesis #[pallet::pallet] @@ -44,7 +45,11 @@ pub mod pallet { /// This pallet requires pallet-proxy to be installed. #[pallet::config] pub trait Config: - frame_system::Config + pallet_proxy::Config::ProxyType> + frame_system::Config + + pallet_proxy::Config< + ProxyType = ::ProxyType, + BlockNumberProvider = frame_system::Pallet, + > { /// This MUST be the same as in pallet_proxy or it won't compile type ProxyType: MaybeSerializeDeserialize + Clone; diff --git a/operator/pallets/session-benchmarking/Cargo.toml b/operator/pallets/session-benchmarking/Cargo.toml index 41b64d87..7699c33e 100644 --- a/operator/pallets/session-benchmarking/Cargo.toml +++ b/operator/pallets/session-benchmarking/Cargo.toml @@ -19,7 +19,6 @@ frame-support = { workspace = true } frame-system = { workspace = true } pallet-session = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } [features] default = ["std"] @@ -30,7 +29,6 @@ std = [ "frame-system/std", "pallet-session/std", "sp-runtime/std", - "sp-std/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/operator/pallets/system-v2/Cargo.toml b/operator/pallets/system-v2/Cargo.toml index 6d1c14a9..82df1a06 100644 --- a/operator/pallets/system-v2/Cargo.toml +++ b/operator/pallets/system-v2/Cargo.toml @@ -28,7 +28,6 @@ snowbridge-pallet-system = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } xcm = { workspace = true } xcm-executor = { workspace = true } @@ -70,7 +69,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm-executor/std", "xcm/std", ] diff --git a/operator/pallets/system-v2/runtime-api/Cargo.toml b/operator/pallets/system-v2/runtime-api/Cargo.toml index 96889507..30ba160c 100644 --- a/operator/pallets/system-v2/runtime-api/Cargo.toml +++ b/operator/pallets/system-v2/runtime-api/Cargo.toml @@ -21,7 +21,6 @@ exclude-from-umbrella = true codec = { features = ["derive"], workspace = true } snowbridge-core.workspace = true sp-api.workspace = true -sp-std.workspace = true xcm.workspace = true [features] @@ -30,6 +29,5 @@ std = [ "codec/std", "snowbridge-core/std", "sp-api/std", - "sp-std/std", "xcm/std", ] diff --git a/operator/pallets/system-v2/src/lib.rs b/operator/pallets/system-v2/src/lib.rs index 22a0f015..b3b07f73 100644 --- a/operator/pallets/system-v2/src/lib.rs +++ b/operator/pallets/system-v2/src/lib.rs @@ -29,6 +29,7 @@ pub mod api; pub mod weights; pub use weights::*; +use core::prelude::*; use frame_support::{pallet_prelude::*, traits::EnsureOrigin}; use frame_system::pallet_prelude::*; use snowbridge_core::{AgentIdOf as LocationHashOf, AssetMetadata, TokenId, TokenIdOf}; @@ -40,7 +41,6 @@ use snowbridge_pallet_system::{ForeignToNativeId, NativeToForeignId}; use sp_core::{H160, H256}; use sp_io::hashing::blake2_256; use sp_runtime::traits::MaybeEquivalence; -use sp_std::prelude::*; use xcm::prelude::*; use xcm_executor::traits::ConvertLocation; diff --git a/operator/pallets/system/Cargo.toml b/operator/pallets/system/Cargo.toml index 601a6783..24b0e622 100644 --- a/operator/pallets/system/Cargo.toml +++ b/operator/pallets/system/Cargo.toml @@ -25,7 +25,6 @@ snowbridge-outbound-queue-primitives.workspace = true sp-core.workspace = true sp-io.workspace = true sp-runtime.workspace = true -sp-std.workspace = true xcm.workspace = true xcm-executor.workspace = true @@ -63,7 +62,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm-executor/std", "xcm/std", ] diff --git a/operator/pallets/system/runtime-api/Cargo.toml b/operator/pallets/system/runtime-api/Cargo.toml index 72d53e17..55a3a05b 100644 --- a/operator/pallets/system/runtime-api/Cargo.toml +++ b/operator/pallets/system/runtime-api/Cargo.toml @@ -21,7 +21,6 @@ exclude-from-umbrella = true codec = { features = ["derive"], workspace = true } snowbridge-core.workspace = true sp-api.workspace = true -sp-std.workspace = true xcm.workspace = true [features] @@ -30,6 +29,5 @@ std = [ "codec/std", "snowbridge-core/std", "sp-api/std", - "sp-std/std", "xcm/std", ] diff --git a/operator/pallets/system/src/lib.rs b/operator/pallets/system/src/lib.rs index 20b37a37..2eb51db1 100644 --- a/operator/pallets/system/src/lib.rs +++ b/operator/pallets/system/src/lib.rs @@ -18,6 +18,8 @@ //! //! * [`Call::register_token`]: Register a token location as a wrapped ERC20 contract on Ethereum. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; + #[cfg(test)] mod mock; @@ -32,6 +34,7 @@ pub mod api; pub mod weights; pub use weights::*; +use alloc::boxed::Box; use frame_support::{ pallet_prelude::*, traits::{ @@ -53,7 +56,6 @@ use snowbridge_outbound_queue_primitives::{ use sp_core::{RuntimeDebug, H160, H256}; use sp_io::hashing::blake2_256; use sp_runtime::{traits::MaybeEquivalence, DispatchError, SaturatedConversion}; -use sp_std::prelude::*; use xcm::prelude::*; use xcm_executor::traits::ConvertLocation; diff --git a/operator/pallets/system/src/migration.rs b/operator/pallets/system/src/migration.rs index 7a6aacd0..d4ee70f3 100644 --- a/operator/pallets/system/src/migration.rs +++ b/operator/pallets/system/src/migration.rs @@ -2,6 +2,7 @@ // SPDX-FileCopyrightText: 2023 Snowfork //! Governance API for controlling the Ethereum side of the bridge use super::*; +use core::marker::PhantomData; use frame_support::{ migrations::VersionedMigration, pallet_prelude::*, @@ -9,7 +10,6 @@ use frame_support::{ weights::Weight, }; use log; -use sp_std::marker::PhantomData; #[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; diff --git a/operator/precompiles/batch/Cargo.toml b/operator/precompiles/batch/Cargo.toml index db994685..7bc5775d 100644 --- a/operator/precompiles/batch/Cargo.toml +++ b/operator/precompiles/batch/Cargo.toml @@ -13,7 +13,6 @@ frame-system = { workspace = true } parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } sp-core = { workspace = true } sp-io = { workspace = true } -sp-std = { workspace = true } # Frontier evm = { workspace = true, features = ["with-codec"] } @@ -42,5 +41,4 @@ std = [ "precompile-utils/std", "sp-core/std", "sp-io/std", - "sp-std/std", ] diff --git a/operator/precompiles/batch/src/lib.rs b/operator/precompiles/batch/src/lib.rs index 86b02638..aa3dd99f 100644 --- a/operator/precompiles/batch/src/lib.rs +++ b/operator/precompiles/batch/src/lib.rs @@ -17,13 +17,16 @@ //! Precompile to interact with pallet_balances instances using the ERC20 interface standard. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::vec; +use alloc::vec::Vec; +use core::{iter::repeat, marker::PhantomData}; use evm::{ExitError, ExitReason}; use fp_evm::{Context, Log, PrecompileFailure, PrecompileHandle, Transfer}; use frame_support::traits::ConstU32; use precompile_utils::{evm::costs::call_cost, prelude::*}; use sp_core::{H160, U256}; -use sp_std::{iter::repeat, marker::PhantomData, vec, vec::Vec}; #[cfg(test)] mod mock; diff --git a/operator/precompiles/call-permit/Cargo.toml b/operator/precompiles/call-permit/Cargo.toml index 6d74c82e..ddc55831 100644 --- a/operator/precompiles/call-permit/Cargo.toml +++ b/operator/precompiles/call-permit/Cargo.toml @@ -14,7 +14,6 @@ parity-scale-codec = { workspace = true, features = [ "max-encoded-len" ] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier evm = { workspace = true, features = [ "with-codec" ] } @@ -43,5 +42,4 @@ std = [ "precompile-utils/std", "sp-core/std", "sp-io/std", - "sp-std/std", ] diff --git a/operator/precompiles/call-permit/src/lib.rs b/operator/precompiles/call-permit/src/lib.rs index d0364235..a1037f54 100644 --- a/operator/precompiles/call-permit/src/lib.rs +++ b/operator/precompiles/call-permit/src/lib.rs @@ -15,7 +15,9 @@ // along with Moonbeam. If not, see . #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::vec::Vec; use core::marker::PhantomData; use evm::ExitReason; use fp_evm::{Context, ExitRevert, PrecompileFailure, PrecompileHandle, Transfer}; @@ -29,7 +31,6 @@ use precompile_utils::{evm::costs::call_cost, prelude::*}; use sp_core::{H160, H256, U256}; use sp_io::hashing::keccak_256; use sp_runtime::traits::UniqueSaturatedInto; -use sp_std::vec::Vec; #[cfg(test)] mod mock; diff --git a/operator/precompiles/collective/Cargo.toml b/operator/precompiles/collective/Cargo.toml index 7cdc5876..f605d8db 100644 --- a/operator/precompiles/collective/Cargo.toml +++ b/operator/precompiles/collective/Cargo.toml @@ -14,7 +14,6 @@ parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier evm = { workspace = true, features = ["with-codec"] } @@ -46,6 +45,5 @@ std = [ "precompile-utils/std", "sp-core/std", "sp-io/std", - "sp-std/std", ] runtime-benchmarks = [] diff --git a/operator/precompiles/collective/src/lib.rs b/operator/precompiles/collective/src/lib.rs index 885bb8d9..95afa826 100644 --- a/operator/precompiles/collective/src/lib.rs +++ b/operator/precompiles/collective/src/lib.rs @@ -17,7 +17,10 @@ //! Precompile to interact with pallet_collective instances. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::boxed::Box; +use alloc::vec::Vec; use core::marker::PhantomData; use fp_account::AccountId20; use fp_evm::Log; @@ -32,7 +35,6 @@ use parity_scale_codec::{DecodeLimit as _, MaxEncodedLen}; use precompile_utils::prelude::*; use sp_core::{Decode, Get, H160, H256}; use sp_runtime::traits::Dispatchable; -use sp_std::{boxed::Box, vec::Vec}; #[cfg(test)] mod mock; diff --git a/operator/precompiles/conviction-voting/Cargo.toml b/operator/precompiles/conviction-voting/Cargo.toml index 716d0247..a0a91dae 100644 --- a/operator/precompiles/conviction-voting/Cargo.toml +++ b/operator/precompiles/conviction-voting/Cargo.toml @@ -15,7 +15,6 @@ pallet-conviction-voting = { workspace = true } parity-scale-codec = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier fp-evm = { workspace = true } @@ -44,7 +43,6 @@ std = [ "parity-scale-codec/std", "precompile-utils/std", "sp-runtime/std", - "sp-std/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", diff --git a/operator/precompiles/conviction-voting/src/lib.rs b/operator/precompiles/conviction-voting/src/lib.rs index e46fd861..bfaffb2a 100644 --- a/operator/precompiles/conviction-voting/src/lib.rs +++ b/operator/precompiles/conviction-voting/src/lib.rs @@ -15,11 +15,13 @@ // along with Moonbeam. If not, see . #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::vec::Vec; +use core::marker::PhantomData; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; use frame_support::traits::{Currency, Polling}; -use frame_system::pallet_prelude::BlockNumberFor; use pallet_conviction_voting::Call as ConvictionVotingCall; use pallet_conviction_voting::{ AccountVote, Casting, ClassLocksFor, Conviction, Delegating, Tally, TallyOf, Vote, Voting, @@ -29,8 +31,6 @@ use pallet_evm::{AddressMapping, Log}; use precompile_utils::prelude::*; use sp_core::{Get, MaxEncodedLen, H160, H256, U256}; use sp_runtime::traits::{Dispatchable, StaticLookup}; -use sp_std::marker::PhantomData; -use sp_std::vec::Vec; #[cfg(test)] mod mock; @@ -56,10 +56,10 @@ type ClassOf = <::Polls as ::MaxTurnout, >, >>::Class; -type VotingOf = Voting< +type VotingOf = Voting< BalanceOf, ::AccountId, - BlockNumberFor, + pallet_conviction_voting::BlockNumberFor, <::Polls as Polling>>::Index, ::MaxVotes, >; @@ -109,18 +109,16 @@ impl ConvictionVotingPrecompile where Runtime: pallet_conviction_voting::Config + pallet_evm::Config + frame_system::Config, BalanceOf: TryFrom + Into, - ::RuntimeCall: - Dispatchable + GetDispatchInfo, - <::RuntimeCall as Dispatchable>::RuntimeOrigin: - From>, + Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, + ::RuntimeOrigin: From>, Runtime::AccountId: Into, - ::RuntimeCall: From>, + Runtime::RuntimeCall: From>, IndexOf: TryFrom + TryInto, ClassOf: TryFrom + TryInto, ::Polls: Polling< Tally< <::Currency as Currency< - ::AccountId, + Runtime::AccountId, >>::Balance, ::MaxTurnout, >, diff --git a/operator/precompiles/conviction-voting/src/mock.rs b/operator/precompiles/conviction-voting/src/mock.rs index b0e43275..ad62c6d5 100644 --- a/operator/precompiles/conviction-voting/src/mock.rs +++ b/operator/precompiles/conviction-voting/src/mock.rs @@ -16,6 +16,7 @@ //! Test utilities use super::*; +use alloc::collections::btree_map::BTreeMap; use frame_support::{ construct_runtime, parameter_types, traits::{Everything, PollStatus, Polling, TotalIssuanceOf}, @@ -29,7 +30,6 @@ use sp_runtime::{ traits::{BlakeTwo256, ConstU32, ConstU64, IdentityLookup}, BuildStorage, DispatchError, Perbill, }; -use sp_std::collections::btree_map::BTreeMap; #[cfg(feature = "runtime-benchmarks")] use frame_support::traits::VoteTally; diff --git a/operator/precompiles/datahaven-native-transfer/Cargo.toml b/operator/precompiles/datahaven-native-transfer/Cargo.toml index bbc6fb04..c5812dbd 100644 --- a/operator/precompiles/datahaven-native-transfer/Cargo.toml +++ b/operator/precompiles/datahaven-native-transfer/Cargo.toml @@ -13,7 +13,6 @@ parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier evm = { workspace = true, features = ["with-codec"] } @@ -48,6 +47,5 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", ] diff --git a/operator/precompiles/datahaven-native-transfer/src/lib.rs b/operator/precompiles/datahaven-native-transfer/src/lib.rs index 6cff5810..82a94696 100644 --- a/operator/precompiles/datahaven-native-transfer/src/lib.rs +++ b/operator/precompiles/datahaven-native-transfer/src/lib.rs @@ -21,6 +21,7 @@ #![cfg_attr(not(feature = "std"), no_std)] +use core::marker::PhantomData; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; use frame_support::traits::fungible::Inspect; @@ -31,7 +32,6 @@ use pallet_evm::AddressMapping; use precompile_utils::prelude::*; use sp_core::{H160, U256}; use sp_runtime::traits::Dispatchable; -use sp_std::marker::PhantomData; /// Solidity selector for the TokensLocked event: /// keccak256("TokensLocked(address,uint256)") diff --git a/operator/precompiles/erc20-balances/Cargo.toml b/operator/precompiles/erc20-balances/Cargo.toml index 787ee63d..059b98da 100644 --- a/operator/precompiles/erc20-balances/Cargo.toml +++ b/operator/precompiles/erc20-balances/Cargo.toml @@ -16,7 +16,6 @@ parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier fp-evm = { workspace = true } @@ -46,5 +45,4 @@ std = [ "precompile-utils/std", "sp-core/std", "sp-io/std", - "sp-std/std", ] diff --git a/operator/precompiles/erc20-balances/src/eip2612.rs b/operator/precompiles/erc20-balances/src/eip2612.rs index da764a45..ec78e316 100644 --- a/operator/precompiles/erc20-balances/src/eip2612.rs +++ b/operator/precompiles/erc20-balances/src/eip2612.rs @@ -15,6 +15,7 @@ // along with Moonbeam. If not, see . use super::*; +use alloc::vec::Vec; use frame_support::{ ensure, traits::{Get, Time}, @@ -22,7 +23,6 @@ use frame_support::{ use sp_core::H256; use sp_io::hashing::keccak_256; use sp_runtime::traits::UniqueSaturatedInto; -use sp_std::vec::Vec; /// EIP2612 permit typehash. pub const PERMIT_TYPEHASH: [u8; 32] = keccak256!( @@ -39,9 +39,11 @@ pub struct Eip2612(PhantomData<(Runtime, Metad impl Eip2612 where Runtime: pallet_balances::Config + pallet_evm::Config, - Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, - Runtime::RuntimeCall: From>, - ::RuntimeOrigin: From>, + ::RuntimeCall: + Dispatchable + GetDispatchInfo, + ::RuntimeCall: From>, + <::RuntimeCall as Dispatchable>::RuntimeOrigin: + From>, BalanceOf: TryFrom + Into, Metadata: Erc20Metadata, Instance: InstanceToPrefix + 'static, diff --git a/operator/precompiles/erc20-balances/src/lib.rs b/operator/precompiles/erc20-balances/src/lib.rs index af0a0032..0c283970 100644 --- a/operator/precompiles/erc20-balances/src/lib.rs +++ b/operator/precompiles/erc20-balances/src/lib.rs @@ -17,7 +17,10 @@ //! Precompile to interact with pallet_balances instances using the ERC20 interface standard. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use core::convert::{TryFrom, TryInto}; +use core::marker::PhantomData; use fp_evm::PrecompileHandle; use frame_support::{ dispatch::{GetDispatchInfo, PostDispatchInfo}, @@ -33,10 +36,6 @@ use pallet_balances::pallet::{ use pallet_evm::AddressMapping; use precompile_utils::prelude::*; use sp_core::{H160, H256, U256}; -use sp_std::{ - convert::{TryFrom, TryInto}, - marker::PhantomData, -}; mod eip2612; use eip2612::Eip2612; diff --git a/operator/precompiles/identity/Cargo.toml b/operator/precompiles/identity/Cargo.toml index 127e2707..b826ed31 100644 --- a/operator/precompiles/identity/Cargo.toml +++ b/operator/precompiles/identity/Cargo.toml @@ -14,7 +14,6 @@ parity-scale-codec = { workspace = true, features = [ "max-encoded-len" ] } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } pallet-identity = { workspace = true } # Frontier @@ -47,7 +46,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", diff --git a/operator/precompiles/identity/src/lib.rs b/operator/precompiles/identity/src/lib.rs index 7b2e29ee..113d434b 100644 --- a/operator/precompiles/identity/src/lib.rs +++ b/operator/precompiles/identity/src/lib.rs @@ -20,6 +20,9 @@ extern crate alloc; +use alloc::boxed::Box; +use alloc::vec::Vec; +use core::marker::PhantomData; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; use frame_support::sp_runtime::traits::StaticLookup; @@ -30,9 +33,6 @@ use parity_scale_codec::MaxEncodedLen; use precompile_utils::prelude::*; use sp_core::{ConstU32, Get, H160, H256, U256}; use sp_runtime::traits::Dispatchable; -use sp_std::boxed::Box; -use sp_std::marker::PhantomData; -use sp_std::vec::Vec; #[cfg(test)] mod mock; @@ -78,8 +78,10 @@ where >, Runtime::AccountId: Into, Runtime::Hash: From, - Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, - ::RuntimeOrigin: From>, + ::RuntimeCall: + Dispatchable + GetDispatchInfo, + <::RuntimeCall as Dispatchable>::RuntimeOrigin: + From>, Runtime::RuntimeCall: From>, BalanceOf: TryFrom + Into + solidity::Codec, ::AddressMapping: AddressMapping, diff --git a/operator/precompiles/precompile-registry/src/lib.rs b/operator/precompiles/precompile-registry/src/lib.rs index e81bb477..741d25b8 100644 --- a/operator/precompiles/precompile-registry/src/lib.rs +++ b/operator/precompiles/precompile-registry/src/lib.rs @@ -92,7 +92,7 @@ where // AccountCodes: Blake2128(16) + H160(20) + Vec(5) // We asume an existing precompile can hold at most 5 bytes worth of dummy code. handle.record_db_read::(41)?; - pallet_evm::Pallet::::create_account(address.0, DUMMY_CODE.to_vec()); + pallet_evm::Pallet::::create_account(address.0, DUMMY_CODE.to_vec(), None); Ok(()) } diff --git a/operator/precompiles/preimage/Cargo.toml b/operator/precompiles/preimage/Cargo.toml index 757540bd..a5988746 100644 --- a/operator/precompiles/preimage/Cargo.toml +++ b/operator/precompiles/preimage/Cargo.toml @@ -14,7 +14,6 @@ pallet-preimage = { workspace = true } parity-scale-codec = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier fp-evm = { workspace = true } @@ -41,8 +40,6 @@ std = [ "pallet-evm/std", "pallet-preimage/std", "parity-scale-codec/std", - "parity-scale-codec/std", "precompile-utils/std", "sp-runtime/std", - "sp-std/std", ] diff --git a/operator/precompiles/preimage/src/lib.rs b/operator/precompiles/preimage/src/lib.rs index 4a93a378..d5133e12 100644 --- a/operator/precompiles/preimage/src/lib.rs +++ b/operator/precompiles/preimage/src/lib.rs @@ -15,7 +15,10 @@ // along with Moonbeam. If not, see . #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::vec::Vec; +use core::marker::PhantomData; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; use frame_support::traits::ConstU32; @@ -24,7 +27,6 @@ use pallet_preimage::Call as PreimageCall; use precompile_utils::prelude::*; use sp_core::{Hasher, H256}; use sp_runtime::traits::Dispatchable; -use sp_std::{marker::PhantomData, vec::Vec}; #[cfg(test)] mod mock; diff --git a/operator/precompiles/proxy/Cargo.toml b/operator/precompiles/proxy/Cargo.toml index 6760477d..c2dda344 100644 --- a/operator/precompiles/proxy/Cargo.toml +++ b/operator/precompiles/proxy/Cargo.toml @@ -15,7 +15,6 @@ pallet-proxy = { workspace = true } parity-scale-codec = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier evm = { workspace = true, features = ["with-codec"] } @@ -47,5 +46,4 @@ std = [ "precompile-utils/std", "sp-core/std", "sp-runtime/std", - "sp-std/std", ] \ No newline at end of file diff --git a/operator/precompiles/proxy/src/lib.rs b/operator/precompiles/proxy/src/lib.rs index 031e6afc..bb54449e 100644 --- a/operator/precompiles/proxy/src/lib.rs +++ b/operator/precompiles/proxy/src/lib.rs @@ -15,7 +15,10 @@ // along with Moonbeam. If not, see . #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::vec::Vec; +use core::marker::PhantomData; use evm::ExitReason; use fp_evm::{ Context, PrecompileFailure, PrecompileHandle, Transfer, ACCOUNT_CODES_METADATA_PROOF_SIZE, @@ -33,7 +36,6 @@ use sp_runtime::{ traits::{ConstU32, Dispatchable, StaticLookup, Zero}, SaturatedConversion, }; -use sp_std::marker::PhantomData; /// System account size in bytes = Pallet_Name_Hash (16) + Storage_name_hash (16) + /// Blake2_128Concat (16) + AccountId (20) + AccountInfo (4 + 12 + AccountData (4* 16)) = 148 @@ -57,11 +59,12 @@ where ::RuntimeCall: Dispatchable + GetDispatchInfo, <::RuntimeCall as Dispatchable>::RuntimeOrigin: - From>, + From::AccountId>>, ::RuntimeCall: From> + From>, >::Balance: TryFrom + Into, - ::AddressMapping: AddressMapping, + ::AddressMapping: + AddressMapping<::AccountId>, { fn is_allowed(_caller: H160, selector: Option) -> bool { match selector { @@ -85,16 +88,17 @@ where Runtime: pallet_proxy::Config + pallet_evm::Config + frame_system::Config + pallet_balances::Config, <::RuntimeCall as Dispatchable>::RuntimeOrigin: - From>, + From::AccountId>>, ::ProxyType: Decode + EvmProxyCallFilter, ::RuntimeCall: Dispatchable + GetDispatchInfo, <::RuntimeCall as Dispatchable>::RuntimeOrigin: - From>, + From::AccountId>>, ::RuntimeCall: From> + From>, >::Balance: TryFrom + Into, - ::AddressMapping: AddressMapping, + ::AddressMapping: + AddressMapping<::AccountId>, { fn is_allowed(_caller: H160, selector: Option) -> bool { match selector { @@ -147,16 +151,17 @@ where Runtime: pallet_proxy::Config + pallet_evm::Config + frame_system::Config + pallet_balances::Config, <::RuntimeCall as Dispatchable>::RuntimeOrigin: - From>, + From::AccountId>>, ::ProxyType: Decode + EvmProxyCallFilter, ::RuntimeCall: Dispatchable + GetDispatchInfo, <::RuntimeCall as Dispatchable>::RuntimeOrigin: - From>, + From::AccountId>>, ::RuntimeCall: From> + From>, >::Balance: TryFrom + Into, - ::AddressMapping: AddressMapping, + ::AddressMapping: + AddressMapping<::AccountId>, { /// Register a proxy account for the sender that is able to make calls on its behalf. /// The dispatch origin for this call must be Signed. @@ -198,8 +203,8 @@ where return Err(revert("Cannot add more than one proxy")); } - let delegate: ::Source = - Runtime::Lookup::unlookup(delegate.clone()); + let delegate: <::Lookup as StaticLookup>::Source = + ::Lookup::unlookup(delegate.clone()); let call: ProxyCall = ProxyCall::::add_proxy { delegate, proxy_type, @@ -233,8 +238,8 @@ where })?; let delay = delay.into(); - let delegate: ::Source = - Runtime::Lookup::unlookup(delegate.clone()); + let delegate: <::Lookup as StaticLookup>::Source = + ::Lookup::unlookup(delegate.clone()); let origin = Runtime::AddressMapping::into_account_id(handle.context().caller); let call: ProxyCall = ProxyCall::::remove_proxy { delegate, @@ -413,7 +418,7 @@ where let transfer = if value.is_zero() { None } else { - let contract_address: Runtime::AccountId = + let contract_address: ::AccountId = Runtime::AddressMapping::into_account_id(handle.context().address); // Send back funds received by the precompile. @@ -421,12 +426,12 @@ where handle, Some(contract_address).into(), pallet_balances::Call::::transfer_allow_death { - dest: Runtime::Lookup::unlookup(who), + dest: ::Lookup::unlookup(who), value: { let balance: >::Balance = value.try_into().map_err(|_| PrecompileFailure::Revert { exit_status: fp_evm::ExitRevert::Reverted, - output: sp_std::vec::Vec::new(), + output: Vec::new(), })?; balance }, diff --git a/operator/precompiles/proxy/src/tests.rs b/operator/precompiles/proxy/src/tests.rs index b7d7c906..ae2e462b 100644 --- a/operator/precompiles/proxy/src/tests.rs +++ b/operator/precompiles/proxy/src/tests.rs @@ -551,6 +551,7 @@ fn test_nested_evm_bypass_proxy_should_allow_elevating_proxy_type() { max_priority_fee_per_gas: Some(U256::zero()), nonce: None, access_list: Vec::new(), + authorization_list: Vec::new(), }); // call the evm call in a proxy call diff --git a/operator/precompiles/referenda/Cargo.toml b/operator/precompiles/referenda/Cargo.toml index e8451753..0e2b79dc 100644 --- a/operator/precompiles/referenda/Cargo.toml +++ b/operator/precompiles/referenda/Cargo.toml @@ -15,7 +15,6 @@ pallet-referenda = { workspace = true } parity-scale-codec = { workspace = true, features = ["derive"] } sp-core = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } # Frontier fp-evm = { workspace = true } @@ -47,7 +46,6 @@ std = [ "parity-scale-codec/std", "precompile-utils/std", "sp-runtime/std", - "sp-std/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", diff --git a/operator/precompiles/referenda/src/lib.rs b/operator/precompiles/referenda/src/lib.rs index d5687774..bd6bfa97 100644 --- a/operator/precompiles/referenda/src/lib.rs +++ b/operator/precompiles/referenda/src/lib.rs @@ -15,7 +15,11 @@ // along with Moonbeam. If not, see . #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::boxed::Box; +use alloc::vec::Vec; +use core::{marker::PhantomData, str::FromStr}; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; use frame_support::traits::{ @@ -29,8 +33,8 @@ use pallet_referenda::{ use parity_scale_codec::{Encode, MaxEncodedLen}; use precompile_utils::prelude::*; use sp_core::{H160, H256, U256}; +use sp_runtime::str_array; use sp_runtime::traits::Dispatchable; -use sp_std::{boxed::Box, marker::PhantomData, str::FromStr, vec::Vec}; #[cfg(test)] mod mock; @@ -39,7 +43,7 @@ mod tests; pub const CALL_DATA_LIMIT: u32 = 2u32.pow(16); -type BlockNumberFor = frame_system::pallet_prelude::BlockNumberFor; +type BlockNumberFor = pallet_referenda::BlockNumberFor; type BalanceOf = <::Currency as Currency< ::AccountId, >>::Balance; @@ -202,7 +206,7 @@ where fn track_ids(_handle: &mut impl PrecompileHandle) -> EvmResult> { let track_ids: Vec = Runtime::Tracks::tracks() .into_iter() - .filter_map(|(track_id, _)| (*track_id).try_into().ok()) + .filter_map(|track| track.id.try_into().ok()) .collect(); Ok(track_ids) @@ -215,21 +219,18 @@ where .try_into() .map_err(|_| RevertReason::value_is_too_large("Track id type").into()) .in_field("trackId")?; - let (_, track_info) = Runtime::Tracks::tracks() - .iter() - .find(|(id, _)| *id == track_id) + let track = Runtime::Tracks::tracks() + .find(|track| track.id == track_id) .ok_or(RevertReason::custom("No such track").in_field("trackId"))?; + let track_info = &track.info; // trim the nulls bytes at the end of the name // caused by this https://github.com/paritytech/polkadot-sdk/pull/2072 let track_name_trimmed: &[u8] = track_info .name - .as_bytes() .iter() .rposition(|&b| b != 0) - .map_or(track_info.name.as_bytes(), |pos| { - &track_info.name.as_bytes()[..=pos] - }); + .map_or(&[], |pos| &track_info.name[..=pos]); Ok(TrackInfo { name: track_name_trimmed.into(), @@ -246,19 +247,22 @@ where /// Use Runtime::Tracks::tracks to get the origin for input trackId fn track_id_to_origin(track_id: TrackIdOf) -> EvmResult>> { - let (_, track_info) = Runtime::Tracks::tracks() - .iter() - .find(|(id, _)| *id == track_id) + let track = Runtime::Tracks::tracks() + .find(|track| track.id == track_id) .ok_or(RevertReason::custom("No such track").in_field("trackId"))?; - let origin = if track_info.name == "root" { + let track_info = &track.info; + + let origin = if track_info.name == str_array("root") { frame_system::RawOrigin::Root.into() } else { - GovOrigin::from_str(track_info.name) - .map_err(|_| { - RevertReason::custom("Custom origin does not exist for {track_info.name}") - .in_field("trackId") - })? - .into() + GovOrigin::from_str(str::from_utf8(&track_info.name).map_err(|_| { + RevertReason::custom("Track name is not valid UTF-8").in_field("trackId") + })?) + .map_err(|_| { + RevertReason::custom("Custom origin does not exist for {track_info.name}") + .in_field("trackId") + })? + .into() }; Ok(Box::new(origin)) } diff --git a/operator/precompiles/referenda/src/mock.rs b/operator/precompiles/referenda/src/mock.rs index 661c11db..6a70d108 100644 --- a/operator/precompiles/referenda/src/mock.rs +++ b/operator/precompiles/referenda/src/mock.rs @@ -36,7 +36,7 @@ use sp_runtime::{ traits::{BlakeTwo256, IdentityLookup}, BuildStorage, Perbill, }; -use sp_std::{str::FromStr, vec::Vec}; +use std::{str::FromStr, vec::Vec}; pub type AccountId = MockAccount; pub type Balance = u128; diff --git a/operator/precompiles/referenda/src/tests.rs b/operator/precompiles/referenda/src/tests.rs index 028a08ca..f786f4aa 100644 --- a/operator/precompiles/referenda/src/tests.rs +++ b/operator/precompiles/referenda/src/tests.rs @@ -42,6 +42,7 @@ fn evm_call(input: Vec) -> EvmCall { max_priority_fee_per_gas: Some(U256::zero()), nonce: None, access_list: Vec::new(), + authorization_list: Vec::new(), } } diff --git a/operator/primitives/bridge/Cargo.toml b/operator/primitives/bridge/Cargo.toml index 135bbcdf..e00ca4d2 100644 --- a/operator/primitives/bridge/Cargo.toml +++ b/operator/primitives/bridge/Cargo.toml @@ -16,7 +16,6 @@ parity-scale-codec = { workspace = true } snowbridge-core = { workspace = true } snowbridge-inbound-queue-primitives = { workspace = true } sp-core = { workspace = true } -sp-std = { workspace = true } hex = { workspace = true } [features] @@ -29,6 +28,5 @@ std = [ "pallet-external-validators/std", "pallet-datahaven-native-transfer/std", "sp-core/std", - "sp-std/std", "snowbridge-inbound-queue-primitives/std", ] diff --git a/operator/primitives/bridge/src/lib.rs b/operator/primitives/bridge/src/lib.rs index ab8fcad0..c467312f 100644 --- a/operator/primitives/bridge/src/lib.rs +++ b/operator/primitives/bridge/src/lib.rs @@ -15,14 +15,15 @@ // along with DataHaven. If not, see . #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; +use alloc::vec::Vec; use frame_support::pallet_prelude::*; use parity_scale_codec::DecodeAll; use snowbridge_inbound_queue_primitives::v2::{ EthereumAsset, Message as SnowbridgeMessage, MessageProcessor, }; use sp_core::H160; -use sp_std::vec::Vec; // Message ID. This is not expected to change and its arbitrary bytes defined here. // It should match the EL_MESSAGE_ID in DataHavenSnowbridgeMessages.sol diff --git a/operator/primitives/snowbridge/beacon/Cargo.toml b/operator/primitives/snowbridge/beacon/Cargo.toml index b22e6e6e..42a3c212 100644 --- a/operator/primitives/snowbridge/beacon/Cargo.toml +++ b/operator/primitives/snowbridge/beacon/Cargo.toml @@ -24,7 +24,6 @@ frame-support = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } byte-slice-cast = { workspace = true } ssz_rs = { workspace = true } @@ -51,6 +50,5 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "ssz_rs/std", ] diff --git a/operator/primitives/snowbridge/beacon/src/bits.rs b/operator/primitives/snowbridge/beacon/src/bits.rs index 6c5e9e16..42bc8a22 100644 --- a/operator/primitives/snowbridge/beacon/src/bits.rs +++ b/operator/primitives/snowbridge/beacon/src/bits.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork -use sp_std::prelude::*; +use alloc::vec::Vec; use ssz_rs::{Bitvector, Deserialize}; pub fn decompress_sync_committee_bits< diff --git a/operator/primitives/snowbridge/beacon/src/bls.rs b/operator/primitives/snowbridge/beacon/src/bls.rs index c96d1d02..8669a459 100644 --- a/operator/primitives/snowbridge/beacon/src/bls.rs +++ b/operator/primitives/snowbridge/beacon/src/bls.rs @@ -1,6 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork use crate::{PublicKey, Signature}; +use alloc::vec::Vec; use codec::{Decode, DecodeWithMemTracking, Encode}; use frame_support::{ensure, PalletError}; pub use milagro_bls::{ @@ -10,7 +11,6 @@ pub use milagro_bls::{ use scale_info::TypeInfo; use sp_core::H256; use sp_runtime::RuntimeDebug; -use sp_std::prelude::*; #[derive( Copy, diff --git a/operator/primitives/snowbridge/beacon/src/lib.rs b/operator/primitives/snowbridge/beacon/src/lib.rs index 7afb8f21..a3695286 100644 --- a/operator/primitives/snowbridge/beacon/src/lib.rs +++ b/operator/primitives/snowbridge/beacon/src/lib.rs @@ -1,6 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; pub mod bits; pub mod bls; diff --git a/operator/primitives/snowbridge/beacon/src/receipt.rs b/operator/primitives/snowbridge/beacon/src/receipt.rs index 60e7744c..3f57681b 100644 --- a/operator/primitives/snowbridge/beacon/src/receipt.rs +++ b/operator/primitives/snowbridge/beacon/src/receipt.rs @@ -1,8 +1,9 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +use alloc::boxed::Box; +use alloc::vec::Vec; use sp_core::H256; use sp_io::hashing::keccak_256; -use sp_std::prelude::*; use snowbridge_ethereum::{mpt, Receipt}; diff --git a/operator/primitives/snowbridge/beacon/src/serde_utils.rs b/operator/primitives/snowbridge/beacon/src/serde_utils.rs index ac0b506a..5e09d27d 100644 --- a/operator/primitives/snowbridge/beacon/src/serde_utils.rs +++ b/operator/primitives/snowbridge/beacon/src/serde_utils.rs @@ -100,7 +100,7 @@ pub struct HexVisitor(); impl<'de, const LENGTH: usize> serde::de::Visitor<'de> for HexVisitor { type Value = [u8; LENGTH]; - fn expecting(&self, formatter: &mut Formatter) -> sp_std::fmt::Result { + fn expecting(&self, formatter: &mut Formatter) -> core::fmt::Result { formatter.write_str("a hex string with an '0x' prefix") } diff --git a/operator/primitives/snowbridge/beacon/src/ssz.rs b/operator/primitives/snowbridge/beacon/src/ssz.rs index f4b026ca..8903f367 100644 --- a/operator/primitives/snowbridge/beacon/src/ssz.rs +++ b/operator/primitives/snowbridge/beacon/src/ssz.rs @@ -6,9 +6,9 @@ use crate::{ BeaconHeader, ExecutionPayloadHeader, ForkData, SigningData, SyncAggregate, SyncCommittee, }, }; +use alloc::{vec, vec::Vec}; use byte_slice_cast::AsByteSlice; use sp_core::H256; -use sp_std::{vec, vec::Vec}; use ssz_rs::{ prelude::{List, Vector}, Bitvector, Deserialize, DeserializeError, SimpleSerialize, SimpleSerializeError, Sized, U256, @@ -204,9 +204,9 @@ pub mod deneb { ssz::hash_tree_root, types::deneb::ExecutionPayloadHeader, }; + use alloc::{vec, vec::Vec}; use byte_slice_cast::AsByteSlice; use sp_core::H256; - use sp_std::{vec, vec::Vec}; use ssz_rs::{ prelude::{List, Vector}, Deserialize, DeserializeError, SimpleSerializeError, Sized, U256, diff --git a/operator/primitives/snowbridge/beacon/src/types.rs b/operator/primitives/snowbridge/beacon/src/types.rs index 062eb218..e44a5f2b 100644 --- a/operator/primitives/snowbridge/beacon/src/types.rs +++ b/operator/primitives/snowbridge/beacon/src/types.rs @@ -1,11 +1,13 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +use alloc::boxed::Box; +use alloc::vec::Vec; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; +use core::iter::repeat; use frame_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound}; use scale_info::TypeInfo; use sp_core::{H160, H256, U256}; use sp_runtime::RuntimeDebug; -use sp_std::{boxed::Box, iter::repeat, prelude::*}; use crate::config::{PUBKEY_SIZE, SIGNATURE_SIZE}; @@ -89,7 +91,7 @@ impl Serialize for PublicKey { } } -#[derive(Copy, Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)] +#[derive(Copy, Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo, DecodeWithMemTracking)] pub struct Signature(pub [u8; SIGNATURE_SIZE]); impl Default for Signature { @@ -238,7 +240,16 @@ impl TryFrom<&SyncCommittee> /// Beacon block header as it is stored in the runtime storage. The block root is the /// Merkleization of a BeaconHeader. #[derive( - Copy, Clone, Default, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen, + Copy, + Clone, + Default, + Encode, + Decode, + PartialEq, + RuntimeDebug, + TypeInfo, + MaxEncodedLen, + DecodeWithMemTracking, )] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub struct BeaconHeader { @@ -261,7 +272,15 @@ impl BeaconHeader { } } -#[derive(Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo)] +#[derive( + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, +)] #[cfg_attr( feature = "std", derive(Deserialize), @@ -329,7 +348,14 @@ impl /// ExecutionPayloadHeader /// #[derive( - Default, Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo, + Default, + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, )] #[cfg_attr( feature = "std", @@ -391,7 +417,15 @@ pub struct CompactBeaconState { } /// VersionedExecutionPayloadHeader -#[derive(Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo)] +#[derive( + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, +)] #[cfg_attr( feature = "std", derive(Serialize, Deserialize), @@ -453,7 +487,15 @@ impl VersionedExecutionPayloadHeader { } } -#[derive(Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo)] +#[derive( + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, +)] #[cfg_attr( feature = "std", derive(serde::Deserialize), @@ -470,7 +512,15 @@ pub struct ExecutionProof { pub execution_branch: Vec, } -#[derive(Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo)] +#[derive( + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, +)] #[cfg_attr( feature = "std", derive(serde::Deserialize), @@ -609,18 +659,25 @@ pub enum Mode { } pub mod deneb { - use codec::{Decode, Encode}; + use alloc::vec::Vec; + use codec::{Decode, DecodeWithMemTracking, Encode}; use frame_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound}; use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_core::{H160, H256, U256}; - use sp_std::prelude::*; /// ExecutionPayloadHeader /// #[derive( - Default, Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo, + Default, + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, )] #[cfg_attr( feature = "std", diff --git a/operator/primitives/snowbridge/beacon/src/updates.rs b/operator/primitives/snowbridge/beacon/src/updates.rs index 07d5564a..f580f5a2 100644 --- a/operator/primitives/snowbridge/beacon/src/updates.rs +++ b/operator/primitives/snowbridge/beacon/src/updates.rs @@ -1,14 +1,22 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork -use codec::{Decode, Encode}; +use alloc::vec::Vec; +use codec::{Decode, DecodeWithMemTracking, Encode}; use frame_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound}; use scale_info::TypeInfo; use sp_core::H256; -use sp_std::prelude::*; use crate::types::{BeaconHeader, SyncAggregate, SyncCommittee}; -#[derive(Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo)] +#[derive( + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, +)] #[cfg_attr( feature = "std", derive(serde::Serialize, serde::Deserialize), @@ -24,7 +32,14 @@ pub struct CheckpointUpdate { } #[derive( - Default, Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo, + Default, + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, )] #[cfg_attr( feature = "std", @@ -54,7 +69,14 @@ pub struct Update } #[derive( - Default, Encode, Decode, CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound, TypeInfo, + Default, + Encode, + Decode, + CloneNoBound, + PartialEqNoBound, + RuntimeDebugNoBound, + TypeInfo, + DecodeWithMemTracking, )] #[cfg_attr( feature = "std", diff --git a/operator/primitives/snowbridge/bridge-hub-common/Cargo.toml b/operator/primitives/snowbridge/bridge-hub-common/Cargo.toml index 081868b9..2b289ab1 100644 --- a/operator/primitives/snowbridge/bridge-hub-common/Cargo.toml +++ b/operator/primitives/snowbridge/bridge-hub-common/Cargo.toml @@ -17,7 +17,6 @@ scale-info = { features = ["derive"], workspace = true } snowbridge-core.workspace = true sp-core.workspace = true sp-runtime.workspace = true -sp-std.workspace = true xcm.workspace = true xcm-builder.workspace = true xcm-executor.workspace = true @@ -33,7 +32,6 @@ std = [ "snowbridge-core/std", "sp-core/std", "sp-runtime/std", - "sp-std/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", diff --git a/operator/primitives/snowbridge/bridge-hub-common/src/xcm_version.rs b/operator/primitives/snowbridge/bridge-hub-common/src/xcm_version.rs index be42fd73..27bee748 100644 --- a/operator/primitives/snowbridge/bridge-hub-common/src/xcm_version.rs +++ b/operator/primitives/snowbridge/bridge-hub-common/src/xcm_version.rs @@ -25,7 +25,7 @@ use xcm::{ /// configured XCM version between the destination `dest` and the bridge hub location provided as /// `Get`. pub struct XcmVersionOfDestAndRemoteBridge( - sp_std::marker::PhantomData<(Version, RemoteBridge)>, + core::marker::PhantomData<(Version, RemoteBridge)>, ); impl> GetVersion for XcmVersionOfDestAndRemoteBridge @@ -35,7 +35,7 @@ impl> GetVersion let bridge_hub_version = Version::get_version_for(&RemoteBridge::get()); match (dest_version, bridge_hub_version) { - (Some(dv), Some(bhv)) => Some(sp_std::cmp::min(dv, bhv)), + (Some(dv), Some(bhv)) => Some(core::cmp::min(dv, bhv)), (Some(dv), None) => Some(dv), (None, Some(bhv)) => Some(bhv), (None, None) => None, diff --git a/operator/primitives/snowbridge/core/Cargo.toml b/operator/primitives/snowbridge/core/Cargo.toml index f0eabf55..09895952 100644 --- a/operator/primitives/snowbridge/core/Cargo.toml +++ b/operator/primitives/snowbridge/core/Cargo.toml @@ -29,7 +29,6 @@ sp-arithmetic = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } xcm-executor = { workspace = true } bp-relayers = { workspace = true } @@ -62,7 +61,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", diff --git a/operator/primitives/snowbridge/core/src/lib.rs b/operator/primitives/snowbridge/core/src/lib.rs index 25e81ff6..a10b0889 100644 --- a/operator/primitives/snowbridge/core/src/lib.rs +++ b/operator/primitives/snowbridge/core/src/lib.rs @@ -4,6 +4,7 @@ //! //! Common traits and types #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; #[cfg(test)] mod tests; @@ -22,6 +23,7 @@ pub use polkadot_parachain_primitives::primitives::{ pub use ringbuffer::{RingBufferMap, RingBufferMapImpl}; pub use sp_core::U256; +use alloc::vec::Vec; use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen}; use frame_support::{traits::Contains, BoundedVec}; use hex_literal::hex; @@ -29,7 +31,6 @@ use scale_info::TypeInfo; use sp_core::{ConstU32, H256}; use sp_io::hashing::keccak_256; use sp_runtime::{traits::AccountIdConversion, RuntimeDebug}; -use sp_std::prelude::*; use xcm::latest::{Asset, Junction::Parachain, Location, Result as XcmResult, XcmContext}; use xcm_executor::traits::TransactAsset; diff --git a/operator/primitives/snowbridge/core/src/location.rs b/operator/primitives/snowbridge/core/src/location.rs index 2816a79e..7038ad3f 100644 --- a/operator/primitives/snowbridge/core/src/location.rs +++ b/operator/primitives/snowbridge/core/src/location.rs @@ -9,9 +9,9 @@ pub use polkadot_parachain_primitives::primitives::{ }; pub use sp_core::U256; +use alloc::vec::Vec; use codec::Encode; use sp_core::H256; -use sp_std::prelude::*; use xcm::prelude::{ AccountId32, AccountKey20, GeneralIndex, GeneralKey, GlobalConsensus, Location, PalletInstance, }; @@ -56,7 +56,7 @@ impl DescribeLocation for DescribeHere { } } } -pub struct DescribeGlobalPrefix(sp_std::marker::PhantomData); +pub struct DescribeGlobalPrefix(core::marker::PhantomData); impl DescribeLocation for DescribeGlobalPrefix { fn describe_location(l: &Location) -> Option> { match (l.parent_count(), l.first_interior()) { diff --git a/operator/primitives/snowbridge/core/src/pricing.rs b/operator/primitives/snowbridge/core/src/pricing.rs index eca50c66..ba825239 100644 --- a/operator/primitives/snowbridge/core/src/pricing.rs +++ b/operator/primitives/snowbridge/core/src/pricing.rs @@ -6,7 +6,6 @@ use scale_info::TypeInfo; use sp_arithmetic::traits::{BaseArithmetic, Unsigned, Zero}; use sp_core::U256; use sp_runtime::{FixedU128, RuntimeDebug}; -use sp_std::prelude::*; #[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, MaxEncodedLen, TypeInfo)] pub struct PricingParameters { diff --git a/operator/primitives/snowbridge/core/src/reward.rs b/operator/primitives/snowbridge/core/src/reward.rs index 5b79f31c..931dc205 100644 --- a/operator/primitives/snowbridge/core/src/reward.rs +++ b/operator/primitives/snowbridge/core/src/reward.rs @@ -4,6 +4,7 @@ extern crate alloc; use crate::reward::RewardPaymentError::{ChargeFeesFailure, XcmSendFailure}; +use core::{fmt::Debug, marker::PhantomData}; use frame_support::dispatch::GetDispatchInfo; use scale_info::TypeInfo; use sp_runtime::{ @@ -11,7 +12,6 @@ use sp_runtime::{ traits::Get, DispatchError, }; -use sp_std::{fmt::Debug, marker::PhantomData}; use xcm::{ opaque::latest::prelude::Xcm, prelude::{ExecuteXcm, Junction::*, Location, SendXcm, *}, diff --git a/operator/primitives/snowbridge/core/src/sparse_bitmap.rs b/operator/primitives/snowbridge/core/src/sparse_bitmap.rs index d7192642..bea8b362 100644 --- a/operator/primitives/snowbridge/core/src/sparse_bitmap.rs +++ b/operator/primitives/snowbridge/core/src/sparse_bitmap.rs @@ -1,7 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +use core::marker::PhantomData; use frame_support::storage::StorageMap; -use sp_std::marker::PhantomData; /// Sparse bitmap interface. pub trait SparseBitmap diff --git a/operator/primitives/snowbridge/ethereum/Cargo.toml b/operator/primitives/snowbridge/ethereum/Cargo.toml index 9d49aa6d..bfa63dc1 100644 --- a/operator/primitives/snowbridge/ethereum/Cargo.toml +++ b/operator/primitives/snowbridge/ethereum/Cargo.toml @@ -28,7 +28,6 @@ serde-big-array = { optional = true, features = [ sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } ethabi = { workspace = true } @@ -51,5 +50,4 @@ std = [ "serde-big-array", "sp-io/std", "sp-runtime/std", - "sp-std/std", ] diff --git a/operator/primitives/snowbridge/ethereum/src/header.rs b/operator/primitives/snowbridge/ethereum/src/header.rs index 0348880c..f9c3871c 100644 --- a/operator/primitives/snowbridge/ethereum/src/header.rs +++ b/operator/primitives/snowbridge/ethereum/src/header.rs @@ -1,5 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +use alloc::boxed::Box; +use alloc::vec::Vec; use codec::{Decode, Encode}; use ethbloom::Bloom as EthBloom; use hex_literal::hex; @@ -8,7 +10,6 @@ use rlp::RlpStream; use scale_info::TypeInfo; use sp_io::hashing::keccak_256; use sp_runtime::RuntimeDebug; -use sp_std::prelude::*; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; diff --git a/operator/primitives/snowbridge/ethereum/src/lib.rs b/operator/primitives/snowbridge/ethereum/src/lib.rs index b44ea3c6..60bac359 100644 --- a/operator/primitives/snowbridge/ethereum/src/lib.rs +++ b/operator/primitives/snowbridge/ethereum/src/lib.rs @@ -1,6 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; pub mod header; pub mod log; diff --git a/operator/primitives/snowbridge/ethereum/src/log.rs b/operator/primitives/snowbridge/ethereum/src/log.rs index 589d928d..5273e382 100644 --- a/operator/primitives/snowbridge/ethereum/src/log.rs +++ b/operator/primitives/snowbridge/ethereum/src/log.rs @@ -1,8 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +use alloc::vec::Vec; use codec::{Decode, Encode}; use ethereum_types::{H160, H256}; -use sp_std::prelude::*; #[derive(Clone, Debug, Encode, Decode, PartialEq, Eq)] pub struct Log { diff --git a/operator/primitives/snowbridge/ethereum/src/mpt.rs b/operator/primitives/snowbridge/ethereum/src/mpt.rs index 035016aa..e13180fc 100644 --- a/operator/primitives/snowbridge/ethereum/src/mpt.rs +++ b/operator/primitives/snowbridge/ethereum/src/mpt.rs @@ -2,8 +2,9 @@ // SPDX-FileCopyrightText: 2023 Snowfork //! Helper types to work with Ethereum's Merkle Patricia Trie nodes +use alloc::boxed::Box; +use alloc::vec::Vec; use ethereum_types::H256; -use sp_std::prelude::*; pub trait Node { fn contains_hash(&self, hash: H256) -> bool; diff --git a/operator/primitives/snowbridge/ethereum/src/receipt.rs b/operator/primitives/snowbridge/ethereum/src/receipt.rs index 3ef64e66..267a1b8f 100644 --- a/operator/primitives/snowbridge/ethereum/src/receipt.rs +++ b/operator/primitives/snowbridge/ethereum/src/receipt.rs @@ -1,9 +1,9 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork use crate::{Bloom, Log}; +use alloc::vec::Vec; use codec::{Decode, Encode}; use sp_runtime::RuntimeDebug; -use sp_std::prelude::*; #[derive(Clone, Default, Encode, Decode, PartialEq, RuntimeDebug)] pub struct Receipt { diff --git a/operator/primitives/snowbridge/inbound-queue/Cargo.toml b/operator/primitives/snowbridge/inbound-queue/Cargo.toml index b58f333a..6069eff4 100644 --- a/operator/primitives/snowbridge/inbound-queue/Cargo.toml +++ b/operator/primitives/snowbridge/inbound-queue/Cargo.toml @@ -23,7 +23,6 @@ frame-system = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } xcm = { workspace = true } xcm-builder = { workspace = true } @@ -61,7 +60,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", diff --git a/operator/primitives/snowbridge/inbound-queue/src/lib.rs b/operator/primitives/snowbridge/inbound-queue/src/lib.rs index 20ff50ed..0d0f8565 100644 --- a/operator/primitives/snowbridge/inbound-queue/src/lib.rs +++ b/operator/primitives/snowbridge/inbound-queue/src/lib.rs @@ -2,12 +2,14 @@ // SPDX-FileCopyrightText: 2023 Snowfork // SPDX-FileCopyrightText: 2021-2022 Parity Technologies (UK) Ltd. #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; + pub mod v1; pub mod v2; use codec::Encode; +use core::marker::PhantomData; use snowbridge_beacon_primitives::BeaconHeader; use sp_core::{blake2_256, RuntimeDebug, H256}; -use sp_std::marker::PhantomData; use xcm::prelude::{AccountKey20, Ethereum, GlobalConsensus, Location}; use xcm_executor::traits::ConvertLocation; diff --git a/operator/primitives/snowbridge/inbound-queue/src/v1.rs b/operator/primitives/snowbridge/inbound-queue/src/v1.rs index 41aa2270..c82a4b59 100644 --- a/operator/primitives/snowbridge/inbound-queue/src/v1.rs +++ b/operator/primitives/snowbridge/inbound-queue/src/v1.rs @@ -3,6 +3,7 @@ //! Converts messages from Ethereum to XCM messages use crate::{CallIndex, EthereumLocationsConverterFor}; +use alloc::vec; use codec::{Decode, DecodeWithMemTracking, Encode}; use core::marker::PhantomData; use frame_support::{traits::tokens::Balance as BalanceT, PalletError}; @@ -10,7 +11,6 @@ use scale_info::TypeInfo; use snowbridge_core::TokenId; use sp_core::{Get, RuntimeDebug, H160, H256}; use sp_runtime::{traits::MaybeEquivalence, MultiAddress}; -use sp_std::prelude::*; use xcm::prelude::{Junction::AccountKey20, *}; const MINIMUM_DEPOSIT: u128 = 1; diff --git a/operator/primitives/snowbridge/inbound-queue/src/v2/converter.rs b/operator/primitives/snowbridge/inbound-queue/src/v2/converter.rs index fd28e7a3..3dfcf677 100644 --- a/operator/primitives/snowbridge/inbound-queue/src/v2/converter.rs +++ b/operator/primitives/snowbridge/inbound-queue/src/v2/converter.rs @@ -1,9 +1,12 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork //! Converts messages from Solidity ABI-encoding to XCM +extern crate alloc; use super::{message::*, traits::*}; use crate::{v2::LOG_TARGET, CallIndex, EthereumLocationsConverterFor}; +use alloc::vec; +use alloc::vec::Vec; use codec::{Decode, DecodeLimit, Encode}; use core::marker::PhantomData; use frame_support::ensure; @@ -11,7 +14,6 @@ use snowbridge_core::TokenId; use sp_core::{Get, RuntimeDebug, H160}; use sp_io::hashing::blake2_256; use sp_runtime::{traits::MaybeEquivalence, MultiAddress}; -use sp_std::prelude::*; use xcm::{ prelude::{Junction::*, *}, MAX_XCM_DECODE_DEPTH, diff --git a/operator/primitives/snowbridge/inbound-queue/src/v2/message.rs b/operator/primitives/snowbridge/inbound-queue/src/v2/message.rs index 6e3f8fb5..299fcbe3 100644 --- a/operator/primitives/snowbridge/inbound-queue/src/v2/message.rs +++ b/operator/primitives/snowbridge/inbound-queue/src/v2/message.rs @@ -1,8 +1,11 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork //! Converts messages from Ethereum to XCM messages +extern crate alloc; use crate::{v2::IGatewayV2::Payload as GatewayV2Payload, Log}; +use alloc::vec; +use alloc::vec::Vec; use alloy_core::{ primitives::B256, sol, @@ -11,7 +14,6 @@ use alloy_core::{ use codec::{Decode, Encode}; use scale_info::TypeInfo; use sp_core::{RuntimeDebug, H160, H256}; -use sp_std::prelude::*; sol! { interface IGatewayV2 { diff --git a/operator/primitives/snowbridge/outbound-queue/Cargo.toml b/operator/primitives/snowbridge/outbound-queue/Cargo.toml index 636a94c8..30513acc 100644 --- a/operator/primitives/snowbridge/outbound-queue/Cargo.toml +++ b/operator/primitives/snowbridge/outbound-queue/Cargo.toml @@ -28,7 +28,6 @@ sp-arithmetic = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } -sp-std = { workspace = true } alloy-core = { workspace = true, features = ["sol-types"] } ethabi = { workspace = true } @@ -56,7 +55,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm-builder/std", "xcm-executor/std", "xcm/std", diff --git a/operator/primitives/snowbridge/outbound-queue/src/v1/message.rs b/operator/primitives/snowbridge/outbound-queue/src/v1/message.rs index e218e4b0..69c2df57 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v1/message.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v1/message.rs @@ -1,15 +1,17 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork //! # Outbound V1 primitives +extern crate alloc; use crate::{OperatingMode, SendError, SendMessageFeeProvider}; +use alloc::borrow::ToOwned; +use alloc::{vec, vec::Vec}; use codec::{Decode, DecodeWithMemTracking, Encode}; use ethabi::Token; use scale_info::TypeInfo; use snowbridge_core::{pricing::UD60x18, ChannelId}; use sp_arithmetic::traits::{BaseArithmetic, Unsigned}; use sp_core::{RuntimeDebug, H160, H256, U256}; -use sp_std::{borrow::ToOwned, vec, vec::Vec}; /// Enqueued outbound messages need to be versioned to prevent data corruption /// or loss after forkless runtime upgrades diff --git a/operator/primitives/snowbridge/outbound-queue/src/v1/mod.rs b/operator/primitives/snowbridge/outbound-queue/src/v1/mod.rs index f90ed90d..746a51fd 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v1/mod.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v1/mod.rs @@ -1,3 +1,5 @@ +extern crate alloc; + pub mod message; pub use message::*; diff --git a/operator/primitives/snowbridge/outbound-queue/src/v2/converter/convert.rs b/operator/primitives/snowbridge/outbound-queue/src/v2/converter/convert.rs index 3dee18c5..3036c19b 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v2/converter/convert.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v2/converter/convert.rs @@ -1,6 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork //! Converts XCM messages into InboundMessage that can be processed by the Gateway contract +extern crate alloc; use codec::DecodeAll; use core::slice::Iter; @@ -13,9 +14,10 @@ use crate::v2::{ }; use crate::v2::convert::XcmConverterError::{AssetResolutionFailed, FilterDoesNotConsumeAllAssets}; +use alloc::vec::Vec; +use core::{iter::Peekable, marker::PhantomData}; use sp_core::H160; use sp_runtime::traits::MaybeEquivalence; -use sp_std::{iter::Peekable, marker::PhantomData, prelude::*}; use xcm::prelude::*; use xcm_executor::traits::ConvertLocation; use XcmConverterError::*; diff --git a/operator/primitives/snowbridge/outbound-queue/src/v2/converter/mod.rs b/operator/primitives/snowbridge/outbound-queue/src/v2/converter/mod.rs index 3c6ca5dd..861833ff 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v2/converter/mod.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v2/converter/mod.rs @@ -1,6 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork //! Converts XCM messages into simpler commands that can be processed by the Gateway contract +extern crate alloc; #[cfg(test)] mod tests; @@ -9,7 +10,9 @@ pub mod convert; pub use convert::XcmConverter; use super::message::SendMessage; +use alloc::vec::Vec; use codec::{Decode, Encode}; +use core::{marker::PhantomData, ops::ControlFlow}; use frame_support::{ ensure, traits::{Contains, Get, ProcessMessageError}, @@ -17,7 +20,6 @@ use frame_support::{ use snowbridge_core::{ParaId, TokenId}; use sp_core::H256; use sp_runtime::traits::MaybeEquivalence; -use sp_std::{marker::PhantomData, ops::ControlFlow, prelude::*}; use xcm::prelude::*; use xcm_builder::{CreateMatcher, ExporterFor, MatchXcm}; use xcm_executor::traits::{ConvertLocation, ExportXcm}; diff --git a/operator/primitives/snowbridge/outbound-queue/src/v2/converter/tests.rs b/operator/primitives/snowbridge/outbound-queue/src/v2/converter/tests.rs index aa0c48ee..5b231fb3 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v2/converter/tests.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v2/converter/tests.rs @@ -6,10 +6,10 @@ use crate::{ v2::{convert::XcmConverterError, Command, Message}, SendError, SendMessageFeeProvider, }; +use core::default::Default; use frame_support::{parameter_types, BoundedVec}; use hex_literal::hex; use snowbridge_core::{AgentIdOf, TokenIdOf}; -use sp_std::default::Default; use xcm::{latest::WESTEND_GENESIS_HASH, prelude::SendError as XcmSendError}; parameter_types! { diff --git a/operator/primitives/snowbridge/outbound-queue/src/v2/delivery_receipt.rs b/operator/primitives/snowbridge/outbound-queue/src/v2/delivery_receipt.rs index 21b5f4d5..bb393b96 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v2/delivery_receipt.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v2/delivery_receipt.rs @@ -1,11 +1,13 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +extern crate alloc; + use crate::Log; +use alloc::vec::Vec; use alloy_core::{primitives::B256, sol, sol_types::SolEvent}; use codec::Decode; use frame_support::pallet_prelude::{Encode, TypeInfo}; use sp_core::{RuntimeDebug, H160, H256}; -use sp_std::prelude::*; sol! { event InboundMessageDispatched(uint64 indexed nonce, bytes32 topic, bool success, bytes32 reward_address); diff --git a/operator/primitives/snowbridge/outbound-queue/src/v2/exporter.rs b/operator/primitives/snowbridge/outbound-queue/src/v2/exporter.rs index 44c87c2b..529b26b8 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v2/exporter.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v2/exporter.rs @@ -1,8 +1,10 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +extern crate alloc; + +use alloc::vec::Vec; use core::marker::PhantomData; use snowbridge_core::operating_mode::ExportPausedQuery; -use sp_std::vec::Vec; use xcm::{ prelude::{Location, SendError, SendResult, SendXcm, Xcm, XcmHash}, VersionedLocation, VersionedXcm, diff --git a/operator/primitives/snowbridge/outbound-queue/src/v2/message.rs b/operator/primitives/snowbridge/outbound-queue/src/v2/message.rs index 4d42e121..9d424e71 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v2/message.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v2/message.rs @@ -1,12 +1,13 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork //! # Outbound V2 primitives +extern crate alloc; +use alloc::vec::Vec; use codec::{Decode, DecodeWithMemTracking, Encode}; use frame_support::{pallet_prelude::ConstU32, BoundedVec}; use scale_info::TypeInfo; use sp_core::{RuntimeDebug, H160, H256}; -use sp_std::vec::Vec; use crate::{OperatingMode, SendError}; use abi::{ @@ -121,7 +122,7 @@ pub struct OutboundMessage { pub const MAX_COMMANDS: u32 = 8; /// A message which can be accepted by implementations of `/[`SendMessage`\]` -#[derive(Encode, Decode, TypeInfo, PartialEq, Clone, RuntimeDebug)] +#[derive(Encode, Decode, TypeInfo, PartialEq, Clone, RuntimeDebug, DecodeWithMemTracking)] pub struct Message { /// Origin pub origin: H256, @@ -134,7 +135,7 @@ pub struct Message { } /// A command which is executable by the Gateway contract on Ethereum -#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)] +#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo, DecodeWithMemTracking)] pub enum Command { /// Upgrade the Gateway contract Upgrade { diff --git a/operator/primitives/snowbridge/outbound-queue/src/v2/mod.rs b/operator/primitives/snowbridge/outbound-queue/src/v2/mod.rs index 543cb65a..3aa4d4ea 100644 --- a/operator/primitives/snowbridge/outbound-queue/src/v2/mod.rs +++ b/operator/primitives/snowbridge/outbound-queue/src/v2/mod.rs @@ -1,5 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023 Snowfork +extern crate alloc; + pub mod converter; pub mod delivery_receipt; pub mod exporter; @@ -9,10 +11,10 @@ pub use converter::*; pub use delivery_receipt::*; pub use message::*; +use alloc::vec::Vec; use codec::{Decode, Encode}; use scale_info::TypeInfo; use sp_runtime::RuntimeDebug; -use sp_std::prelude::*; /// The `XCM::Transact` payload for calling arbitrary smart contracts on Ethereum. /// On Ethereum, this call will be dispatched by the agent contract acting as a proxy diff --git a/operator/primitives/snowbridge/test-utils/Cargo.toml b/operator/primitives/snowbridge/test-utils/Cargo.toml index 9038fc70..6525434e 100644 --- a/operator/primitives/snowbridge/test-utils/Cargo.toml +++ b/operator/primitives/snowbridge/test-utils/Cargo.toml @@ -24,7 +24,6 @@ scale-info = { features = [ ], workspace = true, default-features = true } snowbridge-outbound-queue-primitives = { workspace = true, default-features = true } sp-core = { workspace = true, default-features = true } -sp-std = { workspace = true, default-features = true } xcm = { workspace = true, default-features = true } xcm-builder = { workspace = true, default-features = true } xcm-executor = { workspace = true, default-features = true } diff --git a/operator/primitives/snowbridge/verification/Cargo.toml b/operator/primitives/snowbridge/verification/Cargo.toml index 23fea6c6..b14e1125 100644 --- a/operator/primitives/snowbridge/verification/Cargo.toml +++ b/operator/primitives/snowbridge/verification/Cargo.toml @@ -17,7 +17,6 @@ frame-support = { workspace = true } scale-info = { features = ["derive"], workspace = true } snowbridge-beacon-primitives = { workspace = true } sp-core = { workspace = true } -sp-std = { workspace = true } [features] default = ["std"] @@ -27,5 +26,4 @@ std = [ "scale-info/std", "snowbridge-beacon-primitives/std", "sp-core/std", - "sp-std/std", ] diff --git a/operator/primitives/snowbridge/verification/src/lib.rs b/operator/primitives/snowbridge/verification/src/lib.rs index 2262cc57..ae2b9f8f 100644 --- a/operator/primitives/snowbridge/verification/src/lib.rs +++ b/operator/primitives/snowbridge/verification/src/lib.rs @@ -2,19 +2,21 @@ // SPDX-FileCopyrightText: 2023 Snowfork //! Types for representing inbound messages #![cfg_attr(not(feature = "std"), no_std)] -use codec::{Decode, Encode}; +extern crate alloc; + +use alloc::vec::Vec; +use codec::{Decode, DecodeWithMemTracking, Encode}; use frame_support::PalletError; use scale_info::TypeInfo; use snowbridge_beacon_primitives::{BeaconHeader, ExecutionProof}; use sp_core::{RuntimeDebug, H160, H256}; -use sp_std::prelude::*; /// A trait for verifying inbound messages from Ethereum. pub trait Verifier { fn verify(event: &Log, proof: &Proof) -> Result<(), VerificationError>; } -#[derive(Clone, Encode, Decode, RuntimeDebug, PalletError, TypeInfo)] +#[derive(Clone, Encode, Decode, RuntimeDebug, PalletError, TypeInfo, DecodeWithMemTracking)] #[cfg_attr(feature = "std", derive(PartialEq))] pub enum VerificationError { /// Execution header is missing @@ -30,7 +32,7 @@ pub enum VerificationError { } /// A bridge message from the Gateway contract on Ethereum -#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)] +#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo, DecodeWithMemTracking)] pub struct EventProof { /// Event log emitted by Gateway contract pub event_log: Log, @@ -46,7 +48,7 @@ pub enum LogValidationError { } /// Event log -#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)] +#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo, DecodeWithMemTracking)] pub struct Log { pub address: H160, pub topics: Vec, @@ -63,7 +65,7 @@ impl Log { } /// Inclusion proof for a transaction receipt -#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo)] +#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, TypeInfo, DecodeWithMemTracking)] pub struct Proof { // Proof keys and values (receipts tree) pub receipt_proof: (Vec>, Vec>), diff --git a/operator/runtime/common/Cargo.toml b/operator/runtime/common/Cargo.toml index 6d071a57..164f13ca 100644 --- a/operator/runtime/common/Cargo.toml +++ b/operator/runtime/common/Cargo.toml @@ -32,7 +32,6 @@ snowbridge-outbound-queue-primitives = { workspace = true } sp-core = { workspace = true, features = ["serde"] } sp-io = { workspace = true } sp-runtime = { workspace = true, features = ["serde"] } -sp-std = { workspace = true } xcm = { workspace = true } [features] @@ -61,7 +60,6 @@ std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", - "sp-std/std", "xcm/std", ] diff --git a/operator/runtime/common/src/deal_with_fees.rs b/operator/runtime/common/src/deal_with_fees.rs index 4e9948e4..cda77e67 100644 --- a/operator/runtime/common/src/deal_with_fees.rs +++ b/operator/runtime/common/src/deal_with_fees.rs @@ -25,7 +25,7 @@ use sp_runtime::Perbill; /// Deal with substrate based fees and tip. This should be used with pallet_transaction_payment. pub struct DealWithSubstrateFeesAndTip( - sp_std::marker::PhantomData<(R, FeesTreasuryProportion)>, + core::marker::PhantomData<(R, FeesTreasuryProportion)>, ); impl DealWithSubstrateFeesAndTip where @@ -74,7 +74,7 @@ where /// Deal with ethereum based fees. To handle tips/priority fees, use DealWithEthereumPriorityFees. pub struct DealWithEthereumBaseFees( - sp_std::marker::PhantomData<(R, FeesTreasuryProportion)>, + core::marker::PhantomData<(R, FeesTreasuryProportion)>, ); impl OnUnbalanced>> for DealWithEthereumBaseFees @@ -93,7 +93,7 @@ where } } -pub struct BlockAuthorAccountId(sp_std::marker::PhantomData); +pub struct BlockAuthorAccountId(core::marker::PhantomData); impl TypedGet for BlockAuthorAccountId where R: frame_system::Config + pallet_authorship::Config, @@ -106,7 +106,7 @@ where } /// Deal with ethereum based priority fees/tips. See DealWithEthereumBaseFees for base fees. -pub struct DealWithEthereumPriorityFees(sp_std::marker::PhantomData); +pub struct DealWithEthereumPriorityFees(core::marker::PhantomData); impl OnUnbalanced>> for DealWithEthereumPriorityFees where diff --git a/operator/runtime/common/src/impl_on_charge_evm_transaction.rs b/operator/runtime/common/src/impl_on_charge_evm_transaction.rs index d2e6c41b..9977ff9b 100644 --- a/operator/runtime/common/src/impl_on_charge_evm_transaction.rs +++ b/operator/runtime/common/src/impl_on_charge_evm_transaction.rs @@ -18,7 +18,7 @@ macro_rules! impl_on_charge_evm_transaction { {} => { pub struct OnChargeEVMTransaction( - sp_std::marker::PhantomData<(BaseFeesOU, PriorityFeesOU)> + core::marker::PhantomData<(BaseFeesOU, PriorityFeesOU)> ); impl OnChargeEVMTransactionT diff --git a/operator/runtime/common/src/inflation.rs b/operator/runtime/common/src/inflation.rs index b18332bc..e7149a3d 100644 --- a/operator/runtime/common/src/inflation.rs +++ b/operator/runtime/common/src/inflation.rs @@ -59,7 +59,7 @@ pub struct ExternalRewardsEraInflationProvider< BlocksPerSession, MillisecsPerBlock, >( - sp_std::marker::PhantomData<( + core::marker::PhantomData<( AnnualAmount, SessionsPerEra, BlocksPerSession, @@ -155,7 +155,7 @@ where /// This struct provides a mint_inflation method that can be called from wrapper implementations /// in your runtime to avoid circular dependencies. pub struct ExternalRewardsInflationHandler( - sp_std::marker::PhantomData<(Balances, TreasuryProportion, TreasuryAccount)>, + core::marker::PhantomData<(Balances, TreasuryProportion, TreasuryAccount)>, ); impl diff --git a/operator/runtime/common/src/lib.rs b/operator/runtime/common/src/lib.rs index d13044cd..cb29f6c5 100644 --- a/operator/runtime/common/src/lib.rs +++ b/operator/runtime/common/src/lib.rs @@ -15,6 +15,7 @@ // along with Moonbeam. If not, see . #![cfg_attr(not(feature = "std"), no_std)] +extern crate alloc; pub mod constants; pub use constants::*; diff --git a/operator/runtime/common/src/rewards_adapter.rs b/operator/runtime/common/src/rewards_adapter.rs index 330bf4b5..d7456ef7 100644 --- a/operator/runtime/common/src/rewards_adapter.rs +++ b/operator/runtime/common/src/rewards_adapter.rs @@ -20,6 +20,8 @@ //! via Snowbridge. The adapter is configurable through the [`RewardsSubmissionConfig`] //! trait, allowing runtimes to provide environment-specific values. +use alloc::vec; +use alloc::vec::Vec; use alloy_core::{ primitives::{Address, Uint, U256}, sol, @@ -31,8 +33,6 @@ use snowbridge_outbound_queue_primitives::v2::{ }; use snowbridge_outbound_queue_primitives::SendError; use sp_core::{H160, H256}; -use sp_std::vec; -use sp_std::vec::Vec; /// Default description for rewards submissions. pub const REWARDS_DESCRIPTION: &str = "DataHaven validator rewards"; diff --git a/operator/runtime/common/src/safe_mode.rs b/operator/runtime/common/src/safe_mode.rs index 8849e80f..8c3b2de3 100644 --- a/operator/runtime/common/src/safe_mode.rs +++ b/operator/runtime/common/src/safe_mode.rs @@ -18,10 +18,10 @@ use crate::time::DAYS; use crate::Balance; +use core::marker::PhantomData; use frame_support::{parameter_types, traits::Contains}; use pallet_tx_pause::RuntimeCallNameOf; use polkadot_primitives::BlockNumber; -use sp_std::marker::PhantomData; // Safe Mode Constants parameter_types! { diff --git a/operator/runtime/common/src/slashes_adapter.rs b/operator/runtime/common/src/slashes_adapter.rs index 74fa5c58..66fc307c 100644 --- a/operator/runtime/common/src/slashes_adapter.rs +++ b/operator/runtime/common/src/slashes_adapter.rs @@ -1,3 +1,5 @@ +use alloc::vec; +use alloc::vec::Vec; use alloy_core::{ primitives::{Address, U256}, sol, @@ -8,8 +10,6 @@ use snowbridge_outbound_queue_primitives::v2::SendMessage; use snowbridge_outbound_queue_primitives::v2::{Command, Message as OutboundMessage}; use snowbridge_outbound_queue_primitives::SendError; use sp_core::{H160, H256}; -use sp_std::vec; -use sp_std::vec::Vec; use crate::AccountId; diff --git a/operator/runtime/mainnet/Cargo.toml b/operator/runtime/mainnet/Cargo.toml index 186bc7b9..21c5a02d 100644 --- a/operator/runtime/mainnet/Cargo.toml +++ b/operator/runtime/mainnet/Cargo.toml @@ -120,7 +120,6 @@ sp-offchain = { workspace = true } sp-runtime = { workspace = true, features = ["serde"] } sp-session = { workspace = true } sp-staking = { workspace = true } -sp-std = { workspace = true } sp-storage = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true, features = ["serde"] } @@ -282,7 +281,6 @@ std = [ "sp-runtime/std", "sp-session/std", "sp-staking/std", - "sp-std/std", "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", diff --git a/operator/runtime/mainnet/src/configs/governance/referenda.rs b/operator/runtime/mainnet/src/configs/governance/referenda.rs index b4ceff70..dfc8c841 100644 --- a/operator/runtime/mainnet/src/configs/governance/referenda.rs +++ b/operator/runtime/mainnet/src/configs/governance/referenda.rs @@ -57,6 +57,8 @@ impl pallet_conviction_voting::Config for Runtime { type MaxVotes = ConstU32<20>; type MaxTurnout = frame_support::traits::TotalIssuanceOf; type Polls = Referenda; + type BlockNumberProvider = System; + type VotingHooks = (); } impl pallet_whitelist::Config for Runtime { @@ -79,8 +81,6 @@ impl pallet_whitelist::Config for Runtime { type WeightInfo = mainnet_weights::pallet_whitelist::WeightInfo; } -pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); - // Referenda Implementation impl pallet_referenda::Config for Runtime { type WeightInfo = mainnet_weights::pallet_referenda::WeightInfo; @@ -100,4 +100,5 @@ impl pallet_referenda::Config for Runtime { type AlarmInterval = AlarmInterval; type Tracks = TracksInfo; type Preimages = Preimage; + type BlockNumberProvider = System; } diff --git a/operator/runtime/mainnet/src/configs/governance/tracks.rs b/operator/runtime/mainnet/src/configs/governance/tracks.rs index 74199f9d..d38c0790 100644 --- a/operator/runtime/mainnet/src/configs/governance/tracks.rs +++ b/operator/runtime/mainnet/src/configs/governance/tracks.rs @@ -21,9 +21,10 @@ use super::*; use crate::currency::{HAVE, KILOHAVE, SUPPLY_FACTOR}; +use core::str::FromStr; use datahaven_runtime_common::time::*; use pallet_referenda::Curve; -use sp_std::str::FromStr; +use sp_runtime::str_array; const fn percent(x: i32) -> sp_runtime::FixedI64 { sp_runtime::FixedI64::from_rational(x as u128, 100) @@ -37,7 +38,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 6] 0, pallet_referenda::TrackInfo { // Name of this track. - name: "root", + name: str_array("root"), // A limit for the number of referenda on this track that can be being decided at once. // For Root origin this should generally be just one. max_deciding: 5, @@ -62,7 +63,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 6] ( 1, pallet_referenda::TrackInfo { - name: "whitelisted_caller", + name: str_array("whitelisted_caller"), max_deciding: 100, decision_deposit: 2 * KILOHAVE * SUPPLY_FACTOR, prepare_period: 10 * MINUTES, @@ -76,7 +77,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 6] ( 2, pallet_referenda::TrackInfo { - name: "general_admin", + name: str_array("general_admin"), max_deciding: 10, decision_deposit: 100 * HAVE * SUPPLY_FACTOR, prepare_period: 1 * HOURS, @@ -90,7 +91,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 6] ( 3, pallet_referenda::TrackInfo { - name: "referendum_canceller", + name: str_array("referendum_canceller"), max_deciding: 20, decision_deposit: 2 * KILOHAVE * SUPPLY_FACTOR, prepare_period: 1 * HOURS, @@ -104,7 +105,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 6] ( 4, pallet_referenda::TrackInfo { - name: "referendum_killer", + name: str_array("referendum_killer"), max_deciding: 100, decision_deposit: 4 * KILOHAVE * SUPPLY_FACTOR, prepare_period: 1 * HOURS, @@ -118,7 +119,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 6] ( 5, pallet_referenda::TrackInfo { - name: "fast_general_admin", + name: str_array("fast_general_admin"), max_deciding: 10, decision_deposit: 100 * HAVE * SUPPLY_FACTOR, prepare_period: 1 * HOURS, @@ -135,16 +136,17 @@ pub struct TracksInfo; impl pallet_referenda::TracksInfo for TracksInfo { type Id = u16; type RuntimeOrigin = ::PalletsOrigin; - fn tracks() -> &'static [(Self::Id, pallet_referenda::TrackInfo)] { - &TRACKS_DATA[..] + + fn tracks() -> impl Iterator>> { + TRACKS_DATA.iter().map(Cow::Borrowed) } fn track_for(id: &Self::RuntimeOrigin) -> Result { if let Ok(system_origin) = frame_system::RawOrigin::try_from(id.clone()) { match system_origin { frame_system::RawOrigin::Root => { - if let Some((track_id, _)) = Self::tracks() + if let Some(track) = Self::tracks() .into_iter() - .find(|(_, track)| track.name == "root") + .find(|track| track.name == str_array("root")) { Ok(*track_id) } else { @@ -154,14 +156,14 @@ impl pallet_referenda::TracksInfo for TracksInfo { _ => Err(()), } } else if let Ok(custom_origin) = custom_origins::Origin::try_from(id.clone()) { - if let Some((track_id, _)) = Self::tracks().into_iter().find(|(_, track)| { + if let Some(track_id) = Self::tracks().into_iter().find(|track| { if let Ok(track_custom_origin) = custom_origins::Origin::from_str(track.name) { track_custom_origin == custom_origin } else { false } }) { - Ok(*track_id) + Ok(track.id) } else { Err(()) } diff --git a/operator/runtime/mainnet/src/configs/mod.rs b/operator/runtime/mainnet/src/configs/mod.rs index 48f1aad9..b83c05d2 100644 --- a/operator/runtime/mainnet/src/configs/mod.rs +++ b/operator/runtime/mainnet/src/configs/mod.rs @@ -76,6 +76,10 @@ impl Default for ProxyType { Self::Any } } +use core::{ + convert::{From, Into}, + prelude::*, +}; use datahaven_runtime_common::{ deal_with_fees::{ DealWithEthereumBaseFees, DealWithEthereumPriorityFees, DealWithSubstrateFeesAndTip, @@ -141,10 +145,6 @@ use sp_runtime::{ FixedPointNumber, Perbill, Perquintill, }; use sp_staking::EraIndex; -use sp_std::{ - convert::{From, Into}, - prelude::*, -}; use sp_version::RuntimeVersion; use xcm::latest::NetworkId; use xcm::prelude::*; diff --git a/operator/runtime/mainnet/src/configs/runtime_params.rs b/operator/runtime/mainnet/src/configs/runtime_params.rs index 9d3cdeb3..914381c0 100644 --- a/operator/runtime/mainnet/src/configs/runtime_params.rs +++ b/operator/runtime/mainnet/src/configs/runtime_params.rs @@ -15,11 +15,11 @@ // along with DataHaven. If not, see . use crate::Runtime; +use alloc::vec; use frame_support::dynamic_params::{dynamic_pallet_params, dynamic_params}; use hex_literal::hex; use sp_core::{ConstU32, H160, H256}; use sp_runtime::{BoundedVec, Perbill}; -use sp_std::vec; use crate::configs::storagehub::{ChallengeTicksTolerance, ReplicationTargetType, SpMinDeposit}; use crate::currency::{GIGAWEI, HAVE, SUPPLY_FACTOR}; diff --git a/operator/runtime/mainnet/src/configs/storagehub/mod.rs b/operator/runtime/mainnet/src/configs/storagehub/mod.rs index 79a71b14..4cb6512c 100644 --- a/operator/runtime/mainnet/src/configs/storagehub/mod.rs +++ b/operator/runtime/mainnet/src/configs/storagehub/mod.rs @@ -27,6 +27,8 @@ use crate::{ BucketNfts, Nfts, PaymentStreams, ProofsDealer, Providers, Runtime, Signature, WeightToFee, HOURS, }; +use alloc::{vec, vec::Vec}; +use core::convert::{From, Into}; use core::marker::PhantomData; #[cfg(feature = "runtime-benchmarks")] use datahaven_runtime_common::benchmarking::StorageHubBenchmarking; @@ -59,8 +61,6 @@ use sp_runtime::traits::Verify; use sp_runtime::traits::Zero; use sp_runtime::SaturatedConversion; use sp_runtime::{traits::BlakeTwo256, Perbill}; -use sp_std::convert::{From, Into}; -use sp_std::{vec, vec::Vec}; use sp_trie::{LayoutV1, TrieConfiguration, TrieLayout}; #[cfg(feature = "std")] diff --git a/operator/runtime/mainnet/src/weights/frame_system.rs b/operator/runtime/mainnet/src/weights/frame_system.rs index 56f672bb..8cfa2ed7 100644 --- a/operator/runtime/mainnet/src/weights/frame_system.rs +++ b/operator/runtime/mainnet/src/weights/frame_system.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `frame_system`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_babe.rs b/operator/runtime/mainnet/src/weights/pallet_babe.rs index d6f48f94..4392b7ca 100644 --- a/operator/runtime/mainnet/src/weights/pallet_babe.rs +++ b/operator/runtime/mainnet/src/weights/pallet_babe.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_babe`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_balances.rs b/operator/runtime/mainnet/src/weights/pallet_balances.rs index 69b60f9e..47e0ebde 100644 --- a/operator/runtime/mainnet/src/weights/pallet_balances.rs +++ b/operator/runtime/mainnet/src/weights/pallet_balances.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_balances`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_beefy_mmr.rs b/operator/runtime/mainnet/src/weights/pallet_beefy_mmr.rs index 1693f449..bfda6ad1 100644 --- a/operator/runtime/mainnet/src/weights/pallet_beefy_mmr.rs +++ b/operator/runtime/mainnet/src/weights/pallet_beefy_mmr.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_beefy_mmr`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_collective_technical_committee.rs b/operator/runtime/mainnet/src/weights/pallet_collective_technical_committee.rs index 2908a4de..3a0afab2 100644 --- a/operator/runtime/mainnet/src/weights/pallet_collective_technical_committee.rs +++ b/operator/runtime/mainnet/src/weights/pallet_collective_technical_committee.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_collective_technical_committee`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_collective_treasury_council.rs b/operator/runtime/mainnet/src/weights/pallet_collective_treasury_council.rs index 5dc0ea6c..d04373b6 100644 --- a/operator/runtime/mainnet/src/weights/pallet_collective_treasury_council.rs +++ b/operator/runtime/mainnet/src/weights/pallet_collective_treasury_council.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_collective_treasury_council`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_conviction_voting.rs b/operator/runtime/mainnet/src/weights/pallet_conviction_voting.rs index 71601819..2de9a383 100644 --- a/operator/runtime/mainnet/src/weights/pallet_conviction_voting.rs +++ b/operator/runtime/mainnet/src/weights/pallet_conviction_voting.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_datahaven_native_transfer.rs b/operator/runtime/mainnet/src/weights/pallet_datahaven_native_transfer.rs index 12c8125a..6dae14ed 100644 --- a/operator/runtime/mainnet/src/weights/pallet_datahaven_native_transfer.rs +++ b/operator/runtime/mainnet/src/weights/pallet_datahaven_native_transfer.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_datahaven_native_transfer`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_evm.rs b/operator/runtime/mainnet/src/weights/pallet_evm.rs index 21a49e58..c1efba9c 100644 --- a/operator/runtime/mainnet/src/weights/pallet_evm.rs +++ b/operator/runtime/mainnet/src/weights/pallet_evm.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_evm`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_external_validator_slashes.rs b/operator/runtime/mainnet/src/weights/pallet_external_validator_slashes.rs index deb5261f..757af34c 100644 --- a/operator/runtime/mainnet/src/weights/pallet_external_validator_slashes.rs +++ b/operator/runtime/mainnet/src/weights/pallet_external_validator_slashes.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validator_slashes`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_external_validators.rs b/operator/runtime/mainnet/src/weights/pallet_external_validators.rs index f14183e4..d6a4a937 100644 --- a/operator/runtime/mainnet/src/weights/pallet_external_validators.rs +++ b/operator/runtime/mainnet/src/weights/pallet_external_validators.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validators`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_external_validators_rewards.rs b/operator/runtime/mainnet/src/weights/pallet_external_validators_rewards.rs index 10854100..764ade91 100644 --- a/operator/runtime/mainnet/src/weights/pallet_external_validators_rewards.rs +++ b/operator/runtime/mainnet/src/weights/pallet_external_validators_rewards.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validators_rewards`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_grandpa.rs b/operator/runtime/mainnet/src/weights/pallet_grandpa.rs index 7250e7d1..c2436557 100644 --- a/operator/runtime/mainnet/src/weights/pallet_grandpa.rs +++ b/operator/runtime/mainnet/src/weights/pallet_grandpa.rs @@ -51,7 +51,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_grandpa`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_im_online.rs b/operator/runtime/mainnet/src/weights/pallet_im_online.rs index 45d02cfa..64f345ad 100644 --- a/operator/runtime/mainnet/src/weights/pallet_im_online.rs +++ b/operator/runtime/mainnet/src/weights/pallet_im_online.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_im_online`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_message_queue.rs b/operator/runtime/mainnet/src/weights/pallet_message_queue.rs index 4515966e..fe3ca7a3 100644 --- a/operator/runtime/mainnet/src/weights/pallet_message_queue.rs +++ b/operator/runtime/mainnet/src/weights/pallet_message_queue.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_message_queue`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_mmr.rs b/operator/runtime/mainnet/src/weights/pallet_mmr.rs index c4d86617..4fd4bf9b 100644 --- a/operator/runtime/mainnet/src/weights/pallet_mmr.rs +++ b/operator/runtime/mainnet/src/weights/pallet_mmr.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_mmr`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_multisig.rs b/operator/runtime/mainnet/src/weights/pallet_multisig.rs index e817907a..b27df6fa 100644 --- a/operator/runtime/mainnet/src/weights/pallet_multisig.rs +++ b/operator/runtime/mainnet/src/weights/pallet_multisig.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_multisig`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_nfts.rs b/operator/runtime/mainnet/src/weights/pallet_nfts.rs index 4ffc4faf..01c8d947 100644 --- a/operator/runtime/mainnet/src/weights/pallet_nfts.rs +++ b/operator/runtime/mainnet/src/weights/pallet_nfts.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_nfts`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_parameters.rs b/operator/runtime/mainnet/src/weights/pallet_parameters.rs index bb54ca81..6a10a5b2 100644 --- a/operator/runtime/mainnet/src/weights/pallet_parameters.rs +++ b/operator/runtime/mainnet/src/weights/pallet_parameters.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_parameters`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_payment_streams.rs b/operator/runtime/mainnet/src/weights/pallet_payment_streams.rs index 3022e4da..436712a0 100644 --- a/operator/runtime/mainnet/src/weights/pallet_payment_streams.rs +++ b/operator/runtime/mainnet/src/weights/pallet_payment_streams.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_payment_streams`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_preimage.rs b/operator/runtime/mainnet/src/weights/pallet_preimage.rs index 8acba067..53f35411 100644 --- a/operator/runtime/mainnet/src/weights/pallet_preimage.rs +++ b/operator/runtime/mainnet/src/weights/pallet_preimage.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_preimage`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_proofs_dealer.rs b/operator/runtime/mainnet/src/weights/pallet_proofs_dealer.rs index 1d9541c8..9d9bbc1f 100644 --- a/operator/runtime/mainnet/src/weights/pallet_proofs_dealer.rs +++ b/operator/runtime/mainnet/src/weights/pallet_proofs_dealer.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_proofs_dealer`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_proxy.rs b/operator/runtime/mainnet/src/weights/pallet_proxy.rs index 2902eccd..3340f407 100644 --- a/operator/runtime/mainnet/src/weights/pallet_proxy.rs +++ b/operator/runtime/mainnet/src/weights/pallet_proxy.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_proxy`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_randomness.rs b/operator/runtime/mainnet/src/weights/pallet_randomness.rs index 5f7fffcd..aa3ca7e3 100644 --- a/operator/runtime/mainnet/src/weights/pallet_randomness.rs +++ b/operator/runtime/mainnet/src/weights/pallet_randomness.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_randomness`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_referenda.rs b/operator/runtime/mainnet/src/weights/pallet_referenda.rs index 2ed78f58..a0cecbec 100644 --- a/operator/runtime/mainnet/src/weights/pallet_referenda.rs +++ b/operator/runtime/mainnet/src/weights/pallet_referenda.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_referenda`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_safe_mode.rs b/operator/runtime/mainnet/src/weights/pallet_safe_mode.rs index a6fc4eaa..2816f5af 100644 --- a/operator/runtime/mainnet/src/weights/pallet_safe_mode.rs +++ b/operator/runtime/mainnet/src/weights/pallet_safe_mode.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_safe_mode`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_scheduler.rs b/operator/runtime/mainnet/src/weights/pallet_scheduler.rs index ba769492..ce780679 100644 --- a/operator/runtime/mainnet/src/weights/pallet_scheduler.rs +++ b/operator/runtime/mainnet/src/weights/pallet_scheduler.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_scheduler`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_session.rs b/operator/runtime/mainnet/src/weights/pallet_session.rs index 19df1fa9..cc61e16f 100644 --- a/operator/runtime/mainnet/src/weights/pallet_session.rs +++ b/operator/runtime/mainnet/src/weights/pallet_session.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_session`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_storage_providers.rs b/operator/runtime/mainnet/src/weights/pallet_storage_providers.rs index 7ec61ac9..4119cd57 100644 --- a/operator/runtime/mainnet/src/weights/pallet_storage_providers.rs +++ b/operator/runtime/mainnet/src/weights/pallet_storage_providers.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_storage_providers`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_sudo.rs b/operator/runtime/mainnet/src/weights/pallet_sudo.rs index e9677288..657d51d5 100644 --- a/operator/runtime/mainnet/src/weights/pallet_sudo.rs +++ b/operator/runtime/mainnet/src/weights/pallet_sudo.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_sudo`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_timestamp.rs b/operator/runtime/mainnet/src/weights/pallet_timestamp.rs index a00d76f5..f7b75bcf 100644 --- a/operator/runtime/mainnet/src/weights/pallet_timestamp.rs +++ b/operator/runtime/mainnet/src/weights/pallet_timestamp.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_timestamp`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_transaction_payment.rs b/operator/runtime/mainnet/src/weights/pallet_transaction_payment.rs index afa6a229..4f09c9c7 100644 --- a/operator/runtime/mainnet/src/weights/pallet_transaction_payment.rs +++ b/operator/runtime/mainnet/src/weights/pallet_transaction_payment.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_transaction_payment`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_treasury.rs b/operator/runtime/mainnet/src/weights/pallet_treasury.rs index 0794cf72..9c7e4760 100644 --- a/operator/runtime/mainnet/src/weights/pallet_treasury.rs +++ b/operator/runtime/mainnet/src/weights/pallet_treasury.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_treasury`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_tx_pause.rs b/operator/runtime/mainnet/src/weights/pallet_tx_pause.rs index 77db6715..51f1f677 100644 --- a/operator/runtime/mainnet/src/weights/pallet_tx_pause.rs +++ b/operator/runtime/mainnet/src/weights/pallet_tx_pause.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_tx_pause`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_utility.rs b/operator/runtime/mainnet/src/weights/pallet_utility.rs index a6247ad7..a60a2a24 100644 --- a/operator/runtime/mainnet/src/weights/pallet_utility.rs +++ b/operator/runtime/mainnet/src/weights/pallet_utility.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_utility`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/pallet_whitelist.rs b/operator/runtime/mainnet/src/weights/pallet_whitelist.rs index 2f8f7806..67e86ec9 100644 --- a/operator/runtime/mainnet/src/weights/pallet_whitelist.rs +++ b/operator/runtime/mainnet/src/weights/pallet_whitelist.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_whitelist`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/snowbridge_pallet_ethereum_client.rs b/operator/runtime/mainnet/src/weights/snowbridge_pallet_ethereum_client.rs index 68a8f967..bde1e6b2 100644 --- a/operator/runtime/mainnet/src/weights/snowbridge_pallet_ethereum_client.rs +++ b/operator/runtime/mainnet/src/weights/snowbridge_pallet_ethereum_client.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_ethereum_client`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs b/operator/runtime/mainnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs index 7b593575..54ac1f1b 100644 --- a/operator/runtime/mainnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs +++ b/operator/runtime/mainnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_inbound_queue_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs b/operator/runtime/mainnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs index 391db9a7..5f3d3213 100644 --- a/operator/runtime/mainnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs +++ b/operator/runtime/mainnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_outbound_queue_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/snowbridge_pallet_system.rs b/operator/runtime/mainnet/src/weights/snowbridge_pallet_system.rs index d2c0af0d..d5f334b2 100644 --- a/operator/runtime/mainnet/src/weights/snowbridge_pallet_system.rs +++ b/operator/runtime/mainnet/src/weights/snowbridge_pallet_system.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_system`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/mainnet/src/weights/snowbridge_pallet_system_v2.rs b/operator/runtime/mainnet/src/weights/snowbridge_pallet_system_v2.rs index 287f11a8..9b0e829a 100644 --- a/operator/runtime/mainnet/src/weights/snowbridge_pallet_system_v2.rs +++ b/operator/runtime/mainnet/src/weights/snowbridge_pallet_system_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_system_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/Cargo.toml b/operator/runtime/stagenet/Cargo.toml index c171e435..f976a97d 100644 --- a/operator/runtime/stagenet/Cargo.toml +++ b/operator/runtime/stagenet/Cargo.toml @@ -120,7 +120,6 @@ sp-offchain = { workspace = true } sp-runtime = { workspace = true, features = ["serde"] } sp-session = { workspace = true } sp-staking = { workspace = true } -sp-std = { workspace = true } sp-storage = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true, features = ["serde"] } @@ -283,7 +282,6 @@ std = [ "sp-runtime/std", "sp-session/std", "sp-staking/std", - "sp-std/std", "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", diff --git a/operator/runtime/stagenet/src/configs/governance/referenda.rs b/operator/runtime/stagenet/src/configs/governance/referenda.rs index 1ceb8cdf..9db06dfa 100644 --- a/operator/runtime/stagenet/src/configs/governance/referenda.rs +++ b/operator/runtime/stagenet/src/configs/governance/referenda.rs @@ -79,8 +79,6 @@ impl pallet_whitelist::Config for Runtime { type WeightInfo = stagenet_weights::pallet_whitelist::WeightInfo; } -pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); - // Referenda Implementation impl pallet_referenda::Config for Runtime { type WeightInfo = stagenet_weights::pallet_referenda::WeightInfo; @@ -100,4 +98,5 @@ impl pallet_referenda::Config for Runtime { type AlarmInterval = AlarmInterval; type Tracks = TracksInfo; type Preimages = Preimage; + type BlockNumberProvider = System; } diff --git a/operator/runtime/stagenet/src/weights/frame_system.rs b/operator/runtime/stagenet/src/weights/frame_system.rs index 444c87c8..ca87528b 100644 --- a/operator/runtime/stagenet/src/weights/frame_system.rs +++ b/operator/runtime/stagenet/src/weights/frame_system.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `frame_system`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_babe.rs b/operator/runtime/stagenet/src/weights/pallet_babe.rs index 6d8f9c58..6ed6b84c 100644 --- a/operator/runtime/stagenet/src/weights/pallet_babe.rs +++ b/operator/runtime/stagenet/src/weights/pallet_babe.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_babe`. pub struct WeightInfo(PhantomData); impl pallet_babe::WeightInfo for WeightInfo { diff --git a/operator/runtime/stagenet/src/weights/pallet_balances.rs b/operator/runtime/stagenet/src/weights/pallet_balances.rs index a809fcf8..9d8baeb2 100644 --- a/operator/runtime/stagenet/src/weights/pallet_balances.rs +++ b/operator/runtime/stagenet/src/weights/pallet_balances.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_balances`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_beefy_mmr.rs b/operator/runtime/stagenet/src/weights/pallet_beefy_mmr.rs index 179b34ed..8ccffb0c 100644 --- a/operator/runtime/stagenet/src/weights/pallet_beefy_mmr.rs +++ b/operator/runtime/stagenet/src/weights/pallet_beefy_mmr.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_beefy_mmr`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_collective_technical_committee.rs b/operator/runtime/stagenet/src/weights/pallet_collective_technical_committee.rs index 1764a190..94d71dcf 100644 --- a/operator/runtime/stagenet/src/weights/pallet_collective_technical_committee.rs +++ b/operator/runtime/stagenet/src/weights/pallet_collective_technical_committee.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_collective_technical_committee`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_collective_treasury_council.rs b/operator/runtime/stagenet/src/weights/pallet_collective_treasury_council.rs index b9ad8bdb..cc490929 100644 --- a/operator/runtime/stagenet/src/weights/pallet_collective_treasury_council.rs +++ b/operator/runtime/stagenet/src/weights/pallet_collective_treasury_council.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_collective_treasury_council`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_conviction_voting.rs b/operator/runtime/stagenet/src/weights/pallet_conviction_voting.rs index d39df1d0..ea69215e 100644 --- a/operator/runtime/stagenet/src/weights/pallet_conviction_voting.rs +++ b/operator/runtime/stagenet/src/weights/pallet_conviction_voting.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_datahaven_native_transfer.rs b/operator/runtime/stagenet/src/weights/pallet_datahaven_native_transfer.rs index effd2363..63498c9b 100644 --- a/operator/runtime/stagenet/src/weights/pallet_datahaven_native_transfer.rs +++ b/operator/runtime/stagenet/src/weights/pallet_datahaven_native_transfer.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_datahaven_native_transfer`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_evm.rs b/operator/runtime/stagenet/src/weights/pallet_evm.rs index 950955fd..f94d11d7 100644 --- a/operator/runtime/stagenet/src/weights/pallet_evm.rs +++ b/operator/runtime/stagenet/src/weights/pallet_evm.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_evm`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_external_validator_slashes.rs b/operator/runtime/stagenet/src/weights/pallet_external_validator_slashes.rs index cd06db35..39796b7e 100644 --- a/operator/runtime/stagenet/src/weights/pallet_external_validator_slashes.rs +++ b/operator/runtime/stagenet/src/weights/pallet_external_validator_slashes.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validator_slashes`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_external_validators.rs b/operator/runtime/stagenet/src/weights/pallet_external_validators.rs index 763d05b8..52338a21 100644 --- a/operator/runtime/stagenet/src/weights/pallet_external_validators.rs +++ b/operator/runtime/stagenet/src/weights/pallet_external_validators.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validators`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_external_validators_rewards.rs b/operator/runtime/stagenet/src/weights/pallet_external_validators_rewards.rs index 34d31953..57e29ee0 100644 --- a/operator/runtime/stagenet/src/weights/pallet_external_validators_rewards.rs +++ b/operator/runtime/stagenet/src/weights/pallet_external_validators_rewards.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validators_rewards`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_grandpa.rs b/operator/runtime/stagenet/src/weights/pallet_grandpa.rs index f30c5bcf..d148cee3 100644 --- a/operator/runtime/stagenet/src/weights/pallet_grandpa.rs +++ b/operator/runtime/stagenet/src/weights/pallet_grandpa.rs @@ -51,7 +51,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_grandpa`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_im_online.rs b/operator/runtime/stagenet/src/weights/pallet_im_online.rs index be005d40..dfa2d965 100644 --- a/operator/runtime/stagenet/src/weights/pallet_im_online.rs +++ b/operator/runtime/stagenet/src/weights/pallet_im_online.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_im_online`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_message_queue.rs b/operator/runtime/stagenet/src/weights/pallet_message_queue.rs index a3a919eb..e358a8ac 100644 --- a/operator/runtime/stagenet/src/weights/pallet_message_queue.rs +++ b/operator/runtime/stagenet/src/weights/pallet_message_queue.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_message_queue`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_mmr.rs b/operator/runtime/stagenet/src/weights/pallet_mmr.rs index 5c74c9ab..dc6b7922 100644 --- a/operator/runtime/stagenet/src/weights/pallet_mmr.rs +++ b/operator/runtime/stagenet/src/weights/pallet_mmr.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_mmr`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_multisig.rs b/operator/runtime/stagenet/src/weights/pallet_multisig.rs index 2e0b2be6..7d7f4167 100644 --- a/operator/runtime/stagenet/src/weights/pallet_multisig.rs +++ b/operator/runtime/stagenet/src/weights/pallet_multisig.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_multisig`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_nfts.rs b/operator/runtime/stagenet/src/weights/pallet_nfts.rs index 852419ff..0dafe6b6 100644 --- a/operator/runtime/stagenet/src/weights/pallet_nfts.rs +++ b/operator/runtime/stagenet/src/weights/pallet_nfts.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_nfts`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_parameters.rs b/operator/runtime/stagenet/src/weights/pallet_parameters.rs index f95cb00c..cae74edc 100644 --- a/operator/runtime/stagenet/src/weights/pallet_parameters.rs +++ b/operator/runtime/stagenet/src/weights/pallet_parameters.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_parameters`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_payment_streams.rs b/operator/runtime/stagenet/src/weights/pallet_payment_streams.rs index 3ac0c1d5..3c38b1ac 100644 --- a/operator/runtime/stagenet/src/weights/pallet_payment_streams.rs +++ b/operator/runtime/stagenet/src/weights/pallet_payment_streams.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_payment_streams`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_preimage.rs b/operator/runtime/stagenet/src/weights/pallet_preimage.rs index 07cba0f5..2fc3d2d4 100644 --- a/operator/runtime/stagenet/src/weights/pallet_preimage.rs +++ b/operator/runtime/stagenet/src/weights/pallet_preimage.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_preimage`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_proofs_dealer.rs b/operator/runtime/stagenet/src/weights/pallet_proofs_dealer.rs index 8fb40c96..860bc5a6 100644 --- a/operator/runtime/stagenet/src/weights/pallet_proofs_dealer.rs +++ b/operator/runtime/stagenet/src/weights/pallet_proofs_dealer.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_proofs_dealer`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_proxy.rs b/operator/runtime/stagenet/src/weights/pallet_proxy.rs index 7e12be9d..084540e3 100644 --- a/operator/runtime/stagenet/src/weights/pallet_proxy.rs +++ b/operator/runtime/stagenet/src/weights/pallet_proxy.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_proxy`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_randomness.rs b/operator/runtime/stagenet/src/weights/pallet_randomness.rs index 477df36c..b22a8020 100644 --- a/operator/runtime/stagenet/src/weights/pallet_randomness.rs +++ b/operator/runtime/stagenet/src/weights/pallet_randomness.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_randomness`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_referenda.rs b/operator/runtime/stagenet/src/weights/pallet_referenda.rs index dfe4de99..1e614169 100644 --- a/operator/runtime/stagenet/src/weights/pallet_referenda.rs +++ b/operator/runtime/stagenet/src/weights/pallet_referenda.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_referenda`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_safe_mode.rs b/operator/runtime/stagenet/src/weights/pallet_safe_mode.rs index 67af1dcc..03037b9a 100644 --- a/operator/runtime/stagenet/src/weights/pallet_safe_mode.rs +++ b/operator/runtime/stagenet/src/weights/pallet_safe_mode.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_safe_mode`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_scheduler.rs b/operator/runtime/stagenet/src/weights/pallet_scheduler.rs index 3fb00841..1744eb10 100644 --- a/operator/runtime/stagenet/src/weights/pallet_scheduler.rs +++ b/operator/runtime/stagenet/src/weights/pallet_scheduler.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_scheduler`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_session.rs b/operator/runtime/stagenet/src/weights/pallet_session.rs index 9c65f513..e4afaff5 100644 --- a/operator/runtime/stagenet/src/weights/pallet_session.rs +++ b/operator/runtime/stagenet/src/weights/pallet_session.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_session`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_storage_providers.rs b/operator/runtime/stagenet/src/weights/pallet_storage_providers.rs index 005a1700..acfd303c 100644 --- a/operator/runtime/stagenet/src/weights/pallet_storage_providers.rs +++ b/operator/runtime/stagenet/src/weights/pallet_storage_providers.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_storage_providers`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_sudo.rs b/operator/runtime/stagenet/src/weights/pallet_sudo.rs index e84c4d05..8c04691d 100644 --- a/operator/runtime/stagenet/src/weights/pallet_sudo.rs +++ b/operator/runtime/stagenet/src/weights/pallet_sudo.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_sudo`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_timestamp.rs b/operator/runtime/stagenet/src/weights/pallet_timestamp.rs index b098ca83..b44b740b 100644 --- a/operator/runtime/stagenet/src/weights/pallet_timestamp.rs +++ b/operator/runtime/stagenet/src/weights/pallet_timestamp.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_timestamp`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_transaction_payment.rs b/operator/runtime/stagenet/src/weights/pallet_transaction_payment.rs index ea62e0a5..721e7e87 100644 --- a/operator/runtime/stagenet/src/weights/pallet_transaction_payment.rs +++ b/operator/runtime/stagenet/src/weights/pallet_transaction_payment.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_transaction_payment`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_treasury.rs b/operator/runtime/stagenet/src/weights/pallet_treasury.rs index 69ffe3b2..a2caa970 100644 --- a/operator/runtime/stagenet/src/weights/pallet_treasury.rs +++ b/operator/runtime/stagenet/src/weights/pallet_treasury.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_treasury`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_tx_pause.rs b/operator/runtime/stagenet/src/weights/pallet_tx_pause.rs index a88c0fd3..6b7acfa9 100644 --- a/operator/runtime/stagenet/src/weights/pallet_tx_pause.rs +++ b/operator/runtime/stagenet/src/weights/pallet_tx_pause.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_tx_pause`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_utility.rs b/operator/runtime/stagenet/src/weights/pallet_utility.rs index 0b5be39c..31df3b74 100644 --- a/operator/runtime/stagenet/src/weights/pallet_utility.rs +++ b/operator/runtime/stagenet/src/weights/pallet_utility.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_utility`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/pallet_whitelist.rs b/operator/runtime/stagenet/src/weights/pallet_whitelist.rs index 88463552..a5ab6ab7 100644 --- a/operator/runtime/stagenet/src/weights/pallet_whitelist.rs +++ b/operator/runtime/stagenet/src/weights/pallet_whitelist.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_whitelist`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/snowbridge_pallet_ethereum_client.rs b/operator/runtime/stagenet/src/weights/snowbridge_pallet_ethereum_client.rs index ba87788d..71d88f12 100644 --- a/operator/runtime/stagenet/src/weights/snowbridge_pallet_ethereum_client.rs +++ b/operator/runtime/stagenet/src/weights/snowbridge_pallet_ethereum_client.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_ethereum_client`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/snowbridge_pallet_inbound_queue_v2.rs b/operator/runtime/stagenet/src/weights/snowbridge_pallet_inbound_queue_v2.rs index 4aa69fde..c27c9ea5 100644 --- a/operator/runtime/stagenet/src/weights/snowbridge_pallet_inbound_queue_v2.rs +++ b/operator/runtime/stagenet/src/weights/snowbridge_pallet_inbound_queue_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_inbound_queue_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/snowbridge_pallet_outbound_queue_v2.rs b/operator/runtime/stagenet/src/weights/snowbridge_pallet_outbound_queue_v2.rs index 90400a2e..1b96e75e 100644 --- a/operator/runtime/stagenet/src/weights/snowbridge_pallet_outbound_queue_v2.rs +++ b/operator/runtime/stagenet/src/weights/snowbridge_pallet_outbound_queue_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_outbound_queue_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/snowbridge_pallet_system.rs b/operator/runtime/stagenet/src/weights/snowbridge_pallet_system.rs index fcfc581c..19254c3b 100644 --- a/operator/runtime/stagenet/src/weights/snowbridge_pallet_system.rs +++ b/operator/runtime/stagenet/src/weights/snowbridge_pallet_system.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_system`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/stagenet/src/weights/snowbridge_pallet_system_v2.rs b/operator/runtime/stagenet/src/weights/snowbridge_pallet_system_v2.rs index ec6d7508..4a3fed9c 100644 --- a/operator/runtime/stagenet/src/weights/snowbridge_pallet_system_v2.rs +++ b/operator/runtime/stagenet/src/weights/snowbridge_pallet_system_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_system_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/Cargo.toml b/operator/runtime/testnet/Cargo.toml index 9eb0d7d0..c415d382 100644 --- a/operator/runtime/testnet/Cargo.toml +++ b/operator/runtime/testnet/Cargo.toml @@ -121,7 +121,6 @@ sp-offchain = { workspace = true } sp-runtime = { workspace = true, features = ["serde"] } sp-session = { workspace = true } sp-staking = { workspace = true } -sp-std = { workspace = true } sp-storage = { workspace = true } sp-transaction-pool = { workspace = true } sp-version = { workspace = true, features = ["serde"] } @@ -280,7 +279,6 @@ std = [ "sp-runtime/std", "sp-session/std", "sp-staking/std", - "sp-std/std", "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", diff --git a/operator/runtime/testnet/src/configs/governance/referenda.rs b/operator/runtime/testnet/src/configs/governance/referenda.rs index cbb68bf5..29feae39 100644 --- a/operator/runtime/testnet/src/configs/governance/referenda.rs +++ b/operator/runtime/testnet/src/configs/governance/referenda.rs @@ -79,8 +79,6 @@ impl pallet_whitelist::Config for Runtime { type WeightInfo = testnet_weights::pallet_whitelist::WeightInfo; } -pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); - // Referenda Implementation impl pallet_referenda::Config for Runtime { type WeightInfo = testnet_weights::pallet_referenda::WeightInfo; @@ -100,4 +98,5 @@ impl pallet_referenda::Config for Runtime { type AlarmInterval = AlarmInterval; type Tracks = TracksInfo; type Preimages = Preimage; + type BlockNumberProvider = System; } diff --git a/operator/runtime/testnet/src/weights/frame_system.rs b/operator/runtime/testnet/src/weights/frame_system.rs index 059a1edf..f988cea8 100644 --- a/operator/runtime/testnet/src/weights/frame_system.rs +++ b/operator/runtime/testnet/src/weights/frame_system.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `frame_system`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_babe.rs b/operator/runtime/testnet/src/weights/pallet_babe.rs index f8a55290..6a33371b 100644 --- a/operator/runtime/testnet/src/weights/pallet_babe.rs +++ b/operator/runtime/testnet/src/weights/pallet_babe.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_babe`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_balances.rs b/operator/runtime/testnet/src/weights/pallet_balances.rs index 7cdcf267..6a06a3c1 100644 --- a/operator/runtime/testnet/src/weights/pallet_balances.rs +++ b/operator/runtime/testnet/src/weights/pallet_balances.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_balances`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_beefy_mmr.rs b/operator/runtime/testnet/src/weights/pallet_beefy_mmr.rs index 50120ed7..e9364feb 100644 --- a/operator/runtime/testnet/src/weights/pallet_beefy_mmr.rs +++ b/operator/runtime/testnet/src/weights/pallet_beefy_mmr.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_beefy_mmr`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_collective_technical_committee.rs b/operator/runtime/testnet/src/weights/pallet_collective_technical_committee.rs index 3527a3f4..2aeac645 100644 --- a/operator/runtime/testnet/src/weights/pallet_collective_technical_committee.rs +++ b/operator/runtime/testnet/src/weights/pallet_collective_technical_committee.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_collective_technical_committee`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_collective_treasury_council.rs b/operator/runtime/testnet/src/weights/pallet_collective_treasury_council.rs index b2cdaa06..2a2008e0 100644 --- a/operator/runtime/testnet/src/weights/pallet_collective_treasury_council.rs +++ b/operator/runtime/testnet/src/weights/pallet_collective_treasury_council.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_collective_treasury_council`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_conviction_voting.rs b/operator/runtime/testnet/src/weights/pallet_conviction_voting.rs index 22a06d01..7fb44c66 100644 --- a/operator/runtime/testnet/src/weights/pallet_conviction_voting.rs +++ b/operator/runtime/testnet/src/weights/pallet_conviction_voting.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_datahaven_native_transfer.rs b/operator/runtime/testnet/src/weights/pallet_datahaven_native_transfer.rs index 30942c1e..e76d68c6 100644 --- a/operator/runtime/testnet/src/weights/pallet_datahaven_native_transfer.rs +++ b/operator/runtime/testnet/src/weights/pallet_datahaven_native_transfer.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_datahaven_native_transfer`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_evm.rs b/operator/runtime/testnet/src/weights/pallet_evm.rs index a637fc67..710bb673 100644 --- a/operator/runtime/testnet/src/weights/pallet_evm.rs +++ b/operator/runtime/testnet/src/weights/pallet_evm.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_evm`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_external_validator_slashes.rs b/operator/runtime/testnet/src/weights/pallet_external_validator_slashes.rs index 85e6f04f..5dd4c60c 100644 --- a/operator/runtime/testnet/src/weights/pallet_external_validator_slashes.rs +++ b/operator/runtime/testnet/src/weights/pallet_external_validator_slashes.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validator_slashes`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_external_validators.rs b/operator/runtime/testnet/src/weights/pallet_external_validators.rs index d989bab6..2a5559fd 100644 --- a/operator/runtime/testnet/src/weights/pallet_external_validators.rs +++ b/operator/runtime/testnet/src/weights/pallet_external_validators.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validators`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_external_validators_rewards.rs b/operator/runtime/testnet/src/weights/pallet_external_validators_rewards.rs index 9b7e752d..9fc6329e 100644 --- a/operator/runtime/testnet/src/weights/pallet_external_validators_rewards.rs +++ b/operator/runtime/testnet/src/weights/pallet_external_validators_rewards.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_external_validators_rewards`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_grandpa.rs b/operator/runtime/testnet/src/weights/pallet_grandpa.rs index 6d02ae74..ac0f4d1e 100644 --- a/operator/runtime/testnet/src/weights/pallet_grandpa.rs +++ b/operator/runtime/testnet/src/weights/pallet_grandpa.rs @@ -51,7 +51,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_grandpa`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_identity.rs b/operator/runtime/testnet/src/weights/pallet_identity.rs index 37a46dc8..1cba2573 100644 --- a/operator/runtime/testnet/src/weights/pallet_identity.rs +++ b/operator/runtime/testnet/src/weights/pallet_identity.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_identity`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_im_online.rs b/operator/runtime/testnet/src/weights/pallet_im_online.rs index bd568124..c65dabff 100644 --- a/operator/runtime/testnet/src/weights/pallet_im_online.rs +++ b/operator/runtime/testnet/src/weights/pallet_im_online.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_im_online`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_message_queue.rs b/operator/runtime/testnet/src/weights/pallet_message_queue.rs index eea08550..2f4d7d50 100644 --- a/operator/runtime/testnet/src/weights/pallet_message_queue.rs +++ b/operator/runtime/testnet/src/weights/pallet_message_queue.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_message_queue`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_mmr.rs b/operator/runtime/testnet/src/weights/pallet_mmr.rs index f4b2df6a..02c87727 100644 --- a/operator/runtime/testnet/src/weights/pallet_mmr.rs +++ b/operator/runtime/testnet/src/weights/pallet_mmr.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_mmr`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_multisig.rs b/operator/runtime/testnet/src/weights/pallet_multisig.rs index 98c41959..4cd22b25 100644 --- a/operator/runtime/testnet/src/weights/pallet_multisig.rs +++ b/operator/runtime/testnet/src/weights/pallet_multisig.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_multisig`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_nfts.rs b/operator/runtime/testnet/src/weights/pallet_nfts.rs index 2e594b5b..ecc08144 100644 --- a/operator/runtime/testnet/src/weights/pallet_nfts.rs +++ b/operator/runtime/testnet/src/weights/pallet_nfts.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_nfts`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_parameters.rs b/operator/runtime/testnet/src/weights/pallet_parameters.rs index 612a193e..540b96e1 100644 --- a/operator/runtime/testnet/src/weights/pallet_parameters.rs +++ b/operator/runtime/testnet/src/weights/pallet_parameters.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_parameters`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_payment_streams.rs b/operator/runtime/testnet/src/weights/pallet_payment_streams.rs index d094d81d..018bd086 100644 --- a/operator/runtime/testnet/src/weights/pallet_payment_streams.rs +++ b/operator/runtime/testnet/src/weights/pallet_payment_streams.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_payment_streams`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_preimage.rs b/operator/runtime/testnet/src/weights/pallet_preimage.rs index da320fba..b8fcd5fa 100644 --- a/operator/runtime/testnet/src/weights/pallet_preimage.rs +++ b/operator/runtime/testnet/src/weights/pallet_preimage.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_preimage`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_proofs_dealer.rs b/operator/runtime/testnet/src/weights/pallet_proofs_dealer.rs index 7ad738bf..4480fc10 100644 --- a/operator/runtime/testnet/src/weights/pallet_proofs_dealer.rs +++ b/operator/runtime/testnet/src/weights/pallet_proofs_dealer.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_proofs_dealer`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_proxy.rs b/operator/runtime/testnet/src/weights/pallet_proxy.rs index 44438277..43e52ea6 100644 --- a/operator/runtime/testnet/src/weights/pallet_proxy.rs +++ b/operator/runtime/testnet/src/weights/pallet_proxy.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_proxy`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_randomness.rs b/operator/runtime/testnet/src/weights/pallet_randomness.rs index c206ef94..c5e51f01 100644 --- a/operator/runtime/testnet/src/weights/pallet_randomness.rs +++ b/operator/runtime/testnet/src/weights/pallet_randomness.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_randomness`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_referenda.rs b/operator/runtime/testnet/src/weights/pallet_referenda.rs index a20ffdc7..538545d8 100644 --- a/operator/runtime/testnet/src/weights/pallet_referenda.rs +++ b/operator/runtime/testnet/src/weights/pallet_referenda.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_referenda`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_safe_mode.rs b/operator/runtime/testnet/src/weights/pallet_safe_mode.rs index ab029bd6..19e693ed 100644 --- a/operator/runtime/testnet/src/weights/pallet_safe_mode.rs +++ b/operator/runtime/testnet/src/weights/pallet_safe_mode.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_safe_mode`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_scheduler.rs b/operator/runtime/testnet/src/weights/pallet_scheduler.rs index d4fcdad1..a83cdb7d 100644 --- a/operator/runtime/testnet/src/weights/pallet_scheduler.rs +++ b/operator/runtime/testnet/src/weights/pallet_scheduler.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_scheduler`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_session.rs b/operator/runtime/testnet/src/weights/pallet_session.rs index 154c1a57..bc9f6b47 100644 --- a/operator/runtime/testnet/src/weights/pallet_session.rs +++ b/operator/runtime/testnet/src/weights/pallet_session.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_session`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_storage_providers.rs b/operator/runtime/testnet/src/weights/pallet_storage_providers.rs index 663eb999..88e584d4 100644 --- a/operator/runtime/testnet/src/weights/pallet_storage_providers.rs +++ b/operator/runtime/testnet/src/weights/pallet_storage_providers.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_storage_providers`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_sudo.rs b/operator/runtime/testnet/src/weights/pallet_sudo.rs index 769930bd..0d189550 100644 --- a/operator/runtime/testnet/src/weights/pallet_sudo.rs +++ b/operator/runtime/testnet/src/weights/pallet_sudo.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_sudo`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_timestamp.rs b/operator/runtime/testnet/src/weights/pallet_timestamp.rs index a94add38..c2774151 100644 --- a/operator/runtime/testnet/src/weights/pallet_timestamp.rs +++ b/operator/runtime/testnet/src/weights/pallet_timestamp.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_timestamp`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_transaction_payment.rs b/operator/runtime/testnet/src/weights/pallet_transaction_payment.rs index 55b4152e..3e9c32b5 100644 --- a/operator/runtime/testnet/src/weights/pallet_transaction_payment.rs +++ b/operator/runtime/testnet/src/weights/pallet_transaction_payment.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_transaction_payment`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_treasury.rs b/operator/runtime/testnet/src/weights/pallet_treasury.rs index b78574e3..def2b2bb 100644 --- a/operator/runtime/testnet/src/weights/pallet_treasury.rs +++ b/operator/runtime/testnet/src/weights/pallet_treasury.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_treasury`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_tx_pause.rs b/operator/runtime/testnet/src/weights/pallet_tx_pause.rs index 402c7223..cd80698d 100644 --- a/operator/runtime/testnet/src/weights/pallet_tx_pause.rs +++ b/operator/runtime/testnet/src/weights/pallet_tx_pause.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_tx_pause`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_utility.rs b/operator/runtime/testnet/src/weights/pallet_utility.rs index 8928dc1e..1088c16b 100644 --- a/operator/runtime/testnet/src/weights/pallet_utility.rs +++ b/operator/runtime/testnet/src/weights/pallet_utility.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_utility`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/pallet_whitelist.rs b/operator/runtime/testnet/src/weights/pallet_whitelist.rs index 5bccb462..9018d7d8 100644 --- a/operator/runtime/testnet/src/weights/pallet_whitelist.rs +++ b/operator/runtime/testnet/src/weights/pallet_whitelist.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `pallet_whitelist`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/snowbridge_pallet_ethereum_client.rs b/operator/runtime/testnet/src/weights/snowbridge_pallet_ethereum_client.rs index fe2056db..6b63e15f 100644 --- a/operator/runtime/testnet/src/weights/snowbridge_pallet_ethereum_client.rs +++ b/operator/runtime/testnet/src/weights/snowbridge_pallet_ethereum_client.rs @@ -33,7 +33,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_ethereum_client`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs b/operator/runtime/testnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs index 060c275a..1446792c 100644 --- a/operator/runtime/testnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs +++ b/operator/runtime/testnet/src/weights/snowbridge_pallet_inbound_queue_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_inbound_queue_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs b/operator/runtime/testnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs index 7190ed81..f03e6e6f 100644 --- a/operator/runtime/testnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs +++ b/operator/runtime/testnet/src/weights/snowbridge_pallet_outbound_queue_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_outbound_queue_v2`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/snowbridge_pallet_system.rs b/operator/runtime/testnet/src/weights/snowbridge_pallet_system.rs index 4dddbeec..7bf737cb 100644 --- a/operator/runtime/testnet/src/weights/snowbridge_pallet_system.rs +++ b/operator/runtime/testnet/src/weights/snowbridge_pallet_system.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_system`. pub struct WeightInfo(PhantomData); diff --git a/operator/runtime/testnet/src/weights/snowbridge_pallet_system_v2.rs b/operator/runtime/testnet/src/weights/snowbridge_pallet_system_v2.rs index 129b8ec4..e68144f8 100644 --- a/operator/runtime/testnet/src/weights/snowbridge_pallet_system_v2.rs +++ b/operator/runtime/testnet/src/weights/snowbridge_pallet_system_v2.rs @@ -50,7 +50,7 @@ #![allow(unused_imports)] use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use sp_std::marker::PhantomData; +use core::marker::PhantomData; /// Weights for `snowbridge_pallet_system_v2`. pub struct WeightInfo(PhantomData);