From e2afa31dd79371e6cc50d9fc7ecda57deb36e7f4 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 6 Oct 2024 14:54:01 +0200 Subject: [PATCH 01/59] feat: Update substrate to gear-polkadot-stable2409 --- Cargo.lock | 7346 +++++++++++++++++++++------------------ Cargo.toml | 254 +- node/service/Cargo.toml | 2 - runtime/vara/Cargo.toml | 4 + runtime/vara/build.rs | 19 +- runtime/vara/src/lib.rs | 19 +- 6 files changed, 4138 insertions(+), 3506 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bc19d620dbe..fd9e9723a71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -34,7 +34,7 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.28.0", + "gimli 0.28.1", ] [[package]] @@ -44,13 +44,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] -name = "aead" -version = "0.4.3" +name = "adler2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" -dependencies = [ - "generic-array 0.14.7", -] +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "aead" @@ -71,7 +68,7 @@ dependencies = [ "cfg-if", "cipher 0.3.0", "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -85,31 +82,17 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "aes-gcm" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc3be92e19a7ef47457b8e6f90707e12b6ac5d20c6f3866584fa3be0787d839f" -dependencies = [ - "aead 0.4.3", - "aes 0.7.5", - "cipher 0.3.0", - "ctr 0.7.0", - "ghash 0.4.4", - "subtle 2.6.1", -] - [[package]] name = "aes-gcm" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ - "aead 0.5.2", + "aead", "aes 0.8.4", "cipher 0.4.4", - "ctr 0.9.2", - "ghash 0.5.1", + "ctr", + "ghash", "subtle 2.6.1", ] @@ -139,24 +122,24 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.0.4" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] [[package]] name = "allocator-api2" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "alloy" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f13f1940c81e269e84ddb58f3b611be9660fbbfe39d4338aa2984dc3df0c402" +checksum = "8367891bf380210abb0d6aa30c5f85a9080cb4a066c4d5c5acadad630823751b" dependencies = [ "alloy-consensus", "alloy-contract", @@ -179,19 +162,19 @@ dependencies = [ [[package]] name = "alloy-chains" -version = "0.1.18" +version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03fd095a9d70f4b1c5c102c84a4c782867a5c6416dbf6dcd42a63e7c7a89d3c8" +checksum = "94c225801d42099570d0674701dddd4142f0ef715282aeb5985042e2ec962df7" dependencies = [ - "num_enum 0.7.2", - "strum 0.26.2", + "num_enum 0.7.3", + "strum 0.26.3", ] [[package]] name = "alloy-consensus" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4177d135789e282e925092be8939d421b701c6d92c0a16679faa659d9166289d" +checksum = "629b62e38d471cc15fea534eb7283d2f8a4e8bdb1811bcc5d66dda6cfce6fae1" dependencies = [ "alloy-eips", "alloy-primitives", @@ -203,9 +186,9 @@ dependencies = [ [[package]] name = "alloy-contract" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3be15f92fdb7490b164697a1d9b395cb7a3afa8fb15feed732ec5a6ff8db5f4" +checksum = "0eefe64fd344cffa9cf9e3435ec4e93e6e9c3481bc37269af988bf497faf4a6a" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -224,21 +207,22 @@ dependencies = [ [[package]] name = "alloy-core" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6dbb79f4e3285cc87f50c0d4be9a3a812643623b2e3558d425b41cbd795ceb" +checksum = "3cf9b7166dd6aee2236646457b81fa032af8a67c25f3965d56e48881658bc85f" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", "alloy-primitives", + "alloy-rlp", "alloy-sol-types", ] [[package]] name = "alloy-dyn-abi" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5b68572f5dfa99ede0a491d658c9842626c956b840d0b97d0bbc9637742504" +checksum = "1109c57718022ac84c194f775977a534e1b3969b405e55693a61c42187cc0612" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -248,7 +232,7 @@ dependencies = [ "itoa", "serde", "serde_json", - "winnow 0.6.6", + "winnow", ] [[package]] @@ -264,9 +248,9 @@ dependencies = [ [[package]] name = "alloy-eip7702" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d319bb544ca6caeab58c39cea8921c55d924d4f68f2c60f24f914673f9a74a" +checksum = "ea59dc42102bc9a1905dc57901edc6dd48b9f38115df86c7d252acba70d71d04" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -275,9 +259,9 @@ dependencies = [ [[package]] name = "alloy-eips" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "499ee14d296a133d142efd215eb36bf96124829fe91cf8f5d4e5ccdd381eae00" +checksum = "f923dd5fca5f67a43d81ed3ebad0880bd41f6dd0ada930030353ac356c54cd0f" dependencies = [ "alloy-eip2930", "alloy-eip7702", @@ -293,9 +277,9 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b85dfc693e4a1193f0372a8f789df12ab51fcbe7be0733baa04939a86dd813b" +checksum = "3a7a18afb0b318616b6b2b0e2e7ac5529d32a966c673b48091c9919e284e6aca" dependencies = [ "alloy-primitives", "alloy-serde", @@ -304,9 +288,9 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "299d2a937b6c60968df3dad2a988b0f0e03277b344639a4f7a31bd68e6285e59" +checksum = "c4cc0e59c803dd44d14fc0cfa9fea1f74cfa8fd9fb60ca303ced390c58c28d4e" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -316,9 +300,9 @@ dependencies = [ [[package]] name = "alloy-json-rpc" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4207166c79cfdf7f3bed24bbc84f5c7c5d4db1970f8c82e3fcc76257f16d2166" +checksum = "d3c717b5298fad078cd3a418335b266eba91b511383ca9bd497f742d5975d5ab" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -330,9 +314,9 @@ dependencies = [ [[package]] name = "alloy-network" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe2802d5b8c632f18d68c352073378f02a3407c1b6a4487194e7d21ab0f002" +checksum = "fb3705ce7d8602132bcf5ac7a1dd293a42adc2f183abf5907c30ac535ceca049" dependencies = [ "alloy-consensus", "alloy-eips", @@ -351,10 +335,11 @@ dependencies = [ [[package]] name = "alloy-network-primitives" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396c07726030fa0f9dab5da8c71ccd69d5eb74a7fe1072b7ae453a67e4fe553e" +checksum = "94ad40869867ed2d9cd3842b1e800889e5b49e6b92da346e93862b4a741bedf3" dependencies = [ + "alloy-eips", "alloy-primitives", "alloy-serde", "serde", @@ -362,13 +347,14 @@ dependencies = [ [[package]] name = "alloy-node-bindings" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c847311cc7386684ef38ab404069d795bee07da945f63d884265436870a17276" +checksum = "5988a227293f949525f0a1b3e1ef728d2ef24afa96bad2b7788c6c9617fa3eec" dependencies = [ "alloy-genesis", "alloy-primitives", "k256", + "rand 0.8.5", "serde_json", "tempfile", "thiserror", @@ -378,31 +364,37 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a767e59c86900dd7c3ce3ecef04f3ace5ac9631ee150beb8b7d22f7fa3bbb2d7" +checksum = "a289ffd7448036f2f436b377f981c79ce0b2090877bad938d43387dc09931877" dependencies = [ "alloy-rlp", "bytes", "cfg-if", "const-hex", - "derive_more 0.99.18", + "derive_more 1.0.0", + "foldhash", + "hashbrown 0.15.0", "hex-literal", + "indexmap 2.6.0", "itoa", "k256", "keccak-asm", + "paste", "proptest", "rand 0.8.5", "ruint", + "rustc-hash 2.0.0", "serde", + "sha3", "tiny-keccak", ] [[package]] name = "alloy-provider" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1376948df782ffee83a54cac4b2aba14134edd997229a3db97da0a606586eb5c" +checksum = "927f708dd457ed63420400ee5f06945df9632d5d101851952056840426a10dc5" dependencies = [ "alloy-chains", "alloy-consensus", @@ -423,12 +415,12 @@ dependencies = [ "async-stream", "async-trait", "auto_impl", - "dashmap 6.0.1", + "dashmap 6.1.0", "futures", "futures-utils-wasm", - "lru 0.12.3", + "lru", "pin-project", - "reqwest 0.12.4", + "reqwest 0.12.8", "serde", "serde_json", "thiserror", @@ -439,9 +431,9 @@ dependencies = [ [[package]] name = "alloy-pubsub" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa73f976e7b6341f3f8a404241cf04f883d40212cd4f2633c66d99de472e262c" +checksum = "2d05f63677e210d758cd5d6d1ce10f20c980c3560ccfbe79ba1997791862a04f" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -452,37 +444,37 @@ dependencies = [ "serde_json", "tokio", "tokio-stream", - "tower", + "tower 0.5.1", "tracing", ] [[package]] name = "alloy-rlp" -version = "0.3.5" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b155716bab55763c95ba212806cf43d05bcc70e5f35b02bad20cf5ec7fe11fed" +checksum = "26154390b1d205a4a7ac7352aa2eb4f81f391399d4e2f546fb81a2f8bb383f62" dependencies = [ "alloy-rlp-derive", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bytes", ] [[package]] name = "alloy-rlp-derive" -version = "0.3.5" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8037e03c7f462a063f28daec9fda285a9a89da003c552f8637a80b9c8fd96241" +checksum = "4d0f2d905ebd295e7effec65e5f6868d153936130ae718352771de3e7d03c75c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "alloy-rpc-client" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02378418a429f8a14a0ad8ffaa15b2d25ff34914fc4a1e366513c6a3800e03b3" +checksum = "7d82952dca71173813d4e5733e2c986d8b04aea9e0f3b0a576664c232ad050a5" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -492,21 +484,21 @@ dependencies = [ "alloy-transport-ws", "futures", "pin-project", - "reqwest 0.12.4", + "reqwest 0.12.8", "serde", "serde_json", "tokio", "tokio-stream", - "tower", + "tower 0.5.1", "tracing", "url", ] [[package]] name = "alloy-rpc-types" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9ae4c4fbd37d9996f501fbc7176405aab97ae3a5772789be06ef0e7c4dad6dd" +checksum = "64333d639f2a0cf73491813c629a405744e16343a4bc5640931be707c345ecc5" dependencies = [ "alloy-rpc-types-anvil", "alloy-rpc-types-beacon", @@ -518,9 +510,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-anvil" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "140b079c6fda14d9586432bf988b46ac0e04871ca313c9e00aa85cc808105e8a" +checksum = "d25cb45ad7c0930dd62eecf164d2afe4c3d2dd2c82af85680ad1f118e1e5cb83" dependencies = [ "alloy-primitives", "alloy-serde", @@ -529,9 +521,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-beacon" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abbd9b6764423821bd6874477791ca68cfd0e946958d611319b57b006edf0113" +checksum = "2e7081d2206dca51ce23a06338d78d9b536931cc3f15134fc1c6535eb2b77f18" dependencies = [ "alloy-eips", "alloy-primitives", @@ -543,25 +535,24 @@ dependencies = [ [[package]] name = "alloy-rpc-types-engine" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d79cadb52e32d40afa04847647eb50a332559d7870e66e46a0c32c33bf1c801d" +checksum = "1464c4dd646e1bdfde86ae65ce5ba168dbb29180b478011fe87117ae46b1629b" dependencies = [ "alloy-consensus", "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-rpc-types-eth", "alloy-serde", + "derive_more 1.0.0", "serde", - "thiserror", ] [[package]] name = "alloy-rpc-types-eth" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15bb3506ab1cf415d4752778c93e102050399fb8de97b7da405a5bf3e31f5f3b" +checksum = "83aa984386deda02482660aa31cb8ca1e63d533f1c31a52d7d181ac5ec68e9b8" dependencies = [ "alloy-consensus", "alloy-eips", @@ -570,17 +561,19 @@ dependencies = [ "alloy-rlp", "alloy-serde", "alloy-sol-types", + "cfg-if", + "derive_more 1.0.0", + "hashbrown 0.14.5", "itertools 0.13.0", "serde", "serde_json", - "thiserror", ] [[package]] name = "alloy-serde" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae417978015f573b4a8c02af17f88558fb22e3fccd12e8a910cf6a2ff331cfcb" +checksum = "731f75ec5d383107fd745d781619bd9cedf145836c51ecb991623d41278e71fa" dependencies = [ "alloy-primitives", "serde", @@ -589,9 +582,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b750c9b61ac0646f8f4a61231c2732a337b2c829866fc9a191b96b7eedf80ffe" +checksum = "307324cca94354cd654d6713629f0383ec037e1ff9e3e3d547212471209860c0" dependencies = [ "alloy-primitives", "async-trait", @@ -603,9 +596,9 @@ dependencies = [ [[package]] name = "alloy-signer-local" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c640f9343e8f741f837c345c5ea30239ba77938b3691b884c736834853bd16c" +checksum = "9fabe917ab1778e760b4701628d1cae8e028ee9d52ac6307de4e1e9286ab6b5f" dependencies = [ "alloy-consensus", "alloy-network", @@ -619,42 +612,42 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "183bcfc0f3291d9c41a3774172ee582fb2ce6eb6569085471d8f225de7bb86fc" +checksum = "0409e3ba5d1de409997a7db8b8e9d679d52088c1dee042a85033affd3cadeab4" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", - "proc-macro-error", + "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "alloy-sol-macro-expander" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71c4d842beb7a6686d04125603bc57614d5ed78bf95e4753274db3db4ba95214" +checksum = "a18372ef450d59f74c7a64a738f546ba82c92f816597fed1802ef559304c81f1" dependencies = [ "alloy-json-abi", "alloy-sol-macro-input", "const-hex", "heck 0.5.0", - "indexmap 2.2.6", - "proc-macro-error", + "indexmap 2.6.0", + "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", "syn-solidity", "tiny-keccak", ] [[package]] name = "alloy-sol-macro-input" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1306e8d3c9e6e6ecf7a39ffaf7291e73a5f655a2defd366ee92c2efebcdf7fee" +checksum = "f7bad89dd0d5f109e8feeaf787a9ed7a05a91a9a0efc6687d147a70ebca8eff7" dependencies = [ "alloy-json-abi", "const-hex", @@ -663,25 +656,25 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.71", + "syn 2.0.79", "syn-solidity", ] [[package]] name = "alloy-sol-type-parser" -version = "0.8.2" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a6b5d462d4520bd9ed70d8364c6280aeff13baa46ea26be1ddd33538dbbe6ac" +checksum = "dbd3548d5262867c2c4be6223fe4f2583e21ade0ca1c307fd23bc7f28fca479e" dependencies = [ "serde", - "winnow 0.6.6", + "winnow", ] [[package]] name = "alloy-sol-types" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "577e262966e92112edbd15b1b2c0947cc434d6e8311df96d3329793fe8047da9" +checksum = "4aa666f1036341b46625e72bd36878bf45ad0185f1b88601223e1ec6ed4b72b1" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -692,9 +685,9 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2799749ca692ae145f54968778877afd7c95e788488f176cfdfcf2a8abeb2062" +checksum = "33616b2edf7454302a1d48084db185e52c309f73f6c10be99b0fe39354b3f1e9" dependencies = [ "alloy-json-rpc", "base64 0.22.1", @@ -704,37 +697,37 @@ dependencies = [ "serde_json", "thiserror", "tokio", - "tower", + "tower 0.5.1", "tracing", "url", ] [[package]] name = "alloy-transport-http" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc10c4dd932f66e0db6cc5735241e0c17a6a18564b430bbc1839f7db18587a93" +checksum = "a944f5310c690b62bbb3e7e5ce34527cbd36b2d18532a797af123271ce595a49" dependencies = [ "alloy-json-rpc", "alloy-transport", - "reqwest 0.12.4", + "reqwest 0.12.8", "serde_json", - "tower", + "tower 0.5.1", "tracing", "url", ] [[package]] name = "alloy-transport-ws" -version = "0.3.1" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65e732028930aa17b7edd464a9711365417635e984028fcc7176393ccea22c00" +checksum = "a9704761f6297fe482276bee7f77a93cb42bd541c2bd6c1c560b6f3a9ece672e" dependencies = [ "alloy-pubsub", "alloy-transport", "futures", "http 1.1.0", - "rustls 0.23.10", + "rustls 0.23.14", "serde_json", "tokio", "tokio-tungstenite 0.23.1", @@ -768,57 +761,58 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.7" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd2405b3ac1faab2990b74d728624cd9fd115651fcecc7c2d8daf01376275ba" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.2" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" -version = "0.2.1" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" +checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.1" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "approx" @@ -831,16 +825,16 @@ dependencies = [ [[package]] name = "aquamarine" -version = "0.3.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" dependencies = [ "include_dir", "itertools 0.10.5", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.79", ] [[package]] @@ -1028,7 +1022,7 @@ dependencies = [ "num-bigint", "num-traits", "paste", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "zeroize", ] @@ -1103,20 +1097,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "ark-scale" -version = "0.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bd73bb6ddb72630987d37fa963e99196896c0d0ea81b7c894567e74a2f83af" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "parity-scale-codec", - "scale-info", -] - [[package]] name = "ark-scale" version = "0.0.12" @@ -1131,21 +1111,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "ark-secret-scalar" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "ark-transcript", - "digest 0.10.7", - "rand_core 0.6.4", - "zeroize", -] - [[package]] name = "ark-serialize" version = "0.3.0" @@ -1200,25 +1165,6 @@ dependencies = [ "rayon", ] -[[package]] -name = "ark-transcript" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "digest 0.10.7", - "rand_core 0.6.4", - "sha3", -] - -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - [[package]] name = "array-bytes" version = "6.2.3" @@ -1227,9 +1173,9 @@ checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" -version = "0.3.7" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" @@ -1248,9 +1194,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "ascii-canvas" @@ -1279,11 +1225,11 @@ dependencies = [ [[package]] name = "asn1-rs" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ad1373757efa0f70ec53939aabc7152e1591cb485208052993070ac8d2429d" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" dependencies = [ - "asn1-rs-derive 0.5.0", + "asn1-rs-derive 0.5.1", "asn1-rs-impl 0.2.0", "displaydoc", "nom", @@ -1307,13 +1253,13 @@ dependencies = [ [[package]] name = "asn1-rs-derive" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7378575ff571966e99a744addeff0bff98b8ada0dedf1956d59e634db95eaac1" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", "synstructure 0.13.1", ] @@ -1336,7 +1282,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -1371,20 +1317,19 @@ dependencies = [ "concurrent-queue", "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] name = "async-executor" -version = "1.5.4" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499" +checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ - "async-lock 2.8.0", "async-task", "concurrent-queue", - "fastrand 2.0.1", - "futures-lite 1.13.0", + "fastrand 2.1.1", + "futures-lite 2.3.0", "slab", ] @@ -1413,17 +1358,17 @@ dependencies = [ "log", "parking", "polling 2.8.0", - "rustix 0.37.23", + "rustix 0.37.27", "slab", - "socket2 0.4.9", + "socket2 0.4.10", "waker-fn", ] [[package]] name = "async-io" -version = "2.3.3" +version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" +checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8" dependencies = [ "async-lock 3.4.0", "cfg-if", @@ -1431,11 +1376,11 @@ dependencies = [ "futures-io", "futures-lite 2.3.0", "parking", - "polling 3.5.0", - "rustix 0.38.31", + "polling 3.7.3", + "rustix 0.38.37", "slab", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1453,9 +1398,9 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 5.2.0", + "event-listener 5.3.1", "event-listener-strategy", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1464,29 +1409,28 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" dependencies = [ - "async-io 2.3.3", + "async-io 2.3.4", "blocking", "futures-lite 2.3.0", ] [[package]] name = "async-process" -version = "2.2.3" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7eda79bbd84e29c2b308d1dc099d7de8dcc7035e48f4bf5dc4a531a44ff5e2a" +checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" dependencies = [ "async-channel 2.3.1", - "async-io 2.3.3", + "async-io 2.3.4", "async-lock 3.4.0", "async-signal", "async-task", "blocking", "cfg-if", - "event-listener 5.2.0", + "event-listener 5.3.1", "futures-lite 2.3.0", - "rustix 0.38.31", + "rustix 0.38.37", "tracing", - "windows-sys 0.52.0", ] [[package]] @@ -1497,47 +1441,47 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "async-signal" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb3634b73397aa844481f814fad23bbf07fdb0eabec10f2eb95e58944b1ec32" +checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.3.3", + "async-io 2.3.4", "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.31", + "rustix 0.38.37", "signal-hook-registry", "slab", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "async-stream" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" dependencies = [ "async-stream-impl", "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] name = "async-stream-impl" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -1548,13 +1492,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.81" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -1565,7 +1509,7 @@ checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" dependencies = [ "futures", "pharos", - "rustc_version 0.4.0", + "rustc_version 0.4.1", ] [[package]] @@ -1578,7 +1522,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1591,7 +1535,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1602,9 +1546,9 @@ checksum = "a8ab6b55fe97976e46f91ddbed8d147d966475dc29b2032757ba47e02376fbc3" [[package]] name = "atomic-waker" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "attohttpc" @@ -1612,7 +1556,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d9a9bf8b79a749ee0b911b91b671cc2b6c670bdbc7e3dfd537576ddc94bb2a2" dependencies = [ - "http 0.2.9", + "http 0.2.12", "log", "url", ] @@ -1636,53 +1580,30 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "autocfg" -version = "1.1.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" dependencies = [ "addr2line 0.21.0", "cc", "cfg-if", "libc", - "miniz_oxide", - "object 0.32.0", + "miniz_oxide 0.7.4", + "object 0.32.2", "rustc-demangle", ] -[[package]] -name = "bandersnatch_vrfs" -version = "0.0.3" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "dleq_vrf", - "fflonk", - "merlin 3.0.0", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "ring 0.1.0", - "sha2 0.10.8", - "sp-ark-bls12-381", - "sp-ark-ed-on-bls12-381-bandersnatch", - "zeroize", -] - [[package]] name = "base-x" version = "0.2.11" @@ -1748,8 +1669,8 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "15.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "hash-db", "log", @@ -1776,13 +1697,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.15", + "prettyplease 0.2.22", "proc-macro2", "quote", "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -1792,10 +1713,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes 0.11.0", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", ] [[package]] @@ -1813,6 +1730,12 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +[[package]] +name = "bitcoin-internals" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" + [[package]] name = "bitcoin-io" version = "0.1.2" @@ -1825,6 +1748,16 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +[[package]] +name = "bitcoin_hashes" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative 0.1.2", +] + [[package]] name = "bitcoin_hashes" version = "0.14.0" @@ -1832,7 +1765,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16" dependencies = [ "bitcoin-io", - "hex-conservative", + "hex-conservative 0.2.1", ] [[package]] @@ -1843,9 +1776,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitvec" @@ -1892,37 +1825,37 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.2.6", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] name = "blake2s_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" +checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.2.6", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] name = "blake3" -version = "1.3.1" -source = "git+https://github.com/gear-tech/BLAKE3?branch=fix-clang-cl-cross#124a7d89c43dd242c080e59ad46e8c8904ae4b6e" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "cc", "cfg-if", - "constant_time_eq 0.1.5", - "digest 0.10.7", + "constant_time_eq 0.3.1", ] [[package]] @@ -1982,25 +1915,22 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "blocking" -version = "1.4.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94c4ef1f913d78636d78d538eec1f18de81e481f44b1be0a81060090530846e1" +checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" dependencies = [ - "async-channel 1.9.0", - "async-lock 2.8.0", + "async-channel 2.3.1", "async-task", - "fastrand 2.0.1", "futures-io", - "futures-lite 1.13.0", + "futures-lite 2.3.0", "piper", - "tracing", ] [[package]] name = "blst" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62dc83a094a71d43eeadd254b1ec2d24cb6a0bb6cadce00df51f0db594711a32" +checksum = "4378725facc195f1a538864863f6de233b500a8862747e7f165078a419d5e874" dependencies = [ "cc", "glob 0.3.1", @@ -2010,9 +1940,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.8" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" +checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" dependencies = [ "log", "parity-scale-codec", @@ -2038,9 +1968,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.6.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" +checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" dependencies = [ "memchr", "serde", @@ -2075,9 +2005,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytecheck" -version = "0.6.11" +version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" +checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2" dependencies = [ "bytecheck_derive", "ptr_meta", @@ -2086,9 +2016,9 @@ dependencies = [ [[package]] name = "bytecheck_derive" -version = "0.6.11" +version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" +checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659" dependencies = [ "proc-macro2", "quote", @@ -2097,15 +2027,15 @@ dependencies = [ [[package]] name = "bytecount" -version = "0.6.3" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c" +checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" [[package]] name = "bytemuck" -version = "1.13.1" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" +checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" [[package]] name = "byteorder" @@ -2115,18 +2045,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" -dependencies = [ - "serde", -] - -[[package]] -name = "bytesize" -version = "1.3.0" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" dependencies = [ "serde", ] @@ -2154,15 +2075,16 @@ dependencies = [ [[package]] name = "c-kzg" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf100c4cea8f207e883ff91ca886d621d8a166cb04971dfaa9bb8fd99ed95df" +checksum = "f0307f72feab3300336fb803a57134159f6e20139af1357f36c54cb90d8e8928" dependencies = [ "blst", "cc", "glob 0.3.1", "hex", "libc", + "once_cell", "serde", ] @@ -2193,9 +2115,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.6" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" dependencies = [ "serde", ] @@ -2207,7 +2129,7 @@ dependencies = [ "anyhow", "cargo_metadata 0.18.1", "cargo_toml", - "clap 4.5.9", + "clap 4.5.19", "colored", "etc", "gear-wasm-optimizer", @@ -2215,9 +2137,9 @@ dependencies = [ "gtest", "serde", "serde_json", - "toml 0.8.14", + "toml 0.8.19", "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -2234,15 +2156,15 @@ dependencies = [ "structopt", "tokio", "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", "warp", ] [[package]] name = "cargo-platform" -version = "0.1.3" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -2255,7 +2177,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_json", "thiserror", @@ -2269,7 +2191,7 @@ checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" dependencies = [ "camino", "cargo-platform", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_json", "thiserror", @@ -2282,17 +2204,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a98356df42a2eb1bd8f1793ae4ee4de48e384dd974ce5eac8eee802edb7492be" dependencies = [ "serde", - "toml 0.8.14", + "toml 0.8.19", ] [[package]] name = "cc" -version = "1.1.10" +version = "1.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292" +checksum = "2e80e3b6a3ab07840e1cae9b0666a63970dc28e8ed5ffbcdacbfc760c281bfc1" dependencies = [ "jobserver", "libc", + "shlex", ] [[package]] @@ -2312,9 +2235,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.5" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" dependencies = [ "smallvec", ] @@ -2347,18 +2270,6 @@ dependencies = [ "keystream", ] -[[package]] -name = "chacha20" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" -dependencies = [ - "cfg-if", - "cipher 0.3.0", - "cpufeatures", - "zeroize", -] - [[package]] name = "chacha20" version = "0.9.1" @@ -2372,14 +2283,14 @@ dependencies = [ [[package]] name = "chacha20poly1305" -version = "0.9.1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ - "aead 0.4.3", - "chacha20 0.8.2", - "cipher 0.3.0", - "poly1305 0.7.2", + "aead", + "chacha20", + "cipher 0.4.4", + "poly1305", "zeroize", ] @@ -2395,7 +2306,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.0", + "windows-targets 0.52.6", ] [[package]] @@ -2411,6 +2322,19 @@ dependencies = [ "unsigned-varint 0.7.2", ] +[[package]] +name = "cid" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd94671561e36e4e7de75f753f577edafb0e7c05d6e4547229fdf7938fbcd2c3" +dependencies = [ + "core2", + "multibase", + "multihash 0.18.1", + "serde", + "unsigned-varint 0.7.2", +] + [[package]] name = "cipher" version = "0.2.5" @@ -2437,13 +2361,14 @@ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" dependencies = [ "crypto-common", "inout", + "zeroize", ] [[package]] name = "clang-sys" -version = "1.6.1" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob 0.3.1", "libc", @@ -2479,28 +2404,28 @@ dependencies = [ "once_cell", "strsim 0.10.0", "termcolor", - "textwrap 0.16.0", + "textwrap 0.16.1", ] [[package]] name = "clap" -version = "4.5.9" +version = "4.5.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64acc1846d54c1fe936a78dc189c34e28d3f5afc348403f28ecf53660b9b8462" +checksum = "7be5744db7978a28d9df86a214130d106a89ce49644cbc4e3f0c22c3fba30615" dependencies = [ "clap_builder", - "clap_derive 4.5.8", + "clap_derive 4.5.18", ] [[package]] name = "clap_builder" -version = "4.5.9" +version = "4.5.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8393d67ba2e7bfaf28a23458e4e2b543cc73a99595511eb207fdb8aede942" +checksum = "a5fbc17d3ef8278f55b282b2a2e75ae6f6c7d4bb70ed3d0382375104bfafdb4b" dependencies = [ "anstream", "anstyle", - "clap_lex 0.7.0", + "clap_lex 0.7.2", "strsim 0.11.1", "terminal_size", ] @@ -2520,14 +2445,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.8" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -2541,15 +2466,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "cmake" -version = "0.1.50" +version = "0.1.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31c789563b815f77f4250caee12365734369f942439b7defd71e18a48197130" +checksum = "fb1e43aa7fd152b1f968787f7dbcdeb306d1867ff373c69955211876c053f91a" dependencies = [ "cc", ] @@ -2633,9 +2558,9 @@ dependencies = [ [[package]] name = "color-spantrace" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba75b3d9449ecdccb27ecbc479fdc0b87fa2dd43d2f8298f9bf0e59aacc8dce" +checksum = "cd6be1b2a7e382e2b98b43b2adcca6bb0e465af0bdd38123873ae61eb17a72c2" dependencies = [ "once_cell", "owo-colors", @@ -2645,9 +2570,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "colored" @@ -2671,31 +2596,15 @@ dependencies = [ [[package]] name = "comfy-table" -version = "7.1.0" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c64043d6c7b7a4c58e39e7efccfdea7b93d885a795d0c054a69dbbf4dd52686" +checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" dependencies = [ - "strum 0.25.0", - "strum_macros 0.25.3", + "strum 0.26.3", + "strum_macros 0.26.4", "unicode-width", ] -[[package]] -name = "common" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "fflonk", - "getrandom_or_panic", - "merlin 3.0.0", - "rand_chacha 0.3.1", -] - [[package]] name = "common-path" version = "1.0.0" @@ -2713,22 +2622,22 @@ dependencies = [ [[package]] name = "console" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] name = "const-hex" -version = "1.12.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94fb8a24a26d37e1ffd45343323dc9fe6654ceea44c12f2fcb3d7ac29e610bc6" +checksum = "0121754e84117e65f9d90648ee6aa4882a6e63110307ab73967a4c5e7e69e586" dependencies = [ "cfg-if", "cpufeatures", @@ -2739,15 +2648,15 @@ dependencies = [ [[package]] name = "const-oid" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const-random" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" dependencies = [ "const-random-macro", ] @@ -2771,18 +2680,18 @@ checksum = "3618cccc083bb987a415d85c02ca6c9994ea5b44731ec28b9ecf09658655fba9" [[package]] name = "const_format" -version = "0.2.32" +version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3a214c7af3d04997541b18d432afaff4c455e79e2029079647e72fc2bd27673" +checksum = "50c655d81ff1114fb0dcdea9225ea9f0cc712a6f8d189378e82bdf62a473a64b" dependencies = [ "const_format_proc_macros", ] [[package]] name = "const_format_proc_macros" -version = "0.2.32" +version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7f6ff08fd20f4f299298a28e2dfa8a8ba1036e6cd2460ac1de7b425d76f2500" +checksum = "eff1a44b93f47b1bac19a27932f5c591e43d1ba357ee4f61526c8a25603f0eb1" dependencies = [ "proc-macro2", "quote", @@ -2797,9 +2706,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.6" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" +checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" [[package]] name = "constcat" @@ -2815,9 +2724,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" dependencies = [ "core-foundation-sys", "libc", @@ -2862,9 +2771,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.9" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0" dependencies = [ "libc", ] @@ -2893,7 +2802,7 @@ version = "0.91.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "98b022ed2a5913a38839dfbafe6cf135342661293b08049843362df4301261dc" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bumpalo", "cranelift-bforest 0.91.1", "cranelift-codegen-meta 0.91.1", @@ -3057,75 +2966,80 @@ dependencies = [ "anyhow", "cargo-http-registry", "cargo_metadata 0.18.1", - "clap 4.5.9", + "clap 4.5.19", "reqwest 0.11.27", "serde", "tempfile", "tokio", - "toml_edit 0.22.14", + "toml_edit", +] + +[[package]] +name = "crc" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +dependencies = [ + "crc-catalog", ] +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] [[package]] name = "crossbeam-channel" -version = "0.5.8" +version = "0.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-deque" -version = "0.8.3" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.15" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if", "crossbeam-utils", - "memoffset 0.9.0", - "scopeguard", ] [[package]] name = "crossbeam-queue" -version = "0.3.8" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.16" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" -dependencies = [ - "cfg-if", -] +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crunchy" @@ -3186,15 +3100,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "ctr" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a232f92a03f37dd7d7dd2adc67166c77e9cd88de5b019b9a9eecfaeaf7bfd481" -dependencies = [ - "cipher 0.3.0", -] - [[package]] name = "ctr" version = "0.9.2" @@ -3217,19 +3122,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "4.1.3" @@ -3241,27 +3133,27 @@ dependencies = [ "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "subtle 2.6.1", "zeroize", ] [[package]] name = "curve25519-dalek-derive" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "cxx" -version = "1.0.106" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28403c86fc49e3401fdf45499ba37fad6493d9329449d6449d7f0e10f4654d28" +checksum = "54ccead7d199d584d139148b04b4a368d1ec7556a1d9ea2548febb1b9d49f9a4" dependencies = [ "cc", "cxxbridge-flags", @@ -3271,9 +3163,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.106" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78da94fef01786dc3e0c76eafcd187abcaa9972c78e05ff4041e24fdf059c285" +checksum = "c77953e99f01508f89f55c494bfa867171ef3a6c8cea03d26975368f2121a5c1" dependencies = [ "cc", "codespan-reporting", @@ -3281,24 +3173,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "cxxbridge-flags" -version = "1.0.106" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2a6f5e1dfb4b34292ad4ea1facbfdaa1824705b231610087b00b17008641809" +checksum = "65777e06cc48f0cb0152024c77d6cf9e4bdb4408e7b48bea993d42fa0f5b02b6" [[package]] name = "cxxbridge-macro" -version = "1.0.106" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c49547d73ba8dcfd4ad7325d64c6d5391ff4224d498fc39a6f3f49825a530d" +checksum = "98532a60dedaebc4848cb2cba5023337cc9ea3af16a5b062633fabfd9f18fb60" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -3346,7 +3238,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -3368,7 +3260,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core 0.20.10", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -3381,21 +3273,21 @@ dependencies = [ "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.8", + "parking_lot_core 0.9.10", ] [[package]] name = "dashmap" -version = "6.0.1" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28" +checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" dependencies = [ "cfg-if", "crossbeam-utils", "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core 0.9.8", + "parking_lot_core 0.9.10", ] [[package]] @@ -3406,9 +3298,9 @@ checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "data-encoding-macro" -version = "0.1.13" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c904b33cc60130e1aeea4956ab803d08a3f4a0ca82d64ed757afac3891f2bb99" +checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -3416,9 +3308,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.11" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fdf3fce3ce863539ec1d7fd1b6dcc3c645663376b43ed376bbf887733e4f772" +checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" dependencies = [ "data-encoding", "syn 1.0.109", @@ -4048,9 +3940,9 @@ dependencies = [ [[package]] name = "der" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid", "zeroize", @@ -4076,7 +3968,7 @@ version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ - "asn1-rs 0.6.1", + "asn1-rs 0.6.2", "displaydoc", "nom", "num-bigint", @@ -4107,13 +3999,13 @@ dependencies = [ [[package]] name = "derive-syn-parse" -version = "0.1.5" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.79", ] [[package]] @@ -4124,7 +4016,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -4135,38 +4027,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", -] - -[[package]] -name = "derive_builder" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d67778784b508018359cbc8696edb3db78160bab2c2a28ba7f56ef6932997f8" -dependencies = [ - "derive_builder_macro", -] - -[[package]] -name = "derive_builder_core" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c11bdc11a0c47bc7d37d582b5285da6849c96681023680b906673c5707af7b0f" -dependencies = [ - "darling 0.14.4", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive_builder_macro" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebcda35c7a396850a55ffeac740804b40ffec779b98fffbb1738f4033f0ee79e" -dependencies = [ - "derive_builder_core", - "syn 1.0.109", + "syn 2.0.79", ] [[package]] @@ -4178,8 +4039,8 @@ dependencies = [ "convert_case", "proc-macro2", "quote", - "rustc_version 0.4.0", - "syn 2.0.71", + "rustc_version 0.4.1", + "syn 2.0.79", ] [[package]] @@ -4199,7 +4060,8 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", + "unicode-xid", ] [[package]] @@ -4327,52 +4189,35 @@ dependencies = [ [[package]] name = "displaydoc" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "dissimilar" -version = "1.0.7" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632" - -[[package]] -name = "dleq_vrf" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-scale 0.0.11", - "ark-secret-scalar", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "ark-transcript", - "arrayvec 0.7.4", - "rand_core 0.6.4", - "zeroize", -] +checksum = "59f8e79d1fbf76bdfbde321e902714bf6c49df88a7dda6fc682fc2979226962d" [[package]] name = "docify" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", "derive-syn-parse", @@ -4380,9 +4225,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.71", + "syn 2.0.79", "termcolor", - "toml 0.8.14", + "toml 0.8.19", "walkdir", ] @@ -4403,9 +4248,9 @@ checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] name = "downcast-rs" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dtoa" @@ -4415,9 +4260,9 @@ checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" [[package]] name = "dunce" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dyn-clonable" @@ -4442,9 +4287,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.13" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "dynasm" @@ -4482,15 +4327,16 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", + "serdect", "signature", "spki", ] [[package]] name = "ed25519" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8", "signature", @@ -4511,20 +4357,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", - "zeroize", -] - [[package]] name = "ed25519-zebra" version = "4.0.3" @@ -4548,9 +4380,9 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" -version = "0.13.7" +version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9775b22bc152ad86a0cf23f0f348b884b26add12bf741e7ffc4d4ab2ab4d205" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ "base16ct", "crypto-bigint", @@ -4561,6 +4393,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", + "serdect", "subtle 2.6.1", "zeroize", ] @@ -4582,9 +4415,9 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] name = "encoding_rs" -version = "0.8.33" +version = "0.8.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" dependencies = [ "cfg-if", ] @@ -4621,14 +4454,14 @@ dependencies = [ [[package]] name = "enum-as-inner" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -4646,7 +4479,7 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fd242f399be1da0a5354aa462d57b4ab2b4ee0683cc552f7c007d2d12d36e94" dependencies = [ - "enum-iterator-derive 1.3.0", + "enum-iterator-derive 1.4.0", ] [[package]] @@ -4662,13 +4495,13 @@ dependencies = [ [[package]] name = "enum-iterator-derive" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03cdc46ec28bd728e67540c528013c6a10eb69a02eb31078a1bda695438cbfb8" +checksum = "a1ab991c1362ac86c61ab6f556cff143daa22e5a15e4e189df818b2fd19fe65b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -4683,11 +4516,11 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.7" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" +checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" dependencies = [ - "enumflags2_derive 0.7.7", + "enumflags2_derive 0.7.10", ] [[package]] @@ -4703,34 +4536,34 @@ dependencies = [ [[package]] name = "enumflags2_derive" -version = "0.7.7" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" +checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "enumset" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e875f1719c16de097dee81ed675e2d9bb63096823ed3f0ca827b7dea3028bbbb" +checksum = "d07a4b049558765cef5f0c1a273c3fc57084d768b44d2f98127aef4cceb17293" dependencies = [ "enumset_derive", ] [[package]] name = "enumset_derive" -version = "0.8.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08b6c6ab82d70f08844964ba10c7babb716de2ecaeab9be5717918a5177d3af" +checksum = "59c3b24c345d8c314966bdc1832f6c2635bfcce8e7cf363bd115987bba2ee242" dependencies = [ "darling 0.20.10", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -4781,7 +4614,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab" dependencies = [ "aes 0.8.4", - "ctr 0.9.2", + "ctr", "digest 0.10.7", "hex", "hmac 0.12.1", @@ -4903,15 +4736,15 @@ dependencies = [ "ethers-core", "ethers-etherscan", "eyre", - "prettyplease 0.2.15", + "prettyplease 0.2.22", "proc-macro2", "quote", "regex", "reqwest 0.11.27", "serde", "serde_json", - "syn 2.0.71", - "toml 0.8.14", + "syn 2.0.79", + "toml 0.8.19", "walkdir", ] @@ -4928,7 +4761,7 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -4937,7 +4770,7 @@ version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82d80cc6ad30b14a48ab786523af33b37f28a8623fc06afd55324816ef18fb1f" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bytes", "cargo_metadata 0.18.1", "chrono", @@ -4946,15 +4779,15 @@ dependencies = [ "ethabi", "generic-array 0.14.7", "k256", - "num_enum 0.7.2", + "num_enum 0.7.3", "once_cell", "open-fastrlp", "rand 0.8.5", "rlp", "serde", "serde_json", - "strum 0.26.2", - "syn 2.0.71", + "strum 0.26.3", + "syn 2.0.79", "tempfile", "thiserror", "tiny-keccak", @@ -4970,7 +4803,7 @@ dependencies = [ "chrono", "ethers-core", "reqwest 0.11.27", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_json", "thiserror", @@ -5021,7 +4854,7 @@ dependencies = [ "futures-timer", "futures-util", "hashers", - "http 0.2.9", + "http 0.2.12", "instant", "jsonwebtoken", "once_cell", @@ -5079,7 +4912,7 @@ dependencies = [ "path-slash", "rayon", "regex", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_json", "solang-parser", @@ -5089,7 +4922,7 @@ dependencies = [ "tokio", "tracing", "walkdir", - "yansi", + "yansi 0.5.1", ] [[package]] @@ -5098,7 +4931,7 @@ version = "1.6.1" dependencies = [ "alloy", "anyhow", - "clap 4.5.9", + "clap 4.5.19", "demo-async", "demo-ping", "derive_more 0.99.18", @@ -5131,7 +4964,7 @@ dependencies = [ "static_init", "tempfile", "tokio", - "toml 0.8.14", + "toml 0.8.19", ] [[package]] @@ -5253,7 +5086,7 @@ dependencies = [ "parity-wasm", "rand 0.8.5", "sp-allocator", - "sp-wasm-interface 14.0.0", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", "wabt", "wasmtime", @@ -5263,7 +5096,7 @@ dependencies = [ name = "ethexe-prometheus-endpoint" version = "1.6.1" dependencies = [ - "hyper 0.14.27", + "hyper 0.14.30", "log", "prometheus", "thiserror", @@ -5283,12 +5116,12 @@ dependencies = [ "gprimitives", "hex", "hyper 1.4.1", - "jsonrpsee 0.24.0", + "jsonrpsee 0.24.5", "log", "parity-scale-codec", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", - "tower", + "tower 0.4.13", ] [[package]] @@ -5335,7 +5168,7 @@ dependencies = [ "futures", "gear-core", "gprimitives", - "indexmap 2.2.6", + "indexmap 2.6.0", "log", "parity-scale-codec", "tokio", @@ -5352,7 +5185,7 @@ dependencies = [ "gprimitives", "hex", "parity-scale-codec", - "secp256k1 0.29.0", + "secp256k1 0.29.1", "sha3", "tempfile", ] @@ -5367,7 +5200,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio-test", ] @@ -5400,18 +5233,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] name = "event-listener" -version = "5.2.0" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5fb89194fa3cad959b833185b3063ba881dbfc7030680b314250779fb4cc91" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -5420,8 +5253,8 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ - "event-listener 5.2.0", - "pin-project-lite 0.2.13", + "event-listener 5.3.1", + "pin-project-lite", ] [[package]] @@ -5435,22 +5268,24 @@ dependencies = [ [[package]] name = "expander" -version = "2.0.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +checksum = "e2c470c71d91ecbd179935b24170459e926382eaaa86b590b78814e180d8a8e2" dependencies = [ "blake2 0.10.6", + "file-guard", "fs-err", + "prettyplease 0.2.22", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "eyre" -version = "0.6.8" +version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" dependencies = [ "indenter", "once_cell", @@ -5479,6 +5314,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "fastrand" version = "1.9.0" @@ -5490,9 +5331,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "fastrlp" @@ -5500,18 +5341,19 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "139834ddba373bbdd213dffe02c8d110508dcf1726c2be27e8d1f7d7e1856418" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "auto_impl", "bytes", ] [[package]] name = "fdlimit" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", + "thiserror", ] [[package]] @@ -5524,25 +5366,22 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "fflonk" -version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "merlin 3.0.0", -] - [[package]] name = "fiat-crypto" version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +[[package]] +name = "file-guard" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21ef72acf95ec3d7dbf61275be556299490a245f017cf084bd23b4f68cf9407c" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "file-per-thread-logger" version = "0.1.6" @@ -5555,14 +5394,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.22" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" +checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", - "windows-sys 0.48.0", + "libredox", + "windows-sys 0.59.0", ] [[package]] @@ -5611,19 +5450,18 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flagset" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda653ca797810c02f7ca4b804b40b8b95ae046eb989d356bce17919a8c25499" +checksum = "b3ea1ec5f8307826a5b71094dd91fc04d4ae75d5709b20ad351c7fb4815c86ec" [[package]] name = "flate2" -version = "1.0.27" +version = "1.0.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" +checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" dependencies = [ "crc32fast", - "libz-sys", - "miniz_oxide", + "miniz_oxide 0.8.0", ] [[package]] @@ -5641,6 +5479,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + [[package]] name = "foreign-types" version = "0.3.2" @@ -5658,8 +5502,8 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "13.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", ] @@ -5673,6 +5517,16 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "forwarded-header-value" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" +dependencies = [ + "nonempty 0.7.0", + "thiserror", +] + [[package]] name = "fragile" version = "2.0.0" @@ -5681,8 +5535,8 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-support-procedural", @@ -5693,33 +5547,32 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "43.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "Inflector", - "array-bytes 6.2.3", + "array-bytes", "chrono", - "clap 4.5.9", + "clap 4.5.19", "comfy-table", "frame-benchmarking", "frame-support", "frame-system", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools 0.11.0", "lazy_static", "linked-hash-map", "log", @@ -5727,75 +5580,76 @@ dependencies = [ "rand 0.8.5", "rand_pcg", "sc-block-builder", + "sc-chain-spec", "sc-cli", "sc-client-api", "sc-client-db", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-service", "sc-sysinfo", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-externalities 0.19.0", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-genesis-builder", "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage 13.0.0", - "sp-trie", - "sp-wasm-interface 14.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "thousands", ] [[package]] name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-election-provider-solution-type", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "aquamarine", "frame-support", "frame-system", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-tracing 10.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -5822,33 +5676,49 @@ dependencies = [ ] [[package]] -name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +name = "frame-metadata-hash-extension" +version = "0.6.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "futures", - "indicatif", - "jsonrpsee 0.16.3", + "array-bytes", + "docify", + "frame-support", + "frame-system", "log", "parity-scale-codec", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine", - "spinners", - "substrate-rpc-client", + "scale-info", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", +] + +[[package]] +name = "frame-remote-externalities" +version = "0.46.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "futures", + "indicatif", + "jsonrpsee 0.24.5", + "log", + "parity-scale-codec", + "serde", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "spinners", + "substrate-rpc-client", "tokio", "tokio-retry", ] [[package]] name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "aquamarine", - "array-bytes 6.2.3", + "array-bytes", "bitflags 1.3.2", "docify", "environmental", @@ -5864,70 +5734,71 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", - "sp-debug-derive 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", "sp-inherents", - "sp-io", - "sp-metadata-ir", - "sp-runtime", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", - "sp-state-machine", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-weights", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "30.0.3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", + "docify", "expander", "frame-support-procedural-tools", - "itertools 0.10.5", + "itertools 0.11.0", "macro_magic", - "proc-macro-warning", + "proc-macro-warning 1.0.2", "proc-macro2", "quote", - "sp-core-hashing", - "syn 2.0.71", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "syn 2.0.79", ] [[package]] name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "13.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "12.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-executive", @@ -5940,92 +5811,94 @@ dependencies = [ "rustversion", "scale-info", "serde", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std 8.0.0", - "sp-version", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", "trybuild", ] [[package]] name = "frame-support-test-pallet" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "4.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "cfg-if", + "docify", "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-version", - "sp-weights", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "docify", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "fs-err" -version = "2.9.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0845fa252299212f0389d64ba26f34fa32cfe41588355f21ed507c59a0f64541" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +dependencies = [ + "autocfg", +] [[package]] name = "fs2" @@ -6053,9 +5926,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -6066,6 +5939,16 @@ dependencies = [ "futures-util", ] +[[package]] +name = "futures-bounded" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" +dependencies = [ + "futures-timer", + "futures-util", +] + [[package]] name = "futures-bounded" version = "0.2.4" @@ -6078,9 +5961,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -6088,15 +5971,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -6106,9 +5989,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" @@ -6121,7 +6004,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", "waker-fn", ] @@ -6131,11 +6014,11 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.0.1", + "fastrand 2.1.1", "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -6150,24 +6033,23 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "futures-rustls" -version = "0.22.2" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" +checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" dependencies = [ "futures-io", - "rustls 0.20.8", - "webpki", + "rustls 0.21.12", ] [[package]] @@ -6177,21 +6059,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb" dependencies = [ "futures-io", - "rustls 0.23.10", + "rustls 0.23.14", "rustls-pki-types", ] [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-ticker" @@ -6216,9 +6098,9 @@ dependencies = [ [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures-channel", "futures-core", @@ -6227,7 +6109,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", "pin-utils", "slab", ] @@ -6261,7 +6143,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "ark-serialize 0.4.2", "derive_more 0.99.18", "parity-scale-codec", @@ -6291,7 +6173,7 @@ version = "1.6.1" dependencies = [ "anyhow", "async-trait", - "clap 4.5.9", + "clap 4.5.19", "color-eyre", "colored", "demo-messenger", @@ -6318,7 +6200,7 @@ dependencies = [ "serde", "thiserror", "tokio", - "toml 0.8.14", + "toml 0.8.19", "url", "wasmer", "wasmer-types", @@ -6334,7 +6216,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "ark-serialize 0.4.2", "ark-std 0.4.0", "async-trait", @@ -6416,20 +6298,20 @@ dependencies = [ "parking_lot 0.12.3", "sc-block-builder", "sc-client-api", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-proposer-metrics", "sc-service", "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", "substrate-prometheus-endpoint", "vara-runtime", @@ -6439,7 +6321,7 @@ dependencies = [ name = "gear-bags-thresholds" version = "1.0.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.19", "generate-bags", "vara-runtime", ] @@ -6463,7 +6345,7 @@ dependencies = [ name = "gear-cli" version = "1.6.1" dependencies = [ - "clap 4.5.9", + "clap 4.5.19", "frame-benchmarking", "frame-benchmarking-cli", "frame-system", @@ -6478,13 +6360,13 @@ dependencies = [ "pallet-gear-staking-rewards", "sc-cli", "sc-client-api", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-service", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", "substrate-build-script-utils", "vara-runtime", @@ -6509,11 +6391,11 @@ dependencies = [ "log", "primitive-types", "proptest", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6521,7 +6403,7 @@ name = "gear-common-codegen" version = "1.6.1" dependencies = [ "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -6663,7 +6545,7 @@ dependencies = [ "gear-lazy-pages-common", "gear-runtime-interface", "log", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6682,7 +6564,7 @@ name = "gear-node-loader" version = "1.6.1" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.19", "futures", "futures-timer", "gclient", @@ -6692,7 +6574,7 @@ dependencies = [ "gear-utils", "gear-wasm-gen", "gsdk", - "names 0.14.0", + "names", "parking_lot 0.12.3", "primitive-types", "rand 0.8.5", @@ -6702,7 +6584,7 @@ dependencies = [ "tokio", "tracing", "tracing-appender", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -6730,16 +6612,16 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "scale-info", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-crypto-ec-utils 0.4.1", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", "sp-inherents", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-test-client", "vara-runtime", ] @@ -6769,7 +6651,7 @@ dependencies = [ name = "gear-replay-cli" version = "1.0.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.19", "frame-remote-externalities", "frame-system", "gear-runtime-interface", @@ -6779,17 +6661,17 @@ dependencies = [ "log", "parity-scale-codec", "sc-cli", - "sc-executor", - "sc-executor-common", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-tracing", - "sp-core", - "sp-crypto-ec-utils 0.4.1", - "sp-externalities 0.19.0", - "sp-io", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-rpc-client", "tokio", "vara-runtime", @@ -6817,8 +6699,8 @@ dependencies = [ "pallet-gear-messenger", "pallet-session", "pallet-treasury", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6828,7 +6710,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "byteorder", "gear-core", "gear-lazy-pages", @@ -6837,9 +6719,9 @@ dependencies = [ "log", "parity-scale-codec", "sha2 0.10.8", - "sp-io", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "winapi", ] @@ -6847,8 +6729,8 @@ dependencies = [ name = "gear-runtime-primitives" version = "1.6.1" dependencies = [ - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6860,8 +6742,8 @@ dependencies = [ "gear-sandbox-interface", "log", "parity-scale-codec", - "sp-core", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-wasm-interface-common", "wasmi 0.30.0", "wat", @@ -6872,8 +6754,8 @@ name = "gear-sandbox-env" version = "1.6.1" dependencies = [ "parity-scale-codec", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-wasm-interface-common", ] @@ -6904,8 +6786,8 @@ dependencies = [ "gear-sandbox-host", "log", "parity-scale-codec", - "sp-runtime-interface 17.0.0", - "sp-wasm-interface 14.0.0", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6946,8 +6828,8 @@ dependencies = [ "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-consensus-slots", - "sc-executor", - "sc-executor-common", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-network", "sc-network-common", "sc-network-statement", @@ -6964,28 +6846,27 @@ dependencies = [ "sc-transaction-pool-api", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-grandpa", - "sp-core", - "sp-crypto-ec-utils 0.4.1", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", - "sp-storage 13.0.0", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", - "try-runtime-cli", "vara-runtime", ] @@ -7012,7 +6893,7 @@ dependencies = [ "env_logger", "gear-core", "hex", - "nonempty", + "nonempty 0.8.1", "parity-scale-codec", "path-clean", "serde", @@ -7024,7 +6905,7 @@ name = "gear-validator-checks" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.19", "env_logger", "futures", "gsdk", @@ -7059,9 +6940,9 @@ dependencies = [ "parity-wasm", "pathdiff", "regex", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "thiserror", - "toml 0.8.14", + "toml 0.8.19", "wabt", ] @@ -7079,10 +6960,10 @@ dependencies = [ "gear-utils", "gear-wasm-instrument", "gsys", - "indexmap 2.2.6", + "indexmap 2.6.0", "indicatif", "log", - "nonempty", + "nonempty 0.8.1", "proptest", "rand 0.8.5", "thiserror", @@ -7113,7 +6994,7 @@ dependencies = [ "gear-wasm-instrument", "log", "regex", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "wabt", "wasm-opt", "wasmer", @@ -7126,25 +7007,25 @@ name = "gear-weight-diff" version = "1.0.0" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.19", "frame-support", "gear-utils", "heck 0.5.0", - "indexmap 2.2.6", + "indexmap 2.6.0", "pallet-gear", "proc-macro2", "quote", "serde", "serde_json", - "syn 2.0.71", + "syn 2.0.79", "tabled", "vara-runtime", ] [[package]] name = "generate-bags" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "chrono", "frame-election-provider-support", @@ -7219,24 +7100,14 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "ghash" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" -dependencies = [ - "opaque-debug 0.3.0", - "polyval 0.5.3", -] - [[package]] name = "ghash" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" dependencies = [ - "opaque-debug 0.3.0", - "polyval 0.6.2", + "opaque-debug 0.3.1", + "polyval", ] [[package]] @@ -7245,7 +7116,7 @@ version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -7256,16 +7127,20 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] [[package]] name = "gimli" -version = "0.28.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] [[package]] name = "git2" @@ -7296,15 +7171,15 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.13" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" +checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19" dependencies = [ "aho-corasick", "bstr", - "fnv", "log", - "regex", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", ] [[package]] @@ -7343,7 +7218,27 @@ dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.71", + "syn 2.0.79", +] + +[[package]] +name = "governor" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" +dependencies = [ + "cfg-if", + "dashmap 5.5.3", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.3", + "portable-atomic", + "quanta", + "rand 0.8.5", + "smallvec", + "spinning_top", ] [[package]] @@ -7365,7 +7260,7 @@ version = "1.6.1" dependencies = [ "anyhow", "base64 0.21.7", - "clap 4.5.9", + "clap 4.5.19", "colored", "dirs 4.0.0", "gear-ss58", @@ -7376,7 +7271,7 @@ dependencies = [ "serde", "serde_json", "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -7409,7 +7304,7 @@ dependencies = [ "gear-utils", "gsdk-codegen", "hex", - "indexmap 2.2.6", + "indexmap 2.6.0", "jsonrpsee 0.16.3", "log", "parity-scale-codec", @@ -7419,8 +7314,8 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "subxt", "thiserror", "tokio", @@ -7439,12 +7334,12 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "sc-executor", - "sc-executor-common", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "scale-info", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "subxt-codegen", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -7453,14 +7348,14 @@ version = "1.6.1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "gstd" version = "1.6.1" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "const_format", "document-features", "futures", @@ -7483,7 +7378,7 @@ dependencies = [ "gstd", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", "trybuild", ] @@ -7517,7 +7412,7 @@ dependencies = [ "gear-wasm-instrument", "gsys", "hex", - "indexmap 2.2.6", + "indexmap 2.6.0", "log", "parity-scale-codec", "path-clean", @@ -7535,17 +7430,17 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.21" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", "futures-core", "futures-sink", "futures-util", - "http 0.2.9", - "indexmap 1.9.3", + "http 0.2.12", + "indexmap 2.6.0", "slab", "tokio", "tokio-util", @@ -7554,9 +7449,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab" +checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" dependencies = [ "atomic-waker", "bytes", @@ -7564,24 +7459,18 @@ dependencies = [ "futures-core", "futures-sink", "http 1.1.0", - "indexmap 2.2.6", + "indexmap 2.6.0", "slab", "tokio", "tokio-util", "tracing", ] -[[package]] -name = "half" -version = "1.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" - [[package]] name = "handlebars" -version = "4.3.7" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", @@ -7635,6 +7524,16 @@ dependencies = [ "serde", ] +[[package]] +name = "hashbrown" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +dependencies = [ + "foldhash", + "serde", +] + [[package]] name = "hashers" version = "1.0.1" @@ -7672,7 +7571,7 @@ dependencies = [ "base64 0.21.7", "bytes", "headers-core", - "http 0.2.9", + "http 0.2.12", "httpdate", "mime", "sha1", @@ -7684,7 +7583,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http 0.2.9", + "http 0.2.12", ] [[package]] @@ -7719,9 +7618,15 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.2" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hermit-abi" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" [[package]] name = "hex" @@ -7732,13 +7637,19 @@ dependencies = [ "serde", ] +[[package]] +name = "hex-conservative" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" + [[package]] name = "hex-conservative" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5313b072ce3c597065a808dbf612c4c8e8590bdbf8b579508bf7a762c5eae6cd" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", ] [[package]] @@ -7762,7 +7673,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner 0.6.0", + "enum-as-inner 0.6.1", "futures-channel", "futures-io", "futures-util", @@ -7860,11 +7771,11 @@ dependencies = [ [[package]] name = "home" -version = "0.5.5" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -7880,9 +7791,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.9" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -7902,20 +7813,20 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http 0.2.9", - "pin-project-lite 0.2.13", + "http 0.2.12", + "pin-project-lite", ] [[package]] name = "http-body" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", "http 1.1.0", @@ -7923,28 +7834,22 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", - "futures-core", + "futures-util", "http 1.1.0", - "http-body 1.0.0", - "pin-project-lite 0.2.13", + "http-body 1.0.1", + "pin-project-lite", ] -[[package]] -name = "http-range-header" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" - [[package]] name = "httparse" -version = "1.8.0" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" [[package]] name = "httpdate" @@ -7960,22 +7865,22 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.27" +version = "0.14.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", - "h2 0.3.21", - "http 0.2.9", - "http-body 0.4.5", + "h2 0.3.26", + "http 0.2.12", + "http-body 0.4.6", "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.4.9", + "pin-project-lite", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -7991,13 +7896,13 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.5", + "h2 0.4.6", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", + "pin-project-lite", "smallvec", "tokio", "want", @@ -8005,19 +7910,37 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.24.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http 0.2.9", - "hyper 0.14.27", + "http 0.2.12", + "hyper 0.14.30", "log", - "rustls 0.21.7", + "rustls 0.21.12", "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.24.1", - "webpki-roots 0.23.1", + "webpki-roots 0.25.4", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" +dependencies = [ + "futures-util", + "http 1.1.0", + "hyper 1.4.1", + "hyper-util", + "log", + "rustls 0.23.14", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.26.0", + "tower-service", ] [[package]] @@ -8027,7 +7950,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper 0.14.27", + "hyper 0.14.30", "native-tls", "tokio", "tokio-native-tls", @@ -8051,36 +7974,35 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.5" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56" +checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" dependencies = [ "bytes", "futures-channel", "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "hyper 1.4.1", - "pin-project-lite 0.2.13", + "pin-project-lite", "socket2 0.5.7", "tokio", - "tower", "tower-service", "tracing", ] [[package]] name = "iana-time-zone" -version = "0.1.57" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows 0.48.0", + "windows-core 0.52.0", ] [[package]] @@ -8151,7 +8073,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.3.3", + "async-io 2.3.4", "core-foundation", "fnv", "futures", @@ -8161,7 +8083,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows 0.51.1", + "windows", ] [[package]] @@ -8174,8 +8096,8 @@ dependencies = [ "attohttpc", "bytes", "futures", - "http 0.2.9", - "hyper 0.14.27", + "http 0.2.12", + "hyper 0.14.30", "log", "rand 0.8.5", "tokio", @@ -8223,18 +8145,18 @@ dependencies = [ [[package]] name = "include_dir" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" dependencies = [ "include_dir_macros", ] [[package]] name = "include_dir_macros" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" dependencies = [ "proc-macro2", "quote", @@ -8259,12 +8181,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.15.0", "serde", ] @@ -8326,7 +8248,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi 0.3.9", "libc", "windows-sys 0.48.0", ] @@ -8346,26 +8268,32 @@ dependencies = [ "socket2 0.5.7", "widestring", "windows-sys 0.48.0", - "winreg 0.50.0", + "winreg", ] [[package]] name = "ipnet" -version = "2.8.0" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" +checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" dependencies = [ - "hermit-abi 0.3.2", - "rustix 0.38.31", - "windows-sys 0.48.0", + "hermit-abi 0.4.0", + "libc", + "windows-sys 0.52.0", ] +[[package]] +name = "is_terminal_polyfill" +version = "1.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" + [[package]] name = "itertools" version = "0.10.5" @@ -8404,9 +8332,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "ittapi" @@ -8459,9 +8387,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.64" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" dependencies = [ "wasm-bindgen", ] @@ -8506,14 +8434,16 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.24.0" +version = "0.24.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e419d6c39cb9632288c592a06d7d0a96740021b0bff812e211ace754b0fe8c9a" +checksum = "126b48a5acc3c52fbd5381a77898cb60e145123179588a29e7ac48f9c06e401b" dependencies = [ - "jsonrpsee-core 0.24.0", - "jsonrpsee-proc-macros 0.24.0", - "jsonrpsee-server 0.24.0", - "jsonrpsee-types 0.24.0", + "jsonrpsee-core 0.24.5", + "jsonrpsee-http-client 0.24.5", + "jsonrpsee-proc-macros 0.24.5", + "jsonrpsee-server 0.24.5", + "jsonrpsee-types 0.24.5", + "jsonrpsee-ws-client 0.24.5", "tokio", "tracing", ] @@ -8525,7 +8455,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" dependencies = [ "futures-util", - "http 0.2.9", + "http 0.2.12", "jsonrpsee-core 0.16.3", "jsonrpsee-types 0.16.3", "pin-project", @@ -8536,7 +8466,7 @@ dependencies = [ "tokio-rustls 0.24.1", "tokio-util", "tracing", - "webpki-roots 0.25.2", + "webpki-roots 0.25.4", ] [[package]] @@ -8546,10 +8476,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" dependencies = [ "futures-util", - "http 0.2.9", + "http 0.2.12", "jsonrpsee-core 0.22.5", "pin-project", - "rustls-native-certs 0.7.2", + "rustls-native-certs 0.7.3", "rustls-pki-types", "soketto 0.7.1", "thiserror", @@ -8571,7 +8501,30 @@ dependencies = [ "http 1.1.0", "jsonrpsee-core 0.23.2", "pin-project", - "rustls 0.23.10", + "rustls 0.23.14", + "rustls-pki-types", + "rustls-platform-verifier", + "soketto 0.8.0", + "thiserror", + "tokio", + "tokio-rustls 0.26.0", + "tokio-util", + "tracing", + "url", +] + +[[package]] +name = "jsonrpsee-client-transport" +version = "0.24.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf679a8e0e083c77997f7c4bb4ca826577105906027ae462aac70ff348d02c6a" +dependencies = [ + "base64 0.22.1", + "futures-util", + "http 1.1.0", + "jsonrpsee-core 0.24.5", + "pin-project", + "rustls 0.23.14", "rustls-pki-types", "rustls-platform-verifier", "soketto 0.8.0", @@ -8590,7 +8543,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" dependencies = [ "anyhow", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "async-lock 2.8.0", "async-trait", "beef", @@ -8598,7 +8551,7 @@ dependencies = [ "futures-timer", "futures-util", "globset", - "hyper 0.14.27", + "hyper 0.14.30", "jsonrpsee-types 0.16.3", "parking_lot 0.12.3", "rand 0.8.5", @@ -8622,7 +8575,7 @@ dependencies = [ "beef", "futures-timer", "futures-util", - "hyper 0.14.27", + "hyper 0.14.30", "jsonrpsee-types 0.22.5", "pin-project", "rustc-hash 1.1.0", @@ -8658,24 +8611,27 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.24.0" +version = "0.24.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06b8be79a3bdd7d87c1d95c0e939052b7f64fffce7b9436986e43e92f20a978" +checksum = "b0e503369a76e195b65af35058add0e6900b794a4e9a9316900ddd3a87a80477" dependencies = [ "async-trait", "bytes", + "futures-timer", "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "http-body-util", - "jsonrpsee-types 0.24.0", + "jsonrpsee-types 0.24.5", "parking_lot 0.12.3", + "pin-project", "rand 0.8.5", "rustc-hash 2.0.0", "serde", "serde_json", "thiserror", "tokio", + "tokio-stream", "tracing", ] @@ -8686,8 +8642,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" dependencies = [ "async-trait", - "hyper 0.14.27", - "hyper-rustls", + "hyper 0.14.30", + "hyper-rustls 0.24.2", "jsonrpsee-core 0.16.3", "jsonrpsee-types 0.16.3", "rustc-hash 1.1.0", @@ -8705,15 +8661,40 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" dependencies = [ "async-trait", - "hyper 0.14.27", - "hyper-rustls", + "hyper 0.14.30", + "hyper-rustls 0.24.2", "jsonrpsee-core 0.22.5", "jsonrpsee-types 0.22.5", "serde", "serde_json", "thiserror", "tokio", - "tower", + "tower 0.4.13", + "tracing", + "url", +] + +[[package]] +name = "jsonrpsee-http-client" +version = "0.24.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2c0caba4a6a8efbafeec9baa986aa22a75a96c29d3e4b0091b0098d6470efb5" +dependencies = [ + "async-trait", + "base64 0.22.1", + "http-body 1.0.1", + "hyper 1.4.1", + "hyper-rustls 0.27.3", + "hyper-util", + "jsonrpsee-core 0.24.5", + "jsonrpsee-types 0.24.5", + "rustls 0.23.14", + "rustls-platform-verifier", + "serde", + "serde_json", + "thiserror", + "tokio", + "tower 0.4.13", "tracing", "url", ] @@ -8733,15 +8714,15 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.24.0" +version = "0.24.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4278d453682d9f9671b5261404360cdabd063198a43bb221c5c80e8f8bfb6b1" +checksum = "fc660a9389e2748e794a40673a4155d501f32db667757cdb80edeff0306b489b" dependencies = [ "heck 0.5.0", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -8752,8 +8733,8 @@ checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" dependencies = [ "futures-channel", "futures-util", - "http 0.2.9", - "hyper 0.14.27", + "http 0.2.12", + "hyper 0.14.30", "jsonrpsee-core 0.16.3", "jsonrpsee-types 0.16.3", "serde", @@ -8762,24 +8743,24 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", - "tower", + "tower 0.4.13", "tracing", ] [[package]] name = "jsonrpsee-server" -version = "0.24.0" +version = "0.24.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c358788aa585f51a78b11bec5d4b16fbe26dda1cc149f21d95dc24836a0be83" +checksum = "af6e6c9b6d975edcb443565d648b605f3e85a04ec63aa6941811a8894cc9cded" dependencies = [ "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "http-body-util", "hyper 1.4.1", "hyper-util", - "jsonrpsee-core 0.24.0", - "jsonrpsee-types 0.24.0", + "jsonrpsee-core 0.24.5", + "jsonrpsee-types 0.24.5", "pin-project", "route-recognizer", "serde", @@ -8789,7 +8770,7 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", - "tower", + "tower 0.4.13", "tracing", ] @@ -8835,9 +8816,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.24.0" +version = "0.24.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0feba38a9878d70ccccd2f54b534b15e861d6caa7911d59abfd3e0d8b4de091f" +checksum = "d8fb16314327cbc94fdf7965ef7e4422509cd5597f76d137bd104eb34aeede67" dependencies = [ "http 1.1.0", "serde", @@ -8851,7 +8832,7 @@ version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" dependencies = [ - "http 0.2.9", + "http 0.2.12", "jsonrpsee-client-transport 0.16.3", "jsonrpsee-core 0.16.3", "jsonrpsee-types 0.16.3", @@ -8870,6 +8851,19 @@ dependencies = [ "url", ] +[[package]] +name = "jsonrpsee-ws-client" +version = "0.24.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39aabf5d6c6f22da8d5b808eea1fab0736059f11fb42f71f141b14f404e5046a" +dependencies = [ + "http 1.1.0", + "jsonrpsee-client-transport 0.24.5", + "jsonrpsee-core 0.24.5", + "jsonrpsee-types 0.24.5", + "url", +] + [[package]] name = "jsonwebtoken" version = "8.3.0" @@ -8893,32 +8887,33 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.2" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ "cfg-if", "ecdsa", "elliptic-curve", "once_cell", + "serdect", "sha2 0.10.8", "signature", ] [[package]] name = "keccak" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ "cpufeatures", ] [[package]] name = "keccak-asm" -version = "0.1.1" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47a3633291834c4fbebf8673acbc1b04ec9d151418ff9b8e26dcd79129928758" +checksum = "505d1856a39b200489082f90d897c3f07c455563880bc5952e38eabf731c83b6" dependencies = [ "digest 0.10.7", "sha3-asm", @@ -8977,31 +8972,33 @@ dependencies = [ [[package]] name = "lalrpop" -version = "0.20.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da4081d44f4611b66c6dd725e6de3169f9f63905421e8626fcb86b6a898998b8" +checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca" dependencies = [ "ascii-canvas", "bit-set", - "diff", "ena", - "is-terminal", - "itertools 0.10.5", + "itertools 0.11.0", "lalrpop-util", "petgraph", "regex", - "regex-syntax 0.7.5", + "regex-syntax 0.8.5", "string_cache", "term", "tiny-keccak", "unicode-xid", + "walkdir", ] [[package]] name = "lalrpop-util" -version = "0.20.0" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d" +checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553" +dependencies = [ + "regex-automata 0.4.8", +] [[package]] name = "lazy-pages-fuzzer" @@ -9052,15 +9049,15 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.158" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "libc-print" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06cea5d58bd9ba4717bbf5c6c5bb11bb6e9e76685b7fff34039b80f50ce86c11" +checksum = "a4a660208db49e35faf57b37484350f1a61072f2a5becf0592af6015d9ddd4b0" dependencies = [ "libc", ] @@ -9092,12 +9089,12 @@ dependencies = [ [[package]] name = "libloading" -version = "0.7.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", - "winapi", + "windows-targets 0.52.6", ] [[package]] @@ -9118,35 +9115,39 @@ dependencies = [ [[package]] name = "libp2p" -version = "0.51.4" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" +checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" dependencies = [ "bytes", + "either", "futures", "futures-timer", "getrandom 0.2.15", "instant", - "libp2p-allow-block-list 0.1.1", - "libp2p-connection-limits 0.1.0", - "libp2p-core 0.39.2", - "libp2p-dns 0.39.0", - "libp2p-identify 0.42.2", - "libp2p-identity 0.1.3", - "libp2p-kad 0.43.3", - "libp2p-mdns 0.43.1", - "libp2p-metrics 0.12.0", + "libp2p-allow-block-list 0.2.0", + "libp2p-connection-limits 0.2.1", + "libp2p-core 0.40.1", + "libp2p-dns 0.40.1", + "libp2p-identify 0.43.1", + "libp2p-identity", + "libp2p-kad 0.44.6", + "libp2p-mdns 0.44.0", + "libp2p-metrics 0.13.1", "libp2p-noise", - "libp2p-ping 0.42.0", - "libp2p-quic 0.7.0-alpha.3", - "libp2p-request-response 0.24.1", - "libp2p-swarm 0.42.2", - "libp2p-tcp 0.39.0", + "libp2p-ping 0.43.1", + "libp2p-quic 0.9.3", + "libp2p-request-response 0.25.3", + "libp2p-swarm 0.43.7", + "libp2p-tcp 0.40.1", + "libp2p-upnp 0.1.1", "libp2p-wasm-ext", "libp2p-websocket", - "libp2p-yamux 0.43.1", - "multiaddr 0.17.1", + "libp2p-yamux 0.44.1", + "multiaddr 0.18.2", "pin-project", + "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", ] [[package]] @@ -9165,7 +9166,7 @@ dependencies = [ "libp2p-dns 0.42.0", "libp2p-gossipsub", "libp2p-identify 0.45.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-kad 0.46.1", "libp2p-mdns 0.46.0", "libp2p-metrics 0.15.0", @@ -9176,23 +9177,23 @@ dependencies = [ "libp2p-swarm 0.45.1", "libp2p-tcp 0.42.0", "libp2p-tls 0.5.0", - "libp2p-upnp", + "libp2p-upnp 0.3.0", "libp2p-yamux 0.46.0", - "multiaddr 0.18.1", + "multiaddr 0.18.2", "pin-project", - "rw-stream-sink 0.4.0", + "rw-stream-sink 0.4.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "thiserror", ] [[package]] name = "libp2p-allow-block-list" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" +checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" dependencies = [ - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "void", ] @@ -9202,20 +9203,20 @@ version = "0.4.0" source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches#0dd074b05b50a9faf2043d51343e0f10a83a7b69" dependencies = [ "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "void", ] [[package]] name = "libp2p-connection-limits" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" +checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" dependencies = [ - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "void", ] @@ -9225,33 +9226,33 @@ version = "0.4.0" source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches#0dd074b05b50a9faf2043d51343e0f10a83a7b69" dependencies = [ "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "void", ] [[package]] name = "libp2p-core" -version = "0.39.2" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" +checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" dependencies = [ "either", "fnv", "futures", "futures-timer", "instant", - "libp2p-identity 0.1.3", + "libp2p-identity", "log", - "multiaddr 0.17.1", - "multihash 0.17.0", - "multistream-select 0.12.1", + "multiaddr 0.18.2", + "multihash 0.19.1", + "multistream-select 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "once_cell", "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand 0.8.5", - "rw-stream-sink 0.3.0", + "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec", "thiserror", "unsigned-varint 0.7.2", @@ -9267,16 +9268,16 @@ dependencies = [ "fnv", "futures", "futures-timer", - "libp2p-identity 0.2.9", - "multiaddr 0.18.1", + "libp2p-identity", + "multiaddr 0.18.2", "multihash 0.19.1", - "multistream-select 0.13.0", + "multistream-select 0.13.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "once_cell", "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand 0.8.5", - "rw-stream-sink 0.4.0", + "rw-stream-sink 0.4.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "smallvec", "thiserror", "tracing", @@ -9287,12 +9288,14 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" +checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" dependencies = [ + "async-trait", "futures", - "libp2p-core 0.39.2", + "libp2p-core 0.40.1", + "libp2p-identity", "log", "parking_lot 0.12.3", "smallvec", @@ -9308,7 +9311,7 @@ dependencies = [ "futures", "hickory-resolver", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "parking_lot 0.12.3", "smallvec", "tracing", @@ -9330,9 +9333,9 @@ dependencies = [ "getrandom 0.2.15", "hex_fmt", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", - "prometheus-client 0.22.2", + "prometheus-client 0.22.3", "quick-protobuf", "quick-protobuf-codec 0.3.1", "rand 0.8.5", @@ -9346,21 +9349,22 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.42.2" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" +checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" dependencies = [ "asynchronous-codec 0.6.2", "either", "futures", + "futures-bounded 0.1.0", "futures-timer", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", - "lru 0.10.1", + "lru", "quick-protobuf", - "quick-protobuf-codec 0.1.0", + "quick-protobuf-codec 0.2.0", "smallvec", "thiserror", "void", @@ -9374,12 +9378,12 @@ dependencies = [ "asynchronous-codec 0.7.0", "either", "futures", - "futures-bounded", + "futures-bounded 0.2.4", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", - "lru 0.12.3", + "lru", "quick-protobuf", "quick-protobuf-codec 0.3.1", "smallvec", @@ -9388,24 +9392,6 @@ dependencies = [ "void", ] -[[package]] -name = "libp2p-identity" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" -dependencies = [ - "bs58 0.4.0", - "ed25519-dalek", - "log", - "multiaddr 0.17.1", - "multihash 0.17.0", - "quick-protobuf", - "rand 0.8.5", - "sha2 0.10.8", - "thiserror", - "zeroize", -] - [[package]] name = "libp2p-identity" version = "0.2.9" @@ -9428,11 +9414,11 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.43.3" +version = "0.44.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" +checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "asynchronous-codec 0.6.2", "bytes", "either", @@ -9440,11 +9426,12 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", "quick-protobuf", + "quick-protobuf-codec 0.2.0", "rand 0.8.5", "sha2 0.10.8", "smallvec", @@ -9459,16 +9446,16 @@ name = "libp2p-kad" version = "0.46.1" source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches#0dd074b05b50a9faf2043d51343e0f10a83a7b69" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "asynchronous-codec 0.7.0", "bytes", "either", "fnv", "futures", - "futures-bounded", + "futures-bounded 0.2.4", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "quick-protobuf", "quick-protobuf-codec 0.3.1", @@ -9484,22 +9471,22 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.43.1" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" +checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" dependencies = [ "data-encoding", "futures", "if-watch", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.5.7", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", "void", ] @@ -9513,7 +9500,7 @@ dependencies = [ "hickory-proto", "if-watch", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "rand 0.8.5", "smallvec", @@ -9525,16 +9512,19 @@ dependencies = [ [[package]] name = "libp2p-metrics" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" +checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" dependencies = [ - "libp2p-core 0.39.2", - "libp2p-identify 0.42.2", - "libp2p-kad 0.43.3", - "libp2p-ping 0.42.0", - "libp2p-swarm 0.42.2", - "prometheus-client 0.19.0", + "instant", + "libp2p-core 0.40.1", + "libp2p-identify 0.43.1", + "libp2p-identity", + "libp2p-kad 0.44.6", + "libp2p-ping 0.43.1", + "libp2p-swarm 0.43.7", + "once_cell", + "prometheus-client 0.21.2", ] [[package]] @@ -9546,27 +9536,29 @@ dependencies = [ "libp2p-core 0.42.0", "libp2p-gossipsub", "libp2p-identify 0.45.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-kad 0.46.1", "libp2p-ping 0.45.0", "libp2p-swarm 0.45.1", "pin-project", - "prometheus-client 0.22.2", + "prometheus-client 0.22.3", "web-time", ] [[package]] name = "libp2p-noise" -version = "0.42.2" +version = "0.43.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" +checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" dependencies = [ "bytes", - "curve25519-dalek 3.2.0", + "curve25519-dalek 4.1.3", "futures", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", + "libp2p-core 0.40.1", + "libp2p-identity", "log", + "multiaddr 0.18.2", + "multihash 0.19.1", "once_cell", "quick-protobuf", "rand 0.8.5", @@ -9574,22 +9566,23 @@ dependencies = [ "snow", "static_assertions", "thiserror", - "x25519-dalek 1.1.1", + "x25519-dalek", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" +checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" dependencies = [ "either", "futures", "futures-timer", "instant", - "libp2p-core 0.39.2", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", "rand 0.8.5", "void", @@ -9604,7 +9597,7 @@ dependencies = [ "futures", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "rand 0.8.5", "tracing", @@ -9621,7 +9614,7 @@ dependencies = [ "bytes", "futures", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "quick-protobuf", "quick-protobuf-codec 0.3.1", "tracing", @@ -9629,22 +9622,24 @@ dependencies = [ [[package]] name = "libp2p-quic" -version = "0.7.0-alpha.3" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" +checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" dependencies = [ "bytes", "futures", "futures-timer", "if-watch", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-tls 0.1.0", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-tls 0.2.1", "log", "parking_lot 0.12.3", - "quinn-proto 0.9.4", + "quinn 0.10.2", "rand 0.8.5", - "rustls 0.20.8", + "ring 0.16.20", + "rustls 0.21.12", + "socket2 0.5.7", "thiserror", "tokio", ] @@ -9659,13 +9654,13 @@ dependencies = [ "futures-timer", "if-watch", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-tls 0.5.0", "parking_lot 0.12.3", - "quinn", + "quinn 0.11.5", "rand 0.8.5", "ring 0.17.8", - "rustls 0.23.10", + "rustls 0.23.14", "socket2 0.5.7", "thiserror", "tokio", @@ -9674,18 +9669,20 @@ dependencies = [ [[package]] name = "libp2p-request-response" -version = "0.24.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" +checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" dependencies = [ "async-trait", "futures", "instant", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", + "log", "rand 0.8.5", "smallvec", + "void", ] [[package]] @@ -9695,10 +9692,10 @@ source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches dependencies = [ "async-trait", "futures", - "futures-bounded", + "futures-bounded 0.2.4", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "rand 0.8.5", "smallvec", @@ -9709,19 +9706,21 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.42.2" +version = "0.43.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" +checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" dependencies = [ "either", "fnv", "futures", "futures-timer", "instant", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm-derive 0.32.0", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm-derive 0.33.0", "log", + "multistream-select 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "once_cell", "rand 0.8.5", "smallvec", "tokio", @@ -9738,10 +9737,10 @@ dependencies = [ "futures", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm-derive 0.35.0", - "lru 0.12.3", - "multistream-select 0.13.0", + "lru", + "multistream-select 0.13.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "once_cell", "rand 0.8.5", "smallvec", @@ -9753,13 +9752,15 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.32.0" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" +checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" dependencies = [ "heck 0.4.1", + "proc-macro-warning 0.4.2", + "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.79", ] [[package]] @@ -9770,7 +9771,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -9782,7 +9783,7 @@ dependencies = [ "futures", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-plaintext", "libp2p-swarm 0.45.1", "libp2p-tcp 0.42.0", @@ -9793,17 +9794,18 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" +checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" dependencies = [ "futures", "futures-timer", "if-watch", "libc", - "libp2p-core 0.39.2", + "libp2p-core 0.40.1", + "libp2p-identity", "log", - "socket2 0.4.9", + "socket2 0.5.7", "tokio", ] @@ -9817,7 +9819,7 @@ dependencies = [ "if-watch", "libc", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "socket2 0.5.7", "tokio", "tracing", @@ -9825,20 +9827,20 @@ dependencies = [ [[package]] name = "libp2p-tls" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" +checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" dependencies = [ "futures", - "futures-rustls 0.22.2", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", + "futures-rustls 0.24.0", + "libp2p-core 0.40.1", + "libp2p-identity", "rcgen 0.10.0", "ring 0.16.20", - "rustls 0.20.8", + "rustls 0.21.12", + "rustls-webpki 0.101.7", "thiserror", - "webpki", - "x509-parser 0.14.0", + "x509-parser 0.15.1", "yasna", ] @@ -9850,16 +9852,32 @@ dependencies = [ "futures", "futures-rustls 0.26.0", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "rcgen 0.11.3", "ring 0.17.8", - "rustls 0.23.10", - "rustls-webpki 0.101.4", + "rustls 0.23.14", + "rustls-webpki 0.101.7", "thiserror", "x509-parser 0.16.0", "yasna", ] +[[package]] +name = "libp2p-upnp" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" +dependencies = [ + "futures", + "futures-timer", + "igd-next", + "libp2p-core 0.40.1", + "libp2p-swarm 0.43.7", + "log", + "tokio", + "void", +] + [[package]] name = "libp2p-upnp" version = "0.3.0" @@ -9877,48 +9895,50 @@ dependencies = [ [[package]] name = "libp2p-wasm-ext" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" +checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" dependencies = [ "futures", "js-sys", - "libp2p-core 0.39.2", - "parity-send-wrapper", + "libp2p-core 0.40.1", + "send_wrapper 0.6.0", "wasm-bindgen", "wasm-bindgen-futures", ] [[package]] name = "libp2p-websocket" -version = "0.41.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" +checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538" dependencies = [ "either", "futures", - "futures-rustls 0.22.2", - "libp2p-core 0.39.2", + "futures-rustls 0.24.0", + "libp2p-core 0.40.1", + "libp2p-identity", "log", "parking_lot 0.12.3", - "quicksink", - "rw-stream-sink 0.3.0", - "soketto 0.7.1", + "pin-project-lite", + "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "soketto 0.8.0", + "thiserror", "url", - "webpki-roots 0.22.6", + "webpki-roots 0.25.4", ] [[package]] name = "libp2p-yamux" -version = "0.43.1" +version = "0.44.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" +checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" dependencies = [ "futures", - "libp2p-core 0.39.2", + "libp2p-core 0.40.1", "log", "thiserror", - "yamux 0.10.2", + "yamux 0.12.1", ] [[package]] @@ -9935,6 +9955,17 @@ dependencies = [ "yamux 0.13.3", ] +[[package]] +name = "libredox" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +dependencies = [ + "bitflags 2.6.0", + "libc", + "redox_syscall 0.5.7", +] + [[package]] name = "librocksdb-sys" version = "0.11.0+8.1.1" @@ -10016,9 +10047,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.19" +version = "1.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc53a7799a7496ebc9fd29f31f7df80e83c9bda5299768af5f9e59eeea74647" +checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472" dependencies = [ "cc", "libc", @@ -10052,9 +10083,9 @@ dependencies = [ [[package]] name = "linregress" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de0b5f52a9f84544d268f5fabb71b38962d6aa3c6600b8bcd27d44ccf9c9c45" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ "nalgebra", ] @@ -10073,9 +10104,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lioness" @@ -10089,6 +10120,61 @@ dependencies = [ "keystream", ] +[[package]] +name = "litep2p" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f46c51c205264b834ceed95c8b195026e700494bc3991aaba3b4ea9e20626d9" +dependencies = [ + "async-trait", + "bs58 0.4.0", + "bytes", + "cid 0.10.1", + "ed25519-dalek", + "futures", + "futures-timer", + "hex-literal", + "indexmap 2.6.0", + "libc", + "mockall 0.12.1", + "multiaddr 0.17.1", + "multihash 0.17.0", + "network-interface", + "nohash-hasher", + "parking_lot 0.12.3", + "pin-project", + "prost 0.12.6", + "prost-build 0.11.9", + "quinn 0.9.4", + "rand 0.8.5", + "rcgen 0.10.0", + "ring 0.16.20", + "rustls 0.20.9", + "serde", + "sha2 0.10.8", + "simple-dns", + "smallvec", + "snow", + "socket2 0.5.7", + "static_assertions", + "str0m", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite 0.20.1", + "tokio-util", + "tracing", + "trust-dns-resolver", + "uint", + "unsigned-varint 0.8.0", + "url", + "webpki", + "x25519-dalek", + "x509-parser 0.16.0", + "yasna", + "zeroize", +] + [[package]] name = "litrs" version = "0.4.1" @@ -10097,9 +10183,9 @@ checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" [[package]] name = "lock_api" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -10113,18 +10199,9 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] - -[[package]] -name = "lru" -version = "0.12.3" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3262e75e648fce39813cb56ac41f3c3e3f65217ebf3844d818d1f9398cfb0dc" +checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904" dependencies = [ "hashbrown 0.14.5", ] @@ -10140,19 +10217,18 @@ dependencies = [ [[package]] name = "lz4" -version = "1.24.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" +checksum = "4d1febb2b4a79ddd1980eede06a8f7902197960aa0383ffcfdd62fe723036725" dependencies = [ - "libc", "lz4-sys", ] [[package]] name = "lz4-sys" -version = "1.9.4" +version = "1.11.1+lz4-1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" +checksum = "6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6" dependencies = [ "cc", "libc", @@ -10178,50 +10254,50 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" +checksum = "cc33f9f0351468d26fbc53d9ce00a096c8522ecb42f19b50f34f2c422f76d21d" dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "macro_magic_core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" +checksum = "1687dc887e42f352865a393acae7cf79d98fab6351cde1f58e9e057da89bf150" dependencies = [ "const-random", "derive-syn-parse", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "macro_magic_core_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" +checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "macro_magic_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" +checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -10236,15 +10312,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" -[[package]] -name = "matchers" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" -dependencies = [ - "regex-automata 0.1.10", -] - [[package]] name = "matchers" version = "0.1.0" @@ -10262,9 +10329,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.7" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" +checksum = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a" dependencies = [ "autocfg", "rawpointer", @@ -10282,17 +10349,17 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.2" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memfd" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.37.23", + "rustix 0.38.37", ] [[package]] @@ -10313,6 +10380,15 @@ dependencies = [ "libc", ] +[[package]] +name = "memmap2" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" +dependencies = [ + "libc", +] + [[package]] name = "memoffset" version = "0.6.5" @@ -10342,9 +10418,9 @@ dependencies = [ [[package]] name = "memoffset" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" dependencies = [ "autocfg", ] @@ -10364,6 +10440,20 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" +[[package]] +name = "merkleized-metadata" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f313fcff1d2a4bcaa2deeaa00bf7530d77d5f7bd0467a117dde2e29a75a7a17a" +dependencies = [ + "array-bytes", + "blake3", + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-decode", + "scale-info", +] + [[package]] name = "merlin" version = "2.0.1" @@ -10421,22 +10511,32 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" dependencies = [ "adler", ] +[[package]] +name = "miniz_oxide" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" +dependencies = [ + "adler2", +] + [[package]] name = "mio" -version = "0.8.9" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ + "hermit-abi 0.3.9", "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -10446,7 +10546,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", @@ -10474,8 +10574,23 @@ dependencies = [ "downcast", "fragile", "lazy_static", - "mockall_derive", - "predicates", + "mockall_derive 0.11.4", + "predicates 2.1.5", + "predicates-tree", +] + +[[package]] +name = "mockall" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive 0.12.1", + "predicates 3.1.2", "predicates-tree", ] @@ -10491,6 +10606,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "mockall_derive" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn 2.0.79", +] + [[package]] name = "more-asserts" version = "0.2.2" @@ -10518,20 +10645,20 @@ dependencies = [ [[package]] name = "multiaddr" -version = "0.18.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b852bc02a2da5feed68cd14fa50d0774b92790a5bdbfa932a813926c8472070" +checksum = "fe6351f60b488e04c1d21bc69e56b89cb3f5e8f5d22557d6e8031bdfd79b6961" dependencies = [ "arrayref", "byteorder", "data-encoding", - "libp2p-identity 0.2.9", + "libp2p-identity", "multibase", "multihash 0.19.1", "percent-encoding", "serde", "static_assertions", - "unsigned-varint 0.7.2", + "unsigned-varint 0.8.0", "url", ] @@ -10563,6 +10690,23 @@ dependencies = [ "unsigned-varint 0.7.2", ] +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive", + "sha2 0.10.8", + "sha3", + "unsigned-varint 0.7.2", +] + [[package]] name = "multihash" version = "0.19.1" @@ -10593,11 +10737,17 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +[[package]] +name = "multimap" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" + [[package]] name = "multistream-select" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" +checksum = "ea0df8e5eec2298a62b326ee4f0d7fe1a6b90a09dfcf9df37b38f947a8c42f19" dependencies = [ "bytes", "futures", @@ -10628,9 +10778,9 @@ checksum = "30aefc44d813c51b5e7952950e87c17f2e0e1a3274d63c8281a701e05323d548" [[package]] name = "nalgebra" -version = "0.32.3" +version = "0.32.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" +checksum = "7b5c17de023a86f59ed79891b2e5d5a94c705dbe904a5b5c9c952ea6221b03e4" dependencies = [ "approx", "matrixmultiply", @@ -10646,22 +10796,13 @@ dependencies = [ [[package]] name = "nalgebra-macros" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", -] - -[[package]] -name = "names" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" -dependencies = [ - "rand 0.8.5", + "syn 2.0.79", ] [[package]] @@ -10676,11 +10817,10 @@ dependencies = [ [[package]] name = "native-tls" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" +checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" dependencies = [ - "lazy_static", "libc", "log", "openssl", @@ -10699,7 +10839,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1bb540dc6ef51cfe1916ec038ce7a620daf3a111e2502d745197cd53d6bca15" dependencies = [ "libc", - "socket2 0.4.9", + "socket2 0.4.10", ] [[package]] @@ -10757,9 +10897,9 @@ dependencies = [ [[package]] name = "netlink-sys" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" +checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ "bytes", "futures", @@ -10768,6 +10908,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "network-interface" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" +dependencies = [ + "cc", + "libc", + "thiserror", + "winapi", +] + [[package]] name = "new_debug_unreachable" version = "1.0.6" @@ -10811,6 +10963,12 @@ dependencies = [ "pin-utils", ] +[[package]] +name = "no-std-compat" +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" @@ -10839,12 +10997,24 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonempty" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" + [[package]] name = "nonempty" version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aeaf4ad7403de93e699c191202f017118df734d3850b01e13a3a8b2e6953d3c9" +[[package]] +name = "nonzero_ext" +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" @@ -10878,7 +11048,7 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc7c92f190c97f79b4a332f5e81dcf68c8420af2045c936c9be0bc9de6f63b5" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", @@ -10896,9 +11066,9 @@ dependencies = [ [[package]] name = "num" -version = "0.4.1" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" dependencies = [ "num-bigint", "num-complex", @@ -10910,20 +11080,19 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ - "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ "num-traits", ] @@ -10940,25 +11109,24 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "itoa", ] [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-iter" -version = "0.1.43" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" dependencies = [ "autocfg", "num-integer", @@ -10967,11 +11135,10 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ - "autocfg", "num-bigint", "num-integer", "num-traits", @@ -10993,7 +11160,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi 0.3.9", "libc", ] @@ -11008,11 +11175,11 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" dependencies = [ - "num_enum_derive 0.7.2", + "num_enum_derive 0.7.3", ] [[package]] @@ -11023,19 +11190,19 @@ checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "num_enum_derive" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -11071,9 +11238,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.0" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] @@ -11089,18 +11256,18 @@ dependencies = [ [[package]] name = "oid-registry" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c958dd45046245b9c3c2547369bb634eb461670b2e7e0de552905801a648d1d" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" dependencies = [ - "asn1-rs 0.6.1", + "asn1-rs 0.6.2", ] [[package]] name = "once_cell" -version = "1.19.0" +version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "opaque-debug" @@ -11110,9 +11277,9 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "opaque-debug" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "open-fastrlp" @@ -11120,7 +11287,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "auto_impl", "bytes", "ethereum-types", @@ -11141,11 +11308,11 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.60" +version = "0.10.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79a4c6c3a2b158f7f8f2a2fc5a969fa3a068df6fc9dbb4a43845436e3af7c800" +checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cfg-if", "foreign-types", "libc", @@ -11162,7 +11329,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -11171,14 +11338,24 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.2+3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a211a18d945ef7e648cc6e0058f4c548ee46aab922ea203e0d30e966ea23647b" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" -version = "0.9.96" +version = "0.9.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3812c071ba60da8b5677cc12bcb1d42989a65553772897a7e0355545a819838f" +checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -11191,9 +11368,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "os_str_bytes" -version = "6.5.1" +version = "6.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" [[package]] name = "overload" @@ -11219,38 +11396,36 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-authority-discovery", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11261,20 +11436,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "aquamarine", "docify", @@ -11286,32 +11460,31 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-tracing 10.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11320,16 +11493,15 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-child-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11339,16 +11511,15 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-conviction-voting" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11357,15 +11528,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11376,27 +11546,25 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", - "strum 0.24.1", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "strum 0.26.3", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11492,11 +11660,11 @@ dependencies = [ "serde", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-externalities 0.19.0", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "test-syscalls", "wabt", ] @@ -11515,8 +11683,8 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11526,7 +11694,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "ark-serialize 0.4.2", "ark-std 0.4.0", "demo-staking-broker", @@ -11565,13 +11733,13 @@ dependencies = [ "primitive-types", "scale-info", "sha2 0.10.8", - "sp-core", - "sp-crypto-ec-utils 0.4.1", - "sp-externalities 0.19.0", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11580,18 +11748,18 @@ version = "1.6.1" dependencies = [ "jsonrpsee 0.16.3", "pallet-gear-builtin-rpc-runtime-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-gear-builtin-rpc-runtime-api" version = "1.6.1" dependencies = [ - "sp-api", - "sp-core", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11621,10 +11789,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "test-syscalls", "wabt", ] @@ -11662,12 +11830,12 @@ dependencies = [ "scale-info", "serde", "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", "sp-staking", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11677,9 +11845,9 @@ dependencies = [ "jsonrpsee 0.16.3", "pallet-gear-eth-bridge-rpc-runtime-api", "primitive-types", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11687,8 +11855,8 @@ name = "pallet-gear-eth-bridge-rpc-runtime-api" version = "1.6.1" dependencies = [ "pallet-gear-eth-bridge", - "sp-api", - "sp-core", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11713,10 +11881,10 @@ dependencies = [ "parity-wasm", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11739,9 +11907,9 @@ dependencies = [ "primitive-types", "rand 0.8.5", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11771,9 +11939,9 @@ dependencies = [ "parity-wasm", "primitive-types", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wabt", ] @@ -11783,7 +11951,7 @@ version = "1.6.1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -11806,10 +11974,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wabt", ] @@ -11822,11 +11990,11 @@ dependencies = [ "gear-core-errors", "jsonrpsee 0.16.3", "pallet-gear-rpc-runtime-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11834,10 +12002,10 @@ name = "pallet-gear-rpc-runtime-api" version = "1.6.1" dependencies = [ "pallet-gear", - "sp-api", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11865,10 +12033,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11898,11 +12066,11 @@ dependencies = [ "scale-info", "serde", "sp-authority-discovery", - "sp-core", - "sp-io", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11911,9 +12079,9 @@ version = "1.6.1" dependencies = [ "jsonrpsee 0.16.3", "pallet-gear-staking-rewards-rpc-runtime-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11921,7 +12089,7 @@ name = "pallet-gear-staking-rewards-rpc-runtime-api" version = "1.6.1" dependencies = [ "pallet-gear-staking-rewards", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11942,16 +12110,16 @@ dependencies = [ "parity-wasm", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11961,36 +12129,35 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "enumflags2 0.7.7", + "enumflags2 0.7.10", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11999,18 +12166,17 @@ dependencies = [ "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12018,15 +12184,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-nomination-pools" -version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "35.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-system", @@ -12034,29 +12199,27 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", - "sp-std 8.0.0", - "sp-tracing 10.0.0", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "33.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-system", @@ -12065,15 +12228,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12081,49 +12243,47 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-proxy" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-ranked-collective" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-referenda" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -12133,16 +12293,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "docify", "frame-benchmarking", @@ -12151,16 +12310,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-weights", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-system", @@ -12169,20 +12327,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", "sp-staking", - "sp-state-machine", - "sp-std 8.0.0", - "sp-trie", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12192,39 +12349,38 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha 0.3.1", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-staking-reward-fn" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "22.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "log", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-staking-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "24.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", ] [[package]] name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "docify", "frame-benchmarking", @@ -12232,15 +12388,14 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "docify", "frame-benchmarking", @@ -12250,61 +12405,59 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", ] [[package]] name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "41.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-treasury" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "docify", "frame-benchmarking", @@ -12315,31 +12468,29 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-vesting" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12347,23 +12498,21 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -12377,11 +12526,24 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "parity-bip39" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" +dependencies = [ + "bitcoin_hashes 0.13.0", + "rand 0.8.5", + "rand_core 0.6.4", + "serde", + "unicode-normalization", +] + [[package]] name = "parity-db" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dab3ac198341b2f0fec6e7f8a6eeed07a41201d98a124260611598c142e76df" +checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" dependencies = [ "blake2 0.10.6", "crc32fast", @@ -12395,6 +12557,7 @@ dependencies = [ "rand 0.8.5", "siphasher 0.3.11", "snap", + "winapi", ] [[package]] @@ -12403,7 +12566,7 @@ version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec", "byte-slice-cast", "bytes", @@ -12418,18 +12581,12 @@ version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "parity-send-wrapper" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" - [[package]] name = "parity-wasm" version = "0.45.0" @@ -12437,9 +12594,9 @@ source = "git+https://github.com/gear-tech/parity-wasm?branch=v0.45.0-sign-ext#b [[package]] name = "parking" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" @@ -12459,7 +12616,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", - "parking_lot_core 0.9.8", + "parking_lot_core 0.9.10", ] [[package]] @@ -12478,15 +12635,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.8" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", + "redox_syscall 0.5.7", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -12506,6 +12663,17 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "password-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle 2.6.1", +] + [[package]] name = "paste" version = "1.0.15" @@ -12530,15 +12698,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" -[[package]] -name = "pbkdf2" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -dependencies = [ - "crypto-mac 0.11.0", -] - [[package]] name = "pbkdf2" version = "0.11.0" @@ -12547,7 +12706,7 @@ checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ "digest 0.10.7", "hmac 0.12.1", - "password-hash", + "password-hash 0.4.2", "sha2 0.10.8", ] @@ -12559,6 +12718,7 @@ checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", "hmac 0.12.1", + "password-hash 0.5.0", ] [[package]] @@ -12594,19 +12754,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.2" +version = "2.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" +checksum = "fdbef9d1d47087a895abd220ed25eb4ad973a5e26f6a4367b038c25e28dfc2d9" dependencies = [ + "memchr", "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.2" +version = "2.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666d00490d4ac815001da55838c500eafb0320019bbaa44444137c48b443a853" +checksum = "4d3a6e3394ec80feb3b6393c725571754c6188490265c61aaf260810d6b95aa0" dependencies = [ "pest", "pest_generator", @@ -12614,22 +12775,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.2" +version = "2.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68ca01446f50dbda87c1786af8770d535423fa8a53aec03b8f4e3d7eb10e0929" +checksum = "94429506bde1ca69d1b5601962c73f4172ab4726571a59ea95931218cb0e930e" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "pest_meta" -version = "2.7.2" +version = "2.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56af0a30af74d0445c0bf6d9d051c979b516a1a5af790d251daee76005420a48" +checksum = "ac8a071862e93690b6e34e9a5fb8e33ff3734473ac0245b27232222c4906a33f" dependencies = [ "once_cell", "pest", @@ -12638,12 +12799,12 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap 2.6.0", ] [[package]] @@ -12653,7 +12814,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" dependencies = [ "futures", - "rustc_version 0.4.0", + "rustc_version 0.4.1", ] [[package]] @@ -12686,7 +12847,7 @@ dependencies = [ "phf_shared 0.11.2", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -12709,35 +12870,29 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +checksum = "baf123a161dde1e524adf36f90bc5d8d3462824a9c43553ad07a8183161189ec" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +checksum = "a4502d8515ca9f32f1fb543d987f63d95a14934883db45bdb48060b6b69257f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "pin-project-lite" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" - -[[package]] -name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -12747,12 +12902,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.1" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.0.1", + "fastrand 2.1.1", "futures-io", ] @@ -12768,15 +12923,40 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" + +[[package]] +name = "polkavm" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +dependencies = [ + "libc", + "log", + "polkavm-assembler", + "polkavm-common", + "polkavm-linux-raw", +] + +[[package]] +name = "polkavm-assembler" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" +dependencies = [ + "log", +] [[package]] name = "polkavm-common" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +dependencies = [ + "log", +] [[package]] name = "polkavm-derive" @@ -12796,7 +12976,7 @@ dependencies = [ "polkavm-common", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -12806,9 +12986,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl", - "syn 2.0.71", + "syn 2.0.79", +] + +[[package]] +name = "polkavm-linker" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.5", + "log", + "object 0.32.2", + "polkavm-common", + "regalloc2 0.9.3", + "rustc-demangle", ] +[[package]] +name = "polkavm-linux-raw" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" + [[package]] name = "polling" version = "2.8.0" @@ -12821,33 +13022,23 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.13", + "pin-project-lite", "windows-sys 0.48.0", ] [[package]] name = "polling" -version = "3.5.0" +version = "3.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24f040dee2588b4963afb4e420540439d126f73fdacf4a9c486a96d840bac3c9" +checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511" dependencies = [ "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", - "rustix 0.38.31", + "hermit-abi 0.4.0", + "pin-project-lite", + "rustix 0.38.37", "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "poly1305" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" -dependencies = [ - "cpufeatures", - "opaque-debug 0.3.0", - "universal-hash 0.4.0", + "windows-sys 0.59.0", ] [[package]] @@ -12857,20 +13048,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", - "opaque-debug 0.3.0", - "universal-hash 0.5.1", -] - -[[package]] -name = "polyval" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" -dependencies = [ - "cfg-if", - "cpufeatures", - "opaque-debug 0.3.0", - "universal-hash 0.4.0", + "opaque-debug 0.3.1", + "universal-hash", ] [[package]] @@ -12881,15 +13060,15 @@ checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if", "cpufeatures", - "opaque-debug 0.3.0", - "universal-hash 0.5.1", + "opaque-debug 0.3.1", + "universal-hash", ] [[package]] name = "portable-atomic" -version = "1.4.3" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" +checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" [[package]] name = "powerfmt" @@ -12899,9 +13078,12 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +dependencies = [ + "zerocopy", +] [[package]] name = "precomputed-hash" @@ -12923,17 +13105,27 @@ dependencies = [ "regex", ] +[[package]] +name = "predicates" +version = "3.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" +dependencies = [ + "anstyle", + "predicates-core", +] + [[package]] name = "predicates-core" -version = "1.0.6" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" +checksum = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931" [[package]] name = "predicates-tree" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +checksum = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13" dependencies = [ "predicates-core", "termtree", @@ -12941,12 +13133,12 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" dependencies = [ "diff", - "yansi", + "yansi 1.0.1", ] [[package]] @@ -12961,12 +13153,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.15" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba" dependencies = [ "proc-macro2", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -13004,11 +13196,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "toml_edit 0.21.1", + "toml_edit", ] [[package]] @@ -13035,6 +13227,39 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.79", +] + +[[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.79", +] + [[package]] name = "proc-macro-warning" version = "1.0.2" @@ -13043,23 +13268,23 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "proc-macro2" -version = "1.0.85" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" +checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" dependencies = [ "cfg-if", "fnv", @@ -13071,9 +13296,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.19.0" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" +checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" dependencies = [ "dtoa", "itoa", @@ -13083,9 +13308,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.22.2" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ca959da22a332509f2a73ae9e5f23f9dcfc31fd3a54d71f159495bd5909baa" +checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", @@ -13101,7 +13326,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -13112,13 +13337,13 @@ checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.5.0", + "bitflags 2.6.0", "lazy_static", "num-traits", "rand 0.8.5", "rand_chacha 0.3.1", "rand_xorshift", - "regex-syntax 0.8.2", + "regex-syntax 0.8.5", "rusty-fork", "tempfile", "unarray", @@ -13131,7 +13356,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +dependencies = [ + "bytes", + "prost-derive 0.12.6", ] [[package]] @@ -13145,17 +13380,38 @@ dependencies = [ "itertools 0.10.5", "lazy_static", "log", - "multimap", + "multimap 0.8.3", "petgraph", "prettyplease 0.1.25", - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", "which", ] +[[package]] +name = "prost-build" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" +dependencies = [ + "bytes", + "heck 0.5.0", + "itertools 0.12.1", + "log", + "multimap 0.10.0", + "once_cell", + "petgraph", + "prettyplease 0.2.22", + "prost 0.12.6", + "prost-types 0.12.6", + "regex", + "syn 2.0.79", + "tempfile", +] + [[package]] name = "prost-derive" version = "0.11.9" @@ -13169,20 +13425,42 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +dependencies = [ + "anyhow", + "itertools 0.12.1", + "proc-macro2", + "quote", + "syn 2.0.79", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", +] + +[[package]] +name = "prost-types" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +dependencies = [ + "prost 0.12.6", ] [[package]] name = "psm" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205" dependencies = [ "cc", ] @@ -13218,6 +13496,21 @@ dependencies = [ "unicase", ] +[[package]] +name = "quanta" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + [[package]] name = "quick-error" version = "1.2.3" @@ -13235,9 +13528,9 @@ dependencies = [ [[package]] name = "quick-protobuf-codec" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" +checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" dependencies = [ "asynchronous-codec 0.6.2", "bytes", @@ -13269,63 +13562,106 @@ dependencies = [ ] [[package]] -name = "quicksink" -version = "0.1.2" +name = "quinn" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" +checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" dependencies = [ - "futures-core", - "futures-sink", - "pin-project-lite 0.1.12", + "bytes", + "pin-project-lite", + "quinn-proto 0.9.6", + "quinn-udp 0.3.2", + "rustc-hash 1.1.0", + "rustls 0.20.9", + "thiserror", + "tokio", + "tracing", + "webpki", ] [[package]] name = "quinn" -version = "0.11.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ceeeeabace7857413798eb1ffa1e9c905a9946a57d81fb69b4b71c4d8eb3ad" +checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" dependencies = [ "bytes", "futures-io", - "pin-project-lite 0.2.13", - "quinn-proto 0.11.3", - "quinn-udp", + "pin-project-lite", + "quinn-proto 0.10.6", + "quinn-udp 0.4.1", "rustc-hash 1.1.0", - "rustls 0.23.10", + "rustls 0.21.12", "thiserror", "tokio", "tracing", ] [[package]] -name = "quinn-proto" -version = "0.9.4" +name = "quinn" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31999cfc7927c4e212e60fd50934ab40e8e8bfd2d493d6095d2d306bc0764d9" +checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684" dependencies = [ "bytes", - "rand 0.8.5", - "ring 0.16.20", - "rustc-hash 1.1.0", - "rustls 0.20.8", - "slab", + "futures-io", + "pin-project-lite", + "quinn-proto 0.11.8", + "quinn-udp 0.5.5", + "rustc-hash 2.0.0", + "rustls 0.23.14", + "socket2 0.5.7", "thiserror", - "tinyvec", + "tokio", + "tracing", +] + +[[package]] +name = "quinn-proto" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" +dependencies = [ + "bytes", + "rand 0.8.5", + "ring 0.16.20", + "rustc-hash 1.1.0", + "rustls 0.20.9", + "slab", + "thiserror", + "tinyvec", "tracing", "webpki", ] [[package]] name = "quinn-proto" -version = "0.11.3" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddf517c03a109db8100448a4be38d498df8a210a99fe0e1b9eaf39e78c640efe" +checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" dependencies = [ "bytes", "rand 0.8.5", - "ring 0.17.8", + "ring 0.16.20", "rustc-hash 1.1.0", - "rustls 0.23.10", + "rustls 0.21.12", + "slab", + "thiserror", + "tinyvec", + "tracing", +] + +[[package]] +name = "quinn-proto" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" +dependencies = [ + "bytes", + "rand 0.8.5", + "ring 0.17.8", + "rustc-hash 2.0.0", + "rustls 0.23.14", "slab", "thiserror", "tinyvec", @@ -13334,22 +13670,48 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.2" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +dependencies = [ + "libc", + "quinn-proto 0.9.6", + "socket2 0.4.10", + "tracing", + "windows-sys 0.42.0", +] + +[[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.7", + "tracing", + "windows-sys 0.48.0", +] + +[[package]] +name = "quinn-udp" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9096629c45860fc7fb143e125eb826b5e721e10be3263160c7d60ca832cf8c46" +checksum = "4fe68c2e9e1a1234e218683dbdf9f9dfcb094113c5ac2b938dfcb9bab4c4140b" dependencies = [ "libc", "once_cell", "socket2 0.5.7", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -13382,6 +13744,7 @@ dependencies = [ "libc", "rand_chacha 0.3.1", "rand_core 0.6.4", + "serde", ] [[package]] @@ -13459,6 +13822,15 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "raw-cpuid" +version = "11.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ab240315c661615f2ee9f0f2cd32d5a7343a84d5ebcccb99d46e6637565e7b0" +dependencies = [ + "bitflags 2.6.0", +] + [[package]] name = "rawpointer" version = "0.2.1" @@ -13536,30 +13908,21 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.4.1" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", ] [[package]] name = "redox_users" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.15", - "redox_syscall 0.2.16", + "libredox", "thiserror", ] @@ -13580,7 +13943,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -13607,16 +13970,29 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash 1.1.0", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" -version = "1.10.5" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.2", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", ] [[package]] @@ -13630,13 +14006,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.8.5", ] [[package]] @@ -13647,15 +14023,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" - -[[package]] -name = "regex-syntax" -version = "0.8.2" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "region" @@ -13673,7 +14043,7 @@ dependencies = [ name = "regression-analysis" version = "0.1.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.19", "frame-support", "junit-common", "pallet-gear", @@ -13687,9 +14057,9 @@ dependencies = [ [[package]] name = "rend" -version = "0.4.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581008d2099240d37fb08d77ad713bcaec2c4d89d50b5b21a8bb1996bbab68ab" +checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c" dependencies = [ "bytecheck", ] @@ -13705,11 +14075,11 @@ dependencies = [ "encoding_rs", "futures-core", "futures-util", - "h2 0.3.21", - "http 0.2.9", - "http-body 0.4.5", - "hyper 0.14.27", - "hyper-rustls", + "h2 0.3.26", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.30", + "hyper-rustls 0.24.2", "hyper-tls 0.5.0", "ipnet", "js-sys", @@ -13718,13 +14088,13 @@ dependencies = [ "native-tls", "once_cell", "percent-encoding", - "pin-project-lite 0.2.13", - "rustls 0.21.7", - "rustls-pemfile 1.0.3", + "pin-project-lite", + "rustls 0.21.12", + "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 0.1.2", "system-configuration", "tokio", "tokio-native-tls", @@ -13734,22 +14104,22 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 0.25.2", - "winreg 0.50.0", + "webpki-roots 0.25.4", + "winreg", ] [[package]] name = "reqwest" -version = "0.12.4" +version = "0.12.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" +checksum = "f713147fbe92361e52392c73b8c9e48c04c6625bce969ef54dc901e58e042a7b" dependencies = [ "base64 0.22.1", "bytes", "futures-core", "futures-util", "http 1.1.0", - "http-body 1.0.0", + "http-body 1.0.1", "http-body-util", "hyper 1.4.1", "hyper-tls 0.6.0", @@ -13761,12 +14131,12 @@ dependencies = [ "native-tls", "once_cell", "percent-encoding", - "pin-project-lite 0.2.13", - "rustls-pemfile 2.1.2", + "pin-project-lite", + "rustls-pemfile 2.2.0", "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 1.0.1", "tokio", "tokio-native-tls", "tower-service", @@ -13774,7 +14144,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "winreg 0.52.0", + "windows-registry", ] [[package]] @@ -13797,23 +14167,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "arrayvec 0.7.4", - "blake2 0.10.6", - "common", - "fflonk", - "merlin 3.0.0", -] - [[package]] name = "ring" version = "0.16.20" @@ -13855,12 +14208,13 @@ dependencies = [ [[package]] name = "rkyv" -version = "0.7.42" +version = "0.7.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58" +checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" dependencies = [ "bitvec", "bytecheck", + "bytes", "hashbrown 0.12.3", "indexmap 1.9.3", "ptr_meta", @@ -13868,14 +14222,14 @@ dependencies = [ "rkyv_derive", "seahash", "tinyvec", - "uuid 1.4.1", + "uuid 1.10.0", ] [[package]] name = "rkyv_derive" -version = "0.7.42" +version = "0.7.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" +checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0" dependencies = [ "proc-macro2", "quote", @@ -13922,13 +14276,13 @@ checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" [[package]] name = "rpassword" -version = "7.2.0" +version = "7.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" +checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" dependencies = [ "libc", "rtoolbox", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -13948,12 +14302,12 @@ dependencies = [ [[package]] name = "rtoolbox" -version = "0.0.1" +version = "0.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" +checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" dependencies = [ "libc", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -13991,7 +14345,7 @@ name = "runtime-fuzzer" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.19", "frame-support", "frame-system", "gear-call-gen", @@ -14016,10 +14370,10 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-grandpa", "sp-consensus-slots", - "sp-core", - "sp-io", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "vara-runtime", ] @@ -14035,9 +14389,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -14068,11 +14422,11 @@ dependencies = [ [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.18", + "semver 1.0.23", ] [[package]] @@ -14086,9 +14440,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.15" +version = "0.36.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ "bitflags 1.3.2", "errno", @@ -14100,9 +14454,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.23" +version = "0.37.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags 1.3.2", "errno", @@ -14114,24 +14468,23 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.31" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "errno", "libc", - "linux-raw-sys 0.4.13", + "linux-raw-sys 0.4.14", "windows-sys 0.52.0", ] [[package]] name = "rustls" -version = "0.20.8" +version = "0.20.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" +checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ - "log", "ring 0.16.20", "sct", "webpki", @@ -14139,13 +14492,13 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.7" +version = "0.21.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.16.20", - "rustls-webpki 0.101.4", + "ring 0.17.8", + "rustls-webpki 0.101.7", "sct", ] @@ -14158,22 +14511,22 @@ dependencies = [ "log", "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.4", + "rustls-webpki 0.102.8", "subtle 2.6.1", "zeroize", ] [[package]] name = "rustls" -version = "0.23.10" +version = "0.23.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05cff451f60db80f490f3c182b77c35260baace73209e9cdbbe526bfe3a4d402" +checksum = "415d9944693cb90382053259f89fbb077ea730ad7273047ec63b19bc9b160ba8" dependencies = [ "log", "once_cell", "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.4", + "rustls-webpki 0.102.8", "subtle 2.6.1", "zeroize", ] @@ -14185,19 +14538,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile 1.0.3", + "rustls-pemfile 1.0.4", "schannel", "security-framework", ] [[package]] name = "rustls-native-certs" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04182dffc9091a404e0fc069ea5cd60e5b866c3adf881eff99a32d048242dffa" +checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" dependencies = [ "openssl-probe", - "rustls-pemfile 2.1.2", + "rustls-pemfile 2.2.0", "rustls-pki-types", "schannel", "security-framework", @@ -14205,47 +14558,46 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ "base64 0.21.7", ] [[package]] name = "rustls-pemfile" -version = "2.1.2" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" dependencies = [ - "base64 0.22.1", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.7.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" +checksum = "0e696e35370c65c9c541198af4543ccd580cf17fc25d8e05c5a242b202488c55" [[package]] name = "rustls-platform-verifier" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93bda3f493b9abe5b93b3e7e3ecde0df292f2bd28c0296b90586ee0055ff5123" +checksum = "afbb878bdfdf63a336a5e63561b1835e7a8c91524f51621db870169eac84b490" dependencies = [ "core-foundation", "core-foundation-sys", "jni", "log", "once_cell", - "rustls 0.23.10", - "rustls-native-certs 0.7.2", + "rustls 0.23.14", + "rustls-native-certs 0.7.3", "rustls-platform-verifier-android", - "rustls-webpki 0.102.4", + "rustls-webpki 0.102.8", "security-framework", "security-framework-sys", - "webpki-roots 0.26.3", + "webpki-roots 0.26.6", "winapi", ] @@ -14257,29 +14609,19 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" -version = "0.100.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98ff011474fa39949b7e5c0428f9b4937eda7da7848bbb947786b7be0b27dab" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - -[[package]] -name = "rustls-webpki" -version = "0.101.4" +version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring 0.17.8", + "untrusted 0.9.0", ] [[package]] name = "rustls-webpki" -version = "0.102.4" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "ring 0.17.8", "rustls-pki-types", @@ -14288,9 +14630,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "rusty-fork" @@ -14317,9 +14659,9 @@ dependencies = [ [[package]] name = "rw-stream-sink" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" +checksum = "d8c9026ff5d2f23da5e45bbc283f156383001bfb09c4e44256d02c1a685fe9a1" dependencies = [ "futures", "pin-project", @@ -14338,15 +14680,15 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "safe_arch" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +checksum = "c3460605018fdc9612bce72735cba0d27efbcd9904780d44c7e3a9948f96148a" dependencies = [ "bytemuck", ] @@ -14369,71 +14711,86 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "sc-allocator" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b975ee3a95eaacb611e7b415737a7fa2db4d8ad7b880cc1b97371b04e95c7903" +dependencies = [ + "log", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", +] + [[package]] name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.42.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-block-builder", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "docify", "log", - "memmap2 0.5.10", + "memmap2 0.9.5", "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-network", "sc-telemetry", "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", - "sp-io", - "sp-runtime", - "sp-state-machine", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "12.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.47.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", - "bip39", + "array-bytes", "chrono", - "clap 4.5.9", + "clap 4.5.19", "fdlimit", "futures", - "itertools 0.10.5", - "libp2p-identity 0.1.3", + "itertools 0.11.0", + "libp2p-identity", "log", - "names 0.13.0", + "names", + "parity-bip39", "parity-scale-codec", "rand 0.8.5", "regex", @@ -14450,47 +14807,47 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-panic-handler 13.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tokio", ] [[package]] name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-transaction-pool-api", "sc-utils", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-externalities 0.19.0", - "sp-runtime", - "sp-state-machine", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-statement-store", - "sp-storage 13.0.0", - "sp-trie", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "hash-db", "kvdb", @@ -14504,44 +14861,43 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "futures", - "futures-timer", - "libp2p-identity 0.1.3", "log", - "mockall", + "mockall 0.11.4", "parking_lot 0.12.3", "sc-client-api", + "sc-network-types", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "fork-tree", @@ -14558,63 +14914,64 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "fork-tree", "parity-scale-codec", "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-consensus-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.30.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "ahash 0.8.11", - "array-bytes 6.2.3", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", @@ -14633,31 +14990,33 @@ dependencies = [ "sc-network-common", "sc-network-gossip", "sc-network-sync", + "sc-network-types", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.30.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "finality-grandpa", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "log", "parity-scale-codec", "sc-client-api", @@ -14665,15 +15024,15 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "futures", @@ -14683,75 +15042,157 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", +] + +[[package]] +name = "sc-executor" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f0cc0a3728fd033589183460c5a49b2e7545d09dc89a098216ef9e9aadcd9dc" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-polkavm 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-wasmtime 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "schnellru", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor-common", - "sc-executor-wasmtime", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-polkavm 0.32.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-wasmtime 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "schnellru", - "sp-api", - "sp-core", - "sp-externalities 0.19.0", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface 17.0.0", - "sp-trie", - "sp-version", - "sp-wasm-interface 14.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-panic-handler 13.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tracing", "wasmi 0.13.2", ] [[package]] name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3b703a33dcb7cddf19176fdf12294b9a6408125836b0f4afee3e6969e7f190" +dependencies = [ + "polkavm", + "sc-allocator", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-common" +version = "0.35.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "polkavm", "sp-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "wasm-instrument", ] +[[package]] +name = "sc-executor-polkavm" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26fe58d9cacfab73e5595fa84b80f7bd03efebe54a0574daaeb221a1d1f7ab80" +dependencies = [ + "log", + "polkavm", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sc-executor-polkavm" +version = "0.32.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "log", + "polkavm", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", +] + [[package]] name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd498f2f77ec1f861c30804f5bfd796d4afcc8ce44ea1f11bfbe2847551d161" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "parking_lot 0.12.3", + "rustix 0.36.17", + "sc-allocator", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmtime", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.35.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "anyhow", "cfg-if", "libc", "log", "parking_lot 0.12.3", - "rustix 0.36.15", - "sc-executor-common", + "rustix 0.36.17", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-allocator", - "sp-runtime-interface 17.0.0", - "sp-wasm-interface 14.0.0", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "ansi_term", + "console", "futures", "futures-timer", "log", @@ -14760,218 +15201,212 @@ dependencies = [ "sc-network-common", "sc-network-sync", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "33.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "parking_lot 0.12.3", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-mixnet" -version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.15.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 4.2.0", - "arrayvec 0.7.4", + "array-bytes", + "arrayvec 0.7.6", "blake2 0.10.6", + "bytes", "futures", "futures-timer", - "libp2p-identity 0.1.3", "log", "mixnet", - "multiaddr 0.17.1", + "multiaddr 0.18.2", "parity-scale-codec", "parking_lot 0.12.3", "sc-client-api", "sc-network", + "sc-network-types", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus", - "sp-core", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-mixnet", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "asynchronous-codec 0.6.2", "bytes", + "cid 0.9.0", "either", "fnv", "futures", "futures-timer", "ip_network", - "libp2p 0.51.4", + "libp2p 0.52.4", "linked_hash_set", + "litep2p", "log", - "mockall", + "mockall 0.11.4", + "once_cell", "parity-scale-codec", "parking_lot 0.12.3", "partial_sort", "pin-project", + "prost 0.12.6", + "prost-build 0.12.6", "rand 0.8.5", "sc-client-api", "sc-network-common", + "sc-network-types", "sc-utils", + "schnellru", "serde", "serde_json", "smallvec", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", "unsigned-varint 0.7.2", + "void", "wasm-timer", "zeroize", ] -[[package]] -name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "async-channel 1.9.0", - "cid", - "futures", - "libp2p-identity 0.1.3", - "log", - "prost", - "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", - "thiserror", - "unsigned-varint 0.7.2", -] - [[package]] name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "bitflags 1.3.2", "futures", - "libp2p-identity 0.1.3", + "libp2p-identity", "parity-scale-codec", - "prost-build", + "prost-build 0.12.6", "sc-consensus", + "sc-network-types", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "ahash 0.8.11", "futures", "futures-timer", - "libp2p 0.51.4", "log", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "schnellru", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "futures", - "libp2p-identity 0.1.3", "log", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.12.6", + "prost-build 0.12.6", "sc-client-api", "sc-network", + "sc-network-types", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-network-statement" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.27.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "futures", - "libp2p 0.51.4", "log", "parity-scale-codec", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sp-consensus", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-statement-store", "substrate-prometheus-endpoint", ] [[package]] name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "fork-tree", "futures", "futures-timer", - "libp2p 0.51.4", + "libp2p 0.52.4", "log", - "mockall", + "mockall 0.11.4", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.12.6", + "prost-build 0.12.6", "sc-client-api", "sc-consensus", "sc-network", "sc-network-common", + "sc-network-types", "sc-utils", "schnellru", "smallvec", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -14980,38 +15415,54 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", - "libp2p 0.51.4", "log", "parity-scale-codec", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sc-utils", "sp-consensus", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", ] [[package]] -name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +name = "sc-network-types" +version = "0.12.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", - "bytes", - "fnv", - "futures", - "futures-timer", - "hyper 0.14.27", - "hyper-rustls", - "libp2p 0.51.4", + "bs58 0.5.1", + "ed25519-dalek", + "libp2p-identity", + "litep2p", "log", - "num_cpus", + "multiaddr 0.18.2", + "multihash 0.19.1", + "rand 0.8.5", + "thiserror", + "zeroize", +] + +[[package]] +name = "sc-offchain" +version = "40.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "array-bytes", + "bytes", + "fnv", + "futures", + "futures-timer", + "hyper 0.14.30", + "hyper-rustls 0.24.2", + "log", + "num_cpus", "once_cell", "parity-scale-codec", "parking_lot 0.12.3", @@ -15019,22 +15470,23 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-types", "sc-transaction-pool-api", "sc-utils", - "sp-api", - "sp-core", - "sp-externalities 0.19.0", - "sp-keystore", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "threadpool", "tracing", ] [[package]] name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.18.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -15042,11 +15494,11 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "40.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -15059,25 +15511,25 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", "sp-rpc", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", "sp-statement-store", - "sp-version", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", ] [[package]] name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "parity-scale-codec", "sc-chain-spec", "sc-mixnet", @@ -15085,52 +15537,64 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "17.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "http 0.2.9", - "jsonrpsee 0.16.3", + "dyn-clone", + "forwarded-header-value", + "futures", + "governor", + "http 1.1.0", + "http-body-util", + "hyper 1.4.1", + "ip_network", + "jsonrpsee 0.24.5", "log", + "sc-rpc-api", + "serde", "serde_json", "substrate-prometheus-endpoint", "tokio", - "tower", + "tower 0.4.13", "tower-http", ] [[package]] name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", "futures-util", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "log", "parity-scale-codec", "parking_lot 0.12.3", + "rand 0.8.5", "sc-chain-spec", "sc-client-api", + "sc-rpc", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tokio", "tokio-stream", @@ -15138,15 +15602,15 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.46.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -15156,15 +15620,15 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-consensus", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-informant", "sc-keystore", "sc-network", - "sc-network-bitswap", "sc-network-common", "sc-network-light", "sc-network-sync", "sc-network-transactions", + "sc-network-types", "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", @@ -15174,22 +15638,23 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities 0.19.0", - "sp-keystore", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", - "sp-state-machine", - "sp-storage 13.0.0", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -15201,21 +15666,21 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.36.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-sync-state-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -15225,14 +15690,14 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "derive_more 0.99.18", "futures", @@ -15244,23 +15709,25 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "25.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "chrono", "futures", - "libp2p 0.51.4", + "libp2p 0.52.4", "log", "parking_lot 0.12.3", "pin-project", "rand 0.8.5", + "sc-network", "sc-utils", "serde", "serde_json", @@ -15270,48 +15737,48 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "ansi_term", - "atty", "chrono", + "console", + "is-terminal", "lazy_static", "libc", "log", + "parity-scale-codec", "parking_lot 0.12.3", - "regex", "rustc-hash 1.1.0", "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-tracing 10.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tracing", - "tracing-log 0.1.3", - "tracing-subscriber 0.2.25", + "tracing-log", + "tracing-subscriber", ] [[package]] name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "11.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "futures", @@ -15324,11 +15791,12 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing 10.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -15336,8 +15804,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "futures", @@ -15345,15 +15813,15 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "17.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-channel 1.9.0", "futures", @@ -15362,7 +15830,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -15452,7 +15920,7 @@ version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", @@ -15477,15 +15945,15 @@ dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.71", + "syn 2.0.79", "thiserror", ] [[package]] name = "scale-value" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4d772cfb7569e03868400344a1695d16560bf62b86b918604773607d39ec84" +checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" dependencies = [ "base58", "blake2 0.10.6", @@ -15504,43 +15972,18 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "schemars" -version = "0.8.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92" -dependencies = [ - "dyn-clone", - "schemars_derive", - "serde", - "serde_json", - "url", -] - -[[package]] -name = "schemars_derive" -version = "0.8.21" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e" +checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b" dependencies = [ - "proc-macro2", - "quote", - "serde_derive_internals", - "syn 2.0.71", + "windows-sys 0.59.0", ] [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ "ahash 0.8.11", "cfg-if", @@ -15571,9 +16014,9 @@ version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ - "aead 0.5.2", + "aead", "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "curve25519-dalek 4.1.3", "getrandom_or_panic", "merlin 3.0.0", @@ -15616,12 +16059,27 @@ dependencies = [ [[package]] name = "sct" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", + "ring 0.17.8", + "untrusted 0.9.0", +] + +[[package]] +name = "sctp-proto" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6220f78bb44c15f326b0596113305f6101097a18755d53727a575c97e09fb24" +dependencies = [ + "bytes", + "crc", + "fxhash", + "log", + "rand 0.8.5", + "slab", + "thiserror", ] [[package]] @@ -15640,44 +16098,45 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", + "serdect", "subtle 2.6.1", "zeroize", ] [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ - "secp256k1-sys 0.6.1", + "secp256k1-sys 0.9.2", ] [[package]] name = "secp256k1" -version = "0.29.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0cc0f1cf93f4969faf3ea1c7d8a9faed25918d96affa959720823dfe86d4f3" +checksum = "9465315bc9d4566e1724f0fffcbcc446268cb522e60f9a27bcded6b19c108113" dependencies = [ "bitcoin_hashes 0.14.0", "rand 0.8.5", - "secp256k1-sys 0.10.0", + "secp256k1-sys 0.10.1", ] [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] [[package]] name = "secp256k1-sys" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1433bd67156263443f14d603720b082dd3121779323fce20cba2aa07b874bc1b" +checksum = "d4387882333d3aa8cb20530a17c69a3752e97837832f34f6dccc760e715001d9" dependencies = [ "cc", ] @@ -15713,11 +16172,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.10.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", @@ -15727,9 +16186,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.1" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" +checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" dependencies = [ "core-foundation-sys", "libc", @@ -15761,9 +16220,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.18" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -15797,9 +16256,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.205" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33aedb1a7135da52b7c21791455563facbbcc43d0f0f66165b42c21b3dfb150" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] @@ -15824,65 +16283,45 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_cbor" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" -dependencies = [ - "half", - "serde", -] - [[package]] name = "serde_derive" -version = "1.0.205" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692d6f5ac90220161d6774db30c662202721e64aed9058d2c394f451261420c1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.71", -] - -[[package]] -name = "serde_derive_internals" -version = "0.29.1" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] [[package]] name = "serde_repr" -version = "0.1.16" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00" +checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -15901,15 +16340,15 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.8.1" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad483d2ab0149d5a5ebcd9972a3852711e0153d863bf5a5d0391d28883c4a20" +checksum = "8e28bdad6db2b8340e449f7108f020b3b092e8583a9e3fb82713e1d4e71fe817" dependencies = [ "base64 0.22.1", "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.2.6", + "indexmap 2.6.0", "serde", "serde_derive", "serde_json", @@ -15919,27 +16358,24 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.8.1" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65569b702f41443e8bc8bbb1c5779bd0450bbe723b56198980e80ec45780bce2" +checksum = "9d846214a9854ef724f3da161b426242d8de7c1fc7de2f89bb1efcb154dca79d" dependencies = [ "darling 0.20.10", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" +name = "serdect" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" +checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" dependencies = [ - "indexmap 2.2.6", - "itoa", - "ryu", + "base16ct", "serde", - "unsafe-libyaml", ] [[package]] @@ -15952,7 +16388,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -15964,6 +16400,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.10.7", + "sha1-asm", ] [[package]] @@ -15977,6 +16414,15 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha1-asm" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "286acebaf8b67c1130aedffad26f594eff0c1292389158135327d2e23aed582b" +dependencies = [ + "cc", +] + [[package]] name = "sha2" version = "0.8.2" @@ -15999,7 +16445,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -16025,9 +16471,9 @@ dependencies = [ [[package]] name = "sha3-asm" -version = "0.1.1" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9b57fd861253bff08bb1919e995f90ba8f4889de2726091c8876f3a4e823b40" +checksum = "c28efc5e327c837aa837c59eae585fc250715ef939ac32881bcc11677cd02d46" dependencies = [ "cc", "cfg-if", @@ -16035,9 +16481,9 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ "lazy_static", ] @@ -16054,24 +16500,24 @@ dependencies = [ [[package]] name = "shlex" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] [[package]] name = "signature" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest 0.10.7", "rand_core 0.6.4", @@ -16092,9 +16538,24 @@ dependencies = [ [[package]] name = "simdutf8" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simple-dns" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" +dependencies = [ + "bitflags 2.6.0", +] + +[[package]] +name = "simple-mermaid" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" [[package]] name = "simple_asn1" @@ -16143,14 +16604,14 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" -version = "2.0.1" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aad24f41392790e6ac67f4f4cd871da61f7d758e07b5622431e491e897d9c8a7" +checksum = "a33bd3e260892199c3ccfc487c88b2da2265080acb316cd920da72fdfd7c599f" dependencies = [ "async-channel 2.3.1", "async-executor", "async-fs", - "async-io 2.3.3", + "async-io 2.3.4", "async-lock 3.4.0", "async-net", "async-process", @@ -16164,17 +16625,17 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "async-lock 3.4.0", "atomic-take", "base64 0.21.7", "bip39", "blake2-rfc", "bs58 0.5.1", - "chacha20 0.9.1", + "chacha20", "crossbeam-queue", "derive_more 0.99.18", - "ed25519-zebra 4.0.3", + "ed25519-zebra", "either", "event-listener 4.0.3", "fnv", @@ -16194,7 +16655,7 @@ dependencies = [ "num-traits", "pbkdf2 0.12.2", "pin-project", - "poly1305 0.8.0", + "poly1305", "rand 0.8.5", "rand_chacha 0.3.1", "ruzstd", @@ -16209,7 +16670,7 @@ dependencies = [ "soketto 0.7.1", "twox-hash", "wasmi 0.31.2", - "x25519-dalek 2.0.1", + "x25519-dalek", "zeroize", ] @@ -16234,7 +16695,7 @@ dependencies = [ "hex", "itertools 0.12.1", "log", - "lru 0.12.3", + "lru", "no-std-net", "parking_lot 0.12.3", "pin-project", @@ -16251,32 +16712,32 @@ dependencies = [ [[package]] name = "snap" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" +checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "snow" -version = "0.9.3" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c9d1425eb528a21de2755c75af4c9b5d57f50a0d4c3b7f1828a4cd03f8ba155" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" dependencies = [ - "aes-gcm 0.9.2", + "aes-gcm", "blake2 0.10.6", "chacha20poly1305", "curve25519-dalek 4.1.3", "rand_core 0.6.4", - "ring 0.16.20", - "rustc_version 0.4.0", + "ring 0.17.8", + "rustc_version 0.4.1", "sha2 0.10.8", "subtle 2.6.1", ] [[package]] name = "socket2" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" dependencies = [ "libc", "winapi", @@ -16300,9 +16761,8 @@ checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ "base64 0.13.1", "bytes", - "flate2", "futures", - "http 0.2.9", + "http 0.2.12", "httparse", "log", "rand 0.8.5", @@ -16341,8 +16801,8 @@ dependencies = [ [[package]] name = "sp-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "29.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "log", "parity-scale-codec", @@ -16352,250 +16812,276 @@ dependencies = [ [[package]] name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbce492e0482134128b7729ea36f5ef1a9f9b4de2d48ff8dde7b5e464e28ce75" +dependencies = [ + "docify", + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "docify", "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-externalities 0.19.0", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std 8.0.0", - "sp-trie", - "sp-version", + "sp-api-proc-macro 20.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9aadf9e97e694f0e343978aa632938c5de309cbcc8afed4136cb71596737278" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.2.0", + "proc-macro2", + "quote", + "syn 2.0.79", +] + +[[package]] +name = "sp-api-proc-macro" +version = "20.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "Inflector", + "blake2 0.10.6", + "expander", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", +] + +[[package]] +name = "sp-application-crypto" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8133012faa5f75b2f0b1619d9f720c1424ac477152c143e5f7dbde2fe1a958" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" dependencies = [ + "docify", "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions", ] [[package]] -name = "sp-ark-bls12-381" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" -dependencies = [ - "ark-bls12-381-ext", - "sp-crypto-ec-utils 0.10.0", -] - -[[package]] -name = "sp-ark-ed-on-bls12-381-bandersnatch" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +name = "sp-arithmetic" +version = "26.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "ark-ed-on-bls12-381-bandersnatch-ext", - "sp-crypto-ec-utils 0.10.0", + "docify", + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "static_assertions", ] [[package]] name = "sp-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "futures", - "log", "parity-scale-codec", "parking_lot 0.12.3", "schnellru", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", + "tracing", ] [[package]] name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "futures", "log", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] -[[package]] -name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", - "sp-timestamp", -] - [[package]] name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus-slots", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", ] [[package]] name = "sp-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "21.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", "sp-timestamp", ] [[package]] name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c961a5e33fb2962fa775c044ceba43df9c6f917e2c35d63bfe23738468fa76a7" dependencies = [ - "array-bytes 6.2.3", - "bandersnatch_vrfs", - "bip39", + "array-bytes", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", "bs58 0.5.1", "dyn-clonable", - "ed25519-zebra 3.1.0", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", "impl-serde", - "itertools 0.10.5", - "lazy_static", + "itertools 0.11.0", + "k256", "libsecp256k1", "log", - "merlin 2.0.1", + "merlin 3.0.0", + "parity-bip39", "parity-scale-codec", "parking_lot 0.12.3", "paste", "primitive-types", "rand 0.8.5", - "regex", "scale-info", - "schnorrkel 0.9.1", - "secp256k1 0.24.3", + "schnorrkel 0.11.4", + "secp256k1 0.28.2", "secrecy", "serde", - "sp-allocator", - "sp-core-hashing", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "ss58-registry", - "substrate-bip39", + "substrate-bip39 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", "tracing", "w3f-bls", @@ -16603,32 +17089,55 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +name = "sp-core" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "quote", - "sp-core-hashing", - "syn 2.0.71", + "array-bytes", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "itertools 0.11.0", + "k256", + "libsecp256k1", + "log", + "merlin 3.0.0", + "parity-bip39", + "parity-scale-codec", + "parking_lot 0.12.3", + "paste", + "primitive-types", + "rand 0.8.5", + "scale-info", + "schnorrkel 0.11.4", + "secp256k1 0.28.2", + "secrecy", + "serde", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "ss58-registry", + "substrate-bip39 0.6.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "thiserror", + "tracing", + "w3f-bls", + "zeroize", ] [[package]] name = "sp-crypto-ec-utils" -version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.14.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -16641,36 +17150,29 @@ dependencies = [ "ark-ed-on-bls12-377-ext", "ark-ed-on-bls12-381-bandersnatch", "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale 0.0.12", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", + "ark-scale", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +name = "sp-crypto-hashing" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ - "ark-bls12-377", - "ark-bls12-377-ext", - "ark-bls12-381", - "ark-bls12-381-ext", - "ark-bw6-761", - "ark-bw6-761-ext", - "ark-ec", - "ark-ed-on-bls12-377", - "ark-ed-on-bls12-377-ext", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale 0.0.12", - "sp-runtime-interface 24.0.0", + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3", + "twox-hash", ] [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "blake2b_simd", "byteorder", @@ -16680,10 +17182,31 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" +dependencies = [ + "quote", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 2.0.79", +] + +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "quote", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "syn 2.0.79", +] + [[package]] name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "10.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -16691,121 +17214,171 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a904407d61cb94228c71b55a9d3708e9d6558991f9e83bd42bd91df37a159d30" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-externalities" -version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "0.29.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 19.0.0", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-genesis-builder" -version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.15.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "parity-scale-codec", + "scale-info", "serde_json", - "sp-api", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ef7eb561bb4839cc8424ce58c5ea236cbcca83f26fcc0426d8decfe8aa97d4" dependencies = [ "bytes", + "docify", "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", + "polkavm-derive", "rustversion", - "secp256k1 0.24.3", - "sp-core", - "sp-externalities 0.19.0", - "sp-keystore", - "sp-runtime-interface 17.0.0", - "sp-state-machine", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-trie", + "secp256k1 0.28.2", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "bytes", + "docify", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "polkavm-derive", + "rustversion", + "secp256k1 0.28.2", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tracing", "tracing-core", ] [[package]] name = "sp-keyring" -version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "lazy_static", - "sp-core", - "sp-runtime", - "strum 0.24.1", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "strum 0.26.3", ] [[package]] name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0248b4d784cb4a01472276928977121fa39d977a5bb24793b6b15e64b046df42" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-keystore" +version = "0.40.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core", - "sp-externalities 0.19.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" +dependencies = [ "thiserror", + "zstd 0.12.4", ] [[package]] name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "11.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "thiserror", "zstd 0.12.4", @@ -16813,55 +17386,74 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a616fa51350b35326682a472ee8e6ba742fdacb18babac38ecd46b3e05ead869" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.7.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-std 8.0.0", ] [[package]] name = "sp-mixnet" -version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.12.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f5a17a0a11de029a8b811cb6e8b32ce7e02183cc04a3e965c383246798c416" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-panic-handler" +version = "13.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "backtrace", "lazy_static", @@ -16870,131 +17462,185 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "32.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "rustc-hash 1.1.0", "serde", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "806f19b91dc283145e0580353e6ae68e4e634c0915d3dd950f57547b90b55a8c" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", + "num-traits", "parity-scale-codec", "paste", "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std 8.0.0", - "sp-weights", + "simple-mermaid", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", +] + +[[package]] +name = "sp-runtime" +version = "39.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "docify", + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "num-traits", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "simple-mermaid", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "tracing", ] [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985eb981f40c689c6a0012c937b68ed58dabb4341d06f2dfe4dfd5ed72fa4017" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive", "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface-proc-macro 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions", ] [[package]] name = "sp-runtime-interface" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "28.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive", "primitive-types", - "sp-externalities 0.25.0", - "sp-runtime-interface-proc-macro 17.0.0", - "sp-std 14.0.0", - "sp-storage 19.0.0", - "sp-tracing 16.0.0", - "sp-wasm-interface 20.0.0", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface-proc-macro 18.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" dependencies = [ "Inflector", - "proc-macro-crate 1.1.3", + "expander", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "18.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "Inflector", "expander", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "36.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "36.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", +] + +[[package]] +name = "sp-state-machine" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "930104d6ae882626e8880d9b1578da9300655d337a3ffb45e130c608b6c89660" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand 0.8.5", + "smallvec", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", + "tracing", + "trie-db", ] [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.43.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "hash-db", "log", @@ -17002,11 +17648,10 @@ dependencies = [ "parking_lot 0.12.3", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities 0.19.0", - "sp-panic-handler", - "sp-std 8.0.0", - "sp-trie", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-panic-handler 13.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tracing", "trie-db", @@ -17014,10 +17659,10 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "18.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "aes-gcm 0.10.3", + "aes-gcm", "curve25519-dalek 4.1.3", "ed25519-dalek", "hkdf 0.12.4", @@ -17025,120 +17670,119 @@ dependencies = [ "rand 0.8.5", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-externalities 0.19.0", - "sp-runtime", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", - "x25519-dalek 2.0.1", + "x25519-dalek", ] [[package]] name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" [[package]] name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-storage" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "21.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf641a1d17268c8fcfdb8e0fa51a79c2d4222f4cfda5f3944dbdbc384dced8d5" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0", "tracing", "tracing-core", - "tracing-subscriber 0.2.25", + "tracing-subscriber", ] [[package]] name = "sp-tracing" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "17.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", "tracing", "tracing-core", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", - "sp-trie", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6282aef9f4b6ecd95a67a45bcdb67a71f4a4155c09a53c10add4ffe823db18cd" dependencies = [ "ahash 0.8.11", "hash-db", - "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -17147,8 +17791,31 @@ dependencies = [ "rand 0.8.5", "scale-info", "schnellru", - "sp-core", - "sp-std 8.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", + "tracing", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-trie" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "ahash 0.8.11", + "hash-db", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand 0.8.5", + "scale-info", + "schnellru", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tracing", "trie-db", @@ -17157,80 +17824,126 @@ dependencies = [ [[package]] name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d521a405707b5be561367cd3d442ff67588993de24062ce3adefcf8437ee9fe1" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-crypto-hashing-proc-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version-proc-macro 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std 8.0.0", - "sp-version-proc-macro", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version-proc-macro 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aee8f6730641a65fcf0c8f9b1e448af4b3bb083d08058b47528188bccc7b7a7" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] -name = "sp-wasm-interface" +name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.79", +] + +[[package]] +name = "sp-wasm-interface" +version = "21.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b066baa6d57951600b14ffe1243f54c47f9c23dd89c262e17ca00ae8dca58be9" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-allocator", - "sp-std 8.0.0", - "sp-wasm-interface-common", "wasmtime", ] [[package]] name = "sp-wasm-interface" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "21.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", + "sp-allocator", + "sp-wasm-interface-common", + "wasmtime", ] [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wasmi 0.13.2", ] [[package]] name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "31.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93cdaf72a1dad537bbb130ba4d47307ebe5170405280ed1aa31fa712718a400e" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-weights" +version = "31.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +dependencies = [ + "bounded-collections", + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -17256,11 +17969,20 @@ dependencies = [ "strum 0.24.1", ] +[[package]] +name = "spinning_top" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" +dependencies = [ + "lock_api", +] + [[package]] name = "spki" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", "der", @@ -17268,9 +17990,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.43.0" +version = "1.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6915280e2d0db8911e5032a5c275571af6bdded2916abd691a659be25d3439" +checksum = "43fce22ed1df64d04b262351c8f9d5c6da4f76f79f25ad15529792f893fad25d" dependencies = [ "Inflector", "num-format", @@ -17335,9 +18057,29 @@ dependencies = [ [[package]] name = "str-buf" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e75b72ee54e2f93c3ea1354066162be893ee5e25773ab743de3e088cecbb4f31" +checksum = "0ceb97b7225c713c2fd4db0153cb6b3cab244eb37900c3f634ed4d43310d8c34" + +[[package]] +name = "str0m" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" +dependencies = [ + "combine", + "crc", + "fastrand 2.1.1", + "hmac 0.12.1", + "once_cell", + "openssl", + "openssl-sys", + "sctp-proto", + "serde", + "sha-1 0.10.1", + "thiserror", + "tracing", +] [[package]] name = "string_cache" @@ -17405,17 +18147,11 @@ dependencies = [ [[package]] name = "strum" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" - -[[package]] -name = "strum" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" dependencies = [ - "strum_macros 0.26.2", + "strum_macros 0.26.4", ] [[package]] @@ -17433,73 +18169,75 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.25.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "rustversion", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] -name = "strum_macros" -version = "0.26.2" +name = "substrate-bip39" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.71", + "hmac 0.12.1", + "pbkdf2 0.12.2", + "schnorrkel 0.11.4", + "sha2 0.10.8", + "zeroize", ] [[package]] name = "substrate-bip39" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" +version = "0.6.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.9.1", - "sha2 0.9.9", + "hmac 0.12.1", + "pbkdf2 0.12.2", + "schnorrkel 0.11.4", + "sha2 0.10.8", "zeroize", ] [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "11.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" [[package]] name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ + "docify", "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "log", "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.17.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "hyper 0.14.27", + "http-body-util", + "hyper 1.4.1", + "hyper-util", "log", "prometheus", "thiserror", @@ -17508,74 +18246,87 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ "async-trait", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "substrate-state-trie-migration-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.5", "parity-scale-codec", "sc-client-api", "sc-rpc-api", "serde", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "trie-db", ] [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-trait", "futures", "parity-scale-codec", "sc-client-api", "sc-client-db", "sc-consensus", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-offchain", "sc-service", "serde", "serde_json", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-state-machine", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "tokio", ] [[package]] name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "24.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf035ffe7335fb24053edfe4d0a5780250eda772082a1b80ae25835dd4c09265" dependencies = [ - "ansi_term", + "array-bytes", "build-helper", "cargo_metadata 0.15.4", + "console", "filetime", + "frame-metadata 16.0.0", + "jobserver", + "merkleized-metadata", + "parity-scale-codec", "parity-wasm", - "sp-maybe-compressed-blob", - "strum 0.24.1", + "polkavm-linker", + "sc-executor 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "strum 0.26.3", "tempfile", - "toml 0.7.8", + "toml 0.8.19", "walkdir", "wasm-opt", ] @@ -17617,7 +18368,7 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "subxt-lightclient", "subxt-macro", @@ -17644,7 +18395,7 @@ dependencies = [ "scale-info", "scale-typegen", "subxt-metadata", - "syn 2.0.71", + "syn 2.0.79", "thiserror", "tokio", ] @@ -17671,7 +18422,7 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-metadata", "tracing", ] @@ -17705,7 +18456,7 @@ dependencies = [ "quote", "scale-typegen", "subxt-codegen", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -17718,7 +18469,7 @@ dependencies = [ "hashbrown 0.14.5", "parity-scale-codec", "scale-info", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -17732,7 +18483,7 @@ dependencies = [ "hex", "once_cell", "reqwest 0.11.27", - "semver 1.0.18", + "semver 1.0.23", "serde", "serde_json", "sha2 0.10.8", @@ -17754,9 +18505,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.71" +version = "2.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" +checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" dependencies = [ "proc-macro2", "quote", @@ -17765,14 +18516,14 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.0" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284c41c2919303438fcf8dede4036fd1e82d4fc0fbb2b279bd2a1442c909ca92" +checksum = "f3a850d65181df41b83c6be01a7d91f5e9377c43d48faa5af7d95816f437f5a3" dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -17781,6 +18532,15 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "sync_wrapper" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" +dependencies = [ + "futures-core", +] + [[package]] name = "synstructure" version = "0.12.6" @@ -17801,7 +18561,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -17855,33 +18615,23 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" -[[package]] -name = "tar" -version = "0.4.41" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909" -dependencies = [ - "filetime", - "libc", - "xattr", -] - [[package]] name = "target-lexicon" -version = "0.12.14" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" -version = "3.10.1" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" dependencies = [ "cfg-if", - "fastrand 2.0.1", - "rustix 0.38.31", - "windows-sys 0.52.0", + "fastrand 2.1.1", + "once_cell", + "rustix 0.38.37", + "windows-sys 0.59.0", ] [[package]] @@ -17897,21 +18647,21 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.2.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] [[package]] name = "terminal_size" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef" dependencies = [ - "rustix 0.38.31", - "windows-sys 0.48.0", + "rustix 0.38.37", + "windows-sys 0.59.0", ] [[package]] @@ -17940,28 +18690,28 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.16.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" +checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" -version = "1.0.62" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" +checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.62" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c" +checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -17972,9 +18722,9 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "thread_local" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ "cfg-if", "once_cell", @@ -18041,9 +18791,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -18056,32 +18806,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot 0.12.3", - "pin-project-lite 0.2.13", + "pin-project-lite", "signal-hook-registry", "socket2 0.5.7", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -18111,7 +18860,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.7", + "rustls 0.21.12", "tokio", ] @@ -18132,19 +18881,19 @@ version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.10", + "rustls 0.23.14", "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", "tokio", "tokio-util", ] @@ -18170,11 +18919,12 @@ checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ "futures-util", "log", - "rustls 0.21.7", + "rustls 0.21.12", + "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.24.1", "tungstenite 0.20.1", - "webpki-roots 0.25.2", + "webpki-roots 0.25.4", ] [[package]] @@ -18185,25 +18935,25 @@ checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd" dependencies = [ "futures-util", "log", - "rustls 0.23.10", + "rustls 0.23.14", "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", "tungstenite 0.23.0", - "webpki-roots 0.26.3", + "webpki-roots 0.26.6", ] [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite", "tokio", ] @@ -18218,72 +18968,36 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.19.15", -] - -[[package]] -name = "toml" -version = "0.8.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.22.14", + "toml_edit", ] [[package]] name = "toml_datetime" -version = "0.6.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.19.15" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" dependencies = [ - "indexmap 2.2.6", "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.5.15", ] [[package]] name = "toml_edit" -version = "0.21.1" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow 0.5.15", -] - -[[package]] -name = "toml_edit" -version = "0.22.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" -dependencies = [ - "indexmap 2.2.6", + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.6", + "winnow", ] [[package]] @@ -18297,7 +19011,7 @@ dependencies = [ "hdrhistogram", "indexmap 1.9.3", "pin-project", - "pin-project-lite 0.2.13", + "pin-project-lite", "rand 0.8.5", "slab", "tokio", @@ -18308,34 +19022,46 @@ dependencies = [ ] [[package]] -name = "tower-http" -version = "0.4.4" +name = "tower" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" dependencies = [ - "bitflags 2.5.0", - "bytes", "futures-core", "futures-util", - "http 0.2.9", - "http-body 0.4.5", - "http-range-header", - "pin-project-lite 0.2.13", + "pin-project-lite", + "sync_wrapper 0.1.2", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" +dependencies = [ + "bitflags 2.6.0", + "bytes", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "pin-project-lite", "tower-layer", "tower-service", ] [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" @@ -18344,7 +19070,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.13", + "pin-project-lite", "tracing-attributes", "tracing-core", ] @@ -18358,7 +19084,7 @@ dependencies = [ "crossbeam-channel", "thiserror", "time", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -18369,7 +19095,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -18389,7 +19115,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" dependencies = [ "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -18402,17 +19128,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -18434,38 +19149,16 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-subscriber" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" -dependencies = [ - "ansi_term", - "chrono", - "lazy_static", - "matchers 0.0.1", - "parking_lot 0.11.2", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log 0.1.3", - "tracing-serde", -] - [[package]] name = "tracing-subscriber" version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ - "matchers 0.1.0", + "matchers", "nu-ansi-term", "once_cell", + "parking_lot 0.12.3", "regex", "serde", "serde_json", @@ -18475,18 +19168,17 @@ dependencies = [ "time", "tracing", "tracing-core", - "tracing-log 0.2.0", + "tracing-log", "tracing-serde", ] [[package]] name = "trie-db" -version = "0.28.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" +checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" dependencies = [ "hash-db", - "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -18519,7 +19211,32 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.4.10", + "thiserror", + "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", "tinyvec", "tokio", @@ -18529,70 +19246,36 @@ dependencies = [ [[package]] name = "trust-dns-resolver" -version = "0.22.0" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" +checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" dependencies = [ "cfg-if", "futures-util", "ipconfig", - "lazy_static", "lru-cache", + "once_cell", "parking_lot 0.12.3", + "rand 0.8.5", "resolv-conf", "smallvec", "thiserror", "tokio", "tracing", - "trust-dns-proto", + "trust-dns-proto 0.23.2", ] [[package]] name = "try-lock" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "async-trait", - "clap 4.5.9", - "frame-remote-externalities", - "hex", - "log", - "parity-scale-codec", - "sc-cli", - "sc-executor", - "serde", - "serde_json", - "sp-api", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", - "sp-transaction-storage-proof", - "sp-version", - "sp-weights", - "substrate-rpc-client", - "zstd 0.12.4", -] +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "trybuild" -version = "1.0.96" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33a5f13f11071020bb12de7a16b925d2d58636175c20c11dc5f96cb64bb6c9b3" +checksum = "207aa50d36c4be8d8c6ea829478be44a372c6a77669937bb39c698e52f1491e8" dependencies = [ "dissimilar", "glob 0.3.1", @@ -18600,7 +19283,7 @@ dependencies = [ "serde_derive", "serde_json", "termcolor", - "toml 0.8.14", + "toml 0.8.19", ] [[package]] @@ -18618,11 +19301,11 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http 0.2.9", + "http 0.2.12", "httparse", "log", "rand 0.8.5", - "rustls 0.21.7", + "rustls 0.21.12", "sha1", "thiserror", "url", @@ -18642,7 +19325,7 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "rustls 0.23.10", + "rustls 0.23.14", "rustls-pki-types", "sha1", "thiserror", @@ -18663,15 +19346,15 @@ dependencies = [ [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" [[package]] name = "uint" @@ -18691,7 +19374,7 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c8a2469e56e6e5095c82ccd3afb98dad95f7af7929aab6d8ba8d6e0f73657da" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", ] [[package]] @@ -18711,15 +19394,15 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.13" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893" [[package]] name = "unicode-ident" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" @@ -18732,31 +19415,21 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.1.10" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-xid" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" - -[[package]] -name = "universal-hash" -version = "0.4.0" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402" -dependencies = [ - "generic-array 0.14.7", - "subtle 2.6.1", -] +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "universal-hash" @@ -18768,12 +19441,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "unsafe-libyaml" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" - [[package]] name = "unsigned-varint" version = "0.7.2" @@ -18791,6 +19458,10 @@ name = "unsigned-varint" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" +dependencies = [ + "bytes", + "tokio-util", +] [[package]] name = "untrusted" @@ -18824,9 +19495,9 @@ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" @@ -18840,9 +19511,9 @@ dependencies = [ [[package]] name = "uuid" -version = "1.4.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" +checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "valuable" @@ -18859,6 +19530,7 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -18923,25 +19595,25 @@ dependencies = [ "pallet-whitelist", "parity-scale-codec", "scale-info", - "sp-api", - "sp-arithmetic", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", "sp-inherents", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-session", "sp-staking", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", - "sp-version", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-build-script-utils", "substrate-wasm-builder", "wabt", @@ -18962,9 +19634,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "void" @@ -18974,9 +19646,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -19034,9 +19706,9 @@ checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" [[package]] name = "walkdir" -version = "2.3.3" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -19061,8 +19733,8 @@ dependencies = [ "futures-channel", "futures-util", "headers", - "http 0.2.9", - "hyper 0.14.27", + "http 0.2.12", + "hyper 0.14.30", "log", "mime", "mime_guess", @@ -19098,34 +19770,35 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" dependencies = [ "cfg-if", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.37" +version = "0.4.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" +checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" dependencies = [ "cfg-if", "js-sys", @@ -19135,9 +19808,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -19145,22 +19818,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wasm-encoder" @@ -19183,15 +19856,15 @@ dependencies = [ name = "wasm-info" version = "0.1.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.19", "hex", "parity-wasm", ] [[package]] name = "wasm-instrument" -version = "0.3.0" -source = "git+https://github.com/gear-tech/wasm-instrument?branch=v0.3.0-sign-ext#7d5226a805b39ed297e78427c21ee2cb39795139" +version = "0.4.0" +source = "git+https://github.com/gear-tech/wasm-instrument?branch=v0.4.0-sign-ext#e57b713873d4364e41ed495893a2f06a80cca5ab" dependencies = [ "parity-wasm", ] @@ -19240,7 +19913,7 @@ dependencies = [ name = "wasm-proc" version = "1.6.1" dependencies = [ - "clap 4.5.9", + "clap 4.5.19", "env_logger", "gear-wasm-builder", "log", @@ -19254,7 +19927,7 @@ source = "git+https://github.com/gear-tech/wasm-tools.git?branch=gear-stable#ffe dependencies = [ "arbitrary", "flagset", - "indexmap 2.2.6", + "indexmap 2.6.0", "leb128", "wasm-encoder 0.35.0", "wasmparser 0.115.0", @@ -19277,9 +19950,9 @@ dependencies = [ [[package]] name = "wasmer" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a6e0f73e5ae361fe64db607eaf4ab2381d88ad2c1b0bb8cf254cf35d894687" +checksum = "2d920d06243e9f456c336c428a34560357dedf59d9febaae14f1995ac120cff6" dependencies = [ "bytes", "cfg-if", @@ -19302,14 +19975,14 @@ dependencies = [ "wasmer-types", "wasmer-vm", "wat", - "winapi", + "windows-sys 0.59.0", ] [[package]] name = "wasmer-cache" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79fd0889f8844b7c70b8ee8fbf1d1f6ccff99399c6f3d3627048cde04b1ac493" +checksum = "4e2aa507d7ab1d7f6038f60ca107bc4629c5dbf3a0e18427091b7576b0ffbbd9" dependencies = [ "blake3", "hex", @@ -19319,9 +19992,9 @@ dependencies = [ [[package]] name = "wasmer-compiler" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb1e7c79507f5d55f1afd99984717e8380440cd98e13d542e4d00661f986f2d4" +checksum = "0e01832173aa52345e480965f18c638a8a5a9e5e4d85a48675bdf1964147dc7f" dependencies = [ "backtrace", "bytes", @@ -19331,7 +20004,7 @@ dependencies = [ "lazy_static", "leb128", "libc", - "memmap2 0.5.10", + "memmap2 0.6.2", "more-asserts", "region", "rkyv", @@ -19342,15 +20015,15 @@ dependencies = [ "wasmer-types", "wasmer-vm", "wasmparser 0.121.2", - "winapi", + "windows-sys 0.59.0", "xxhash-rust", ] [[package]] name = "wasmer-compiler-cranelift" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3352014573750327646a690d32774312b0e8b7920e7e8ba00c0449eac18390" +checksum = "1c1618f53b492cf6649beeb372930e376e0f52d9842c0c5eb5aa2b548251dab6" dependencies = [ "cranelift-codegen 0.91.1", "cranelift-entity 0.91.1", @@ -19367,9 +20040,9 @@ dependencies = [ [[package]] name = "wasmer-compiler-singlepass" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc490f011e855eb5e31475ff3e9efa83840cc0ed2f8322dfaca18627df0a9f3c" +checksum = "a2b111c55d0b8a30dba67afe8766c56b53f0055653f0bb14b1a337056263ae48" dependencies = [ "byteorder", "dynasm", @@ -19384,33 +20057,11 @@ dependencies = [ "wasmer-types", ] -[[package]] -name = "wasmer-config" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a0f70c177b1c5062cfe0f5308c3317751796fef9403c22a0cd7b4cacd4ccd8" -dependencies = [ - "anyhow", - "bytesize", - "derive_builder", - "hex", - "indexmap 2.2.6", - "schemars", - "semver 1.0.18", - "serde", - "serde_cbor", - "serde_json", - "serde_yaml", - "thiserror", - "toml 0.8.14", - "url", -] - [[package]] name = "wasmer-derive" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac6b0b0580cfa1fc7ad58cca3626a742f2b2e5ccd51cfc5de43e8edb0d1daa4c" +checksum = "9c5875633aea92153b6a561cb07363785ca9e07792ca6cd7c1cc371761001d8f" dependencies = [ "proc-macro-error", "proc-macro2", @@ -19420,9 +20071,9 @@ dependencies = [ [[package]] name = "wasmer-types" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "576442cc3d302ca215fd40aa7826a078571dca7eaa773d8cdedca14a2ec7c9a1" +checksum = "8fb32f0d231b591e4c8a65e81d4647fa3180496d71a123d4948dba8551bba9c2" dependencies = [ "bytecheck", "enum-iterator 0.7.0", @@ -19435,22 +20086,21 @@ dependencies = [ "sha2 0.10.8", "target-lexicon", "thiserror", - "webc", "xxhash-rust", ] [[package]] name = "wasmer-vm" -version = "4.3.5" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6483035d1df84a978cd6c6a35878e913dc8ec6311f8712548a922a75e87957ba" +checksum = "e38e9301f5bb9f18da9cda4002d74d2cb6ac1f36dcf919fd77f91fca321fb1e5" dependencies = [ "backtrace", "cc", "cfg-if", "corosensei", "crossbeam-queue", - "dashmap 5.5.3", + "dashmap 6.1.0", "derivative", "enum-iterator 0.7.0", "fnv", @@ -19458,13 +20108,13 @@ dependencies = [ "lazy_static", "libc", "mach2", - "memoffset 0.9.0", + "memoffset 0.9.1", "more-asserts", "region", "scopeguard", "thiserror", "wasmer-types", - "winapi", + "windows-sys 0.59.0", ] [[package]] @@ -19574,18 +20224,8 @@ name = "wasmparser" version = "0.115.0" source = "git+https://github.com/gear-tech/wasm-tools.git?branch=gear-stable#ffe9abee63ad640c051d50515cedee7f67f31884" dependencies = [ - "indexmap 2.2.6", - "semver 1.0.18", -] - -[[package]] -name = "wasmparser" -version = "0.118.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77f1154f1ab868e2a01d9834a805faca7bf8b50d041b4ca714d005d0dab1c50c" -dependencies = [ - "indexmap 2.2.6", - "semver 1.0.18", + "indexmap 2.6.0", + "semver 1.0.23", ] [[package]] @@ -19594,9 +20234,9 @@ version = "0.121.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9dbe55c8f9d0dbd25d9447a5a889ff90c0cc3feaa7395310d3d826b2c703eaab" dependencies = [ - "bitflags 2.5.0", - "indexmap 2.2.6", - "semver 1.0.18", + "bitflags 2.6.0", + "indexmap 2.6.0", + "semver 1.0.23", ] [[package]] @@ -19610,12 +20250,12 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.2.75" +version = "0.2.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d027eb8294904fc715ac0870cebe6b0271e96b90605ee21511e7565c4ce568c" +checksum = "60e73986a6b7fdfedb7c5bf9e7eb71135486507c8fbc4c0c42cffcb6532988b7" dependencies = [ "anyhow", - "wasmparser 0.118.2", + "wasmparser 0.121.2", ] [[package]] @@ -19671,7 +20311,7 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix 0.36.15", + "rustix 0.36.17", "serde", "sha2 0.10.8", "toml 0.5.11", @@ -19764,7 +20404,7 @@ checksum = "7ab182d5ab6273a133ab88db94d8ca86dc3e57e43d70baaa4d98f94ddbd7d10a" dependencies = [ "cc", "cfg-if", - "rustix 0.36.15", + "rustix 0.36.17", "wasmtime-asm-macros", "windows-sys 0.45.0", ] @@ -19802,7 +20442,7 @@ checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ "object 0.30.4", "once_cell", - "rustix 0.36.15", + "rustix 0.36.17", ] [[package]] @@ -19833,7 +20473,7 @@ dependencies = [ "memoffset 0.8.0", "paste", "rand 0.8.5", - "rustix 0.36.15", + "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-fiber", @@ -19887,9 +20527,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.64" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" dependencies = [ "js-sys", "wasm-bindgen", @@ -19905,74 +20545,27 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webc" -version = "6.0.0-rc1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fc686c7b43c9bc630a499f6ae1f0a4c4bd656576a53ae8a147b0cc9bc983ad" -dependencies = [ - "anyhow", - "base64 0.21.7", - "bytes", - "cfg-if", - "document-features", - "flate2", - "indexmap 1.9.3", - "libc", - "once_cell", - "semver 1.0.18", - "serde", - "serde_cbor", - "serde_json", - "sha2 0.10.8", - "shared-buffer", - "tar", - "tempfile", - "thiserror", - "toml 0.7.8", - "url", - "wasmer-config", -] - [[package]] name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - -[[package]] -name = "webpki-roots" -version = "0.22.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" -dependencies = [ - "webpki", -] - -[[package]] -name = "webpki-roots" -version = "0.23.1" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" +checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "rustls-webpki 0.100.2", + "ring 0.17.8", + "untrusted 0.9.0", ] [[package]] name = "webpki-roots" -version = "0.25.2" +version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "webpki-roots" -version = "0.26.3" +version = "0.26.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" +checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" dependencies = [ "rustls-pki-types", ] @@ -19986,25 +20579,25 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.31", + "rustix 0.38.37", ] [[package]] name = "whoami" -version = "1.5.1" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44ab49fad634e88f55bf8f9bb3abd2f27d7204172a112c7c9987e01c1c94ea9" +checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d" dependencies = [ - "redox_syscall 0.4.1", + "redox_syscall 0.5.7", "wasite", "web-sys", ] [[package]] name = "wide" -version = "0.7.11" +version = "0.7.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f" +checksum = "b828f995bf1e9622031f8009f8481a85406ce1f4d4588ff746d872043e855690" dependencies = [ "bytemuck", "safe_arch", @@ -20012,9 +20605,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" +checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" [[package]] name = "winapi" @@ -20034,11 +20627,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "winapi", + "windows-sys 0.59.0", ] [[package]] @@ -20049,30 +20642,60 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.48.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ + "windows-core 0.51.1", "windows-targets 0.48.5", ] [[package]] -name = "windows" +name = "windows-core" version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" dependencies = [ - "windows-core", "windows-targets 0.48.5", ] [[package]] name = "windows-core" -version = "0.51.1" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.48.5", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-registry" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +dependencies = [ + "windows-result", + "windows-strings", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-result" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-strings" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +dependencies = [ + "windows-result", + "windows-targets 0.52.6", ] [[package]] @@ -20088,6 +20711,21 @@ dependencies = [ "windows_x86_64_msvc 0.33.0", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -20112,7 +20750,16 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", ] [[package]] @@ -20147,17 +20794,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", ] [[package]] @@ -20174,9 +20822,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" @@ -20198,9 +20846,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" @@ -20222,9 +20870,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" @@ -20246,9 +20900,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" @@ -20270,9 +20924,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" @@ -20288,9 +20942,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" @@ -20312,24 +20966,15 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" - -[[package]] -name = "winnow" -version = "0.5.15" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" -dependencies = [ - "memchr", -] +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.6" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] @@ -20344,16 +20989,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "winreg" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - [[package]] name = "wit-parser" version = "0.6.4" @@ -20380,7 +21015,7 @@ dependencies = [ "js-sys", "log", "pharos", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "send_wrapper 0.6.0", "thiserror", "wasm-bindgen", @@ -20397,17 +21032,6 @@ dependencies = [ "tap", ] -[[package]] -name = "x25519-dalek" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" -dependencies = [ - "curve25519-dalek 3.2.0", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "x25519-dalek" version = "2.0.1" @@ -20422,12 +21046,11 @@ dependencies = [ [[package]] name = "x509-parser" -version = "0.14.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" dependencies = [ "asn1-rs 0.5.2", - "base64 0.13.1", "data-encoding", "der-parser 8.2.0", "lazy_static", @@ -20444,33 +21067,22 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs 0.6.1", + "asn1-rs 0.6.2", "data-encoding", "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry 0.7.0", + "oid-registry 0.7.1", "rusticata-macros", "thiserror", "time", ] -[[package]] -name = "xattr" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" -dependencies = [ - "libc", - "linux-raw-sys 0.4.13", - "rustix 0.38.31", -] - [[package]] name = "xml-rs" -version = "0.8.20" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "791978798f0597cfc70478424c2b4fdc2b7a8024aaff78497ef00f24ef674193" +checksum = "af4e2e2f7cba5a093896c1e150fbfe177d1883e7448200efb81d40b9d339ef26" [[package]] name = "xmltree" @@ -20483,23 +21095,9 @@ dependencies = [ [[package]] name = "xxhash-rust" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63658493314859b4dfdf3fb8c1defd61587839def09582db50b8a4e93afca6bb" - -[[package]] -name = "yamux" -version = "0.10.2" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" -dependencies = [ - "futures", - "log", - "nohash-hasher", - "parking_lot 0.12.3", - "rand 0.8.5", - "static_assertions", -] +checksum = "6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984" [[package]] name = "yamux" @@ -20538,6 +21136,12 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" +[[package]] +name = "yansi" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" + [[package]] name = "yap" version = "0.11.0" @@ -20590,22 +21194,23 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.32" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ + "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.32" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -20625,7 +21230,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.71", + "syn 2.0.79", ] [[package]] @@ -20688,9 +21293,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" +version = "2.0.13+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" dependencies = [ "cc", "pkg-config", @@ -20721,3 +21326,8 @@ dependencies = [ "quote", "syn 1.0.109", ] + +[[patch.unused]] +name = "blake3" +version = "1.3.1" +source = "git+https://github.com/gear-tech/BLAKE3?branch=fix-clang-cl-cross#124a7d89c43dd242c080e59ad46e8c8904ae4b6e" diff --git a/Cargo.toml b/Cargo.toml index 2635f1a4b02..3f26cec8a50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -308,128 +308,133 @@ sandbox-wasmi = { package = "wasmi", git = "https://github.com/gear-tech/wasmi", ] } # Substrate deps -binary-merkle-tree = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -frame-election-provider-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-executive = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-support-test = { version = "3.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-system-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-remote-externalities = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -frame-try-runtime = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -frame-system-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -generate-bags = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -pallet-authorship = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-babe = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-bags-list = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-child-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-balances = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-conviction-voting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-election-provider-multi-phase = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-identity = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-im-online = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-multisig = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-nomination-pools = { version = "1.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-nomination-pools-runtime-api = { version = "1.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-offences = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-preimage = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-proxy = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-ranked-collective = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-referenda = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-scheduler = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-staking-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-staking-reward-fn = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-sudo = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-transaction-payment = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-treasury = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-utility = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-vesting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -pallet-whitelist = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-block-builder = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-consensus-babe-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-consensus-epochs = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sp-crypto-ec-utils = { version = "0.4.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-debug-derive = { version = "8.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sc-chain-spec = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-client-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-executor = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-executor-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-consensus-grandpa = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-consensus-grandpa-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-keystore = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-network = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-network-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-network-sync = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-network-statement = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-proposer-metrics = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-service = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-rpc-spec-v2 = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-sync-state-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-sysinfo = { version = "6.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-transaction-pool-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sc-tracing = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -sp-allocator = { version = "4.1.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-arithmetic = { version = "16.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-block-builder = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-core = { version = "21.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-externalities = { version = "0.19.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-consensus-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-genesis-builder = { version = "0.1.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-inherents = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-io = { version = "23.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-keyring = { version = "24.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-keystore = { version = "0.27.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-npos-elections = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-rpc = { version = "6.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-runtime = { version = "24.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-runtime-interface = { version = "17.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-std = { version = "8.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-state-machine = { version = "0.28.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-storage = { version = "13.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-transaction-storage-proof = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-trie = { version = "22.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-version = { version = "22.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-wasm-interface = { version = "14.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -sp-wasm-interface-common = { version = "7.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0", default-features = false } -substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -substrate-frame-rpc-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -substrate-rpc-client = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -substrate-state-trie-migration-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } -try-runtime-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.4.0" } +binary-merkle-tree = { version = "15.0.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-benchmarking = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-benchmarking-cli = { version = "43.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +frame-election-provider-support = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-executive = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-support = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-support-test = { version = "3.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-system = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-system-benchmarking = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-remote-externalities = { version = "0.46.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +frame-try-runtime = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +frame-system-rpc-runtime-api = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } + +frame-metadata-hash-extension = { default-features = false, git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } + + +generate-bags = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +pallet-authorship = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-authority-discovery = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-babe = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-bags-list = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-bounties = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-child-bounties = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-balances = { version = "39.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-conviction-voting = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-election-provider-multi-phase = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-grandpa = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-identity = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-im-online = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-multisig = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-nomination-pools = { version = "35.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-nomination-pools-runtime-api = { version = "33.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-offences = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-preimage = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-proxy = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-ranked-collective = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-referenda = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-scheduler = { version = "39.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-session = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-staking = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-staking-runtime-api = { version = "24.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-staking-reward-fn = { version = "22.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-sudo = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-timestamp = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-transaction-payment = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-transaction-payment-rpc = { version = "41.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-treasury = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-utility = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-vesting = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +pallet-whitelist = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.17.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-block-builder = { version = "0.42.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-consensus = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-consensus-babe = { version = "0.45.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-consensus-babe-rpc = { version = "0.45.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-consensus-epochs = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-consensus-slots = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sp-crypto-ec-utils = { version = "0.14.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-debug-derive = { version = "14.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sc-chain-spec = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-cli = { version = "0.47.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-client-api = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-executor = { version = "0.40.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-executor-common = { version = "0.35.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-consensus-grandpa = { version = "0.30.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-consensus-grandpa-rpc = { version = "0.30.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-keystore = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-network = { version = "0.45.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-network-common = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-network-sync = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-network-statement = { version = "0.27.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-offchain = { version = "40.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-proposer-metrics = { version = "0.18.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-service = { version = "0.46.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-telemetry = { version = "25.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-rpc = { version = "40.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-rpc-api = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-rpc-spec-v2 = { version = "0.45.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-sync-state-rpc = { version = "0.45.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-sysinfo = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-transaction-pool = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-transaction-pool-api = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-tracing = { version = "37.0.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sp-allocator = { version = "29.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-api = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-authority-discovery = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-arithmetic = { version = "26.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-blockchain = { version = "37.0.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-block-builder = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-core = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-consensus = { version = "0.40.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-consensus-babe = { version = "0.40.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-consensus-slots = { version = "0.40.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-externalities = { version = "0.29.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-consensus-grandpa = { version = "21.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-genesis-builder = { version = "0.15.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-inherents = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-io = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-keyring = { version = "39.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-keystore = { version = "0.40.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-npos-elections = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-offchain = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-rpc = { version = "32.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-runtime = { version = "39.0.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-runtime-interface = { version = "28.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-session = { version = "36.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-std = { version = "14.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-state-machine = { version = "0.43.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-staking = { version = "36.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-storage = { version = "21.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-timestamp = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-transaction-pool = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-transaction-storage-proof = { version = "34.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-trie = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-version = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-wasm-interface = { version = "21.0.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +sp-wasm-interface-common = { version = "7.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } +substrate-build-script-utils = { version = "11.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +substrate-frame-rpc-system = { version = "39.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +substrate-rpc-client = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +substrate-state-trie-migration-rpc = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +# substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +substrate-wasm-builder = "24.0.1" +# try-runtime-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } # Examples test-syscalls = { path = "examples/syscalls", default-features = false } @@ -567,9 +572,12 @@ inherits = "release" debug = true [patch.crates-io] +# sp-io = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +# sp-application-crypto = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } parity-wasm = { version = "0.45.0", git = "https://github.com/gear-tech/parity-wasm", branch = "v0.45.0-sign-ext" } wasmi-validation = { version = "0.5.0", git = "https://github.com/gear-tech/wasmi", branch = "v0.13.2-sign-ext" } -wasm-instrument = { version = "0.3.0", git = "https://github.com/gear-tech/wasm-instrument", branch = "v0.3.0-sign-ext" } +# wasm-instrument = { version = "0.3.0", git = "https://github.com/gear-tech/wasm-instrument", branch = "v0.3.0-sign-ext" } +wasm-instrument = { version = "0.4.0", git = "https://github.com/gear-tech/wasm-instrument", branch = "v0.4.0-sign-ext" } # TODO: remove after https://github.com/BLAKE3-team/BLAKE3/pull/230 blake3 = { git = "https://github.com/gear-tech/BLAKE3", branch = "fix-clang-cl-cross" } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index efd3c51908e..3d06e446c10 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -96,7 +96,6 @@ frame-benchmarking = { workspace = true, features = ["std"] } frame-benchmarking-cli.workspace = true substrate-frame-rpc-system.workspace = true substrate-state-trie-migration-rpc.workspace = true -try-runtime-cli = { workspace = true, optional = true } [build-dependencies] substrate-build-script-utils.workspace = true @@ -118,5 +117,4 @@ runtime-benchmarks-checkers = [ ] try-runtime = [ "vara-runtime?/try-runtime", - "try-runtime-cli", ] diff --git a/runtime/vara/Cargo.toml b/runtime/vara/Cargo.toml index 512d3bc73c0..4aa89ee380e 100644 --- a/runtime/vara/Cargo.toml +++ b/runtime/vara/Cargo.toml @@ -23,6 +23,7 @@ frame-system.workspace = true frame-try-runtime = { workspace = true, optional = true } frame-election-provider-support.workspace = true frame-executive.workspace = true +frame-metadata-hash-extension.workspace = true # Substrate pallet deps pallet-authority-discovery.workspace = true @@ -134,6 +135,7 @@ std = [ "frame-election-provider-support/std", "frame-system/std", "frame-system-rpc-runtime-api/std", + "frame-metadata-hash-extension/std", "runtime-primitives/std", "pallet-authority-discovery/std", "pallet-authorship/std", @@ -201,6 +203,7 @@ std = [ "sp-transaction-pool/std", "sp-version/std", "substrate-wasm-builder", + "substrate-wasm-builder/metadata-hash", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -276,3 +279,4 @@ try-runtime = [ ] fuzz = ["common/fuzz", "pallet-gear/fuzz", "pallet-gear-gas/fuzz"] dev = ["pallet-gear-debug", "pallet-gear-eth-bridge", "pallet-sudo"] +metadata-hash = ["substrate-wasm-builder?/metadata-hash"] diff --git a/runtime/vara/build.rs b/runtime/vara/build.rs index f57629a94c8..93d87991e85 100644 --- a/runtime/vara/build.rs +++ b/runtime/vara/build.rs @@ -16,14 +16,25 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#[cfg(all(feature = "std", not(feature = "metadata-hash")))] fn main() { substrate_build_script_utils::generate_cargo_keys(); #[cfg(all(feature = "std", not(feature = "fuzz")))] { - substrate_wasm_builder::WasmBuilder::new() - .with_current_project() - .export_heap_base() - .import_memory() + substrate_wasm_builder::WasmBuilder::build_using_defaults() + } +} + +#[cfg(all(feature = "std", feature = "metadata-hash"))] +fn main() { + substrate_build_script_utils::generate_cargo_keys(); + #[cfg(all(feature = "std", not(feature = "fuzz")))] + { + substrate_wasm_builder::WasmBuilder::init_with_defaults() + .enable_metadata_hash("VARA", 12) .build() } } + +#[cfg(not(feature = "std"))] +fn main() {} diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 1eeae976066..e16762b9834 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -158,15 +158,15 @@ mod migrations; )] static _DEV_RUNTIME: u8 = 0; -// By this we inject compile time version including commit hash -// (https://github.com/paritytech/substrate/blob/297b3948f4a0f7f6504d4b654e16cb5d9201e523/utils/build-script-utils/src/version.rs#L44) -// into the WASM runtime blob. This is used by the `runtime_wasmBlobVersion` RPC call. -// The format of the version is `x.y.z-commit_hash`, where the `x.y.z` is the version of this crate, -// and the `commit_hash` is the hash of the commit from which the WASM blob was built. -#[cfg(all(target_arch = "wasm32", target_os = "unknown"))] -#[link_section = "wasm_blob_version"] -static _WASM_BLOB_VERSION: [u8; const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")) - .len()] = const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")); +// // By this we inject compile time version including commit hash +// // (https://github.com/paritytech/substrate/blob/297b3948f4a0f7f6504d4b654e16cb5d9201e523/utils/build-script-utils/src/version.rs#L44) +// // into the WASM runtime blob. This is used by the `runtime_wasmBlobVersion` RPC call. +// // The format of the version is `x.y.z-commit_hash`, where the `x.y.z` is the version of this crate, +// // and the `commit_hash` is the hash of the commit from which the WASM blob was built. +// #[cfg(all(target_arch = "wasm32", target_os = "unknown"))] +// #[link_section = "wasm_blob_version"] +// static _WASM_BLOB_VERSION: [u8; const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")) +// .len()] = const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")); #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { @@ -1416,6 +1416,7 @@ pub type SignedExtra = ( frame_system::CheckTxVersion, frame_system::CheckGenesis, frame_system::CheckEra, + frame_metadata_hash_extension::CheckMetadataHash, CustomCheckNonce, frame_system::CheckWeight, CustomChargeTransactionPayment, From b56f2b34442a138ffc3b8aef5af0910f34539e4b Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Mon, 14 Oct 2024 15:09:33 +0200 Subject: [PATCH 02/59] chore(runtime-interface): enable wasmtime feature --- Cargo.lock | 908 ++++++++++++++------------- runtime-interface/sandbox/Cargo.toml | 1 + 2 files changed, 467 insertions(+), 442 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd9e9723a71..6e0d8cf2265 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -162,10 +162,11 @@ dependencies = [ [[package]] name = "alloy-chains" -version = "0.1.36" +version = "0.1.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94c225801d42099570d0674701dddd4142f0ef715282aeb5985042e2ec962df7" +checksum = "156bfc5dcd52ef9a5f33381701fa03310317e14c65093a9430d3e3557b08dcd3" dependencies = [ + "alloy-primitives", "num_enum 0.7.3", "strum 0.26.3", ] @@ -207,9 +208,9 @@ dependencies = [ [[package]] name = "alloy-core" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cf9b7166dd6aee2236646457b81fa032af8a67c25f3965d56e48881658bc85f" +checksum = "eeb750349efda145ca6aada68d0336067f7f364d7d44ef09e2cf000b040c5e99" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -220,9 +221,9 @@ dependencies = [ [[package]] name = "alloy-dyn-abi" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1109c57718022ac84c194f775977a534e1b3969b405e55693a61c42187cc0612" +checksum = "f95d76a38cae906fd394a5afb0736aaceee5432efe76addfd71048e623e208af" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -288,9 +289,9 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cc0e59c803dd44d14fc0cfa9fea1f74cfa8fd9fb60ca303ced390c58c28d4e" +checksum = "03c66eec1acdd96b39b995b8f5ee5239bc0c871d62c527ae1ac9fd1d7fecd455" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -364,9 +365,9 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a289ffd7448036f2f436b377f981c79ce0b2090877bad938d43387dc09931877" +checksum = "8ecb848c43f6b06ae3de2e4a67496cbbabd78ae87db0f1248934f15d76192c6a" dependencies = [ "alloy-rlp", "bytes", @@ -612,9 +613,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0409e3ba5d1de409997a7db8b8e9d679d52088c1dee042a85033affd3cadeab4" +checksum = "661c516eb1fa3294cc7f2fb8955b3b609d639c282ac81a4eedb14d3046db503a" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", @@ -626,9 +627,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro-expander" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18372ef450d59f74c7a64a738f546ba82c92f816597fed1802ef559304c81f1" +checksum = "ecbabb8fc3d75a0c2cea5215be22e7a267e3efde835b0f2a8922f5e3f5d47683" dependencies = [ "alloy-json-abi", "alloy-sol-macro-input", @@ -645,9 +646,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro-input" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7bad89dd0d5f109e8feeaf787a9ed7a05a91a9a0efc6687d147a70ebca8eff7" +checksum = "16517f2af03064485150d89746b8ffdcdbc9b6eeb3d536fb66efd7c2846fbc75" dependencies = [ "alloy-json-abi", "const-hex", @@ -662,9 +663,9 @@ dependencies = [ [[package]] name = "alloy-sol-type-parser" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbd3548d5262867c2c4be6223fe4f2583e21ade0ca1c307fd23bc7f28fca479e" +checksum = "c07ebb0c1674ff8cbb08378d7c2e0e27919d2a2dae07ad3bca26174deda8d389" dependencies = [ "serde", "winnow", @@ -672,9 +673,9 @@ dependencies = [ [[package]] name = "alloy-sol-types" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4aa666f1036341b46625e72bd36878bf45ad0185f1b88601223e1ec6ed4b72b1" +checksum = "8e448d879903624863f608c552d10efb0e0905ddbee98b0049412799911eb062" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -1670,7 +1671,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "15.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "hash-db", "log", @@ -1708,11 +1709,11 @@ dependencies = [ [[package]] name = "bip39" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" dependencies = [ - "bitcoin_hashes 0.11.0", + "bitcoin_hashes 0.13.0", ] [[package]] @@ -1742,12 +1743,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "340e09e8399c7bd8912f495af6aa58bea0c9214773417ffaa8f6460f93aaee56" -[[package]] -name = "bitcoin_hashes" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" - [[package]] name = "bitcoin_hashes" version = "0.13.0" @@ -1940,9 +1935,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" +checksum = "db436177db0d505b1507f03aca56a41442ae6efdf8b6eaa855d73e52c5b078dc" dependencies = [ "log", "parity-scale-codec", @@ -2033,9 +2028,9 @@ checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" [[package]] name = "bytemuck" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" +checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d" [[package]] name = "byteorder" @@ -2129,7 +2124,7 @@ dependencies = [ "anyhow", "cargo_metadata 0.18.1", "cargo_toml", - "clap 4.5.19", + "clap 4.5.20", "colored", "etc", "gear-wasm-optimizer", @@ -2209,9 +2204,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.28" +version = "1.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e80e3b6a3ab07840e1cae9b0666a63970dc28e8ed5ffbcdacbfc760c281bfc1" +checksum = "b16803a61b81d9eabb7eae2588776c4c1e584b738ede45fdbb4c972cec1e9945" dependencies = [ "jobserver", "libc", @@ -2409,9 +2404,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.19" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7be5744db7978a28d9df86a214130d106a89ce49644cbc4e3f0c22c3fba30615" +checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" dependencies = [ "clap_builder", "clap_derive 4.5.18", @@ -2419,9 +2414,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.19" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5fbc17d3ef8278f55b282b2a2e75ae6f6c7d4bb70ed3d0382375104bfafdb4b" +checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" dependencies = [ "anstream", "anstyle", @@ -2966,7 +2961,7 @@ dependencies = [ "anyhow", "cargo-http-registry", "cargo_metadata 0.18.1", - "clap 4.5.19", + "clap 4.5.20", "reqwest 0.11.27", "serde", "tempfile", @@ -4931,7 +4926,7 @@ version = "1.6.1" dependencies = [ "alloy", "anyhow", - "clap 4.5.19", + "clap 4.5.20", "demo-async", "demo-ping", "derive_more 0.99.18", @@ -5116,7 +5111,7 @@ dependencies = [ "gprimitives", "hex", "hyper 1.4.1", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -5503,7 +5498,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", ] @@ -5536,7 +5531,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-support-procedural", @@ -5551,7 +5546,7 @@ dependencies = [ "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", @@ -5560,12 +5555,12 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "43.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "Inflector", "array-bytes", "chrono", - "clap 4.5.19", + "clap 4.5.20", "comfy-table", "frame-benchmarking", "frame-support", @@ -5598,7 +5593,7 @@ dependencies = [ "sp-inherents", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -5610,7 +5605,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "14.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -5621,7 +5616,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -5631,13 +5626,13 @@ dependencies = [ "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "frame-executive" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aquamarine", "frame-support", @@ -5648,7 +5643,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -5678,7 +5673,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.6.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "docify", @@ -5687,24 +5682,24 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "frame-remote-externalities" version = "0.46.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", "indicatif", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "serde", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "spinners", "substrate-rpc-client", @@ -5715,7 +5710,7 @@ dependencies = [ [[package]] name = "frame-support" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aquamarine", "array-bytes", @@ -5743,7 +5738,7 @@ dependencies = [ "sp-inherents", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -5756,7 +5751,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "30.0.3" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "Inflector", "cfg-expr", @@ -5776,7 +5771,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.2.0", @@ -5788,7 +5783,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "proc-macro2", "quote", @@ -5798,7 +5793,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-executive", @@ -5816,7 +5811,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", @@ -5826,20 +5821,20 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "frame-system" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "cfg-if", "docify", @@ -5850,7 +5845,7 @@ dependencies = [ "serde", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -5859,7 +5854,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5867,13 +5862,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "frame-system-rpc-runtime-api" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "parity-scale-codec", @@ -5883,12 +5878,12 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "parity-scale-codec", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -6173,7 +6168,7 @@ version = "1.6.1" dependencies = [ "anyhow", "async-trait", - "clap 4.5.19", + "clap 4.5.20", "color-eyre", "colored", "demo-messenger", @@ -6310,7 +6305,7 @@ dependencies = [ "sp-consensus-babe", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", "substrate-prometheus-endpoint", @@ -6321,7 +6316,7 @@ dependencies = [ name = "gear-bags-thresholds" version = "1.0.0" dependencies = [ - "clap 4.5.19", + "clap 4.5.20", "generate-bags", "vara-runtime", ] @@ -6345,7 +6340,7 @@ dependencies = [ name = "gear-cli" version = "1.6.1" dependencies = [ - "clap 4.5.19", + "clap 4.5.20", "frame-benchmarking", "frame-benchmarking-cli", "frame-system", @@ -6366,7 +6361,7 @@ dependencies = [ "sp-inherents", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-timestamp", "substrate-build-script-utils", "vara-runtime", @@ -6394,7 +6389,7 @@ dependencies = [ "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -6564,7 +6559,7 @@ name = "gear-node-loader" version = "1.6.1" dependencies = [ "anyhow", - "clap 4.5.19", + "clap 4.5.20", "futures", "futures-timer", "gclient", @@ -6620,7 +6615,7 @@ dependencies = [ "sp-inherents", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-test-client", "vara-runtime", @@ -6651,7 +6646,7 @@ dependencies = [ name = "gear-replay-cli" version = "1.0.0" dependencies = [ - "clap 4.5.19", + "clap 4.5.20", "frame-remote-externalities", "frame-system", "gear-runtime-interface", @@ -6670,7 +6665,7 @@ dependencies = [ "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-rpc-client", "tokio", @@ -6699,7 +6694,7 @@ dependencies = [ "pallet-gear-messenger", "pallet-session", "pallet-treasury", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -6730,7 +6725,7 @@ name = "gear-runtime-primitives" version = "1.6.1" dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -6857,7 +6852,7 @@ dependencies = [ "sp-crypto-ec-utils", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", @@ -6905,7 +6900,7 @@ name = "gear-validator-checks" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.5.19", + "clap 4.5.20", "env_logger", "futures", "gsdk", @@ -7007,7 +7002,7 @@ name = "gear-weight-diff" version = "1.0.0" dependencies = [ "anyhow", - "clap 4.5.19", + "clap 4.5.20", "frame-support", "gear-utils", "heck 0.5.0", @@ -7025,7 +7020,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "chrono", "frame-election-provider-support", @@ -7260,7 +7255,7 @@ version = "1.6.1" dependencies = [ "anyhow", "base64 0.21.7", - "clap 4.5.19", + "clap 4.5.20", "colored", "dirs 4.0.0", "gear-ss58", @@ -7315,7 +7310,7 @@ dependencies = [ "serde", "serde_json", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "subxt", "thiserror", "tokio", @@ -7530,6 +7525,8 @@ version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" dependencies = [ + "allocator-api2", + "equivalent", "foldhash", "serde", ] @@ -8387,9 +8384,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.70" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" +checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9" dependencies = [ "wasm-bindgen", ] @@ -8434,16 +8431,16 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126b48a5acc3c52fbd5381a77898cb60e145123179588a29e7ac48f9c06e401b" +checksum = "02f01f48e04e0d7da72280ab787c9943695699c9b32b99158ece105e8ad0afea" dependencies = [ - "jsonrpsee-core 0.24.5", - "jsonrpsee-http-client 0.24.5", - "jsonrpsee-proc-macros 0.24.5", - "jsonrpsee-server 0.24.5", - "jsonrpsee-types 0.24.5", - "jsonrpsee-ws-client 0.24.5", + "jsonrpsee-core 0.24.6", + "jsonrpsee-http-client 0.24.6", + "jsonrpsee-proc-macros 0.24.6", + "jsonrpsee-server 0.24.6", + "jsonrpsee-types 0.24.6", + "jsonrpsee-ws-client 0.24.6", "tokio", "tracing", ] @@ -8515,14 +8512,14 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf679a8e0e083c77997f7c4bb4ca826577105906027ae462aac70ff348d02c6a" +checksum = "d80eccbd47a7b9f1e67663fd846928e941cb49c65236e297dd11c9ea3c5e3387" dependencies = [ "base64 0.22.1", "futures-util", "http 1.1.0", - "jsonrpsee-core 0.24.5", + "jsonrpsee-core 0.24.6", "pin-project", "rustls 0.23.14", "rustls-pki-types", @@ -8611,9 +8608,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0e503369a76e195b65af35058add0e6900b794a4e9a9316900ddd3a87a80477" +checksum = "3c2709a32915d816a6e8f625bf72cf74523ebe5d8829f895d6b041b1d3137818" dependencies = [ "async-trait", "bytes", @@ -8622,7 +8619,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.1", "http-body-util", - "jsonrpsee-types 0.24.5", + "jsonrpsee-types 0.24.6", "parking_lot 0.12.3", "pin-project", "rand 0.8.5", @@ -8676,9 +8673,9 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2c0caba4a6a8efbafeec9baa986aa22a75a96c29d3e4b0091b0098d6470efb5" +checksum = "cc54db939002b030e794fbfc9d5a925aa2854889c5a2f0352b0bffa54681707e" dependencies = [ "async-trait", "base64 0.22.1", @@ -8686,8 +8683,8 @@ dependencies = [ "hyper 1.4.1", "hyper-rustls 0.27.3", "hyper-util", - "jsonrpsee-core 0.24.5", - "jsonrpsee-types 0.24.5", + "jsonrpsee-core 0.24.6", + "jsonrpsee-types 0.24.6", "rustls 0.23.14", "rustls-platform-verifier", "serde", @@ -8714,9 +8711,9 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc660a9389e2748e794a40673a4155d501f32db667757cdb80edeff0306b489b" +checksum = "3a9a4b2eaba8cc928f49c4ccf4fcfa65b690a73997682da99ed08f3393b51f07" dependencies = [ "heck 0.5.0", "proc-macro-crate 3.2.0", @@ -8749,9 +8746,9 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af6e6c9b6d975edcb443565d648b605f3e85a04ec63aa6941811a8894cc9cded" +checksum = "e30110d0f2d7866c8cc6c86483bdab2eb9f4d2f0e20db55518b2bca84651ba8e" dependencies = [ "futures-util", "http 1.1.0", @@ -8759,8 +8756,8 @@ dependencies = [ "http-body-util", "hyper 1.4.1", "hyper-util", - "jsonrpsee-core 0.24.5", - "jsonrpsee-types 0.24.5", + "jsonrpsee-core 0.24.6", + "jsonrpsee-types 0.24.6", "pin-project", "route-recognizer", "serde", @@ -8816,9 +8813,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8fb16314327cbc94fdf7965ef7e4422509cd5597f76d137bd104eb34aeede67" +checksum = "1ca331cd7b3fe95b33432825c2d4c9f5a43963e207fdc01ae67f9fd80ab0930f" dependencies = [ "http 1.1.0", "serde", @@ -8853,14 +8850,14 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.24.5" +version = "0.24.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39aabf5d6c6f22da8d5b808eea1fab0736059f11fb42f71f141b14f404e5046a" +checksum = "755ca3da1c67671f1fae01cd1a47f41dfb2233a8f19a643e587ab0a663942044" dependencies = [ "http 1.1.0", - "jsonrpsee-client-transport 0.24.5", - "jsonrpsee-core 0.24.5", - "jsonrpsee-types 0.24.5", + "jsonrpsee-client-transport 0.24.6", + "jsonrpsee-core 0.24.6", + "jsonrpsee-types 0.24.6", "url", ] @@ -10083,11 +10080,11 @@ dependencies = [ [[package]] name = "linregress" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "a9eda9dcf4f2a99787827661f312ac3219292549c2ee992bf9a6248ffb066bf7" dependencies = [ - "nalgebra", + "nalgebra 0.33.0", ] [[package]] @@ -10199,11 +10196,11 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.0", ] [[package]] @@ -10790,7 +10787,22 @@ dependencies = [ "num-traits", "rand 0.8.5", "rand_distr", - "simba", + "simba 0.8.1", + "typenum", +] + +[[package]] +name = "nalgebra" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c4b5f057b303842cf3262c27e465f4c303572e7f6b0648f60e16248ac3397f4" +dependencies = [ + "approx", + "matrixmultiply", + "num-complex", + "num-rational", + "num-traits", + "simba 0.9.0", "typenum", ] @@ -11397,7 +11409,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -11406,26 +11418,26 @@ dependencies = [ "scale-info", "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-authority-discovery", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-authorship" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-babe" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11440,7 +11452,7 @@ dependencies = [ "sp-consensus-babe", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", ] @@ -11448,7 +11460,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aquamarine", "docify", @@ -11462,14 +11474,14 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-balances" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -11478,13 +11490,13 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-bounties" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11495,13 +11507,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-child-bounties" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11513,13 +11525,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-conviction-voting" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11529,13 +11541,13 @@ dependencies = [ "scale-info", "serde", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-election-provider-multi-phase" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11550,21 +11562,21 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "strum 0.26.3", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -11663,7 +11675,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "test-syscalls", "wabt", @@ -11684,7 +11696,7 @@ dependencies = [ "primitive-types", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -11737,7 +11749,7 @@ dependencies = [ "sp-crypto-ec-utils", "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -11751,7 +11763,7 @@ dependencies = [ "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -11791,7 +11803,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "test-syscalls", "wabt", @@ -11832,7 +11844,7 @@ dependencies = [ "sp-consensus-grandpa", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -11847,7 +11859,7 @@ dependencies = [ "primitive-types", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -11883,7 +11895,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -11908,7 +11920,7 @@ dependencies = [ "rand 0.8.5", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -11940,7 +11952,7 @@ dependencies = [ "primitive-types", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wabt", ] @@ -11976,7 +11988,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wabt", ] @@ -11994,7 +12006,7 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -12004,7 +12016,7 @@ dependencies = [ "pallet-gear", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -12035,7 +12047,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -12069,7 +12081,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -12081,7 +12093,7 @@ dependencies = [ "pallet-gear-staking-rewards-rpc-runtime-api", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -12112,14 +12124,14 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-grandpa" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12133,7 +12145,7 @@ dependencies = [ "sp-consensus-grandpa", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", ] @@ -12141,7 +12153,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "enumflags2 0.7.10", "frame-benchmarking", @@ -12151,13 +12163,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-im-online" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12169,14 +12181,14 @@ dependencies = [ "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", ] [[package]] name = "pallet-multisig" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12185,13 +12197,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-nomination-pools" version = "35.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -12201,7 +12213,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -12209,7 +12221,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "33.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12219,7 +12231,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -12228,14 +12240,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", ] [[package]] name = "pallet-preimage" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12245,13 +12257,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-proxy" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12259,13 +12271,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-ranked-collective" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12277,13 +12289,13 @@ dependencies = [ "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-referenda" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -12295,13 +12307,13 @@ dependencies = [ "serde", "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-scheduler" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12311,14 +12323,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-session" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -12329,7 +12341,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -12339,7 +12351,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12354,14 +12366,14 @@ dependencies = [ "serde", "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", ] [[package]] name = "pallet-staking-reward-fn" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -12370,7 +12382,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -12380,7 +12392,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12389,13 +12401,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-timestamp" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12406,7 +12418,7 @@ dependencies = [ "scale-info", "sp-inherents", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", ] @@ -12414,7 +12426,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -12423,41 +12435,41 @@ dependencies = [ "serde", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-transaction-payment-rpc" version = "41.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-treasury" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12469,13 +12481,13 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-utility" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12484,13 +12496,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-vesting" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12498,13 +12510,13 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-whitelist" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12512,7 +12524,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -12694,9 +12706,9 @@ checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" [[package]] name = "pathdiff" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" +checksum = "d61c5ce1153ab5b689d0c074c4e7fc613e942dfb7dd9eea5ab202d2ad91fe361" [[package]] name = "pbkdf2" @@ -12754,9 +12766,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.13" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdbef9d1d47087a895abd220ed25eb4ad973a5e26f6a4367b038c25e28dfc2d9" +checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", "thiserror", @@ -12765,9 +12777,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.13" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d3a6e3394ec80feb3b6393c725571754c6188490265c61aaf260810d6b95aa0" +checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd" dependencies = [ "pest", "pest_generator", @@ -12775,9 +12787,9 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.13" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94429506bde1ca69d1b5601962c73f4172ab4726571a59ea95931218cb0e930e" +checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e" dependencies = [ "pest", "pest_meta", @@ -12788,9 +12800,9 @@ dependencies = [ [[package]] name = "pest_meta" -version = "2.7.13" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac8a071862e93690b6e34e9a5fb8e33ff3734473ac0245b27232222c4906a33f" +checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d" dependencies = [ "once_cell", "pest", @@ -13273,9 +13285,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" dependencies = [ "unicode-ident", ] @@ -14043,7 +14055,7 @@ dependencies = [ name = "regression-analysis" version = "0.1.0" dependencies = [ - "clap 4.5.19", + "clap 4.5.20", "frame-support", "junit-common", "pallet-gear", @@ -14345,7 +14357,7 @@ name = "runtime-fuzzer" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.5.19", + "clap 4.5.20", "frame-support", "frame-system", "gear-call-gen", @@ -14373,7 +14385,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "vara-runtime", ] @@ -14726,7 +14738,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.42.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -14734,14 +14746,14 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-chain-spec" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "docify", @@ -14760,7 +14772,7 @@ dependencies = [ "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -14768,7 +14780,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -14779,11 +14791,11 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.47.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "chrono", - "clap 4.5.19", + "clap 4.5.20", "fdlimit", "futures", "itertools 0.11.0", @@ -14811,7 +14823,7 @@ dependencies = [ "sp-keyring", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-panic-handler 13.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tokio", @@ -14820,7 +14832,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "fnv", "futures", @@ -14836,7 +14848,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-statement-store", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -14847,7 +14859,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "hash-db", "kvdb", @@ -14865,7 +14877,7 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -14873,7 +14885,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", @@ -14888,7 +14900,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "thiserror", @@ -14897,7 +14909,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "fork-tree", @@ -14925,7 +14937,7 @@ dependencies = [ "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", ] @@ -14933,10 +14945,10 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", @@ -14948,27 +14960,27 @@ dependencies = [ "sp-consensus-babe", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-consensus-epochs" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "fork-tree", "parity-scale-codec", "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sc-consensus-grandpa" version = "0.30.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "ahash 0.8.11", "array-bytes", @@ -15004,7 +15016,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", ] @@ -15012,11 +15024,11 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.30.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "finality-grandpa", "futures", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "sc-client-api", @@ -15025,14 +15037,14 @@ dependencies = [ "serde", "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-consensus-slots" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", @@ -15048,7 +15060,7 @@ dependencies = [ "sp-consensus-slots", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -15079,7 +15091,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.40.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -15117,7 +15129,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.35.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "polkavm", "sp-allocator", @@ -15142,7 +15154,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.32.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "polkavm", @@ -15172,7 +15184,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.35.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "anyhow", "cfg-if", @@ -15190,7 +15202,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "console", "futures", @@ -15201,13 +15213,13 @@ dependencies = [ "sc-network-common", "sc-network-sync", "sp-blockchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sc-keystore" version = "33.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -15221,7 +15233,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.15.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -15243,14 +15255,14 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-mixnet", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-network" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -15287,7 +15299,7 @@ dependencies = [ "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -15301,7 +15313,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -15313,13 +15325,13 @@ dependencies = [ "sc-network-types", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sc-network-gossip" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "ahash 0.8.11", "futures", @@ -15330,7 +15342,7 @@ dependencies = [ "sc-network-sync", "sc-network-types", "schnellru", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "tracing", ] @@ -15338,7 +15350,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -15352,14 +15364,14 @@ dependencies = [ "sc-network-types", "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-network-statement" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -15371,7 +15383,7 @@ dependencies = [ "sc-network-sync", "sc-network-types", "sp-consensus", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-statement-store", "substrate-prometheus-endpoint", ] @@ -15379,7 +15391,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -15406,7 +15418,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -15416,7 +15428,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "futures", @@ -15428,14 +15440,14 @@ dependencies = [ "sc-network-types", "sc-utils", "sp-consensus", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", ] [[package]] name = "sc-network-types" version = "0.12.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "bs58 0.5.1", "ed25519-dalek", @@ -15452,7 +15464,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "40.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "bytes", @@ -15478,7 +15490,7 @@ dependencies = [ "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "threadpool", "tracing", ] @@ -15486,7 +15498,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.18.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -15495,10 +15507,10 @@ dependencies = [ [[package]] name = "sc-rpc" version = "40.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -15517,7 +15529,7 @@ dependencies = [ "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", "sp-rpc", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-statement-store", "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -15527,9 +15539,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "parity-scale-codec", "sc-chain-spec", "sc-mixnet", @@ -15539,7 +15551,7 @@ dependencies = [ "serde_json", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] @@ -15547,7 +15559,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -15557,7 +15569,7 @@ dependencies = [ "http-body-util", "hyper 1.4.1", "ip_network", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "sc-rpc-api", "serde", @@ -15571,13 +15583,13 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "futures", "futures-util", "hex", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -15593,7 +15605,7 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tokio", @@ -15603,14 +15615,14 @@ dependencies = [ [[package]] name = "sc-service" version = "0.46.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -15647,7 +15659,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -15667,7 +15679,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.36.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "parity-scale-codec", @@ -15678,9 +15690,9 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -15690,14 +15702,14 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-sysinfo" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "derive_more 0.99.18", "futures", @@ -15718,7 +15730,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "25.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "chrono", "futures", @@ -15738,7 +15750,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "37.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "chrono", "console", @@ -15756,7 +15768,7 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tracing", @@ -15767,7 +15779,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -15778,7 +15790,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", @@ -15795,7 +15807,7 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", "substrate-prometheus-endpoint", @@ -15805,7 +15817,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", @@ -15814,14 +15826,14 @@ dependencies = [ "serde", "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-utils" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-channel 1.9.0", "futures", @@ -15972,9 +15984,9 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b" +checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1" dependencies = [ "windows-sys 0.59.0", ] @@ -16536,6 +16548,19 @@ dependencies = [ "wide", ] +[[package]] +name = "simba" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3a386a501cd104797982c15ae17aafe8b9261315b5d07e3ec803f2ea26be0fa" +dependencies = [ + "approx", + "num-complex", + "num-traits", + "paste", + "wide", +] + [[package]] name = "simdutf8" version = "0.1.5" @@ -16802,7 +16827,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "29.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "parity-scale-codec", @@ -16825,7 +16850,7 @@ dependencies = [ "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime 39.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -16836,7 +16861,7 @@ dependencies = [ [[package]] name = "sp-api" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "hash-db", @@ -16847,7 +16872,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -16873,7 +16898,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "Inflector", "blake2 0.10.6", @@ -16900,7 +16925,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", @@ -16928,7 +16953,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "integer-sqrt", @@ -16942,29 +16967,29 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-block-builder" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-blockchain" version = "37.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", "parity-scale-codec", @@ -16974,7 +16999,7 @@ dependencies = [ "sp-consensus", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tracing", @@ -16983,14 +17008,14 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.40.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", "log", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] @@ -16998,7 +17023,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.40.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "parity-scale-codec", @@ -17009,14 +17034,14 @@ dependencies = [ "sp-consensus-slots", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-timestamp", ] [[package]] name = "sp-consensus-grandpa" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "finality-grandpa", "log", @@ -17027,13 +17052,13 @@ dependencies = [ "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-consensus-slots" version = "0.40.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", @@ -17091,7 +17116,7 @@ dependencies = [ [[package]] name = "sp-core" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -17137,7 +17162,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.14.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -17152,7 +17177,6 @@ dependencies = [ "ark-ed-on-bls12-381-bandersnatch-ext", "ark-scale", "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -17172,7 +17196,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "blake2b_simd", "byteorder", @@ -17196,7 +17220,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "quote", "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -17206,7 +17230,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -17226,7 +17250,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "proc-macro2", "quote", @@ -17247,7 +17271,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.29.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "environmental", "parity-scale-codec", @@ -17257,25 +17281,25 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.15.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", "serde_json", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-inherents" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] @@ -17309,7 +17333,7 @@ dependencies = [ [[package]] name = "sp-io" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "bytes", "docify", @@ -17335,10 +17359,10 @@ dependencies = [ [[package]] name = "sp-keyring" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "strum 0.26.3", ] @@ -17357,7 +17381,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.40.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -17378,7 +17402,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "thiserror", "zstd 0.12.4", @@ -17398,7 +17422,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.7.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -17408,7 +17432,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.12.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", @@ -17419,24 +17443,24 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-offchain" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -17453,7 +17477,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "backtrace", "lazy_static", @@ -17463,7 +17487,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "32.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -17473,8 +17497,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "39.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806f19b91dc283145e0580353e6ae68e4e634c0915d3dd950f57547b90b55a8c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "either", @@ -17488,19 +17511,20 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tracing", ] [[package]] name = "sp-runtime" -version = "39.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +version = "39.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658f23be7c79a85581029676a73265c107c5469157e3444c8c640fdbaa8bfed0" dependencies = [ "docify", "either", @@ -17514,12 +17538,12 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", ] @@ -17546,7 +17570,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "28.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -17579,7 +17603,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "Inflector", "expander", @@ -17592,28 +17616,28 @@ dependencies = [ [[package]] name = "sp-session" version = "36.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", ] [[package]] name = "sp-staking" version = "36.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -17640,7 +17664,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.43.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "hash-db", "log", @@ -17660,7 +17684,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "18.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.3", @@ -17675,7 +17699,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "x25519-dalek", @@ -17690,7 +17714,7 @@ checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" [[package]] name = "sp-storage" @@ -17708,7 +17732,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -17720,12 +17744,12 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] @@ -17744,7 +17768,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "tracing", @@ -17755,23 +17779,23 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-transaction-storage-proof" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] @@ -17802,7 +17826,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "ahash 0.8.11", "hash-db", @@ -17834,7 +17858,7 @@ dependencies = [ "scale-info", "serde", "sp-crypto-hashing-proc-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sp-runtime 39.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-version-proc-macro 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", @@ -17843,7 +17867,7 @@ dependencies = [ [[package]] name = "sp-version" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -17851,7 +17875,7 @@ dependencies = [ "scale-info", "serde", "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-version-proc-macro 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", @@ -17872,7 +17896,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -17896,7 +17920,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "21.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -17910,7 +17934,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -17935,7 +17959,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "31.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -17990,9 +18014,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.50.0" +version = "1.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43fce22ed1df64d04b262351c8f9d5c6da4f76f79f25ad15529792f893fad25d" +checksum = "19409f13998e55816d1c728395af0b52ec066206341d939e22e7766df9b494b8" dependencies = [ "Inflector", "num-format", @@ -18050,7 +18074,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f697a07e4606a0a25c044de247e583a330dbb1731d11bc7350b81f48ad567255" dependencies = [ "approx", - "nalgebra", + "nalgebra 0.32.6", "num-traits", "rand 0.8.5", ] @@ -18196,7 +18220,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -18208,17 +18232,17 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" [[package]] name = "substrate-frame-rpc-system" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "sc-rpc-api", @@ -18227,13 +18251,13 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "http-body-util", "hyper 1.4.1", @@ -18247,28 +18271,28 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "log", "sc-rpc-api", "serde", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "substrate-state-trie-migration-rpc" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.24.5", + "jsonrpsee 0.24.6", "parity-scale-codec", "sc-client-api", "sc-rpc-api", "serde", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "trie-db", @@ -18277,7 +18301,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#6566620888e82597bdc0232e9d15c5050b7de2b3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "array-bytes", "async-trait", @@ -18296,7 +18320,7 @@ dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", ] @@ -18516,9 +18540,9 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a850d65181df41b83c6be01a7d91f5e9377c43d48faa5af7d95816f437f5a3" +checksum = "20e7b52ad118b2153644eea95c6fc740b6c1555b2344fdab763fc9de4075f665" dependencies = [ "paste", "proc-macro2", @@ -19607,7 +19631,7 @@ dependencies = [ "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 39.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -19770,9 +19794,9 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" +checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" dependencies = [ "cfg-if", "once_cell", @@ -19781,9 +19805,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" +checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" dependencies = [ "bumpalo", "log", @@ -19796,9 +19820,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.43" +version = "0.4.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" +checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b" dependencies = [ "cfg-if", "js-sys", @@ -19808,9 +19832,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" +checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -19818,9 +19842,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" +checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", @@ -19831,9 +19855,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" +checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" [[package]] name = "wasm-encoder" @@ -19856,7 +19880,7 @@ dependencies = [ name = "wasm-info" version = "0.1.0" dependencies = [ - "clap 4.5.19", + "clap 4.5.20", "hex", "parity-wasm", ] @@ -19913,7 +19937,7 @@ dependencies = [ name = "wasm-proc" version = "1.6.1" dependencies = [ - "clap 4.5.19", + "clap 4.5.20", "env_logger", "gear-wasm-builder", "log", @@ -20527,9 +20551,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.70" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" +checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112" dependencies = [ "js-sys", "wasm-bindgen", diff --git a/runtime-interface/sandbox/Cargo.toml b/runtime-interface/sandbox/Cargo.toml index 92b19ea599e..9299d1dbea6 100644 --- a/runtime-interface/sandbox/Cargo.toml +++ b/runtime-interface/sandbox/Cargo.toml @@ -27,5 +27,6 @@ std = [ "sp-runtime-interface/std", "sp-wasm-interface/std", + "sp-wasm-interface/wasmtime", ] runtime-benchmarks = [] From 7dcaec5da7f081dbee0581fe48ef428195a12991 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Mon, 14 Oct 2024 16:46:02 +0200 Subject: [PATCH 03/59] refactor(vara-runtime): Use frame_support::runtime --- runtime/vara/src/lib.rs | 433 +++++++++++++++++++++++++++++----------- 1 file changed, 314 insertions(+), 119 deletions(-) diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index e16762b9834..712799edce1 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -33,7 +33,7 @@ use frame_election_provider_support::{ VoteWeight, }; pub use frame_support::{ - construct_runtime, + construct_runtime, derive_impl, dispatch::{DispatchClass, WeighData}, genesis_builder_helper::{build_config, create_default_config}, parameter_types, @@ -80,6 +80,7 @@ pub use pallet_timestamp::Call as TimestampCall; pub use pallet_transaction_payment::{ CurrencyAdapter, FeeDetails, Multiplier, RuntimeDispatchInfo, }; +use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use runtime_common::constants::BANK_ADDRESS; pub use runtime_common::{ constants::{ @@ -102,7 +103,6 @@ use sp_runtime::traits::HashingFor; #[cfg(not(feature = "dev"))] use sp_runtime::traits::OpaqueKeys; use sp_runtime::{ - codec::{Decode, Encode, MaxEncodedLen}, create_runtime_str, generic, impl_opaque_keys, traits::{ AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto, DispatchInfoOf, Dispatchable, @@ -222,6 +222,7 @@ parameter_types! { // Configure FRAME pallets to include in runtime. +#[derive_impl(frame_system::config_preludes::SolochainDefaultConfig)] impl frame_system::Config for Runtime { /// The basic call filter to use in dispatchable. type BaseCallFilter = Everything; @@ -1281,125 +1282,319 @@ impl pallet_vesting::Config for Runtime { // Create the runtime by composing the FRAME pallets that were previously configured. #[cfg(feature = "dev")] -construct_runtime!( - pub struct Runtime - { - System: frame_system = 0, - Timestamp: pallet_timestamp = 1, - Authorship: pallet_authorship = 2, - AuthorityDiscovery: pallet_authority_discovery = 9, - Babe: pallet_babe = 3, - Grandpa: pallet_grandpa = 4, - Balances: pallet_balances = 5, - Vesting: pallet_vesting = 10, - TransactionPayment: pallet_transaction_payment = 6, - BagsList: pallet_bags_list:: = 11, - ImOnline: pallet_im_online = 12, - Staking: pallet_staking = 13, - Session: pallet_session = 7, - Treasury: pallet_treasury = 14, - Historical: pallet_session_historical = 15, - Utility: pallet_utility = 8, - - // Governance - ConvictionVoting: pallet_conviction_voting = 16, - Referenda: pallet_referenda = 17, - FellowshipCollective: pallet_ranked_collective:: = 18, - FellowshipReferenda: pallet_referenda:: = 19, - Origins: pallet_custom_origins = 20, - Whitelist: pallet_whitelist = 21, - - Scheduler: pallet_scheduler = 22, - Preimage: pallet_preimage = 23, - Identity: pallet_identity = 24, - Proxy: pallet_proxy = 25, - Multisig: pallet_multisig = 26, - - ElectionProviderMultiPhase: pallet_election_provider_multi_phase = 27, - Offences: pallet_offences = 28, - Bounties: pallet_bounties = 29, - ChildBounties: pallet_child_bounties = 30, - NominationPools: pallet_nomination_pools = 31, - - GearProgram: pallet_gear_program = 100, - GearMessenger: pallet_gear_messenger = 101, - GearScheduler: pallet_gear_scheduler = 102, - GearGas: pallet_gear_gas = 103, - Gear: pallet_gear = 104, - GearPayment: pallet_gear_payment = 105, - StakingRewards: pallet_gear_staking_rewards = 106, - GearVoucher: pallet_gear_voucher = 107, - GearBank: pallet_gear_bank = 108, - GearBuiltin: pallet_gear_builtin = 109, - GearEthBridge: pallet_gear_eth_bridge = 110, - - Sudo: pallet_sudo = 99, - - // NOTE (!): `pallet_airdrop` used to be idx(198). - - // Only available with "dev" feature on - GearDebug: pallet_gear_debug = 199, - } -); +#[frame_support::runtime] +mod runtime { + #[runtime::runtime] + #[runtime::derive( + RuntimeCall, + RuntimeEvent, + RuntimeError, + RuntimeOrigin, + RuntimeFreezeReason, + RuntimeHoldReason, + RuntimeSlashReason, + RuntimeLockId, + RuntimeTask + )] + pub struct Runtime; + + #[runtime::pallet_index(0)] + pub type System = frame_system::Pallet; + + #[runtime::pallet_index(1)] + pub type Timestamp = pallet_timestamp::Pallet; + + #[runtime::pallet_index(2)] + pub type Authorship = pallet_authorship::Pallet; + + #[runtime::pallet_index(9)] + pub type AuthorityDiscovery = pallet_authority_discovery; + + #[runtime::pallet_index(3)] + pub type Babe = pallet_babe; + + #[runtime::pallet_index(4)] + pub type Grandpa = pallet_grandpa; + + #[runtime::pallet_index(5)] + pub type Balances = pallet_balances; + + #[runtime::pallet_index(10)] + pub type Vesting = pallet_vesting; + + #[runtime::pallet_index(6)] + pub type TransactionPayment = pallet_transaction_payment; + + #[runtime::pallet_index(11)] + pub type BagsList = pallet_bags_list; + + #[runtime::pallet_index(12)] + pub type ImOnline = pallet_im_online; + + #[runtime::pallet_index(13)] + pub type Staking = pallet_staking; + + #[runtime::pallet_index(7)] + pub type Session = pallet_session; + + #[runtime::pallet_index(14)] + pub type Treasury = pallet_treasury; + + #[runtime::pallet_index(15)] + pub type Historical = pallet_session_historical; + + #[runtime::pallet_index(8)] + pub type Utility = pallet_utility; + + // Governance + + #[runtime::pallet_index(16)] + pub type ConvictionVoting = pallet_conviction_voting; + + #[runtime::pallet_index(17)] + pub type Referenda = pallet_referenda; + + #[runtime::pallet_index(18)] + pub type FellowshipCollective = pallet_ranked_collective; + + #[runtime::pallet_index(19)] + pub type FellowshipReferenda = pallet_referenda; + + #[runtime::pallet_index(20)] + pub type Origins = pallet_custom_origins; + + #[runtime::pallet_index(21)] + pub type Whitelist = pallet_whitelist; + + #[runtime::pallet_index(22)] + pub type Scheduler = pallet_scheduler; + + #[runtime::pallet_index(23)] + pub type Preimage = pallet_preimage; + + #[runtime::pallet_index(24)] + pub type Identity = pallet_identity; + + #[runtime::pallet_index(25)] + pub type Proxy = pallet_proxy; + + #[runtime::pallet_index(26)] + pub type Multisig = pallet_multisig; + + #[runtime::pallet_index(27)] + pub type ElectionProviderMultiPhase = pallet_election_provider_multi_phase; + + #[runtime::pallet_index(28)] + pub type Offences = pallet_offences; + + #[runtime::pallet_index(29)] + pub type Bounties = pallet_bounties; + + #[runtime::pallet_index(30)] + pub type ChildBounties = pallet_child_bounties; + + #[runtime::pallet_index(31)] + pub type NominationPools = pallet_nomination_pools; + + // Gear + + #[runtime::pallet_index(100)] + pub type GearProgram = pallet_gear_program; + + #[runtime::pallet_index(101)] + pub type GearMessenger = pallet_gear_messenger; + + #[runtime::pallet_index(102)] + pub type GearScheduler = pallet_gear_scheduler; + + #[runtime::pallet_index(103)] + pub type GearGas = pallet_gear_gas; + + #[runtime::pallet_index(104)] + pub type Gear = pallet_gear; + + #[runtime::pallet_index(105)] + pub type GearPayment = pallet_gear_payment; + + #[runtime::pallet_index(106)] + pub type StakingRewards = pallet_gear_staking_rewards; + + #[runtime::pallet_index(107)] + pub type GearVoucher = pallet_gear_voucher; + + #[runtime::pallet_index(108)] + pub type GearBank = pallet_gear_bank; + + #[runtime::pallet_index(109)] + pub type GearBuiltin = pallet_gear_builtin; + + #[runtime::pallet_index(110)] + pub type GearEthBridge = pallet_gear_eth_bridge; + + #[runtime::pallet_index(99)] + pub type Sudo = pallet_sudo; + + // NOTE (!): `pallet_airdrop` used to be idx(198). + + // Only available with "dev" feature on + #[runtime::pallet_index(199)] + pub type GearDebug = pallet_gear_debug; +} #[cfg(not(feature = "dev"))] -construct_runtime!( - pub struct Runtime - { - System: frame_system = 0, - Timestamp: pallet_timestamp = 1, - Authorship: pallet_authorship = 2, - AuthorityDiscovery: pallet_authority_discovery = 9, - Babe: pallet_babe = 3, - Grandpa: pallet_grandpa = 4, - Balances: pallet_balances = 5, - Vesting: pallet_vesting = 10, - TransactionPayment: pallet_transaction_payment = 6, - BagsList: pallet_bags_list:: = 11, - ImOnline: pallet_im_online = 12, - Staking: pallet_staking = 13, - Session: pallet_session = 7, - Treasury: pallet_treasury = 14, - Historical: pallet_session_historical = 15, - Utility: pallet_utility = 8, - - // Governance - ConvictionVoting: pallet_conviction_voting = 16, - Referenda: pallet_referenda = 17, - FellowshipCollective: pallet_ranked_collective:: = 18, - FellowshipReferenda: pallet_referenda:: = 19, - Origins: pallet_custom_origins = 20, - Whitelist: pallet_whitelist = 21, - - Scheduler: pallet_scheduler = 22, - Preimage: pallet_preimage = 23, - Identity: pallet_identity = 24, - Proxy: pallet_proxy = 25, - Multisig: pallet_multisig = 26, - - ElectionProviderMultiPhase: pallet_election_provider_multi_phase = 27, - Offences: pallet_offences = 28, - Bounties: pallet_bounties = 29, - ChildBounties: pallet_child_bounties = 30, - NominationPools: pallet_nomination_pools = 31, - - GearProgram: pallet_gear_program = 100, - GearMessenger: pallet_gear_messenger = 101, - GearScheduler: pallet_gear_scheduler = 102, - GearGas: pallet_gear_gas = 103, - Gear: pallet_gear = 104, - GearPayment: pallet_gear_payment = 105, - StakingRewards: pallet_gear_staking_rewards = 106, - GearVoucher: pallet_gear_voucher = 107, - GearBank: pallet_gear_bank = 108, - GearBuiltin: pallet_gear_builtin = 109, - // Uncomment me, once ready for prod runtime. - // GearEthBridge: pallet_gear_eth_bridge = 110, - - // NOTE (!): `pallet_sudo` used to be idx(99). - // NOTE (!): `pallet_airdrop` used to be idx(198). - } -); +#[frame_support::runtime] +mod runtime { + #[runtime::runtime] + #[runtime::derive( + RuntimeCall, + RuntimeEvent, + RuntimeError, + RuntimeOrigin, + RuntimeFreezeReason, + RuntimeHoldReason, + RuntimeSlashReason, + RuntimeLockId, + RuntimeTask + )] + pub struct Runtime; + + #[runtime::pallet_index(0)] + pub type System = frame_system; + + #[runtime::pallet_index(1)] + pub type Timestamp = pallet_timestamp::Pallet; + + #[runtime::pallet_index(2)] + pub type Authorship = pallet_authorship; + + #[runtime::pallet_index(9)] + pub type AuthorityDiscovery = pallet_authority_discovery; + + #[runtime::pallet_index(3)] + pub type Babe = pallet_babe; + + #[runtime::pallet_index(4)] + pub type Grandpa = pallet_grandpa; + + #[runtime::pallet_index(5)] + pub type Balances = pallet_balances; + + #[runtime::pallet_index(10)] + pub type Vesting = pallet_vesting; + + #[runtime::pallet_index(6)] + pub type TransactionPayment = pallet_transaction_payment; + + #[runtime::pallet_index(11)] + pub type BagsList = pallet_bags_list; + + #[runtime::pallet_index(12)] + pub type ImOnline = pallet_im_online; + + #[runtime::pallet_index(13)] + pub type Staking = pallet_staking; + + #[runtime::pallet_index(7)] + pub type Session = pallet_session; + + #[runtime::pallet_index(14)] + pub type Treasury = pallet_treasury; + + #[runtime::pallet_index(15)] + pub type Historical = pallet_session_historical; + + #[runtime::pallet_index(8)] + pub type Utility = pallet_utility; + + // Governance + + #[runtime::pallet_index(16)] + pub type ConvictionVoting = pallet_conviction_voting; + + #[runtime::pallet_index(17)] + pub type Referenda = pallet_referenda; + + #[runtime::pallet_index(18)] + pub type FellowshipCollective = pallet_ranked_collective; + + #[runtime::pallet_index(19)] + pub type FellowshipReferenda = pallet_referenda; + + #[runtime::pallet_index(20)] + pub type Origins = pallet_custom_origins; + + #[runtime::pallet_index(21)] + pub type Whitelist = pallet_whitelist; + + #[runtime::pallet_index(22)] + pub type Scheduler = pallet_scheduler; + + #[runtime::pallet_index(23)] + pub type Preimage = pallet_preimage; + + #[runtime::pallet_index(24)] + pub type Identity = pallet_identity; + + #[runtime::pallet_index(25)] + pub type Proxy = pallet_proxy; + + #[runtime::pallet_index(26)] + pub type Multisig = pallet_multisig; + + #[runtime::pallet_index(27)] + pub type ElectionProviderMultiPhase = pallet_election_provider_multi_phase; + + #[runtime::pallet_index(28)] + pub type Offences = pallet_offences; + + #[runtime::pallet_index(29)] + pub type Bounties = pallet_bounties; + + #[runtime::pallet_index(30)] + pub type ChildBounties = pallet_child_bounties; + + #[runtime::pallet_index(31)] + pub type NominationPools = pallet_nomination_pools; + + // Gear + + #[runtime::pallet_index(100)] + pub type GearProgram = pallet_gear_program; + + #[runtime::pallet_index(101)] + pub type GearMessenger = pallet_gear_messenger; + + #[runtime::pallet_index(102)] + pub type GearScheduler = pallet_gear_scheduler; + + #[runtime::pallet_index(103)] + pub type GearGas = pallet_gear_gas; + + #[runtime::pallet_index(104)] + pub type Gear = pallet_gear; + + #[runtime::pallet_index(105)] + pub type GearPayment = pallet_gear_payment; + + #[runtime::pallet_index(106)] + pub type StakingRewards = pallet_gear_staking_rewards; + + #[runtime::pallet_index(107)] + pub type GearVoucher = pallet_gear_voucher; + + #[runtime::pallet_index(108)] + pub type GearBank = pallet_gear_bank; + + #[runtime::pallet_index(109)] + pub type GearBuiltin = pallet_gear_builtin; + + // Uncomment me, once ready for prod runtime. + // #[runtime::pallet_index(110)] + // pub type GearEthBridge = pallet_gear_eth_bridge; + + // NOTE (!): `pallet_sudo` used to be idx(99). + // NOTE (!): `pallet_airdrop` used to be idx(198). +} /// The address format for describing accounts. pub type Address = sp_runtime::MultiAddress; From e4b9c9b612df0f3b71026c6c63f0d4636d16e16a Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Mon, 14 Oct 2024 16:46:32 +0200 Subject: [PATCH 04/59] refactor(vara-runtime): Update sp_genesis_builder --- runtime/vara/src/lib.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 712799edce1..b774926a8c0 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -35,7 +35,7 @@ use frame_election_provider_support::{ pub use frame_support::{ construct_runtime, derive_impl, dispatch::{DispatchClass, WeighData}, - genesis_builder_helper::{build_config, create_default_config}, + genesis_builder_helper::{build_state, get_preset}, parameter_types, traits::{ fungible::HoldConsideration, @@ -1803,12 +1803,16 @@ impl_runtime_apis_plus_common! { } impl sp_genesis_builder::GenesisBuilder for Runtime { - fn create_default_config() -> Vec { - create_default_config::() + fn build_state(config: Vec) -> sp_genesis_builder::Result { + build_state::(config) } - fn build_config(config: Vec) -> sp_genesis_builder::Result { - build_config::(config) + fn get_preset(id: &Option) -> Option> { + get_preset::(id, |_| None) + } + + fn preset_names() -> Vec { + vec![] } } From b784b8a415d36e9d153f3fa92f4d37f9e2e295f5 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Mon, 14 Oct 2024 17:44:07 +0200 Subject: [PATCH 05/59] refactor(vara-runtime): Update pallets configs --- Cargo.lock | 42 ++++++----- Cargo.toml | 2 +- runtime/common/src/apis.rs | 2 +- runtime/common/src/lib.rs | 2 +- runtime/vara/Cargo.toml | 4 + runtime/vara/src/governance/fellowship.rs | 11 +++ runtime/vara/src/lib.rs | 82 +++++++++++++++------ runtime/vara/src/migrations.rs | 6 +- runtime/vara/src/weights/frame_system.rs | 54 ++++++++++++++ runtime/vara/src/weights/pallet_balances.rs | 48 ++++++++++++ 10 files changed, 206 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6e0d8cf2265..fc4b72a3f4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -208,9 +208,9 @@ dependencies = [ [[package]] name = "alloy-core" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeb750349efda145ca6aada68d0336067f7f364d7d44ef09e2cf000b040c5e99" +checksum = "a54c7158ea4a394bef220d82d8fdd412fb9b1ca2d6024db539070b7bc01b6401" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -221,9 +221,9 @@ dependencies = [ [[package]] name = "alloy-dyn-abi" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95d76a38cae906fd394a5afb0736aaceee5432efe76addfd71048e623e208af" +checksum = "e6228abfc751a29cde117b0879b805a3e0b3b641358f063272c83ca459a56886" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -289,9 +289,9 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c66eec1acdd96b39b995b8f5ee5239bc0c871d62c527ae1ac9fd1d7fecd455" +checksum = "d46eb5871592c216d39192499c95a99f7175cb94104f88c307e6dc960676d9f1" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -365,9 +365,9 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb848c43f6b06ae3de2e4a67496cbbabd78ae87db0f1248934f15d76192c6a" +checksum = "38f35429a652765189c1c5092870d8360ee7b7769b09b06d89ebaefd34676446" dependencies = [ "alloy-rlp", "bytes", @@ -613,9 +613,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "661c516eb1fa3294cc7f2fb8955b3b609d639c282ac81a4eedb14d3046db503a" +checksum = "3b2395336745358cc47207442127c47c63801a7065ecc0aa928da844f8bb5576" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", @@ -627,9 +627,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro-expander" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecbabb8fc3d75a0c2cea5215be22e7a267e3efde835b0f2a8922f5e3f5d47683" +checksum = "9ed5047c9a241df94327879c2b0729155b58b941eae7805a7ada2e19436e6b39" dependencies = [ "alloy-json-abi", "alloy-sol-macro-input", @@ -646,9 +646,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro-input" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16517f2af03064485150d89746b8ffdcdbc9b6eeb3d536fb66efd7c2846fbc75" +checksum = "5dee02a81f529c415082235129f0df8b8e60aa1601b9c9298ffe54d75f57210b" dependencies = [ "alloy-json-abi", "const-hex", @@ -663,9 +663,9 @@ dependencies = [ [[package]] name = "alloy-sol-type-parser" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c07ebb0c1674ff8cbb08378d7c2e0e27919d2a2dae07ad3bca26174deda8d389" +checksum = "f631f0bd9a9d79619b27c91b6b1ab2c4ef4e606a65192369a1ee05d40dcf81cc" dependencies = [ "serde", "winnow", @@ -673,9 +673,9 @@ dependencies = [ [[package]] name = "alloy-sol-types" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e448d879903624863f608c552d10efb0e0905ddbee98b0049412799911eb062" +checksum = "c2841af22d99e2c0f82a78fe107b6481be3dd20b89bfb067290092794734343a" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -18540,9 +18540,9 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e7b52ad118b2153644eea95c6fc740b6c1555b2344fdab763fc9de4075f665" +checksum = "ebfc1bfd06acc78f16d8fd3ef846bc222ee7002468d10a7dce8d703d6eab89a3" dependencies = [ "paste", "proc-macro2", @@ -19625,6 +19625,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", "sp-inherents", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -19634,6 +19635,7 @@ dependencies = [ "sp-runtime 39.0.1", "sp-session", "sp-staking", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", diff --git a/Cargo.toml b/Cargo.toml index 3f26cec8a50..846bd56b486 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -125,7 +125,7 @@ bs58 = { version = "0.5.1", default-features = false } cargo_toml = "0.19.2" cargo_metadata = "0.18.1" clap = "4.5.8" -codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false } +codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false } color-eyre = "0.6.3" colored = "2.1.0" const-str = "0.5" diff --git a/runtime/common/src/apis.rs b/runtime/common/src/apis.rs index c3b1e3cbdf8..3fbfbfb4aef 100644 --- a/runtime/common/src/apis.rs +++ b/runtime/common/src/apis.rs @@ -31,7 +31,7 @@ macro_rules! impl_runtime_apis_plus_common { Executive::execute_block(block); } - fn initialize_block(header: &::Header) { + fn initialize_block(header: &::Header) -> sp_runtime::ExtrinsicInclusionMode { Executive::initialize_block(header) } } diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index ac8259048d4..e2af6d0630d 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -113,7 +113,7 @@ where ::AccountId: From, ::AccountId: Into, { - fn on_unbalanceds(mut fees_then_tips: impl Iterator>) { + fn on_unbalanceds(mut fees_then_tips: impl Iterator>) { use pallet_treasury::Pallet as Treasury; if let Some(fees) = fees_then_tips.next() { diff --git a/runtime/vara/Cargo.toml b/runtime/vara/Cargo.toml index 4aa89ee380e..e68249cebb2 100644 --- a/runtime/vara/Cargo.toml +++ b/runtime/vara/Cargo.toml @@ -65,6 +65,7 @@ sp-authority-discovery.workspace = true sp-block-builder.workspace = true sp-consensus-babe.workspace = true sp-core.workspace = true +sp-externalities = { workspace = true, optional = true } sp-genesis-builder.workspace = true sp-inherents.workspace = true sp-npos-elections.workspace = true @@ -72,6 +73,7 @@ sp-offchain.workspace = true sp-runtime.workspace = true sp-session.workspace = true sp-staking.workspace = true +sp-state-machine = { workspace = true, optional = true } sp-std.workspace = true sp-storage.workspace = true sp-transaction-pool.workspace = true @@ -192,12 +194,14 @@ std = [ "sp-block-builder/std", "sp-consensus-babe/std", "sp-core/std", + "sp-externalities", "sp-inherents/std", "sp-npos-elections/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", "sp-staking/std", + "sp-state-machine", "sp-std/std", "sp-storage/std", "sp-transaction-pool/std", diff --git a/runtime/vara/src/governance/fellowship.rs b/runtime/vara/src/governance/fellowship.rs index 0ed85f31ca6..1b6e45c6972 100644 --- a/runtime/vara/src/governance/fellowship.rs +++ b/runtime/vara/src/governance/fellowship.rs @@ -334,6 +334,8 @@ morph_types! { impl pallet_ranked_collective::Config for Runtime { type WeightInfo = pallet_ranked_collective::weights::SubstrateWeight; type RuntimeEvent = RuntimeEvent; + type AddOrigin = EnsureRoot; + type RemoveOrigin = Self::DemoteOrigin; // Promotion is by any of: // - Root can demote arbitrarily. // - the FellowshipAdmin origin (i.e. token holder referendum); @@ -356,7 +358,16 @@ impl pallet_ranked_collective::Config for Runtime TryMapSuccess>>, >, >; + type ExchangeOrigin = EitherOf< + frame_system::EnsureRootWithSuccess>, + EitherOf< + MapSuccess>>, + TryMapSuccess>>, + >, + >; type Polls = FellowshipReferenda; type MinRankOfClass = sp_runtime::traits::Identity; type VoteWeight = pallet_ranked_collective::Geometric; + type MemberSwappedHandler = (); + type MaxMemberCount = (); } diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index b774926a8c0..67eef7597f9 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -43,7 +43,7 @@ pub use frame_support::{ ConstU128, ConstU16, ConstU32, Contains, Currency, EitherOf, EitherOfDiverse, EqualPrivilegeOnly, Everything, FindAuthor, InstanceFilter, KeyOwnerProofSystem, LinearStoragePrice, LockIdentifier, Nothing, OnUnbalanced, Randomness, StorageInfo, - WithdrawReasons, + VariantCountOf, WithdrawReasons, }, weights::{ constants::{ @@ -77,6 +77,7 @@ use pallet_identity::legacy::IdentityInfo; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use pallet_session::historical::{self as pallet_session_historical}; pub use pallet_timestamp::Call as TimestampCall; +#[allow(deprecated)] pub use pallet_transaction_payment::{ CurrencyAdapter, FeeDetails, Multiplier, RuntimeDispatchInfo, }; @@ -96,9 +97,11 @@ use runtime_primitives::{Balance, BlockNumber, Hash, Moment, Nonce}; use scale_info::TypeInfo; use sp_api::impl_runtime_apis; #[cfg(any(feature = "std", test))] -use sp_api::{CallApiAt, CallContext, Extensions, OverlayedChanges, ProofRecorder}; +use sp_api::{CallApiAt, CallContext, ProofRecorder}; use sp_core::{crypto::KeyTypeId, ConstBool, ConstU64, ConstU8, OpaqueMetadata, H256}; #[cfg(any(feature = "std", test))] +use sp_externalities::Extensions; +#[cfg(any(feature = "std", test))] use sp_runtime::traits::HashingFor; #[cfg(not(feature = "dev"))] use sp_runtime::traits::OpaqueKeys; @@ -111,6 +114,8 @@ use sp_runtime::{ transaction_validity::{TransactionPriority, TransactionSource, TransactionValidity}, ApplyExtrinsicResult, FixedU128, Perbill, Percent, Permill, Perquintill, RuntimeDebug, }; +#[cfg(any(feature = "std", test))] +use sp_state_machine::OverlayedChanges; use sp_std::{ convert::{TryFrom, TryInto}, prelude::*, @@ -246,6 +251,8 @@ impl frame_system::Config for Runtime { type Block = Block; /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; + /// Contains an aggregation of all tasks in this runtime. + type RuntimeTask = RuntimeTask; /// The ubiquitous origin type. type RuntimeOrigin = RuntimeOrigin; /// Maximum number of block number to block hash mappings to keep (oldest pruned first). @@ -372,6 +379,8 @@ parameter_types! { } impl pallet_balances::Config for Runtime { + type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; type MaxLocks = MaxLocks; type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; @@ -381,11 +390,8 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ConstU128; type AccountStore = System; type WeightInfo = (); - type RuntimeFreezeReason = RuntimeFreezeReason; type FreezeIdentifier = RuntimeFreezeReason; - type MaxFreezes = ConstU32<8>; - type RuntimeHoldReason = RuntimeHoldReason; - type MaxHolds = ConstU32<2>; + type MaxFreezes = VariantCountOf; } parameter_types! { @@ -394,6 +400,9 @@ parameter_types! { pub const OperationalFeeMultiplier: u8 = 5; } +// Can't use `FungibleAdapter` here until Treasury pallet migrates to fungibles +// +#[allow(deprecated)] impl pallet_transaction_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnChargeTransaction = CurrencyAdapter>; @@ -575,8 +584,6 @@ parameter_types! { pub const SignedDepositBase: Balance = ECONOMIC_UNITS; pub const SignedDepositByte: Balance = ECONOMIC_CENTIUNITS; - pub BetterUnsignedThreshold: Perbill = Perbill::from_rational(1u32, 10_000); - // miner configs pub const MultiPhaseUnsignedPriority: TransactionPriority = StakingUnsignedPriority::get() - 1u64; pub MinerMaxWeight: Weight = RuntimeBlockWeights::get() @@ -666,7 +673,6 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type EstimateCallFee = TransactionPayment; type SignedPhase = SignedPhase; type UnsignedPhase = UnsignedPhase; - type BetterUnsignedThreshold = BetterUnsignedThreshold; type BetterSignedThreshold = (); type OffchainRepeat = OffchainRepeat; type MinerTxPriority = MultiPhaseUnsignedPriority; @@ -705,6 +711,7 @@ parameter_types! { // this is an unbounded number. We just set it to a reasonably high value, 1 full page // of nominators. pub const MaxNominators: u32 = 512; + pub const MaxControllersInDeprecationBatch: u32 = 5900; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); // 2 hour session, 30 min unsigned phase, 16 offchain executions. pub OffchainRepeat: BlockNumber = UnsignedPhase::get() / 16; @@ -742,15 +749,16 @@ impl pallet_staking::Config for Runtime { type EraPayout = StakingRewards; type NextNewSession = Session; type MaxExposurePageSize = MaxExposurePageSize; - type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type VoterList = BagsList; type TargetList = pallet_staking::UseValidatorsMap; type NominationsQuota = pallet_staking::FixedNominationsQuota<{ MaxNominations::get() }>; type MaxUnlockingChunks = ConstU32<32>; + type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch; type HistoryDepth = HistoryDepth; type EventListeners = NominationPools; type WeightInfo = pallet_staking::weights::SubstrateWeight; type BenchmarkingConfig = StakingBenchmarkingConfig; + type DisablingStrategy = pallet_staking::UpToLimitDisablingStrategy; } parameter_types! { @@ -792,13 +800,14 @@ impl pallet_nomination_pools::Config for Runtime { type RewardCounter = FixedU128; type BalanceToU256 = BalanceToU256; type U256ToBalance = U256ToBalance; - type Staking = Staking; + type StakeAdapter = pallet_nomination_pools::adapter::TransferStake; type PostUnbondingPoolsWindow = ConstU32<4>; type MaxMetadataLen = ConstU32<256>; // we use the same number of allowed unlocking chunks as with staking. type MaxUnbonding = ::MaxUnlockingChunks; type PalletId = NominationPoolsPalletId; type MaxPointsToBalance = MaxPointsToBalance; + type AdminOrigin = EnsureRoot; } impl pallet_offences::Config for Runtime { @@ -827,13 +836,8 @@ parameter_types! { impl pallet_treasury::Config for Runtime { type PalletId = TreasuryPalletId; type Currency = Balances; - type ApproveOrigin = EitherOfDiverse, Treasurer>; type RejectOrigin = EitherOfDiverse, Treasurer>; type RuntimeEvent = RuntimeEvent; - type OnSlash = Treasury; - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = (); type SpendPeriod = SpendPeriod; type Burn = Burn; type BurnDestination = (); @@ -873,6 +877,7 @@ impl pallet_bounties::Config for Runtime { type MaximumReasonLength = MaximumReasonLength; type WeightInfo = pallet_bounties::weights::SubstrateWeight; type ChildBountyManager = ChildBounties; + type OnSlash = Treasury; } parameter_types! { @@ -932,6 +937,12 @@ impl pallet_identity::Config for Runtime { type Slashed = Treasury; type ForceOrigin = EitherOf, GeneralAdmin>; type RegistrarOrigin = EitherOf, GeneralAdmin>; + type OffchainSignature = Signature; + type SigningPublicKey = ::Signer; + type UsernameAuthorityOrigin = EnsureRoot; + type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>; + type MaxSuffixLength = ConstU32<7>; + type MaxUsernameLength = ConstU32<32>; type WeightInfo = pallet_identity::weights::SubstrateWeight; } @@ -1277,6 +1288,7 @@ impl pallet_vesting::Config for Runtime { type MinVestedTransfer = MinVestedTransfer; type WeightInfo = pallet_vesting::weights::SubstrateWeight; type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; + type BlockNumberProvider = System; const MAX_VESTING_SCHEDULES: u32 = 28; } @@ -1748,13 +1760,9 @@ impl_runtime_apis_plus_common! { } } - impl pallet_nomination_pools_runtime_api::NominationPoolsApi< - Block, - AccountId, - Balance, - > for Runtime { - fn pending_rewards(member: AccountId) -> Balance { - NominationPools::api_pending_rewards(member).unwrap_or_default() + impl pallet_nomination_pools_runtime_api::NominationPoolsApi for Runtime { + fn pending_rewards(who: AccountId) -> Balance { + NominationPools::api_pending_rewards(who).unwrap_or_default() } fn points_to_balance(pool_id: pallet_nomination_pools::PoolId, points: Balance) -> Balance { @@ -1764,6 +1772,30 @@ impl_runtime_apis_plus_common! { fn balance_to_points(pool_id: pallet_nomination_pools::PoolId, new_funds: Balance) -> Balance { NominationPools::api_balance_to_points(pool_id, new_funds) } + + fn pool_pending_slash(pool_id: pallet_nomination_pools::PoolId) -> Balance { + NominationPools::api_pool_pending_slash(pool_id) + } + + fn member_pending_slash(member: AccountId) -> Balance { + NominationPools::api_member_pending_slash(member) + } + + fn pool_needs_delegate_migration(pool_id: pallet_nomination_pools::PoolId) -> bool { + NominationPools::api_pool_needs_delegate_migration(pool_id) + } + + fn member_needs_delegate_migration(member: AccountId) -> bool { + NominationPools::api_member_needs_delegate_migration(member) + } + + fn member_total_balance(member: AccountId) -> Balance { + NominationPools::api_member_total_balance(member) + } + + fn pool_balance(pool_id: pallet_nomination_pools::PoolId) -> Balance { + NominationPools::api_pool_balance(pool_id) + } } impl pallet_staking_runtime_api::StakingApi for Runtime { @@ -1774,6 +1806,10 @@ impl_runtime_apis_plus_common! { fn eras_stakers_page_count(era: sp_staking::EraIndex, account: AccountId) -> sp_staking::Page { Staking::api_eras_stakers_page_count(era, account) } + + fn pending_rewards(era: sp_staking::EraIndex, account: AccountId) -> bool { + Staking::api_pending_rewards(era, account) + } } impl pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi for Runtime { diff --git a/runtime/vara/src/migrations.rs b/runtime/vara/src/migrations.rs index 9b7aa1ddb0c..ad77b0ba53b 100644 --- a/runtime/vara/src/migrations.rs +++ b/runtime/vara/src/migrations.rs @@ -18,6 +18,8 @@ use crate::*; +const IDENTITY_MIGRATION_KEY_LIMIT: u64 = u64::MAX; + /// All migrations that will run on the next runtime upgrade. pub type Migrations = ( // migration for added section sizes @@ -27,6 +29,8 @@ pub type Migrations = ( pallet_grandpa::migrations::MigrateV4ToV5, // move allocations to a separate storage item and remove pages_with_data field from program pallet_gear_program::migrations::allocations::MigrateAllocations, + // Migrate Identity pallet for Usernames + pallet_identity::migration::versioned::V0ToV1, ); mod staking { @@ -46,7 +50,7 @@ mod staking { pub struct MigrateToV14(sp_std::marker::PhantomData); impl OnRuntimeUpgrade for MigrateToV14 { fn on_runtime_upgrade() -> Weight { - let current = Pallet::::current_storage_version(); + let current = Pallet::::in_code_storage_version(); let on_chain = Pallet::::on_chain_storage_version(); if current == 14 && on_chain == 13 { diff --git a/runtime/vara/src/weights/frame_system.rs b/runtime/vara/src/weights/frame_system.rs index 15dc60f4ca1..0813c828429 100644 --- a/runtime/vara/src/weights/frame_system.rs +++ b/runtime/vara/src/weights/frame_system.rs @@ -123,6 +123,33 @@ impl frame_system::WeightInfo for SubstrateWeight { .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + fn authorize_upgrade() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 33_027_000 picoseconds. + Weight::from_parts(33_027_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + fn apply_authorized_upgrade() -> Weight { + // Proof Size summary in bytes: + // Measured: `22` + // Estimated: `1518` + // Minimum execution time: 118_101_992_000 picoseconds. + Weight::from_parts(118_101_992_000, 0) + .saturating_add(Weight::from_parts(0, 1518)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } } // For backwards compatibility and tests @@ -200,4 +227,31 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } + // /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + // /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + // fn authorize_upgrade() -> Weight { + // // Proof Size summary in bytes: + // // Measured: `0` + // // Estimated: `0` + // // Minimum execution time: 33_027_000 picoseconds. + // Weight::from_parts(33_027_000, 0) + // .saturating_add(Weight::from_parts(0, 0)) + // .saturating_add(RocksDbWeight::get().writes(1)) + // } + // /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + // /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + // /// Storage: `System::Digest` (r:1 w:1) + // /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // /// Storage: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + // /// Proof: UNKNOWN KEY `0x3a636f6465` (r:0 w:1) + // fn apply_authorized_upgrade() -> Weight { + // // Proof Size summary in bytes: + // // Measured: `22` + // // Estimated: `1518` + // // Minimum execution time: 118_101_992_000 picoseconds. + // Weight::from_parts(118_101_992_000, 0) + // .saturating_add(Weight::from_parts(0, 1518)) + // .saturating_add(RocksDbWeight::get().reads(2)) + // .saturating_add(RocksDbWeight::get().writes(3)) + // } } diff --git a/runtime/vara/src/weights/pallet_balances.rs b/runtime/vara/src/weights/pallet_balances.rs index 8c52ec245cc..df865ee6b43 100644 --- a/runtime/vara/src/weights/pallet_balances.rs +++ b/runtime/vara/src/weights/pallet_balances.rs @@ -127,6 +127,30 @@ impl pallet_balances::WeightInfo for SubstrateWeight .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } + fn force_adjust_total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_130_000 picoseconds. + Weight::from_parts(5_257_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn burn_allow_death() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 27_328_000 picoseconds. + Weight::from_parts(27_785_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } + fn burn_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 17_797_000 picoseconds. + Weight::from_parts(18_103_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } } // For backwards compatibility and tests @@ -207,4 +231,28 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } + // fn force_adjust_total_issuance() -> Weight { + // // Proof Size summary in bytes: + // // Measured: `0` + // // Estimated: `0` + // // Minimum execution time: 5_130_000 picoseconds. + // Weight::from_parts(5_257_000, 0) + // .saturating_add(Weight::from_parts(0, 0)) + // } + // fn burn_allow_death() -> Weight { + // // Proof Size summary in bytes: + // // Measured: `0` + // // Estimated: `0` + // // Minimum execution time: 27_328_000 picoseconds. + // Weight::from_parts(27_785_000, 0) + // .saturating_add(Weight::from_parts(0, 0)) + // } + // fn burn_keep_alive() -> Weight { + // // Proof Size summary in bytes: + // // Measured: `0` + // // Estimated: `0` + // // Minimum execution time: 17_797_000 picoseconds. + // Weight::from_parts(18_103_000, 0) + // .saturating_add(Weight::from_parts(0, 0)) + // } } From 57842dabffa83c7c4480594b4dc54c4664cf2533 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Thu, 17 Oct 2024 15:34:26 +0200 Subject: [PATCH 06/59] feat(rpc): Update jsonrpsee, update rpc extension and modules --- Cargo.lock | 189 ++----------------------- Cargo.toml | 2 +- gsdk/src/client.rs | 9 +- gsdk/src/result.rs | 2 +- node/service/src/chain_spec/mod.rs | 2 +- node/service/src/chain_spec/vara.rs | 2 +- node/service/src/rpc/mod.rs | 44 ++---- node/service/src/rpc/runtime_info.rs | 14 +- pallets/gear-builtin/rpc/src/lib.rs | 12 +- pallets/gear-eth-bridge/rpc/src/lib.rs | 6 +- pallets/gear/rpc/src/lib.rs | 36 ++--- pallets/staking-rewards/rpc/src/lib.rs | 11 +- 12 files changed, 75 insertions(+), 254 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fc4b72a3f4c..9f649a09220 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1961,16 +1961,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "bstr" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" -dependencies = [ - "memchr", - "serde", -] - [[package]] name = "build-helper" version = "0.1.1" @@ -6186,7 +6176,7 @@ dependencies = [ "gring", "gsdk", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.6", "keyring", "log", "rand 0.8.5", @@ -6799,7 +6789,7 @@ dependencies = [ "gear-runtime-interface", "gear-runtime-primitives", "hex-literal", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.6", "log", "pallet-gear-builtin-rpc", "pallet-gear-builtin-rpc-runtime-api", @@ -6850,10 +6840,12 @@ dependencies = [ "sp-consensus-grandpa", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-crypto-ec-utils", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", "sp-runtime 39.0.1", "sp-session", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", "sp-transaction-pool", @@ -7164,19 +7156,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" -[[package]] -name = "globset" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata 0.4.8", - "regex-syntax 0.8.5", -] - [[package]] name = "gloo-timers" version = "0.2.6" @@ -7300,7 +7279,7 @@ dependencies = [ "gsdk-codegen", "hex", "indexmap 2.6.0", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.6", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -7919,7 +7898,6 @@ dependencies = [ "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.24.1", - "webpki-roots 0.25.4", ] [[package]] @@ -8391,21 +8369,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "jsonrpsee" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" -dependencies = [ - "jsonrpsee-core 0.16.3", - "jsonrpsee-http-client 0.16.3", - "jsonrpsee-proc-macros 0.16.3", - "jsonrpsee-server 0.16.3", - "jsonrpsee-types 0.16.3", - "jsonrpsee-ws-client 0.16.3", - "tracing", -] - [[package]] name = "jsonrpsee" version = "0.22.5" @@ -8437,35 +8400,14 @@ checksum = "02f01f48e04e0d7da72280ab787c9943695699c9b32b99158ece105e8ad0afea" dependencies = [ "jsonrpsee-core 0.24.6", "jsonrpsee-http-client 0.24.6", - "jsonrpsee-proc-macros 0.24.6", - "jsonrpsee-server 0.24.6", + "jsonrpsee-proc-macros", + "jsonrpsee-server", "jsonrpsee-types 0.24.6", "jsonrpsee-ws-client 0.24.6", "tokio", "tracing", ] -[[package]] -name = "jsonrpsee-client-transport" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" -dependencies = [ - "futures-util", - "http 0.2.12", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "pin-project", - "rustls-native-certs 0.6.3", - "soketto 0.7.1", - "thiserror", - "tokio", - "tokio-rustls 0.24.1", - "tokio-util", - "tracing", - "webpki-roots 0.25.4", -] - [[package]] name = "jsonrpsee-client-transport" version = "0.22.5" @@ -8533,34 +8475,6 @@ dependencies = [ "url", ] -[[package]] -name = "jsonrpsee-core" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" -dependencies = [ - "anyhow", - "arrayvec 0.7.6", - "async-lock 2.8.0", - "async-trait", - "beef", - "futures-channel", - "futures-timer", - "futures-util", - "globset", - "hyper 0.14.30", - "jsonrpsee-types 0.16.3", - "parking_lot 0.12.3", - "rand 0.8.5", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "soketto 0.7.1", - "thiserror", - "tokio", - "tracing", -] - [[package]] name = "jsonrpsee-core" version = "0.22.5" @@ -8632,25 +8546,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-http-client" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" -dependencies = [ - "async-trait", - "hyper 0.14.30", - "hyper-rustls 0.24.2", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "thiserror", - "tokio", - "tracing", -] - [[package]] name = "jsonrpsee-http-client" version = "0.22.5" @@ -8696,19 +8591,6 @@ dependencies = [ "url", ] -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" -dependencies = [ - "heck 0.4.1", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "jsonrpsee-proc-macros" version = "0.24.6" @@ -8722,28 +8604,6 @@ dependencies = [ "syn 2.0.79", ] -[[package]] -name = "jsonrpsee-server" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" -dependencies = [ - "futures-channel", - "futures-util", - "http 0.2.12", - "hyper 0.14.30", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "serde", - "serde_json", - "soketto 0.7.1", - "tokio", - "tokio-stream", - "tokio-util", - "tower 0.4.13", - "tracing", -] - [[package]] name = "jsonrpsee-server" version = "0.24.6" @@ -8771,20 +8631,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-types" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - [[package]] name = "jsonrpsee-types" version = "0.22.5" @@ -8823,18 +8669,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "jsonrpsee-ws-client" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" -dependencies = [ - "http 0.2.12", - "jsonrpsee-client-transport 0.16.3", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", -] - [[package]] name = "jsonrpsee-ws-client" version = "0.23.2" @@ -11758,7 +11592,7 @@ dependencies = [ name = "pallet-gear-builtin-rpc" version = "1.6.1" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.6", "pallet-gear-builtin-rpc-runtime-api", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", @@ -11854,7 +11688,7 @@ dependencies = [ name = "pallet-gear-eth-bridge-rpc" version = "1.6.1" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.6", "pallet-gear-eth-bridge-rpc-runtime-api", "primitive-types", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -12000,7 +11834,7 @@ dependencies = [ "gear-common", "gear-core", "gear-core-errors", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.6", "pallet-gear-rpc-runtime-api", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", @@ -12089,7 +11923,7 @@ dependencies = [ name = "pallet-gear-staking-rewards-rpc" version = "1.6.1" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.6", "pallet-gear-staking-rewards-rpc-runtime-api", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", @@ -16787,7 +16621,6 @@ dependencies = [ "base64 0.13.1", "bytes", "futures", - "http 0.2.12", "httparse", "log", "rand 0.8.5", diff --git a/Cargo.toml b/Cargo.toml index 846bd56b486..ec28dc130d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -144,7 +144,7 @@ hex = { version = "0.4.3", default-features = false } hex-literal = "0.4.1" impl-trait-for-tuples = "0.2.2" impl-serde = "0.4.0" -jsonrpsee = { version = "^0.16" } +jsonrpsee = { version = "^0.24" } libc = { version = "0.2", default-features = false } log = { version = "0.4.22", default-features = false } num_enum = { version = "0.6.1", default-features = false } diff --git a/gsdk/src/client.rs b/gsdk/src/client.rs index ae922d2b909..0dfe34e630d 100644 --- a/gsdk/src/client.rs +++ b/gsdk/src/client.rs @@ -26,7 +26,6 @@ use jsonrpsee::{ core::{ client::{ClientT, Subscription, SubscriptionClientT, SubscriptionKind}, traits::ToRpcParams, - Error as JsonRpseeError, }, http_client::{HttpClient, HttpClientBuilder}, types::SubscriptionId, @@ -50,7 +49,7 @@ const ONE_HUNDRED_MEGA_BYTES: u32 = 100 * 1024 * 1024; struct Params(Option>); impl ToRpcParams for Params { - fn to_rpc_params(self) -> StdResult>, JsonRpseeError> { + fn to_rpc_params(self) -> StdResult>, serde_json::Error> { Ok(self.0) } } @@ -69,11 +68,7 @@ impl RpcClient { if uri.starts_with("ws") { Ok(Self::Ws( WsClientBuilder::default() - // Actually that stand for the response too. - // *WARNING*: - // After updating jsonrpsee to 0.20.0 and higher - // use another method created only for that. - .max_request_body_size(ONE_HUNDRED_MEGA_BYTES) + .max_request_size(ONE_HUNDRED_MEGA_BYTES) .connection_timeout(Duration::from_millis(timeout)) .request_timeout(Duration::from_millis(timeout)) .build(uri) diff --git a/gsdk/src/result.rs b/gsdk/src/result.rs index bf9955a15e0..cd4d133f6a0 100644 --- a/gsdk/src/result.rs +++ b/gsdk/src/result.rs @@ -91,7 +91,7 @@ pub enum Error { #[error(transparent)] Tx(#[from] TxError), #[error(transparent)] - SubxtRpc(#[from] jsonrpsee::core::Error), + SubxtRpc(#[from] jsonrpsee::core::ClientError), #[error("Page {0} of Program {1} was not found in the storage.")] PageNotFound(u32, String), #[error("Program has been terminated.")] diff --git a/node/service/src/chain_spec/mod.rs b/node/service/src/chain_spec/mod.rs index 1b23b0a3add..a3641b4ae3d 100644 --- a/node/service/src/chain_spec/mod.rs +++ b/node/service/src/chain_spec/mod.rs @@ -44,7 +44,7 @@ pub struct Extensions { } /// General `ChainSpec` used as a basis for a specialized config. -pub type RawChainSpec = sc_service::GenericChainSpec<(), Extensions>; +pub type RawChainSpec = sc_service::GenericChainSpec; /// Generate a crypto pair from seed. pub fn get_from_seed(seed: &str) -> ::Public { diff --git a/node/service/src/chain_spec/vara.rs b/node/service/src/chain_spec/vara.rs index 3c70dc4eefc..e5402cbfa2d 100644 --- a/node/service/src/chain_spec/vara.rs +++ b/node/service/src/chain_spec/vara.rs @@ -34,7 +34,7 @@ use vara_runtime::{ }; /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. -pub type ChainSpec = sc_service::GenericChainSpec<(), Extensions>; +pub type ChainSpec = sc_service::GenericChainSpec; /// Returns the [`Properties`] for the Vara network. pub fn vara_properties() -> Properties { diff --git a/node/service/src/rpc/mod.rs b/node/service/src/rpc/mod.rs index 82baa36a2ab..879a297d8fa 100644 --- a/node/service/src/rpc/mod.rs +++ b/node/service/src/rpc/mod.rs @@ -30,7 +30,6 @@ use sc_consensus_grandpa::{ FinalityProofProvider, GrandpaJustificationStream, SharedAuthoritySet, SharedVoterState, }; use sc_rpc::SubscriptionTaskExecutor; -pub use sc_rpc_api::DenyUnsafe; use sc_transaction_pool_api::TransactionPool; use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; @@ -81,20 +80,28 @@ pub struct FullDeps { pub select_chain: SC, /// A copy of the chain spec. pub chain_spec: Box, - /// Whether to deny unsafe calls - pub deny_unsafe: DenyUnsafe, /// BABE specific dependencies. pub babe: BabeDeps, /// GRANDPA specific dependencies. pub grandpa: GrandpaDeps, /// GEAR specific dependencies. pub gear: GearDeps, + /// The backend used by the node. + pub backend: Arc, } /// Instantiate all Full RPC extensions. pub fn create_full( - deps: FullDeps, - backend: Arc, + FullDeps { + client, + pool, + select_chain, + chain_spec, + babe, + grandpa, + gear, + backend, + }: FullDeps, ) -> Result, Box> where C: ProvideRuntimeApi @@ -128,22 +135,11 @@ where use sc_consensus_babe_rpc::{Babe, BabeApiServer}; use sc_consensus_grandpa_rpc::{Grandpa, GrandpaApiServer}; use sc_rpc::dev::{Dev, DevApiServer}; - use sc_rpc_spec_v2::chain_spec::{ChainSpec, ChainSpecApiServer}; use sc_sync_state_rpc::{SyncState, SyncStateApiServer}; use substrate_frame_rpc_system::{System, SystemApiServer}; use substrate_state_trie_migration_rpc::{StateMigration, StateMigrationApiServer}; let mut io = RpcModule::new(()); - let FullDeps { - client, - pool, - select_chain, - chain_spec, - deny_unsafe, - babe, - grandpa, - gear, - } = deps; let BabeDeps { keystore, @@ -162,16 +158,7 @@ where max_batch_size, } = gear; - let chain_name = chain_spec.name().to_string(); - let genesis_hash = client - .block_hash(0) - .ok() - .flatten() - .expect("Genesis block exists; qed"); - let properties = chain_spec.properties(); - io.merge(ChainSpec::new(chain_name, genesis_hash, properties).into_rpc())?; - - io.merge(System::new(client.clone(), pool, deny_unsafe).into_rpc())?; + io.merge(System::new(client.clone(), pool).into_rpc())?; io.merge(TransactionPayment::new(client.clone()).into_rpc())?; io.merge( Babe::new( @@ -179,7 +166,6 @@ where babe_worker_handle.clone(), keystore, select_chain, - deny_unsafe, ) .into_rpc(), )?; @@ -204,8 +190,8 @@ where .into_rpc(), )?; - io.merge(StateMigration::new(client.clone(), backend, deny_unsafe).into_rpc())?; - io.merge(Dev::new(client.clone(), deny_unsafe).into_rpc())?; + io.merge(StateMigration::new(client.clone(), backend).into_rpc())?; + io.merge(Dev::new(client.clone()).into_rpc())?; io.merge(Gear::new(client.clone(), allowance_multiplier, max_batch_size).into_rpc())?; diff --git a/node/service/src/rpc/runtime_info.rs b/node/service/src/rpc/runtime_info.rs index 19cf27f5eef..cec57da8d17 100644 --- a/node/service/src/rpc/runtime_info.rs +++ b/node/service/src/rpc/runtime_info.rs @@ -19,8 +19,12 @@ //! This module is used to add custom runtime irrelevant RPC endpoints to the node. use jsonrpsee::{ - core::{Error as RpcError, RpcResult}, + core::RpcResult, proc_macros::rpc, + types::{ + error::{ErrorCode, ErrorObject}, + ErrorObjectOwned, + }, }; use sc_client_api::StorageProvider; use sc_executor_common::runtime_blob::RuntimeBlob; @@ -92,12 +96,12 @@ where } } -fn map_err_into_rpc_err(err: impl std::fmt::Debug) -> RpcError { +fn map_err_into_rpc_err(err: impl std::fmt::Debug) -> ErrorObjectOwned { rpc_err("Runtime info error", Some(format!("{err:?}"))) } -fn rpc_err(message: &str, data: Option) -> RpcError { - use jsonrpsee::types::error::{CallError, ErrorObject}; +fn rpc_err(message: &str, data: Option) -> ErrorObjectOwned { + use jsonrpsee::types::error::ErrorObject; - CallError::Custom(ErrorObject::owned(9000, message, data)).into() + ErrorObject::owned(9000, message, data).into() } diff --git a/pallets/gear-builtin/rpc/src/lib.rs b/pallets/gear-builtin/rpc/src/lib.rs index cc1ecca22e5..049ecf9385b 100644 --- a/pallets/gear-builtin/rpc/src/lib.rs +++ b/pallets/gear-builtin/rpc/src/lib.rs @@ -19,9 +19,12 @@ //! RPC interface for the gear module. use jsonrpsee::{ - core::{Error as JsonRpseeError, RpcResult}, + core::RpcResult, proc_macros::rpc, - types::error::{CallError, ErrorObject}, + types::{ + error::{ErrorCode, ErrorObject}, + ErrorObjectOwned, + }, }; pub use pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi as GearBuiltinRuntimeApi; use sp_api::ProvideRuntimeApi; @@ -80,8 +83,9 @@ where let api = self.client.runtime_api(); let best_hash = self.client.info().best_hash; - fn map_err(err: impl std::fmt::Debug, desc: &'static str) -> JsonRpseeError { - CallError::Custom(ErrorObject::owned(8000, desc, Some(format!("{err:?}")))).into() + fn map_err(error: impl ToString, desc: &'static str) -> ErrorObjectOwned { + ErrorObject::owned(Error::RuntimeError.into(), desc, Some(error.to_string())) + // CallError::Custom(ErrorObject::owned(8000, desc, Some(format!("{err:?}")))).into() } api.query_actor_id(best_hash, builtin_id) diff --git a/pallets/gear-eth-bridge/rpc/src/lib.rs b/pallets/gear-eth-bridge/rpc/src/lib.rs index c53e555a613..c210ffd323e 100644 --- a/pallets/gear-eth-bridge/rpc/src/lib.rs +++ b/pallets/gear-eth-bridge/rpc/src/lib.rs @@ -21,7 +21,10 @@ use jsonrpsee::{ core::RpcResult, proc_macros::rpc, - types::error::{CallError, ErrorObject}, + types::{ + error::{ErrorCode, ErrorObject}, + ErrorObjectOwned, + }, }; use pallet_gear_eth_bridge_rpc_runtime_api::Proof; use primitive_types::H256; @@ -75,6 +78,5 @@ where ) }) }) - .map_err(|e| CallError::Custom(e).into()) } } diff --git a/pallets/gear/rpc/src/lib.rs b/pallets/gear/rpc/src/lib.rs index 28780b34293..e6b32b6dc09 100644 --- a/pallets/gear/rpc/src/lib.rs +++ b/pallets/gear/rpc/src/lib.rs @@ -25,9 +25,12 @@ use gear_common::Origin; use gear_core_errors::*; use jsonrpsee::{ - core::{async_trait, Error as JsonRpseeError, RpcResult}, + core::{async_trait, RpcResult}, proc_macros::rpc, - types::error::{CallError, ErrorObject}, + types::{ + error::{ErrorCode, ErrorObject}, + ErrorObjectOwned, + }, }; pub use pallet_gear_rpc_runtime_api::GearApi as GearRuntimeApi; use pallet_gear_rpc_runtime_api::{GasInfo, HandleKind, ReplyInfo}; @@ -38,13 +41,8 @@ use sp_runtime::traits::Block as BlockT; use std::sync::Arc; /// Converts a runtime trap into a [`CallError`]. -fn runtime_error_into_rpc_error(err: impl std::fmt::Display) -> JsonRpseeError { - CallError::Custom(ErrorObject::owned( - 8000, - "Runtime error", - Some(format!("{err}")), - )) - .into() +fn runtime_error_into_rpc_error(err: impl std::fmt::Debug) -> ErrorObjectOwned { + ErrorObject::owned(8000, "Runtime error", Some(format!("{:?}", err))) } #[rpc(server)] @@ -185,17 +183,17 @@ where runtime_api_result.map_err(|e| runtime_error_into_rpc_error(String::from_utf8_lossy(&e))) } - fn get_api_version(&self, at_hash: ::Hash) -> Result { + fn get_api_version(&self, at_hash: ::Hash) -> Result { self.client .runtime_api() .api_version::>(at_hash) - .map_err(|e| into_call_err(e, "Failed to get gear runtime api version"))? + .map_err(|e| ErrorObject::owned(8000, e.to_string(), None::))? .ok_or_else(|| { - CallError::Custom(ErrorObject::owned( + ErrorObject::owned( 8000, "Gear runtime api wasn't found in the runtime", None::, - )) + ) }) } @@ -256,10 +254,6 @@ impl From for i64 { } } -fn into_call_err(error: impl ToString, desc: &'static str) -> CallError { - CallError::Custom(ErrorObject::owned(8000, desc, Some(error.to_string()))) -} - #[async_trait] impl GearApiServer<::Hash, Result>> for Gear where @@ -460,14 +454,14 @@ where at: Option<::Hash>, ) -> RpcResult> { if batch_id_payload.len() > self.max_batch_size as usize { - return Err(CallError::Custom(ErrorObject::owned( + return Err(ErrorObject::owned( 8000, "Runtime error", Some(format!( "Batch size must be lower than {:?}", self.max_batch_size )), - )) + ) .into()); } @@ -555,14 +549,14 @@ where at: Option<::Hash>, ) -> RpcResult> { if batch_id_payload.len() > self.max_batch_size as usize { - return Err(CallError::Custom(ErrorObject::owned( + return Err(ErrorObject::owned( 8000, "Runtime error", Some(format!( "Batch size must be lower than {:?}", self.max_batch_size )), - )) + ) .into()); } diff --git a/pallets/staking-rewards/rpc/src/lib.rs b/pallets/staking-rewards/rpc/src/lib.rs index 4bc490590c9..350625e2c23 100644 --- a/pallets/staking-rewards/rpc/src/lib.rs +++ b/pallets/staking-rewards/rpc/src/lib.rs @@ -19,9 +19,12 @@ //! RPC interface for the gear module. use jsonrpsee::{ - core::{Error as JsonRpseeError, RpcResult}, + core::RpcResult, proc_macros::rpc, - types::error::{CallError, ErrorObject}, + types::{ + error::{ErrorCode, ErrorObject}, + ErrorObjectOwned, + }, }; pub use pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi as GearStakingRewardsRuntimeApi; use pallet_gear_staking_rewards_rpc_runtime_api::InflationInfo; @@ -81,8 +84,8 @@ where let api = self.client.runtime_api(); let at_hash = at.unwrap_or_else(|| self.client.info().best_hash); - fn map_err(err: impl std::fmt::Debug, desc: &'static str) -> JsonRpseeError { - CallError::Custom(ErrorObject::owned(8000, desc, Some(format!("{err:?}")))).into() + fn map_err(err: impl std::fmt::Debug, desc: &'static str) -> ErrorObjectOwned { + ErrorObject::owned(8000, desc, Some(format!("{err:?}"))).into() } api.inflation_info(at_hash) From e9115e5dddd12380d74c427708e1a07d1d97c3cb Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Thu, 17 Oct 2024 19:35:29 +0200 Subject: [PATCH 07/59] feat(node): Update service, remove Native executor --- node/authorship/src/tests.rs | 23 +++-- node/cli/src/command.rs | 10 +- node/service/Cargo.toml | 2 + node/service/src/client.rs | 88 ++++++++--------- node/service/src/lib.rs | 182 ++++++++++++++++++----------------- node/testing/src/client.rs | 44 +++------ runtime/vara/src/lib.rs | 3 +- 7 files changed, 167 insertions(+), 185 deletions(-) diff --git a/node/authorship/src/tests.rs b/node/authorship/src/tests.rs index dd1b69705bb..779f566311f 100644 --- a/node/authorship/src/tests.rs +++ b/node/authorship/src/tests.rs @@ -41,7 +41,7 @@ use pallet_gear_rpc_runtime_api::GearApi; use parking_lot::{Mutex, RwLock}; use runtime_primitives::{Block as TestBlock, BlockNumber}; use sc_client_api::Backend as _; -use sc_executor::{NativeElseWasmExecutor, WasmExecutor}; +use sc_executor::WasmExecutor; use sc_service::client::Client; use sc_transaction_pool::{BasicPool, FullPool}; use sc_transaction_pool_api::{ @@ -69,8 +69,8 @@ use std::{ }; use testing::{ client::{ - Backend as TestBackend, Client as TestClient, ClientBlockImportExt, ExecutorDispatch, - TestClientBuilder, TestClientBuilderExt, + Backend as TestBackend, Client as TestClient, ClientBlockImportExt, TestClientBuilder, + TestClientBuilderExt, }, keyring::{alice, bob, sign, signed_extra, CheckedExtrinsic}, }; @@ -78,15 +78,18 @@ use vara_runtime::{ AccountId, Runtime, RuntimeApi as RA, RuntimeCall, UncheckedExtrinsic, SLOT_DURATION, VERSION, }; +type RuntimeExecutor = sc_executor::WasmExecutor< + sc_executor::sp_wasm_interface::ExtendedHostFunctions< + sp_io::SubstrateHostFunctions, + ExtendHostFunctions, + >, +>; + type TestProposal = sp_consensus::Proposal; -fn get_executor() -> &'static RwLock { - static EXECUTOR: OnceLock> = OnceLock::new(); - EXECUTOR.get_or_init(|| { - RwLock::new(NativeElseWasmExecutor::new_with_wasm_executor( - WasmExecutor::builder().build(), - )) - }) +fn get_executor() -> &'static RwLock { + static EXECUTOR: OnceLock> = OnceLock::new(); + EXECUTOR.get_or_init(|| RwLock::new(WasmExecutor::builder().build())) } const SOURCE: TransactionSource = TransactionSource::External; diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 3b1e57182cc..c4606d7a02b 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -211,7 +211,7 @@ pub fn run() -> sc_cli::Result<()> { use frame_benchmarking_cli::{ BenchmarkCmd, ExtrinsicFactory, SUBSTRATE_REFERENCE_HARDWARE, }; - use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; + use sc_executor::sp_wasm_interface::ExtendedHostFunctions; use sp_keyring::Sr25519Keyring; let runner = cli.create_runner(cmd)?; @@ -232,11 +232,9 @@ pub fn run() -> sc_cli::Result<()> { #[cfg(feature = "vara-native")] spec if spec.is_vara() => cmd .run::::ExtendHostFunctions, - >>( - config, - ), + sp_io::SubstrateHostFunctions, + ExtendHostFunctions, + >>(config), _ => Err("invalid chain spec".into()), } } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 3d06e446c10..2535b10e12e 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -72,6 +72,7 @@ sp-api = { workspace = true, features = ["std"] } sp-authority-discovery = { workspace = true, optional = true, features = ["std"] } sp-consensus.workspace = true sp-consensus-babe = { workspace = true, features = ["std"] } +sp-io = { workspace = true, features = ["std"] } sp-transaction-pool = { workspace = true, features = ["std"] } sp-transaction-storage-proof = { workspace = true, features = ["std"] } sp-consensus-grandpa = { workspace = true, features = ["std"] } @@ -82,6 +83,7 @@ sp-block-builder = { workspace = true, features = ["std"] } sp-keystore = { workspace = true, features = ["std"] } sp-trie = { workspace = true, features = ["std"] } sp-storage = { workspace = true, features = ["std"] } +sp-state-machine = { workspace = true, features = ["std"] } sp-offchain = { workspace = true, features = ["std"] } sp-session = { workspace = true, features = ["std"] } diff --git a/node/service/src/client.rs b/node/service/src/client.rs index ba556f096a4..32a8817fb6e 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -22,60 +22,52 @@ use sc_client_api::{ AuxStore, Backend as BackendT, BlockBackend, BlockchainEvents, KeysIter, PairsIter, UsageProvider, }; -use sc_executor::NativeElseWasmExecutor; -use sp_api::{CallApiAt, NumberFor, ProvideRuntimeApi, StateBackend}; +use sp_api::{CallApiAt, ProvideRuntimeApi}; use sp_blockchain::{HeaderBackend, HeaderMetadata}; use sp_consensus::BlockStatus; use sp_core::H256; use sp_runtime::{ generic::SignedBlock, - traits::{BlakeTwo256, Block as BlockT}, + traits::{BlakeTwo256, Block as BlockT, NumberFor}, Justifications, OpaqueExtrinsic, }; +use sp_state_machine::Backend as StateBackend; use sp_storage::{ChildInfo, StorageData, StorageKey}; use sp_trie::MerkleValue; use std::sync::Arc; pub type FullBackend = sc_service::TFullBackend; -pub type FullClient = - sc_service::TFullClient>; - -#[cfg(not(feature = "vara-native"))] -compile_error!("at least one runtime feature must be enabled"); - -/// The native executor instance for standalone network. -#[cfg(feature = "vara-native")] -pub struct VaraExecutorDispatch; - -#[cfg(feature = "vara-native")] -impl sc_executor::NativeExecutionDispatch for VaraExecutorDispatch { - /// Only enable the benchmarking host functions when we actually want to benchmark. - #[cfg(feature = "runtime-benchmarks")] - type ExtendHostFunctions = ( - frame_benchmarking::benchmarking::HostFunctions, - gear_ri::gear_ri::HostFunctions, - gear_ri::sandbox::HostFunctions, - sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, - gear_ri::gear_bls_12_381::HostFunctions, - ); - /// Otherwise we only use the default Substrate host functions. - #[cfg(not(feature = "runtime-benchmarks"))] - type ExtendHostFunctions = ( - gear_ri::gear_ri::HostFunctions, - gear_ri::sandbox::HostFunctions, - sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, - gear_ri::gear_bls_12_381::HostFunctions, - ); - - fn dispatch(method: &str, data: &[u8]) -> Option> { - vara_runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - vara_runtime::native_version() - } -} +/// A specialized `WasmExecutor` intended to use across substrate node. It provides all required +/// HostFunctions. +pub type RuntimeExecutor = sc_executor::WasmExecutor< + sc_executor::sp_wasm_interface::ExtendedHostFunctions< + sp_io::SubstrateHostFunctions, + ExtendHostFunctions, + >, +>; + +pub type FullClient = sc_service::TFullClient; + +/// Only enable the benchmarking host functions when we actually want to benchmark. +#[cfg(feature = "runtime-benchmarks")] +pub type ExtendHostFunctions = ( + // sp_io::SubstrateHostFunctions, + frame_benchmarking::benchmarking::HostFunctions, + gear_ri::gear_ri::HostFunctions, + gear_ri::sandbox::HostFunctions, + sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, + gear_ri::gear_bls_12_381::HostFunctions, +); +/// Otherwise we only use the default Substrate host functions. +#[cfg(not(feature = "runtime-benchmarks"))] +pub type ExtendHostFunctions = ( + // sp_io::SubstrateHostFunctions, + gear_ri::gear_ri::HostFunctions, + gear_ri::sandbox::HostFunctions, + sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, + gear_ri::gear_bls_12_381::HostFunctions, +); /// A set of APIs that polkadot-like runtimes must implement. /// @@ -131,7 +123,7 @@ pub trait AbstractClient: where Block: BlockT, Backend: BackendT, - Backend::State: sp_api::StateBackend, + Backend::State: StateBackend, Self::Api: RuntimeApiCollection, { } @@ -140,7 +132,7 @@ impl AbstractClient for Client where Block: BlockT, Backend: BackendT, - Backend::State: sp_api::StateBackend, + Backend::State: StateBackend, Client: BlockchainEvents + ProvideRuntimeApi + HeaderBackend @@ -171,7 +163,7 @@ pub trait ExecuteWithClient { fn execute_with_client(self, client: Arc) -> Self::Output where Backend: BackendT + 'static, - Backend::State: sp_api::StateBackend, + Backend::State: StateBackend, Api: crate::RuntimeApiCollection, Client: AbstractClient + 'static @@ -221,14 +213,12 @@ macro_rules! with_client { #[derive(Clone)] pub enum Client { #[cfg(feature = "vara-native")] - Vara(Arc>), + Vara(Arc>), } #[cfg(feature = "vara-native")] -impl From>> for Client { - fn from( - client: Arc>, - ) -> Self { +impl From>> for Client { + fn from(client: Arc>) -> Self { Self::Vara(client) } } diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index b0f113435a4..88d375ebf7c 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -21,12 +21,11 @@ use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; use futures::FutureExt; use sc_client_api::{Backend as BackendT, BlockBackend, UsageProvider}; -use sc_executor::{ - HeapAllocStrategy, NativeElseWasmExecutor, NativeExecutionDispatch, WasmExecutor, - DEFAULT_HEAP_ALLOC_STRATEGY, +use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; +use sc_network::{ + event::Event, service::traits::NetworkService, NetworkBackend, NetworkEventStream, }; -use sc_network::NetworkService; -use sc_network_sync::{warp::WarpSyncParams, SyncingService}; +use sc_network_sync::{strategy::warp::WarpSyncConfig, SyncingService}; use sc_service::{ error::Error as ServiceError, ChainSpec, Configuration, PartialComponents, RpcHandlers, TaskManager, @@ -34,10 +33,12 @@ use sc_service::{ use sc_telemetry::{Telemetry, TelemetryWorker}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_api::ConstructRuntimeApi; +use sp_core::traits::CodeExecutor; use sp_runtime::{ traits::{BlakeTwo256, Block as BlockT}, OpaqueExtrinsic, }; +use sp_state_machine::Backend as StateBackend; use std::sync::Arc; pub use client::*; @@ -66,31 +67,30 @@ impl IdentifyVariant for Box { } type FullSelectChain = sc_consensus::LongestChain; -type FullGrandpaBlockImport = +type FullGrandpaBlockImport = sc_consensus_grandpa::GrandpaBlockImport< FullBackend, Block, - FullClient, + FullClient, ChainSelection, >; /// The transaction pool type definition. -type TransactionPool = - sc_transaction_pool::FullPool>; +type TransactionPool = sc_transaction_pool::FullPool>; /// The minimum period of blocks on which justifications will be /// imported and generated. const GRANDPA_JUSTIFICATION_PERIOD: u32 = 512; macro_rules! chain_ops { - ($config:expr, $rpc_calculations_multiplier:expr, $rpc_max_batch_size:expr, $scope:ident, $executor:ident, $variant:ident) => {{ + ($config:expr, $rpc_calculations_multiplier:expr, $rpc_max_batch_size:expr, $scope:ident, $variant:ident) => {{ let PartialComponents { client, backend, import_queue, task_manager, .. - } = new_partial::<$scope::RuntimeApi, $executor>( + } = new_partial::<$scope::RuntimeApi>( $config, $rpc_calculations_multiplier, $rpc_max_batch_size, @@ -128,7 +128,6 @@ pub fn new_chain_ops( rpc_calculations_multiplier, rpc_max_batch_size, vara_runtime, - VaraExecutorDispatch, Vara ) } @@ -139,33 +138,28 @@ pub fn new_chain_ops( /// Creates PartialComponents for a node. /// Enables chain operations for cases when full node is unnecessary. #[allow(clippy::type_complexity)] -pub fn new_partial( +pub fn new_partial( config: &Configuration, rpc_calculations_multiplier: u64, rpc_max_batch_size: u64, ) -> Result< PartialComponents< - FullClient, + FullClient, FullBackend, FullSelectChain, sc_consensus::DefaultImportQueue, - sc_transaction_pool::FullPool>, + sc_transaction_pool::FullPool>, ( impl Fn( - crate::rpc::DenyUnsafe, sc_rpc::SubscriptionTaskExecutor, ) -> Result, sc_service::Error>, ( sc_consensus_babe::BabeBlockImport< Block, - FullClient, - FullGrandpaBlockImport, - >, - sc_consensus_grandpa::LinkHalf< - Block, - FullClient, - FullSelectChain, + FullClient, + FullGrandpaBlockImport, >, + sc_consensus_grandpa::LinkHalf, FullSelectChain>, sc_consensus_babe::BabeLink, ), sc_consensus_grandpa::SharedVoterState, @@ -175,12 +169,8 @@ pub fn new_partial( ServiceError, > where - RuntimeApi: ConstructRuntimeApi> - + Send - + Sync - + 'static, + RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiCollection + Clone, - ExecutorDispatch: NativeExecutionDispatch + 'static, { let telemetry = config .telemetry_endpoints @@ -196,21 +186,20 @@ where // TODO: consider to set ours `default_heap_pages` here, // instead of using substrate's default #3741. let heap_pages = config + .executor .default_heap_pages .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _, }); - let wasm = WasmExecutor::builder() - .with_execution_method(config.wasm_method) + let executor = WasmExecutor::builder() + .with_execution_method(config.executor.wasm_method) .with_onchain_heap_alloc_strategy(heap_pages) .with_offchain_heap_alloc_strategy(heap_pages) - .with_max_runtime_instances(config.max_runtime_instances) - .with_runtime_cache_size(config.runtime_cache_size) + .with_max_runtime_instances(config.executor.max_runtime_instances) + .with_runtime_cache_size(config.executor.runtime_cache_size) .build(); - let executor = NativeElseWasmExecutor::::new_with_wasm_executor(wasm); - let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( config, @@ -299,13 +288,12 @@ where let chain_spec = config.chain_spec.cloned_box(); let rpc_backend = backend.clone(); - let rpc_extensions_builder = move |deny_unsafe, subscription_executor| { + let rpc_extensions_builder = move |subscription_executor| { let deps = crate::rpc::FullDeps { client: client.clone(), pool: pool.clone(), select_chain: select_chain.clone(), chain_spec: chain_spec.cloned_box(), - deny_unsafe, babe: crate::rpc::BabeDeps { keystore: keystore.clone(), babe_worker_handle: babe_worker_handle.clone(), @@ -321,9 +309,10 @@ where allowance_multiplier: rpc_calculations_multiplier, max_batch_size: rpc_max_batch_size, }, + backend: rpc_backend.clone(), }; - crate::rpc::create_full(deps, rpc_backend.clone()).map_err(Into::into) + crate::rpc::create_full(deps).map_err(Into::into) }; (rpc_extensions_builder, shared_voter_state2) @@ -344,59 +333,53 @@ where } /// Result of [`new_full_base`]. -pub struct NewFullBase +pub struct NewFullBase where - RuntimeApi: ConstructRuntimeApi> - + Send - + Sync - + 'static, + RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiCollection + Clone, - ExecutorDispatch: NativeExecutionDispatch + 'static, { /// The task manager of the node. pub task_manager: TaskManager, /// The client instance of the node. - pub client: Arc>, + pub client: Arc>, /// The networking service of the node. - pub network: Arc::Hash>>, + pub network: Arc, /// The syncing service of the node. pub sync: Arc>, /// The transaction pool of the node. - pub transaction_pool: Arc>, + pub transaction_pool: Arc>, /// The rpc handlers of the node. pub rpc_handlers: RpcHandlers, } /// Creates a full service from the configuration. -pub fn new_full_base( +pub fn new_full_base< + N: NetworkBackend::Hash>, + RuntimeApi, +>( config: Configuration, disable_hardware_benchmarks: bool, with_startup_data: impl FnOnce( &sc_consensus_babe::BabeBlockImport< Block, - FullClient, - FullGrandpaBlockImport, + FullClient, + FullGrandpaBlockImport, >, &sc_consensus_babe::BabeLink, ), max_gas: Option, rpc_calculations_multiplier: u64, rpc_max_batch_size: u64, -) -> Result, ServiceError> +) -> Result, ServiceError> where - RuntimeApi: ConstructRuntimeApi> - + Send - + Sync - + 'static, - RuntimeApi::RuntimeApi: RuntimeApiCollection - + Clone - + common::Deconstructable>, - ExecutorDispatch: NativeExecutionDispatch + 'static, + RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, + RuntimeApi::RuntimeApi: + RuntimeApiCollection + Clone + common::Deconstructable>, { let hwbench = (!disable_hardware_benchmarks) .then_some(config.database.path().map(|database_path| { - let _ = std::fs::create_dir_all(database_path); - sc_sysinfo::gather_hwbench(Some(database_path)) + let _ = std::fs::create_dir_all(&database_path); + sc_sysinfo::gather_hwbench(Some(database_path), &SUBSTRATE_REFERENCE_HARDWARE) })) .flatten(); @@ -411,30 +394,45 @@ where other: (rpc_builder, import_setup, rpc_setup, mut telemetry), } = new_partial(&config, rpc_calculations_multiplier, rpc_max_batch_size)?; - let shared_voter_state = rpc_setup; - let mut net_config = sc_network::config::FullNetworkConfiguration::new(&config.network); - - let grandpa_protocol_name = sc_consensus_grandpa::protocol_standard_name( - &client - .block_hash(0) - .ok() - .flatten() - .expect("Genesis block exists; qed"), - &config.chain_spec, + let metrics = N::register_notification_metrics( + config.prometheus_config.as_ref().map(|cfg| &cfg.registry), ); - net_config.add_notification_protocol(sc_consensus_grandpa::grandpa_peers_set_config( - grandpa_protocol_name.clone(), - )); + let shared_voter_state = rpc_setup; - let statement_handler_proto = sc_network_statement::StatementHandlerPrototype::new( - client - .block_hash(0u32) - .ok() - .flatten() - .expect("Genesis block exists; qed"), - config.chain_spec.fork_id(), + let mut net_config = sc_network::config::FullNetworkConfiguration::<_, _, N>::new( + &config.network, + config + .prometheus_config + .as_ref() + .map(|cfg| cfg.registry.clone()), ); - net_config.add_notification_protocol(statement_handler_proto.set_config()); + + let genesis_hash = client + .block_hash(0) + .ok() + .flatten() + .expect("Genesis block exists; qed"); + let peer_store_handle = net_config.peer_store_handle(); + + let grandpa_protocol_name = + sc_consensus_grandpa::protocol_standard_name(&genesis_hash, &config.chain_spec); + let (grandpa_protocol_config, grandpa_notification_service) = + sc_consensus_grandpa::grandpa_peers_set_config::<_, N>( + grandpa_protocol_name.clone(), + metrics.clone(), + Arc::clone(&peer_store_handle), + ); + + net_config.add_notification_protocol(grandpa_protocol_config); + + let (statement_handler_proto, statement_config) = + sc_network_statement::StatementHandlerPrototype::new::<_, _, N>( + genesis_hash, + config.chain_spec.fork_id(), + metrics.clone(), + Arc::clone(&peer_store_handle), + ); + net_config.add_notification_protocol(statement_config); let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new( backend.clone(), @@ -451,8 +449,9 @@ where spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)), + warp_sync_config: Some(WarpSyncConfig::WithProvider(warp_sync)), block_relay: None, + metrics, })?; let role = config.role.clone(); @@ -481,7 +480,7 @@ where if let Some(hwbench) = hwbench { sc_sysinfo::print_hwbench(&hwbench); - match SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) { + match SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench, false) { Err(err) if role.is_authority() => { log::warn!( "⚠️ The hardware does not meet the minimal requirements {} for role 'Authority'.", @@ -587,14 +586,15 @@ where // and vote data availability than the observer. The observer has not // been tested extensively yet and having most nodes in a network run it // could lead to finality stalls. - let grandpa_config = sc_consensus_grandpa::GrandpaParams { + let grandpa_params = sc_consensus_grandpa::GrandpaParams { config: grandpa_config, link: grandpa_link, network: network.clone(), sync: Arc::new(sync_service.clone()), + notification_service: grandpa_notification_service, telemetry: telemetry.as_ref().map(|x| x.handle()), voting_rule: sc_consensus_grandpa::VotingRulesBuilder::default().build(), - prometheus_registry, + prometheus_registry: prometheus_registry.clone(), shared_voter_state, offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool.clone()), }; @@ -604,7 +604,7 @@ where task_manager.spawn_essential_handle().spawn_blocking( "grandpa-voter", None, - sc_consensus_grandpa::run_grandpa_voter(grandpa_config)?, + sc_consensus_grandpa::run_grandpa_voter(grandpa_params)?, ); } @@ -620,7 +620,7 @@ where transaction_pool: Some(OffchainTransactionPoolFactory::new( transaction_pool.clone(), )), - network_provider: network.clone(), + network_provider: Arc::new(network.clone()), enable_http_requests: true, custom_extensions: |_| vec![], }) @@ -651,7 +651,7 @@ impl ExecuteWithClient for RevertConsensus { fn execute_with_client(self, client: Arc) -> Self::Output where Backend: BackendT + 'static, - Backend::State: sp_api::StateBackend, + Backend::State: StateBackend, Api: RuntimeApiCollection, Client: AbstractClient + 'static @@ -689,7 +689,11 @@ pub fn new_full( ) -> Result { match &config.chain_spec { #[cfg(feature = "vara-native")] - spec if spec.is_vara() => new_full_base::( + spec if spec.is_vara() => new_full_base::< + sc_network::NetworkWorker<_, _>, + vara_runtime::RuntimeApi, + // WasmExecutor, + >( config, disable_hardware_benchmarks, |_, _| (), diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index 81c67528a53..06f13da759f 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -18,33 +18,19 @@ //! Utilities to build a `TestClient` for gear- or vara-runtime. +use service::RuntimeExecutor; use sp_runtime::BuildStorage; /// Re-export test-client utilities. pub use substrate_test_client::*; use vara_runtime as runtime; -// A unit struct which implements `NativeExecutionDispatch` feeding in the hard-coded runtime -pub struct LocalExecutorDispatch; - -impl sc_executor::NativeExecutionDispatch for LocalExecutorDispatch { - type ExtendHostFunctions = ( - frame_benchmarking::benchmarking::HostFunctions, - gear_runtime_interface::gear_ri::HostFunctions, - gear_runtime_interface::sandbox::HostFunctions, - sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, - gear_runtime_interface::gear_bls_12_381::HostFunctions, - ); - - fn dispatch(method: &str, data: &[u8]) -> Option> { - runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - runtime::native_version() - } -} - -pub type ExecutorDispatch = sc_executor::NativeElseWasmExecutor; +pub type ExtendHostFunctions = ( + frame_benchmarking::benchmarking::HostFunctions, + gear_runtime_interface::gear_ri::HostFunctions, + gear_runtime_interface::sandbox::HostFunctions, + sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, + gear_runtime_interface::gear_bls_12_381::HostFunctions, +); /// Test client backend. pub type Backend = substrate_test_client::Backend; @@ -52,7 +38,7 @@ pub type Backend = substrate_test_client::Backend; /// Test client type. pub type Client = client::Client< Backend, - client::LocalCallExecutor, + client::LocalCallExecutor, runtime_primitives::Block, runtime::RuntimeApi, >; @@ -83,13 +69,13 @@ pub trait TestClientBuilderExt: Sized { fn build(self) -> Client; /// Build the test client with customized executor. - fn build_with_wasm_executor(self, executor: Option) -> Client; + fn build_with_wasm_executor(self, executor: Option) -> Client; } impl TestClientBuilderExt for substrate_test_client::TestClientBuilder< runtime_primitives::Block, - client::LocalCallExecutor, + client::LocalCallExecutor, Backend, GenesisParameters, > @@ -102,11 +88,9 @@ impl TestClientBuilderExt self.build_with_native_executor(None).0 } - fn build_with_wasm_executor(self, executor: Option) -> Client { - let executor = executor.unwrap_or_else(|| { - NativeElseWasmExecutor::new_with_wasm_executor(WasmExecutor::builder().build()) - }); + fn build_with_wasm_executor(self, executor: Option) -> Client { + let executor = executor.unwrap_or_else(|| WasmExecutor::builder().build()); - self.build_with_native_executor(executor).0 + executor } } diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 67eef7597f9..9ec01989f68 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -209,7 +209,8 @@ const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( ); /// The version information used to identify this runtime when compiled natively. -#[cfg(feature = "std")] + +#[cfg(any(feature = "std", test))] pub fn native_version() -> NativeVersion { NativeVersion { runtime_version: VERSION, From 6dc3970e73fe660feb369e63e23cc00deba78ab0 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Thu, 17 Oct 2024 20:37:35 +0200 Subject: [PATCH 08/59] feat(ethexe-ethereum): Update alloy to 0.4.2 --- Cargo.lock | 303 ++++++++++++++++++++------------- Cargo.toml | 2 +- ethexe/ethereum/src/lib.rs | 12 +- ethexe/signer/Cargo.toml | 4 +- ethexe/signer/src/signature.rs | 4 +- 5 files changed, 199 insertions(+), 126 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0d39ea13a98..2e6d1f73872 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -154,9 +154,9 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "alloy" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f13f1940c81e269e84ddb58f3b611be9660fbbfe39d4338aa2984dc3df0c402" +checksum = "056f2c01b2aed86e15b43c47d109bfc8b82553dc34e66452875e51247ec31ab2" dependencies = [ "alloy-consensus", "alloy-contract", @@ -189,23 +189,25 @@ dependencies = [ [[package]] name = "alloy-consensus" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4177d135789e282e925092be8939d421b701c6d92c0a16679faa659d9166289d" +checksum = "705687d5bfd019fee57cf9e206b27b30a9a9617535d5590a02b171e813208f8e" dependencies = [ "alloy-eips", "alloy-primitives", "alloy-rlp", "alloy-serde", + "auto_impl", "c-kzg", + "derive_more 1.0.0", "serde", ] [[package]] name = "alloy-contract" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3be15f92fdb7490b164697a1d9b395cb7a3afa8fb15feed732ec5a6ff8db5f4" +checksum = "917f7d12cf3971dc8c11c9972f732b35ccb9aaaf5f28f2f87e9e6523bee3a8ad" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -224,21 +226,22 @@ dependencies = [ [[package]] name = "alloy-core" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6dbb79f4e3285cc87f50c0d4be9a3a812643623b2e3558d425b41cbd795ceb" +checksum = "a54c7158ea4a394bef220d82d8fdd412fb9b1ca2d6024db539070b7bc01b6401" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", "alloy-primitives", + "alloy-rlp", "alloy-sol-types", ] [[package]] name = "alloy-dyn-abi" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5b68572f5dfa99ede0a491d658c9842626c956b840d0b97d0bbc9637742504" +checksum = "e6228abfc751a29cde117b0879b805a3e0b3b641358f063272c83ca459a56886" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -264,9 +267,9 @@ dependencies = [ [[package]] name = "alloy-eip7702" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d319bb544ca6caeab58c39cea8921c55d924d4f68f2c60f24f914673f9a74a" +checksum = "ea59dc42102bc9a1905dc57901edc6dd48b9f38115df86c7d252acba70d71d04" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -275,9 +278,9 @@ dependencies = [ [[package]] name = "alloy-eips" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "499ee14d296a133d142efd215eb36bf96124829fe91cf8f5d4e5ccdd381eae00" +checksum = "6ffb906284a1e1f63c4607da2068c8197458a352d0b3e9796e67353d72a9be85" dependencies = [ "alloy-eip2930", "alloy-eip7702", @@ -293,9 +296,9 @@ dependencies = [ [[package]] name = "alloy-genesis" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b85dfc693e4a1193f0372a8f789df12ab51fcbe7be0733baa04939a86dd813b" +checksum = "8429cf4554eed9b40feec7f4451113e76596086447550275e3def933faf47ce3" dependencies = [ "alloy-primitives", "alloy-serde", @@ -304,9 +307,9 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "299d2a937b6c60968df3dad2a988b0f0e03277b344639a4f7a31bd68e6285e59" +checksum = "d46eb5871592c216d39192499c95a99f7175cb94104f88c307e6dc960676d9f1" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -316,9 +319,9 @@ dependencies = [ [[package]] name = "alloy-json-rpc" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4207166c79cfdf7f3bed24bbc84f5c7c5d4db1970f8c82e3fcc76257f16d2166" +checksum = "f8fa8a1a3c4cbd221f2b8e3693aeb328fca79a757fe556ed08e47bbbc2a70db7" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -330,9 +333,9 @@ dependencies = [ [[package]] name = "alloy-network" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe2802d5b8c632f18d68c352073378f02a3407c1b6a4487194e7d21ab0f002" +checksum = "85fa23a6a9d612b52e402c995f2d582c25165ec03ac6edf64c861a76bc5b87cd" dependencies = [ "alloy-consensus", "alloy-eips", @@ -351,10 +354,12 @@ dependencies = [ [[package]] name = "alloy-network-primitives" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396c07726030fa0f9dab5da8c71ccd69d5eb74a7fe1072b7ae453a67e4fe553e" +checksum = "801492711d4392b2ccf5fc0bc69e299fa1aab15167d74dcaa9aab96a54f684bd" dependencies = [ + "alloy-consensus", + "alloy-eips", "alloy-primitives", "alloy-serde", "serde", @@ -362,13 +367,14 @@ dependencies = [ [[package]] name = "alloy-node-bindings" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c847311cc7386684ef38ab404069d795bee07da945f63d884265436870a17276" +checksum = "4f1334a738aa1710cb8227441b3fcc319202ce78e967ef37406940242df4a454" dependencies = [ "alloy-genesis", "alloy-primitives", "k256", + "rand 0.8.5", "serde_json", "tempfile", "thiserror", @@ -378,31 +384,37 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a767e59c86900dd7c3ce3ecef04f3ace5ac9631ee150beb8b7d22f7fa3bbb2d7" +checksum = "38f35429a652765189c1c5092870d8360ee7b7769b09b06d89ebaefd34676446" dependencies = [ "alloy-rlp", "bytes", "cfg-if", "const-hex", - "derive_more 0.99.18", + "derive_more 1.0.0", + "foldhash", + "hashbrown 0.15.0", "hex-literal", + "indexmap 2.6.0", "itoa", "k256", "keccak-asm", + "paste", "proptest", "rand 0.8.5", "ruint", + "rustc-hash 2.0.0", "serde", + "sha3", "tiny-keccak", ] [[package]] name = "alloy-provider" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1376948df782ffee83a54cac4b2aba14134edd997229a3db97da0a606586eb5c" +checksum = "fcfaa4ffec0af04e3555686b8aacbcdf7d13638133a0672749209069750f78a6" dependencies = [ "alloy-chains", "alloy-consensus", @@ -439,9 +451,9 @@ dependencies = [ [[package]] name = "alloy-pubsub" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa73f976e7b6341f3f8a404241cf04f883d40212cd4f2633c66d99de472e262c" +checksum = "f32cef487122ae75c91eb50154c70801d71fabdb976fec6c49e0af5e6486ab15" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -452,7 +464,7 @@ dependencies = [ "serde_json", "tokio", "tokio-stream", - "tower", + "tower 0.5.1", "tracing", ] @@ -480,9 +492,9 @@ dependencies = [ [[package]] name = "alloy-rpc-client" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02378418a429f8a14a0ad8ffaa15b2d25ff34914fc4a1e366513c6a3800e03b3" +checksum = "370143ed581aace6e663342d21d209c6b2e34ee6142f7d6675adb518deeaf0dc" dependencies = [ "alloy-json-rpc", "alloy-primitives", @@ -497,17 +509,18 @@ dependencies = [ "serde_json", "tokio", "tokio-stream", - "tower", + "tower 0.5.1", "tracing", "url", ] [[package]] name = "alloy-rpc-types" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9ae4c4fbd37d9996f501fbc7176405aab97ae3a5772789be06ef0e7c4dad6dd" +checksum = "9ffc534b7919e18f35e3aa1f507b6f3d9d92ec298463a9f6beaac112809d8d06" dependencies = [ + "alloy-primitives", "alloy-rpc-types-anvil", "alloy-rpc-types-beacon", "alloy-rpc-types-engine", @@ -518,9 +531,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-anvil" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "140b079c6fda14d9586432bf988b46ac0e04871ca313c9e00aa85cc808105e8a" +checksum = "d780adaa5d95b07ad92006b2feb68ecfa7e2015f7d5976ceaac4c906c73ebd07" dependencies = [ "alloy-primitives", "alloy-serde", @@ -529,9 +542,9 @@ dependencies = [ [[package]] name = "alloy-rpc-types-beacon" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abbd9b6764423821bd6874477791ca68cfd0e946958d611319b57b006edf0113" +checksum = "7a8dc5980fe30203d698627cddb5f0cedc57f900c8b5e1229c8b9448e37acb4a" dependencies = [ "alloy-eips", "alloy-primitives", @@ -543,25 +556,25 @@ dependencies = [ [[package]] name = "alloy-rpc-types-engine" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d79cadb52e32d40afa04847647eb50a332559d7870e66e46a0c32c33bf1c801d" +checksum = "e0285c4c09f838ab830048b780d7f4a4f460f309aa1194bb049843309524c64c" dependencies = [ "alloy-consensus", "alloy-eips", "alloy-primitives", "alloy-rlp", - "alloy-rpc-types-eth", "alloy-serde", + "derive_more 1.0.0", "serde", - "thiserror", + "strum 0.26.2", ] [[package]] name = "alloy-rpc-types-eth" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15bb3506ab1cf415d4752778c93e102050399fb8de97b7da405a5bf3e31f5f3b" +checksum = "413f4aa3ccf2c3e4234a047c5fa4727916d7daf25a89f9b765df0ba09784fd87" dependencies = [ "alloy-consensus", "alloy-eips", @@ -570,17 +583,17 @@ dependencies = [ "alloy-rlp", "alloy-serde", "alloy-sol-types", + "derive_more 1.0.0", "itertools 0.13.0", "serde", "serde_json", - "thiserror", ] [[package]] name = "alloy-serde" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae417978015f573b4a8c02af17f88558fb22e3fccd12e8a910cf6a2ff331cfcb" +checksum = "9dff0ab1cdd43ca001e324dc27ee0e8606bd2161d6623c63e0e0b8c4dfc13600" dependencies = [ "alloy-primitives", "serde", @@ -589,9 +602,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b750c9b61ac0646f8f4a61231c2732a337b2c829866fc9a191b96b7eedf80ffe" +checksum = "2fd4e0ad79c81a27ca659be5d176ca12399141659fef2bcbfdc848da478f4504" dependencies = [ "alloy-primitives", "async-trait", @@ -603,9 +616,9 @@ dependencies = [ [[package]] name = "alloy-signer-local" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c640f9343e8f741f837c345c5ea30239ba77938b3691b884c736834853bd16c" +checksum = "494e0a256f3e99f2426f994bcd1be312c02cb8f88260088dacb33a8b8936475f" dependencies = [ "alloy-consensus", "alloy-network", @@ -619,13 +632,13 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "183bcfc0f3291d9c41a3774172ee582fb2ce6eb6569085471d8f225de7bb86fc" +checksum = "3b2395336745358cc47207442127c47c63801a7065ecc0aa928da844f8bb5576" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", - "proc-macro-error", + "proc-macro-error2", "proc-macro2", "quote", "syn 2.0.71", @@ -633,16 +646,16 @@ dependencies = [ [[package]] name = "alloy-sol-macro-expander" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71c4d842beb7a6686d04125603bc57614d5ed78bf95e4753274db3db4ba95214" +checksum = "9ed5047c9a241df94327879c2b0729155b58b941eae7805a7ada2e19436e6b39" dependencies = [ "alloy-json-abi", "alloy-sol-macro-input", "const-hex", "heck 0.5.0", - "indexmap 2.2.6", - "proc-macro-error", + "indexmap 2.6.0", + "proc-macro-error2", "proc-macro2", "quote", "syn 2.0.71", @@ -652,9 +665,9 @@ dependencies = [ [[package]] name = "alloy-sol-macro-input" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1306e8d3c9e6e6ecf7a39ffaf7291e73a5f655a2defd366ee92c2efebcdf7fee" +checksum = "5dee02a81f529c415082235129f0df8b8e60aa1601b9c9298ffe54d75f57210b" dependencies = [ "alloy-json-abi", "const-hex", @@ -669,9 +682,9 @@ dependencies = [ [[package]] name = "alloy-sol-type-parser" -version = "0.8.2" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a6b5d462d4520bd9ed70d8364c6280aeff13baa46ea26be1ddd33538dbbe6ac" +checksum = "f631f0bd9a9d79619b27c91b6b1ab2c4ef4e606a65192369a1ee05d40dcf81cc" dependencies = [ "serde", "winnow 0.6.6", @@ -679,9 +692,9 @@ dependencies = [ [[package]] name = "alloy-sol-types" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "577e262966e92112edbd15b1b2c0947cc434d6e8311df96d3329793fe8047da9" +checksum = "c2841af22d99e2c0f82a78fe107b6481be3dd20b89bfb067290092794734343a" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -692,9 +705,9 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2799749ca692ae145f54968778877afd7c95e788488f176cfdfcf2a8abeb2062" +checksum = "2ac3e97dad3d31770db0fc89bd6a63b789fbae78963086733f960cf32c483904" dependencies = [ "alloy-json-rpc", "base64 0.22.1", @@ -704,31 +717,31 @@ dependencies = [ "serde_json", "thiserror", "tokio", - "tower", + "tower 0.5.1", "tracing", "url", ] [[package]] name = "alloy-transport-http" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc10c4dd932f66e0db6cc5735241e0c17a6a18564b430bbc1839f7db18587a93" +checksum = "b367dcccada5b28987c2296717ee04b9a5637aacd78eacb1726ef211678b5212" dependencies = [ "alloy-json-rpc", "alloy-transport", "reqwest 0.12.4", "serde_json", - "tower", + "tower 0.5.1", "tracing", "url", ] [[package]] name = "alloy-transport-ws" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65e732028930aa17b7edd464a9711365417635e984028fcc7176393ccea22c00" +checksum = "7153b88690de6a50bba81c11e1d706bc41dbb90126d607404d60b763f6a3947f" dependencies = [ "alloy-pubsub", "alloy-transport", @@ -737,7 +750,7 @@ dependencies = [ "rustls 0.23.10", "serde_json", "tokio", - "tokio-tungstenite 0.23.1", + "tokio-tungstenite 0.24.0", "tracing", "ws_stream_wasm", ] @@ -4200,6 +4213,7 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.71", + "unicode-xid", ] [[package]] @@ -5288,7 +5302,7 @@ dependencies = [ "parity-scale-codec", "sp-core", "tokio", - "tower", + "tower 0.4.13", ] [[package]] @@ -5335,7 +5349,7 @@ dependencies = [ "futures", "gear-core", "gprimitives", - "indexmap 2.2.6", + "indexmap 2.6.0", "log", "parity-scale-codec", "tokio", @@ -5352,7 +5366,7 @@ dependencies = [ "gprimitives", "hex", "parity-scale-codec", - "secp256k1 0.29.0", + "secp256k1 0.30.0", "sha3", "tempfile", ] @@ -5641,6 +5655,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + [[package]] name = "foreign-types" version = "0.3.2" @@ -7079,7 +7099,7 @@ dependencies = [ "gear-utils", "gear-wasm-instrument", "gsys", - "indexmap 2.2.6", + "indexmap 2.6.0", "indicatif", "log", "nonempty", @@ -7130,7 +7150,7 @@ dependencies = [ "frame-support", "gear-utils", "heck 0.5.0", - "indexmap 2.2.6", + "indexmap 2.6.0", "pallet-gear", "proc-macro2", "quote", @@ -7409,7 +7429,7 @@ dependencies = [ "gear-utils", "gsdk-codegen", "hex", - "indexmap 2.2.6", + "indexmap 2.6.0", "jsonrpsee 0.16.3", "log", "parity-scale-codec", @@ -7517,7 +7537,7 @@ dependencies = [ "gear-wasm-instrument", "gsys", "hex", - "indexmap 2.2.6", + "indexmap 2.6.0", "log", "parity-scale-codec", "path-clean", @@ -7564,7 +7584,7 @@ dependencies = [ "futures-core", "futures-sink", "http 1.1.0", - "indexmap 2.2.6", + "indexmap 2.6.0", "slab", "tokio", "tokio-util", @@ -7635,6 +7655,16 @@ dependencies = [ "serde", ] +[[package]] +name = "hashbrown" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +dependencies = [ + "foldhash", + "serde", +] + [[package]] name = "hashers" version = "1.0.1" @@ -8064,7 +8094,7 @@ dependencies = [ "pin-project-lite 0.2.13", "socket2 0.5.7", "tokio", - "tower", + "tower 0.4.13", "tower-service", "tracing", ] @@ -8259,12 +8289,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.15.0", "serde", ] @@ -8713,7 +8743,7 @@ dependencies = [ "serde_json", "thiserror", "tokio", - "tower", + "tower 0.4.13", "tracing", "url", ] @@ -8762,7 +8792,7 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", - "tower", + "tower 0.4.13", "tracing", ] @@ -8789,7 +8819,7 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", - "tower", + "tower 0.4.13", "tracing", ] @@ -12643,7 +12673,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap 2.6.0", ] [[package]] @@ -13035,6 +13065,28 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.71", +] + [[package]] name = "proc-macro-warning" version = "1.0.2" @@ -13382,6 +13434,7 @@ dependencies = [ "libc", "rand_chacha 0.3.1", "rand_core 0.6.4", + "serde", ] [[package]] @@ -15103,7 +15156,7 @@ dependencies = [ "serde_json", "substrate-prometheus-endpoint", "tokio", - "tower", + "tower 0.4.13", "tower-http", ] @@ -15655,9 +15708,9 @@ dependencies = [ [[package]] name = "secp256k1" -version = "0.29.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0cc0f1cf93f4969faf3ea1c7d8a9faed25918d96affa959720823dfe86d4f3" +checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" dependencies = [ "bitcoin_hashes 0.14.0", "rand 0.8.5", @@ -15909,7 +15962,7 @@ dependencies = [ "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.2.6", + "indexmap 2.6.0", "serde", "serde_derive", "serde_json", @@ -15935,7 +15988,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.6.0", "itoa", "ryu", "serde", @@ -17765,9 +17818,9 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.0" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284c41c2919303438fcf8dede4036fd1e82d4fc0fbb2b279bd2a1442c909ca92" +checksum = "ebfc1bfd06acc78f16d8fd3ef846bc222ee7002468d10a7dce8d703d6eab89a3" dependencies = [ "paste", "proc-macro2", @@ -18179,9 +18232,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.23.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd" +checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" dependencies = [ "futures-util", "log", @@ -18189,7 +18242,7 @@ dependencies = [ "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", - "tungstenite 0.23.0", + "tungstenite 0.24.0", "webpki-roots 0.26.3", ] @@ -18255,7 +18308,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", @@ -18268,7 +18321,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.6.0", "toml_datetime", "winnow 0.5.15", ] @@ -18279,7 +18332,7 @@ version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", @@ -18307,6 +18360,20 @@ dependencies = [ "tracing", ] +[[package]] +name = "tower" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite 0.2.13", + "sync_wrapper", + "tower-layer", + "tower-service", +] + [[package]] name = "tower-http" version = "0.4.4" @@ -18327,15 +18394,15 @@ dependencies = [ [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" @@ -18631,9 +18698,9 @@ dependencies = [ [[package]] name = "tungstenite" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" +checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a" dependencies = [ "byteorder", "bytes", @@ -19254,7 +19321,7 @@ source = "git+https://github.com/gear-tech/wasm-tools.git?branch=gear-stable#ffe dependencies = [ "arbitrary", "flagset", - "indexmap 2.2.6", + "indexmap 2.6.0", "leb128", "wasm-encoder 0.35.0", "wasmparser 0.115.0", @@ -19394,7 +19461,7 @@ dependencies = [ "bytesize", "derive_builder", "hex", - "indexmap 2.2.6", + "indexmap 2.6.0", "schemars", "semver 1.0.18", "serde", @@ -19574,7 +19641,7 @@ name = "wasmparser" version = "0.115.0" source = "git+https://github.com/gear-tech/wasm-tools.git?branch=gear-stable#ffe9abee63ad640c051d50515cedee7f67f31884" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.6.0", "semver 1.0.18", ] @@ -19584,7 +19651,7 @@ version = "0.118.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77f1154f1ab868e2a01d9834a805faca7bf8b50d041b4ca714d005d0dab1c50c" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.6.0", "semver 1.0.18", ] @@ -19595,7 +19662,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9dbe55c8f9d0dbd25d9447a5a889ff90c0cc3feaa7395310d3d826b2c703eaab" dependencies = [ "bitflags 2.5.0", - "indexmap 2.2.6", + "indexmap 2.6.0", "semver 1.0.18", ] diff --git a/Cargo.toml b/Cargo.toml index c0ce76527e5..1fa1b5efec3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -112,7 +112,7 @@ members = [ ] [workspace.dependencies] -alloy = "0.3.1" +alloy = "0.4.2" anyhow = { version = "1.0.86", default-features = false } arbitrary = "1.3.2" async-recursion = "1.1.1" diff --git a/ethexe/ethereum/src/lib.rs b/ethexe/ethereum/src/lib.rs index 15bedc1656c..ab0345db8d0 100644 --- a/ethexe/ethereum/src/lib.rs +++ b/ethexe/ethereum/src/lib.rs @@ -29,8 +29,8 @@ use alloy::{ network::{Ethereum as AlloyEthereum, EthereumWallet, Network, TxSigner}, primitives::{Address, Bytes, ChainId, Signature, B256, U256}, providers::{ - fillers::{FillProvider, JoinFill, RecommendedFiller, WalletFiller}, - PendingTransactionBuilder, PendingTransactionError, Provider, ProviderBuilder, + fillers::{FillProvider, JoinFill, WalletFiller, GasFiller, NonceFiller, ChainIdFiller, BlobGasFiller}, + Identity, PendingTransactionBuilder, PendingTransactionError, Provider, ProviderBuilder, RootProvider, }, rpc::types::eth::Log, @@ -58,7 +58,13 @@ pub(crate) type AlloyTransport = BoxTransport; type AlloyProvider = FillProvider, AlloyTransport, AlloyEthereum>; -pub(crate) type ExeFiller = JoinFill>; +pub(crate) type ExeFiller = JoinFill< + JoinFill< + Identity, + JoinFill>>, + >, + WalletFiller, +>; pub struct Ethereum { router_address: Address, diff --git a/ethexe/signer/Cargo.toml b/ethexe/signer/Cargo.toml index c2833494d12..a1559d5262d 100644 --- a/ethexe/signer/Cargo.toml +++ b/ethexe/signer/Cargo.toml @@ -13,13 +13,13 @@ repository.workspace = true ethexe-common.workspace = true gprimitives = { workspace = true, features = ["codec"] } -anyhow.workspace = true +anyhow = { workspace = true, features = ["std"] } hex = { workspace = true, features = ["alloc"] } parity-scale-codec = { workspace = true, features = ["std", "derive"] } derive_more.workspace = true tempfile.workspace = true -secp256k1 = { version = "0.29", features = ["rand", "global-context", "hashes-std", "rand-std", "recovery"] } +secp256k1 = { version = "0.30", features = ["rand", "global-context", "hashes", "recovery"] } sha3 = { version = "0.10.0", default-features = false } [dev-dependencies] diff --git a/ethexe/signer/src/signature.rs b/ethexe/signer/src/signature.rs index 1b7c53867cf..4a91d51dab4 100644 --- a/ethexe/signer/src/signature.rs +++ b/ethexe/signer/src/signature.rs @@ -43,7 +43,7 @@ impl RawSignature { let (id, signature) = recoverable.serialize_compact(); let mut bytes = [0u8; 65]; bytes[..64].copy_from_slice(signature.as_ref()); - bytes[64] = id.to_i32() as u8; + bytes[64] = i32::from(id) as u8; Ok(RawSignature(bytes)) } } @@ -125,7 +125,7 @@ impl TryFrom for RecoverableSignature { fn try_from(sig: Signature) -> Result { RecoverableSignature::from_compact( sig.0[..64].as_ref(), - RecoveryId::from_i32((sig.0[64] - 27) as i32)?, + RecoveryId::try_from((sig.0[64] - 27) as i32)?, ) .map_err(Into::into) } From 0b40f830ddc2aa7e20d4652ccf97c46009443c0a Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Thu, 17 Oct 2024 20:40:54 +0200 Subject: [PATCH 09/59] fmt --- ethexe/ethereum/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ethexe/ethereum/src/lib.rs b/ethexe/ethereum/src/lib.rs index ab0345db8d0..ac5164a5b00 100644 --- a/ethexe/ethereum/src/lib.rs +++ b/ethexe/ethereum/src/lib.rs @@ -29,7 +29,10 @@ use alloy::{ network::{Ethereum as AlloyEthereum, EthereumWallet, Network, TxSigner}, primitives::{Address, Bytes, ChainId, Signature, B256, U256}, providers::{ - fillers::{FillProvider, JoinFill, WalletFiller, GasFiller, NonceFiller, ChainIdFiller, BlobGasFiller}, + fillers::{ + BlobGasFiller, ChainIdFiller, FillProvider, GasFiller, JoinFill, NonceFiller, + WalletFiller, + }, Identity, PendingTransactionBuilder, PendingTransactionError, Provider, ProviderBuilder, RootProvider, }, From 7001d9d8268c21e10a5a146bfcde2be3e9cb6b62 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 18 Oct 2024 22:42:07 +0200 Subject: [PATCH 10/59] chore: Update mocks and tests --- Cargo.lock | 4751 ++++++++++++--------- common/src/pallet_tests.rs | 11 +- node/service/src/lib.rs | 5 +- node/testing/Cargo.toml | 1 + node/testing/src/client.rs | 2 +- node/testing/src/genesis.rs | 3 +- node/testing/src/keyring.rs | 1 + pallets/gear-builtin/src/tests/staking.rs | 5 +- pallets/gear-eth-bridge/src/mock.rs | 9 +- pallets/gear-program/src/mock.rs | 5 - pallets/gear/src/tests.rs | 4 +- pallets/payment/src/mock.rs | 2 +- runtime/vara/src/integration_tests.rs | 51 +- 13 files changed, 2751 insertions(+), 2099 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e6d1f73872..859e8edf1d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -438,7 +438,7 @@ dependencies = [ "dashmap 6.0.1", "futures", "futures-utils-wasm", - "lru 0.12.3", + "lru", "pin-project", "reqwest 0.12.4", "serde", @@ -844,16 +844,16 @@ dependencies = [ [[package]] name = "aquamarine" -version = "0.3.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" dependencies = [ "include_dir", "itertools 0.10.5", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.71", ] [[package]] @@ -1116,20 +1116,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "ark-scale" -version = "0.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bd73bb6ddb72630987d37fa963e99196896c0d0ea81b7c894567e74a2f83af" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "parity-scale-codec", - "scale-info", -] - [[package]] name = "ark-scale" version = "0.0.12" @@ -1144,21 +1130,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "ark-secret-scalar" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "ark-transcript", - "digest 0.10.7", - "rand_core 0.6.4", - "zeroize", -] - [[package]] name = "ark-serialize" version = "0.3.0" @@ -1213,25 +1184,6 @@ dependencies = [ "rayon", ] -[[package]] -name = "ark-transcript" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "digest 0.10.7", - "rand_core 0.6.4", - "sha3", -] - -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - [[package]] name = "array-bytes" version = "6.2.3" @@ -1384,7 +1336,7 @@ dependencies = [ "concurrent-queue", "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1468,7 +1420,7 @@ checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ "event-listener 5.2.0", "event-listener-strategy", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1539,7 +1491,7 @@ checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" dependencies = [ "async-stream-impl", "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1591,7 +1543,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1604,7 +1556,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -1660,42 +1612,19 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" dependencies = [ "addr2line 0.21.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.32.0", + "object 0.32.2", "rustc-demangle", ] -[[package]] -name = "bandersnatch_vrfs" -version = "0.0.3" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff 0.4.2", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "dleq_vrf", - "fflonk", - "merlin 3.0.0", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "ring 0.1.0", - "sha2 0.10.8", - "sp-ark-bls12-381", - "sp-ark-ed-on-bls12-381-bandersnatch", - "zeroize", -] - [[package]] name = "base-x" version = "0.2.11" @@ -1761,8 +1690,8 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "15.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "hash-db", "log", @@ -1805,10 +1734,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes 0.11.0", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", ] [[package]] @@ -1826,6 +1751,12 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" +[[package]] +name = "bitcoin-internals" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" + [[package]] name = "bitcoin-io" version = "0.1.2" @@ -1838,6 +1769,16 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +[[package]] +name = "bitcoin_hashes" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative 0.1.2", +] + [[package]] name = "bitcoin_hashes" version = "0.14.0" @@ -1845,7 +1786,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16" dependencies = [ "bitcoin-io", - "hex-conservative", + "hex-conservative 0.2.1", ] [[package]] @@ -1905,13 +1846,13 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq 0.2.6", + "constant_time_eq 0.3.1", ] [[package]] @@ -1927,15 +1868,15 @@ dependencies = [ [[package]] name = "blake3" -version = "1.3.1" -source = "git+https://github.com/gear-tech/BLAKE3?branch=fix-clang-cl-cross#124a7d89c43dd242c080e59ad46e8c8904ae4b6e" +version = "1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" dependencies = [ "arrayref", "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq 0.1.5", - "digest 0.10.7", + "constant_time_eq 0.3.1", ] [[package]] @@ -2023,9 +1964,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.8" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" +checksum = "db436177db0d505b1507f03aca56a41442ae6efdf8b6eaa855d73e52c5b078dc" dependencies = [ "log", "parity-scale-codec", @@ -2049,16 +1990,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "bstr" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" -dependencies = [ - "memchr", - "serde", -] - [[package]] name = "build-helper" version = "0.1.1" @@ -2220,7 +2151,7 @@ dependencies = [ "anyhow", "cargo_metadata 0.18.1", "cargo_toml", - "clap 4.5.9", + "clap 4.5.13", "colored", "etc", "gear-wasm-optimizer", @@ -2230,7 +2161,7 @@ dependencies = [ "serde_json", "toml 0.8.14", "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -2247,7 +2178,7 @@ dependencies = [ "structopt", "tokio", "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", "warp", ] @@ -2300,12 +2231,13 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.10" +version = "1.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292" +checksum = "b16803a61b81d9eabb7eae2588776c4c1e584b738ede45fdbb4c972cec1e9945" dependencies = [ "jobserver", "libc", + "shlex", ] [[package]] @@ -2424,6 +2356,19 @@ dependencies = [ "unsigned-varint 0.7.2", ] +[[package]] +name = "cid" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd94671561e36e4e7de75f753f577edafb0e7c05d6e4547229fdf7938fbcd2c3" +dependencies = [ + "core2", + "multibase", + "multihash 0.18.1", + "serde", + "unsigned-varint 0.7.2", +] + [[package]] name = "cipher" version = "0.2.5" @@ -2497,19 +2442,19 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.9" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64acc1846d54c1fe936a78dc189c34e28d3f5afc348403f28ecf53660b9b8462" +checksum = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc" dependencies = [ "clap_builder", - "clap_derive 4.5.8", + "clap_derive 4.5.13", ] [[package]] name = "clap_builder" -version = "4.5.9" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8393d67ba2e7bfaf28a23458e4e2b543cc73a99595511eb207fdb8aede942" +checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" dependencies = [ "anstream", "anstyle", @@ -2533,9 +2478,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.8" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -2693,22 +2638,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "common" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "fflonk", - "getrandom_or_panic", - "merlin 3.0.0", - "rand_chacha 0.3.1", -] - [[package]] name = "common-path" version = "1.0.0" @@ -2726,15 +2655,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] @@ -2814,6 +2743,12 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" +[[package]] +name = "constant_time_eq" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" + [[package]] name = "constcat" version = "0.3.1" @@ -3070,7 +3005,7 @@ dependencies = [ "anyhow", "cargo-http-registry", "cargo_metadata 0.18.1", - "clap 4.5.9", + "clap 4.5.13", "reqwest 0.11.27", "serde", "tempfile", @@ -3078,6 +3013,21 @@ dependencies = [ "toml_edit 0.22.14", ] +[[package]] +name = "crc" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" + [[package]] name = "crc32fast" version = "1.3.2" @@ -3230,19 +3180,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "4.1.3" @@ -4120,13 +4057,13 @@ dependencies = [ [[package]] name = "derive-syn-parse" -version = "0.1.5" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.71", ] [[package]] @@ -4356,37 +4293,20 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632" -[[package]] -name = "dleq_vrf" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=cbc342e#cbc342e95d3cbcd3c5ba8d45af7200eb58e63502" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-scale 0.0.11", - "ark-secret-scalar", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "ark-transcript", - "arrayvec 0.7.4", - "rand_core 0.6.4", - "zeroize", -] - [[package]] name = "docify" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", "derive-syn-parse", @@ -4456,9 +4376,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.13" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "dynasm" @@ -4496,6 +4416,7 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", + "serdect", "signature", "spki", ] @@ -4525,20 +4446,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", - "zeroize", -] - [[package]] name = "ed25519-zebra" version = "4.0.3" @@ -4562,9 +4469,9 @@ checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" -version = "0.13.7" +version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9775b22bc152ad86a0cf23f0f348b884b26add12bf741e7ffc4d4ab2ab4d205" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ "base16ct", "crypto-bigint", @@ -4575,6 +4482,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", + "serdect", "subtle 2.6.1", "zeroize", ] @@ -5112,7 +5020,7 @@ version = "1.6.2" dependencies = [ "alloy", "anyhow", - "clap 4.5.9", + "clap 4.5.13", "demo-async", "demo-ping", "derive_more 0.99.18", @@ -5267,7 +5175,7 @@ dependencies = [ "parity-wasm", "rand 0.8.5", "sp-allocator", - "sp-wasm-interface 14.0.0", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", "wabt", "wasmtime", @@ -5277,7 +5185,7 @@ dependencies = [ name = "ethexe-prometheus-endpoint" version = "1.6.2" dependencies = [ - "hyper 0.14.27", + "hyper 0.14.31", "log", "prometheus", "thiserror", @@ -5297,10 +5205,10 @@ dependencies = [ "gprimitives", "hex", "hyper 1.4.1", - "jsonrpsee 0.24.0", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", "tower 0.4.13", ] @@ -5381,7 +5289,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio-test", ] @@ -5414,7 +5322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -5425,7 +5333,7 @@ checksum = "2b5fb89194fa3cad959b833185b3063ba881dbfc7030680b314250779fb4cc91" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -5435,7 +5343,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ "event-listener 5.2.0", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -5493,6 +5401,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + [[package]] name = "fastrand" version = "1.9.0" @@ -5521,11 +5435,12 @@ dependencies = [ [[package]] name = "fdlimit" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", + "thiserror", ] [[package]] @@ -5538,19 +5453,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "fflonk" -version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "merlin 3.0.0", -] - [[package]] name = "fiat-crypto" version = "0.2.9" @@ -5636,7 +5538,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" dependencies = [ "crc32fast", - "libz-sys", "miniz_oxide", ] @@ -5678,8 +5579,8 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "13.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", ] @@ -5693,6 +5594,16 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "forwarded-header-value" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" +dependencies = [ + "nonempty 0.7.0", + "thiserror", +] + [[package]] name = "fragile" version = "2.0.0" @@ -5701,8 +5612,8 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-support-procedural", @@ -5713,33 +5624,32 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "43.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "Inflector", - "array-bytes 6.2.3", + "array-bytes", "chrono", - "clap 4.5.9", + "clap 4.5.13", "comfy-table", "frame-benchmarking", "frame-support", "frame-system", "gethostname", "handlebars", - "itertools 0.10.5", + "itertools 0.11.0", "lazy_static", "linked-hash-map", "log", @@ -5747,37 +5657,39 @@ dependencies = [ "rand 0.8.5", "rand_pcg", "sc-block-builder", + "sc-chain-spec", "sc-cli", "sc-client-api", "sc-client-db", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-service", "sc-sysinfo", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-externalities 0.19.0", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-genesis-builder", "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage 13.0.0", - "sp-trie", - "sp-wasm-interface 14.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "thousands", ] [[package]] name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.71", @@ -5785,37 +5697,36 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-election-provider-solution-type", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "aquamarine", "frame-support", "frame-system", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-tracing 10.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -5841,21 +5752,37 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-metadata-hash-extension" +version = "0.6.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "array-bytes", + "docify", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 39.0.1", +] + [[package]] name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.46.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", "indicatif", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "spinners", "substrate-rpc-client", "tokio", @@ -5864,11 +5791,11 @@ dependencies = [ [[package]] name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aquamarine", - "array-bytes 6.2.3", + "array-bytes", "bitflags 1.3.2", "docify", "environmental", @@ -5884,51 +5811,52 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", - "sp-debug-derive 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", "sp-inherents", - "sp-io", - "sp-metadata-ir", - "sp-runtime", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", - "sp-state-machine", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-weights", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "30.0.3" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", + "docify", "expander", "frame-support-procedural-tools", - "itertools 0.10.5", + "itertools 0.11.0", "macro_magic", - "proc-macro-warning", + "proc-macro-warning 1.0.2", "proc-macro2", "quote", - "sp-core-hashing", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "syn 2.0.71", ] [[package]] name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "13.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.71", @@ -5936,8 +5864,8 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "12.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "proc-macro2", "quote", @@ -5947,7 +5875,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-executive", @@ -5960,85 +5888,84 @@ dependencies = [ "rustversion", "scale-info", "serde", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std 8.0.0", - "sp-version", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", "trybuild", ] [[package]] name = "frame-support-test-pallet" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "4.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "cfg-if", + "docify", "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-version", - "sp-weights", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "docify", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -6086,6 +6013,16 @@ dependencies = [ "futures-util", ] +[[package]] +name = "futures-bounded" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0" +dependencies = [ + "futures-timer", + "futures-util", +] + [[package]] name = "futures-bounded" version = "0.2.4" @@ -6141,7 +6078,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", "waker-fn", ] @@ -6155,7 +6092,7 @@ dependencies = [ "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -6181,13 +6118,12 @@ dependencies = [ [[package]] name = "futures-rustls" -version = "0.22.2" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" +checksum = "35bd3cf68c183738046838e300353e4716c674dc5e56890de4826801a6622a28" dependencies = [ "futures-io", - "rustls 0.20.8", - "webpki", + "rustls 0.21.7", ] [[package]] @@ -6247,7 +6183,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite", "pin-utils", "slab", ] @@ -6281,7 +6217,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "ark-serialize 0.4.2", "derive_more 0.99.18", "parity-scale-codec", @@ -6311,7 +6247,7 @@ version = "1.6.2" dependencies = [ "anyhow", "async-trait", - "clap 4.5.9", + "clap 4.5.13", "color-eyre", "colored", "demo-messenger", @@ -6329,7 +6265,7 @@ dependencies = [ "gring", "gsdk", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "keyring", "log", "rand 0.8.5", @@ -6354,7 +6290,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "ark-serialize 0.4.2", "ark-std 0.4.0", "async-trait", @@ -6436,20 +6372,20 @@ dependencies = [ "parking_lot 0.12.3", "sc-block-builder", "sc-client-api", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-proposer-metrics", "sc-service", "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", "substrate-prometheus-endpoint", "vara-runtime", @@ -6459,7 +6395,7 @@ dependencies = [ name = "gear-bags-thresholds" version = "1.0.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.13", "generate-bags", "vara-runtime", ] @@ -6483,7 +6419,7 @@ dependencies = [ name = "gear-cli" version = "1.6.2" dependencies = [ - "clap 4.5.9", + "clap 4.5.13", "frame-benchmarking", "frame-benchmarking-cli", "frame-system", @@ -6498,13 +6434,13 @@ dependencies = [ "pallet-gear-staking-rewards", "sc-cli", "sc-client-api", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-service", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime", + "sp-runtime 39.0.1", "sp-timestamp", "substrate-build-script-utils", "vara-runtime", @@ -6529,11 +6465,11 @@ dependencies = [ "log", "primitive-types", "proptest", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6683,7 +6619,7 @@ dependencies = [ "gear-lazy-pages-common", "gear-runtime-interface", "log", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6702,7 +6638,7 @@ name = "gear-node-loader" version = "1.6.2" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.13", "futures", "futures-timer", "gclient", @@ -6712,7 +6648,7 @@ dependencies = [ "gear-utils", "gear-wasm-gen", "gsdk", - "names 0.14.0", + "names", "parking_lot 0.12.3", "primitive-types", "rand 0.8.5", @@ -6722,7 +6658,7 @@ dependencies = [ "tokio", "tracing", "tracing-appender", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -6730,6 +6666,7 @@ name = "gear-node-testing" version = "1.6.2" dependencies = [ "frame-benchmarking", + "frame-metadata-hash-extension", "frame-support", "frame-system", "futures", @@ -6750,16 +6687,16 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "scale-info", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-crypto-ec-utils 0.4.1", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", "sp-inherents", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-test-client", "vara-runtime", ] @@ -6789,7 +6726,7 @@ dependencies = [ name = "gear-replay-cli" version = "1.0.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.13", "frame-remote-externalities", "frame-system", "gear-runtime-interface", @@ -6799,17 +6736,17 @@ dependencies = [ "log", "parity-scale-codec", "sc-cli", - "sc-executor", - "sc-executor-common", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-tracing", - "sp-core", - "sp-crypto-ec-utils 0.4.1", - "sp-externalities 0.19.0", - "sp-io", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-rpc-client", "tokio", "vara-runtime", @@ -6837,8 +6774,8 @@ dependencies = [ "pallet-gear-messenger", "pallet-session", "pallet-treasury", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6848,7 +6785,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "byteorder", "gear-core", "gear-lazy-pages", @@ -6857,9 +6794,9 @@ dependencies = [ "log", "parity-scale-codec", "sha2 0.10.8", - "sp-io", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "winapi", ] @@ -6867,8 +6804,8 @@ dependencies = [ name = "gear-runtime-primitives" version = "1.6.2" dependencies = [ - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -6880,8 +6817,8 @@ dependencies = [ "gear-sandbox-interface", "log", "parity-scale-codec", - "sp-core", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-wasm-interface-common", "wasmi 0.30.0", "wat", @@ -6892,8 +6829,8 @@ name = "gear-sandbox-env" version = "1.6.2" dependencies = [ "parity-scale-codec", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-wasm-interface-common", ] @@ -6924,8 +6861,8 @@ dependencies = [ "gear-sandbox-host", "log", "parity-scale-codec", - "sp-runtime-interface 17.0.0", - "sp-wasm-interface 14.0.0", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -6942,7 +6879,7 @@ dependencies = [ "gear-runtime-interface", "gear-runtime-primitives", "hex-literal", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "pallet-gear-builtin-rpc", "pallet-gear-builtin-rpc-runtime-api", @@ -6966,8 +6903,8 @@ dependencies = [ "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-consensus-slots", - "sc-executor", - "sc-executor-common", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-network", "sc-network-common", "sc-network-statement", @@ -6984,28 +6921,29 @@ dependencies = [ "sc-transaction-pool-api", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-grandpa", - "sp-core", - "sp-crypto-ec-utils 0.4.1", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", - "sp-runtime", + "sp-runtime 39.0.1", "sp-session", - "sp-storage 13.0.0", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", - "try-runtime-cli", "vara-runtime", ] @@ -7032,7 +6970,7 @@ dependencies = [ "env_logger", "gear-core", "hex", - "nonempty", + "nonempty 0.8.1", "parity-scale-codec", "path-clean", "serde", @@ -7044,7 +6982,7 @@ name = "gear-validator-checks" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.13", "env_logger", "futures", "gsdk", @@ -7102,7 +7040,7 @@ dependencies = [ "indexmap 2.6.0", "indicatif", "log", - "nonempty", + "nonempty 0.8.1", "proptest", "rand 0.8.5", "thiserror", @@ -7146,7 +7084,7 @@ name = "gear-weight-diff" version = "1.0.0" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.13", "frame-support", "gear-utils", "heck 0.5.0", @@ -7163,8 +7101,8 @@ dependencies = [ [[package]] name = "generate-bags" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "chrono", "frame-election-provider-support", @@ -7265,7 +7203,7 @@ version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -7276,7 +7214,7 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] @@ -7286,6 +7224,10 @@ name = "gimli" version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] [[package]] name = "git2" @@ -7314,19 +7256,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" -[[package]] -name = "globset" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - [[package]] name = "gloo-timers" version = "0.2.6" @@ -7366,6 +7295,26 @@ dependencies = [ "syn 2.0.71", ] +[[package]] +name = "governor" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" +dependencies = [ + "cfg-if", + "dashmap 5.5.3", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.3", + "portable-atomic", + "quanta", + "rand 0.8.5", + "smallvec", + "spinning_top", +] + [[package]] name = "gprimitives" version = "1.6.2" @@ -7385,7 +7334,7 @@ version = "1.6.2" dependencies = [ "anyhow", "base64 0.21.7", - "clap 4.5.9", + "clap 4.5.13", "colored", "dirs 4.0.0", "gear-ss58", @@ -7396,7 +7345,7 @@ dependencies = [ "serde", "serde_json", "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -7430,7 +7379,7 @@ dependencies = [ "gsdk-codegen", "hex", "indexmap 2.6.0", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -7439,8 +7388,8 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "subxt", "thiserror", "tokio", @@ -7459,10 +7408,10 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "sc-executor", - "sc-executor-common", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "scale-info", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "subxt-codegen", "syn 2.0.71", ] @@ -7555,9 +7504,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.21" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -7565,7 +7514,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.9", - "indexmap 1.9.3", + "indexmap 2.6.0", "slab", "tokio", "tokio-util", @@ -7599,9 +7548,9 @@ checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" [[package]] name = "handlebars" -version = "4.3.7" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", @@ -7762,6 +7711,12 @@ dependencies = [ "serde", ] +[[package]] +name = "hex-conservative" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" + [[package]] name = "hex-conservative" version = "0.2.1" @@ -7938,7 +7893,7 @@ checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http 0.2.9", - "pin-project-lite 0.2.13", + "pin-project-lite", ] [[package]] @@ -7953,23 +7908,17 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", - "futures-core", + "futures-util", "http 1.1.0", "http-body 1.0.0", - "pin-project-lite 0.2.13", + "pin-project-lite", ] -[[package]] -name = "http-range-header" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" - [[package]] name = "httparse" version = "1.8.0" @@ -7990,22 +7939,22 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.27" +version = "0.14.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", - "h2 0.3.21", + "h2 0.3.26", "http 0.2.9", "http-body 0.4.5", "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.4.9", + "pin-project-lite", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -8027,7 +7976,7 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", + "pin-project-lite", "smallvec", "tokio", "want", @@ -8035,19 +7984,36 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.24.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", "http 0.2.9", - "hyper 0.14.27", + "hyper 0.14.31", "log", "rustls 0.21.7", "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.24.1", - "webpki-roots 0.23.1", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" +dependencies = [ + "futures-util", + "http 1.1.0", + "hyper 1.4.1", + "hyper-util", + "log", + "rustls 0.23.10", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.26.0", + "tower-service", ] [[package]] @@ -8057,7 +8023,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper 0.14.27", + "hyper 0.14.31", "native-tls", "tokio", "tokio-native-tls", @@ -8091,7 +8057,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.0", "hyper 1.4.1", - "pin-project-lite 0.2.13", + "pin-project-lite", "socket2 0.5.7", "tokio", "tower 0.4.13", @@ -8205,7 +8171,7 @@ dependencies = [ "bytes", "futures", "http 0.2.9", - "hyper 0.14.27", + "hyper 0.14.31", "log", "rand 0.8.5", "tokio", @@ -8496,21 +8462,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "jsonrpsee" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" -dependencies = [ - "jsonrpsee-core 0.16.3", - "jsonrpsee-http-client 0.16.3", - "jsonrpsee-proc-macros 0.16.3", - "jsonrpsee-server 0.16.3", - "jsonrpsee-types 0.16.3", - "jsonrpsee-ws-client 0.16.3", - "tracing", -] - [[package]] name = "jsonrpsee" version = "0.22.5" @@ -8536,37 +8487,18 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e419d6c39cb9632288c592a06d7d0a96740021b0bff812e211ace754b0fe8c9a" -dependencies = [ - "jsonrpsee-core 0.24.0", - "jsonrpsee-proc-macros 0.24.0", - "jsonrpsee-server 0.24.0", - "jsonrpsee-types 0.24.0", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.16.3" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" dependencies = [ - "futures-util", - "http 0.2.9", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "pin-project", - "rustls-native-certs 0.6.3", - "soketto 0.7.1", - "thiserror", + "jsonrpsee-core 0.24.7", + "jsonrpsee-http-client 0.24.7", + "jsonrpsee-proc-macros", + "jsonrpsee-server", + "jsonrpsee-types 0.24.7", + "jsonrpsee-ws-client 0.24.7", "tokio", - "tokio-rustls 0.24.1", - "tokio-util", "tracing", - "webpki-roots 0.25.2", ] [[package]] @@ -8614,31 +8546,26 @@ dependencies = [ ] [[package]] -name = "jsonrpsee-core" -version = "0.16.3" +name = "jsonrpsee-client-transport" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" dependencies = [ - "anyhow", - "arrayvec 0.7.4", - "async-lock 2.8.0", - "async-trait", - "beef", - "futures-channel", - "futures-timer", + "base64 0.22.1", "futures-util", - "globset", - "hyper 0.14.27", - "jsonrpsee-types 0.16.3", - "parking_lot 0.12.3", - "rand 0.8.5", - "rustc-hash 1.1.0", - "serde", - "serde_json", - "soketto 0.7.1", + "http 1.1.0", + "jsonrpsee-core 0.24.7", + "pin-project", + "rustls 0.23.10", + "rustls-pki-types", + "rustls-platform-verifier", + "soketto 0.8.0", "thiserror", "tokio", + "tokio-rustls 0.26.0", + "tokio-util", "tracing", + "url", ] [[package]] @@ -8652,7 +8579,7 @@ dependencies = [ "beef", "futures-timer", "futures-util", - "hyper 0.14.27", + "hyper 0.14.31", "jsonrpsee-types 0.22.5", "pin-project", "rustc-hash 1.1.0", @@ -8688,57 +8615,66 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.24.0" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06b8be79a3bdd7d87c1d95c0e939052b7f64fffce7b9436986e43e92f20a978" +checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" dependencies = [ "async-trait", "bytes", + "futures-timer", "futures-util", "http 1.1.0", "http-body 1.0.0", "http-body-util", - "jsonrpsee-types 0.24.0", + "jsonrpsee-types 0.24.7", "parking_lot 0.12.3", + "pin-project", "rand 0.8.5", "rustc-hash 2.0.0", "serde", "serde_json", "thiserror", "tokio", + "tokio-stream", "tracing", ] [[package]] name = "jsonrpsee-http-client" -version = "0.16.3" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" dependencies = [ "async-trait", - "hyper 0.14.27", - "hyper-rustls", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "rustc-hash 1.1.0", + "hyper 0.14.31", + "hyper-rustls 0.24.2", + "jsonrpsee-core 0.22.5", + "jsonrpsee-types 0.22.5", "serde", "serde_json", "thiserror", "tokio", + "tower 0.4.13", "tracing", + "url", ] [[package]] name = "jsonrpsee-http-client" -version = "0.22.5" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ccf93fc4a0bfe05d851d37d7c32b7f370fe94336b52a2f0efc5f1981895c2e5" +checksum = "b3638bc4617f96675973253b3a45006933bde93c2fd8a6170b33c777cc389e5b" dependencies = [ "async-trait", - "hyper 0.14.27", - "hyper-rustls", - "jsonrpsee-core 0.22.5", - "jsonrpsee-types 0.22.5", + "base64 0.22.1", + "http-body 1.0.0", + "hyper 1.4.1", + "hyper-rustls 0.27.3", + "hyper-util", + "jsonrpsee-core 0.24.7", + "jsonrpsee-types 0.24.7", + "rustls 0.23.10", + "rustls-platform-verifier", "serde", "serde_json", "thiserror", @@ -8750,22 +8686,9 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" -dependencies = [ - "heck 0.4.1", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.24.0" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4278d453682d9f9671b5261404360cdabd063198a43bb221c5c80e8f8bfb6b1" +checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" dependencies = [ "heck 0.5.0", "proc-macro-crate 3.1.0", @@ -8776,31 +8699,9 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" -dependencies = [ - "futures-channel", - "futures-util", - "http 0.2.9", - "hyper 0.14.27", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "serde", - "serde_json", - "soketto 0.7.1", - "tokio", - "tokio-stream", - "tokio-util", - "tower 0.4.13", - "tracing", -] - -[[package]] -name = "jsonrpsee-server" -version = "0.24.0" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c358788aa585f51a78b11bec5d4b16fbe26dda1cc149f21d95dc24836a0be83" +checksum = "82ad8ddc14be1d4290cd68046e7d1d37acd408efed6d3ca08aefcc3ad6da069c" dependencies = [ "futures-util", "http 1.1.0", @@ -8808,8 +8709,8 @@ dependencies = [ "http-body-util", "hyper 1.4.1", "hyper-util", - "jsonrpsee-core 0.24.0", - "jsonrpsee-types 0.24.0", + "jsonrpsee-core 0.24.7", + "jsonrpsee-types 0.24.7", "pin-project", "route-recognizer", "serde", @@ -8823,20 +8724,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-types" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - [[package]] name = "jsonrpsee-types" version = "0.22.5" @@ -8865,9 +8752,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.24.0" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0feba38a9878d70ccccd2f54b534b15e861d6caa7911d59abfd3e0d8b4de091f" +checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" dependencies = [ "http 1.1.0", "serde", @@ -8877,26 +8764,27 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.16.3" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" dependencies = [ - "http 0.2.9", - "jsonrpsee-client-transport 0.16.3", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", + "http 1.1.0", + "jsonrpsee-client-transport 0.23.2", + "jsonrpsee-core 0.23.2", + "jsonrpsee-types 0.23.2", + "url", ] [[package]] name = "jsonrpsee-ws-client" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" +checksum = "0fe322e0896d0955a3ebdd5bf813571c53fea29edd713bc315b76620b327e86d" dependencies = [ "http 1.1.0", - "jsonrpsee-client-transport 0.23.2", - "jsonrpsee-core 0.23.2", - "jsonrpsee-types 0.23.2", + "jsonrpsee-client-transport 0.24.7", + "jsonrpsee-core 0.24.7", + "jsonrpsee-types 0.24.7", "url", ] @@ -8923,14 +8811,15 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.2" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ "cfg-if", "ecdsa", "elliptic-curve", "once_cell", + "serdect", "sha2 0.10.8", "signature", ] @@ -9148,35 +9037,39 @@ dependencies = [ [[package]] name = "libp2p" -version = "0.51.4" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" +checksum = "e94495eb319a85b70a68b85e2389a95bb3555c71c49025b78c691a854a7e6464" dependencies = [ "bytes", + "either", "futures", "futures-timer", "getrandom 0.2.15", "instant", - "libp2p-allow-block-list 0.1.1", - "libp2p-connection-limits 0.1.0", - "libp2p-core 0.39.2", - "libp2p-dns 0.39.0", - "libp2p-identify 0.42.2", - "libp2p-identity 0.1.3", - "libp2p-kad 0.43.3", - "libp2p-mdns 0.43.1", - "libp2p-metrics 0.12.0", + "libp2p-allow-block-list 0.2.0", + "libp2p-connection-limits 0.2.1", + "libp2p-core 0.40.1", + "libp2p-dns 0.40.1", + "libp2p-identify 0.43.1", + "libp2p-identity", + "libp2p-kad 0.44.6", + "libp2p-mdns 0.44.0", + "libp2p-metrics 0.13.1", "libp2p-noise", - "libp2p-ping 0.42.0", - "libp2p-quic 0.7.0-alpha.3", - "libp2p-request-response 0.24.1", - "libp2p-swarm 0.42.2", - "libp2p-tcp 0.39.0", + "libp2p-ping 0.43.1", + "libp2p-quic 0.9.3", + "libp2p-request-response 0.25.3", + "libp2p-swarm 0.43.7", + "libp2p-tcp 0.40.1", + "libp2p-upnp 0.1.1", "libp2p-wasm-ext", "libp2p-websocket", - "libp2p-yamux 0.43.1", - "multiaddr 0.17.1", + "libp2p-yamux 0.44.1", + "multiaddr 0.18.1", "pin-project", + "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", ] [[package]] @@ -9195,7 +9088,7 @@ dependencies = [ "libp2p-dns 0.42.0", "libp2p-gossipsub", "libp2p-identify 0.45.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-kad 0.46.1", "libp2p-mdns 0.46.0", "libp2p-metrics 0.15.0", @@ -9206,23 +9099,23 @@ dependencies = [ "libp2p-swarm 0.45.1", "libp2p-tcp 0.42.0", "libp2p-tls 0.5.0", - "libp2p-upnp", + "libp2p-upnp 0.3.0", "libp2p-yamux 0.46.0", "multiaddr 0.18.1", "pin-project", - "rw-stream-sink 0.4.0", + "rw-stream-sink 0.4.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "thiserror", ] [[package]] name = "libp2p-allow-block-list" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" +checksum = "55b46558c5c0bf99d3e2a1a38fd54ff5476ca66dd1737b12466a1824dd219311" dependencies = [ - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "void", ] @@ -9232,20 +9125,20 @@ version = "0.4.0" source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches#0dd074b05b50a9faf2043d51343e0f10a83a7b69" dependencies = [ "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "void", ] [[package]] name = "libp2p-connection-limits" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" +checksum = "2f5107ad45cb20b2f6c3628c7b6014b996fcb13a88053f4569c872c6e30abf58" dependencies = [ - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "void", ] @@ -9255,33 +9148,33 @@ version = "0.4.0" source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches#0dd074b05b50a9faf2043d51343e0f10a83a7b69" dependencies = [ "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "void", ] [[package]] name = "libp2p-core" -version = "0.39.2" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" +checksum = "dd44289ab25e4c9230d9246c475a22241e301b23e8f4061d3bdef304a1a99713" dependencies = [ "either", "fnv", "futures", "futures-timer", "instant", - "libp2p-identity 0.1.3", + "libp2p-identity", "log", - "multiaddr 0.17.1", - "multihash 0.17.0", - "multistream-select 0.12.1", + "multiaddr 0.18.1", + "multihash 0.19.1", + "multistream-select 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "once_cell", "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand 0.8.5", - "rw-stream-sink 0.3.0", + "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec", "thiserror", "unsigned-varint 0.7.2", @@ -9297,16 +9190,16 @@ dependencies = [ "fnv", "futures", "futures-timer", - "libp2p-identity 0.2.9", + "libp2p-identity", "multiaddr 0.18.1", "multihash 0.19.1", - "multistream-select 0.13.0", + "multistream-select 0.13.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "once_cell", "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand 0.8.5", - "rw-stream-sink 0.4.0", + "rw-stream-sink 0.4.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "smallvec", "thiserror", "tracing", @@ -9317,12 +9210,14 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" +checksum = "e6a18db73084b4da2871438f6239fef35190b05023de7656e877c18a00541a3b" dependencies = [ + "async-trait", "futures", - "libp2p-core 0.39.2", + "libp2p-core 0.40.1", + "libp2p-identity", "log", "parking_lot 0.12.3", "smallvec", @@ -9338,7 +9233,7 @@ dependencies = [ "futures", "hickory-resolver", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "parking_lot 0.12.3", "smallvec", "tracing", @@ -9360,7 +9255,7 @@ dependencies = [ "getrandom 0.2.15", "hex_fmt", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "prometheus-client 0.22.2", "quick-protobuf", @@ -9376,21 +9271,22 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.42.2" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" +checksum = "45a96638a0a176bec0a4bcaebc1afa8cf909b114477209d7456ade52c61cd9cd" dependencies = [ "asynchronous-codec 0.6.2", "either", "futures", + "futures-bounded 0.1.0", "futures-timer", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", - "lru 0.10.1", + "lru", "quick-protobuf", - "quick-protobuf-codec 0.1.0", + "quick-protobuf-codec 0.2.0", "smallvec", "thiserror", "void", @@ -9404,12 +9300,12 @@ dependencies = [ "asynchronous-codec 0.7.0", "either", "futures", - "futures-bounded", + "futures-bounded 0.2.4", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", - "lru 0.12.3", + "lru", "quick-protobuf", "quick-protobuf-codec 0.3.1", "smallvec", @@ -9418,24 +9314,6 @@ dependencies = [ "void", ] -[[package]] -name = "libp2p-identity" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" -dependencies = [ - "bs58 0.4.0", - "ed25519-dalek", - "log", - "multiaddr 0.17.1", - "multihash 0.17.0", - "quick-protobuf", - "rand 0.8.5", - "sha2 0.10.8", - "thiserror", - "zeroize", -] - [[package]] name = "libp2p-identity" version = "0.2.9" @@ -9458,9 +9336,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.43.3" +version = "0.44.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" +checksum = "16ea178dabba6dde6ffc260a8e0452ccdc8f79becf544946692fff9d412fc29d" dependencies = [ "arrayvec 0.7.4", "asynchronous-codec 0.6.2", @@ -9470,11 +9348,12 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", "quick-protobuf", + "quick-protobuf-codec 0.2.0", "rand 0.8.5", "sha2 0.10.8", "smallvec", @@ -9495,10 +9374,10 @@ dependencies = [ "either", "fnv", "futures", - "futures-bounded", + "futures-bounded 0.2.4", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "quick-protobuf", "quick-protobuf-codec 0.3.1", @@ -9514,22 +9393,22 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.43.1" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" +checksum = "42a2567c305232f5ef54185e9604579a894fd0674819402bb0ac0246da82f52a" dependencies = [ "data-encoding", "futures", "if-watch", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.5.7", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", "void", ] @@ -9543,7 +9422,7 @@ dependencies = [ "hickory-proto", "if-watch", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "rand 0.8.5", "smallvec", @@ -9555,16 +9434,19 @@ dependencies = [ [[package]] name = "libp2p-metrics" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" +checksum = "239ba7d28f8d0b5d77760dc6619c05c7e88e74ec8fbbe97f856f20a56745e620" dependencies = [ - "libp2p-core 0.39.2", - "libp2p-identify 0.42.2", - "libp2p-kad 0.43.3", - "libp2p-ping 0.42.0", - "libp2p-swarm 0.42.2", - "prometheus-client 0.19.0", + "instant", + "libp2p-core 0.40.1", + "libp2p-identify 0.43.1", + "libp2p-identity", + "libp2p-kad 0.44.6", + "libp2p-ping 0.43.1", + "libp2p-swarm 0.43.7", + "once_cell", + "prometheus-client 0.21.2", ] [[package]] @@ -9576,7 +9458,7 @@ dependencies = [ "libp2p-core 0.42.0", "libp2p-gossipsub", "libp2p-identify 0.45.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-kad 0.46.1", "libp2p-ping 0.45.0", "libp2p-swarm 0.45.1", @@ -9587,16 +9469,18 @@ dependencies = [ [[package]] name = "libp2p-noise" -version = "0.42.2" +version = "0.43.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" +checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" dependencies = [ "bytes", - "curve25519-dalek 3.2.0", + "curve25519-dalek 4.1.3", "futures", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", + "libp2p-core 0.40.1", + "libp2p-identity", "log", + "multiaddr 0.18.1", + "multihash 0.19.1", "once_cell", "quick-protobuf", "rand 0.8.5", @@ -9604,22 +9488,23 @@ dependencies = [ "snow", "static_assertions", "thiserror", - "x25519-dalek 1.1.1", + "x25519-dalek", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" +checksum = "e702d75cd0827dfa15f8fd92d15b9932abe38d10d21f47c50438c71dd1b5dae3" dependencies = [ "either", "futures", "futures-timer", "instant", - "libp2p-core 0.39.2", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", "log", "rand 0.8.5", "void", @@ -9634,7 +9519,7 @@ dependencies = [ "futures", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "rand 0.8.5", "tracing", @@ -9651,7 +9536,7 @@ dependencies = [ "bytes", "futures", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "quick-protobuf", "quick-protobuf-codec 0.3.1", "tracing", @@ -9659,22 +9544,24 @@ dependencies = [ [[package]] name = "libp2p-quic" -version = "0.7.0-alpha.3" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" +checksum = "130d451d83f21b81eb7b35b360bc7972aeafb15177784adc56528db082e6b927" dependencies = [ "bytes", "futures", "futures-timer", "if-watch", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-tls 0.1.0", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-tls 0.2.1", "log", "parking_lot 0.12.3", - "quinn-proto 0.9.4", + "quinn 0.10.2", "rand 0.8.5", - "rustls 0.20.8", + "ring 0.16.20", + "rustls 0.21.7", + "socket2 0.5.7", "thiserror", "tokio", ] @@ -9689,10 +9576,10 @@ dependencies = [ "futures-timer", "if-watch", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-tls 0.5.0", "parking_lot 0.12.3", - "quinn", + "quinn 0.11.2", "rand 0.8.5", "ring 0.17.8", "rustls 0.23.10", @@ -9704,18 +9591,20 @@ dependencies = [ [[package]] name = "libp2p-request-response" -version = "0.24.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" +checksum = "d8e3b4d67870478db72bac87bfc260ee6641d0734e0e3e275798f089c3fecfd4" dependencies = [ "async-trait", "futures", "instant", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm 0.42.2", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm 0.43.7", + "log", "rand 0.8.5", "smallvec", + "void", ] [[package]] @@ -9725,10 +9614,10 @@ source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches dependencies = [ "async-trait", "futures", - "futures-bounded", + "futures-bounded 0.2.4", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm 0.45.1", "rand 0.8.5", "smallvec", @@ -9739,19 +9628,21 @@ dependencies = [ [[package]] name = "libp2p-swarm" -version = "0.42.2" +version = "0.43.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" +checksum = "580189e0074af847df90e75ef54f3f30059aedda37ea5a1659e8b9fca05c0141" dependencies = [ "either", "fnv", "futures", "futures-timer", "instant", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", - "libp2p-swarm-derive 0.32.0", + "libp2p-core 0.40.1", + "libp2p-identity", + "libp2p-swarm-derive 0.33.0", "log", + "multistream-select 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "once_cell", "rand 0.8.5", "smallvec", "tokio", @@ -9768,10 +9659,10 @@ dependencies = [ "futures", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-swarm-derive 0.35.0", - "lru 0.12.3", - "multistream-select 0.13.0", + "lru", + "multistream-select 0.13.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "once_cell", "rand 0.8.5", "smallvec", @@ -9783,13 +9674,15 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.32.0" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" +checksum = "c4d5ec2a3df00c7836d7696c136274c9c59705bac69133253696a6c932cd1d74" dependencies = [ "heck 0.4.1", + "proc-macro-warning 0.4.2", + "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.71", ] [[package]] @@ -9812,7 +9705,7 @@ dependencies = [ "futures", "futures-timer", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "libp2p-plaintext", "libp2p-swarm 0.45.1", "libp2p-tcp 0.42.0", @@ -9823,17 +9716,18 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.39.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" +checksum = "b558dd40d1bcd1aaaed9de898e9ec6a436019ecc2420dd0016e712fbb61c5508" dependencies = [ "futures", "futures-timer", "if-watch", "libc", - "libp2p-core 0.39.2", + "libp2p-core 0.40.1", + "libp2p-identity", "log", - "socket2 0.4.9", + "socket2 0.5.7", "tokio", ] @@ -9847,7 +9741,7 @@ dependencies = [ "if-watch", "libc", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "socket2 0.5.7", "tokio", "tracing", @@ -9855,20 +9749,20 @@ dependencies = [ [[package]] name = "libp2p-tls" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" +checksum = "8218d1d5482b122ccae396bbf38abdcb283ecc96fa54760e1dfd251f0546ac61" dependencies = [ "futures", - "futures-rustls 0.22.2", - "libp2p-core 0.39.2", - "libp2p-identity 0.1.3", + "futures-rustls 0.24.0", + "libp2p-core 0.40.1", + "libp2p-identity", "rcgen 0.10.0", "ring 0.16.20", - "rustls 0.20.8", + "rustls 0.21.7", + "rustls-webpki 0.101.4", "thiserror", - "webpki", - "x509-parser 0.14.0", + "x509-parser 0.15.1", "yasna", ] @@ -9880,7 +9774,7 @@ dependencies = [ "futures", "futures-rustls 0.26.0", "libp2p-core 0.42.0", - "libp2p-identity 0.2.9", + "libp2p-identity", "rcgen 0.11.3", "ring 0.17.8", "rustls 0.23.10", @@ -9892,63 +9786,81 @@ dependencies = [ [[package]] name = "libp2p-upnp" -version = "0.3.0" -source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches#0dd074b05b50a9faf2043d51343e0f10a83a7b69" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82775a47b34f10f787ad3e2a22e2c1541e6ebef4fe9f28f3ac553921554c94c1" dependencies = [ "futures", "futures-timer", "igd-next", - "libp2p-core 0.42.0", - "libp2p-swarm 0.45.1", + "libp2p-core 0.40.1", + "libp2p-swarm 0.43.7", + "log", "tokio", - "tracing", + "void", +] + +[[package]] +name = "libp2p-upnp" +version = "0.3.0" +source = "git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches#0dd074b05b50a9faf2043d51343e0f10a83a7b69" +dependencies = [ + "futures", + "futures-timer", + "igd-next", + "libp2p-core 0.42.0", + "libp2p-swarm 0.45.1", + "tokio", + "tracing", "void", ] [[package]] name = "libp2p-wasm-ext" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" +checksum = "1e5d8e3a9e07da0ef5b55a9f26c009c8fb3c725d492d8bb4b431715786eea79c" dependencies = [ "futures", "js-sys", - "libp2p-core 0.39.2", - "parity-send-wrapper", + "libp2p-core 0.40.1", + "send_wrapper 0.6.0", "wasm-bindgen", "wasm-bindgen-futures", ] [[package]] name = "libp2p-websocket" -version = "0.41.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" +checksum = "004ee9c4a4631435169aee6aad2f62e3984dc031c43b6d29731e8e82a016c538" dependencies = [ "either", "futures", - "futures-rustls 0.22.2", - "libp2p-core 0.39.2", + "futures-rustls 0.24.0", + "libp2p-core 0.40.1", + "libp2p-identity", "log", "parking_lot 0.12.3", - "quicksink", - "rw-stream-sink 0.3.0", - "soketto 0.7.1", + "pin-project-lite", + "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "soketto 0.8.0", + "thiserror", "url", - "webpki-roots 0.22.6", + "webpki-roots 0.25.2", ] [[package]] name = "libp2p-yamux" -version = "0.43.1" +version = "0.44.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" +checksum = "8eedcb62824c4300efb9cfd4e2a6edaf3ca097b9e68b36dabe45a44469fd6a85" dependencies = [ "futures", - "libp2p-core 0.39.2", + "libp2p-core 0.40.1", "log", "thiserror", - "yamux 0.10.2", + "yamux 0.12.1", ] [[package]] @@ -10119,6 +10031,61 @@ dependencies = [ "keystream", ] +[[package]] +name = "litep2p" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f46c51c205264b834ceed95c8b195026e700494bc3991aaba3b4ea9e20626d9" +dependencies = [ + "async-trait", + "bs58 0.4.0", + "bytes", + "cid 0.10.1", + "ed25519-dalek", + "futures", + "futures-timer", + "hex-literal", + "indexmap 2.6.0", + "libc", + "mockall 0.12.1", + "multiaddr 0.17.1", + "multihash 0.17.0", + "network-interface", + "nohash-hasher", + "parking_lot 0.12.3", + "pin-project", + "prost 0.12.6", + "prost-build 0.11.9", + "quinn 0.9.4", + "rand 0.8.5", + "rcgen 0.10.0", + "ring 0.16.20", + "rustls 0.20.8", + "serde", + "sha2 0.10.8", + "simple-dns", + "smallvec", + "snow", + "socket2 0.5.7", + "static_assertions", + "str0m", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite 0.20.1", + "tokio-util", + "tracing", + "trust-dns-resolver", + "uint", + "unsigned-varint 0.8.0", + "url", + "webpki", + "x25519-dalek", + "x509-parser 0.16.0", + "yasna", + "zeroize", +] + [[package]] name = "litrs" version = "0.4.1" @@ -10141,15 +10108,6 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" -[[package]] -name = "lru" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] - [[package]] name = "lru" version = "0.12.3" @@ -10208,9 +10166,9 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" +checksum = "cc33f9f0351468d26fbc53d9ce00a096c8522ecb42f19b50f34f2c422f76d21d" dependencies = [ "macro_magic_core", "macro_magic_macros", @@ -10220,9 +10178,9 @@ dependencies = [ [[package]] name = "macro_magic_core" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" +checksum = "1687dc887e42f352865a393acae7cf79d98fab6351cde1f58e9e057da89bf150" dependencies = [ "const-random", "derive-syn-parse", @@ -10234,9 +10192,9 @@ dependencies = [ [[package]] name = "macro_magic_core_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" +checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", @@ -10245,9 +10203,9 @@ dependencies = [ [[package]] name = "macro_magic_macros" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" +checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", @@ -10266,15 +10224,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" -[[package]] -name = "matchers" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" -dependencies = [ - "regex-automata 0.1.10", -] - [[package]] name = "matchers" version = "0.1.0" @@ -10343,6 +10292,15 @@ dependencies = [ "libc", ] +[[package]] +name = "memmap2" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" +dependencies = [ + "libc", +] + [[package]] name = "memoffset" version = "0.6.5" @@ -10394,6 +10352,20 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" +[[package]] +name = "merkleized-metadata" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f313fcff1d2a4bcaa2deeaa00bf7530d77d5f7bd0467a117dde2e29a75a7a17a" +dependencies = [ + "array-bytes", + "blake3", + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-decode", + "scale-info", +] + [[package]] name = "merlin" version = "2.0.1" @@ -10504,8 +10476,23 @@ dependencies = [ "downcast", "fragile", "lazy_static", - "mockall_derive", - "predicates", + "mockall_derive 0.11.4", + "predicates 2.1.5", + "predicates-tree", +] + +[[package]] +name = "mockall" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive 0.12.1", + "predicates 3.1.2", "predicates-tree", ] @@ -10521,6 +10508,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "mockall_derive" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn 2.0.71", +] + [[package]] name = "more-asserts" version = "0.2.2" @@ -10555,7 +10554,7 @@ dependencies = [ "arrayref", "byteorder", "data-encoding", - "libp2p-identity 0.2.9", + "libp2p-identity", "multibase", "multihash 0.19.1", "percent-encoding", @@ -10593,6 +10592,23 @@ dependencies = [ "unsigned-varint 0.7.2", ] +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive", + "sha2 0.10.8", + "sha3", + "unsigned-varint 0.7.2", +] + [[package]] name = "multihash" version = "0.19.1" @@ -10625,9 +10641,9 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multistream-select" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" +checksum = "ea0df8e5eec2298a62b326ee4f0d7fe1a6b90a09dfcf9df37b38f947a8c42f19" dependencies = [ "bytes", "futures", @@ -10685,15 +10701,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "names" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" -dependencies = [ - "rand 0.8.5", -] - [[package]] name = "names" version = "0.14.0" @@ -10798,6 +10805,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "network-interface" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" +dependencies = [ + "cc", + "libc", + "thiserror", + "winapi", +] + [[package]] name = "new_debug_unreachable" version = "1.0.6" @@ -10841,6 +10860,12 @@ dependencies = [ "pin-utils", ] +[[package]] +name = "no-std-compat" +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" @@ -10869,12 +10894,24 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonempty" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e591e719385e6ebaeb5ce5d3887f7d5676fceca6411d1925ccc95745f3d6f7" + [[package]] name = "nonempty" version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aeaf4ad7403de93e699c191202f017118df734d3850b01e13a3a8b2e6953d3c9" +[[package]] +name = "nonzero_ext" +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" @@ -11101,9 +11138,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.0" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] @@ -11201,6 +11238,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.2+3.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a211a18d945ef7e648cc6e0058f4c548ee46aab922ea203e0d30e966ea23647b" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.96" @@ -11209,6 +11255,7 @@ checksum = "3812c071ba60da8b5677cc12bcb1d42989a65553772897a7e0355545a819838f" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -11249,38 +11296,36 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-authority-discovery", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11291,20 +11336,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aquamarine", "docify", @@ -11316,32 +11360,31 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-tracing 10.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11350,16 +11393,15 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-child-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11369,16 +11411,15 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-conviction-voting" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11387,15 +11428,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11406,27 +11446,25 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", - "strum 0.24.1", + "sp-runtime 39.0.1", + "strum 0.26.2", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", ] [[package]] @@ -11522,11 +11560,11 @@ dependencies = [ "serde", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-externalities 0.19.0", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "test-syscalls", "wabt", ] @@ -11545,8 +11583,8 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-io", - "sp-runtime", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -11556,7 +11594,7 @@ dependencies = [ "ark-bls12-381", "ark-ec", "ark-ff 0.4.2", - "ark-scale 0.0.12", + "ark-scale", "ark-serialize 0.4.2", "ark-std 0.4.0", "demo-staking-broker", @@ -11595,33 +11633,33 @@ dependencies = [ "primitive-types", "scale-info", "sha2 0.10.8", - "sp-core", - "sp-crypto-ec-utils 0.4.1", - "sp-externalities 0.19.0", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-ec-utils", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-gear-builtin-rpc" version = "1.6.2" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "pallet-gear-builtin-rpc-runtime-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-gear-builtin-rpc-runtime-api" version = "1.6.2" dependencies = [ - "sp-api", - "sp-core", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11651,10 +11689,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "test-syscalls", "wabt", ] @@ -11692,24 +11730,24 @@ dependencies = [ "scale-info", "serde", "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-gear-eth-bridge-rpc" version = "1.6.2" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "pallet-gear-eth-bridge-rpc-runtime-api", "primitive-types", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] @@ -11717,8 +11755,8 @@ name = "pallet-gear-eth-bridge-rpc-runtime-api" version = "1.6.2" dependencies = [ "pallet-gear-eth-bridge", - "sp-api", - "sp-core", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11743,10 +11781,10 @@ dependencies = [ "parity-wasm", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11769,9 +11807,9 @@ dependencies = [ "primitive-types", "rand 0.8.5", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11801,9 +11839,9 @@ dependencies = [ "parity-wasm", "primitive-types", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wabt", ] @@ -11836,10 +11874,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wabt", ] @@ -11850,13 +11888,13 @@ dependencies = [ "gear-common", "gear-core", "gear-core-errors", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "pallet-gear-rpc-runtime-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] @@ -11864,10 +11902,10 @@ name = "pallet-gear-rpc-runtime-api" version = "1.6.2" dependencies = [ "pallet-gear", - "sp-api", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11895,10 +11933,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11928,22 +11966,22 @@ dependencies = [ "scale-info", "serde", "sp-authority-discovery", - "sp-core", - "sp-io", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-npos-elections", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-gear-staking-rewards-rpc" version = "1.6.2" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "pallet-gear-staking-rewards-rpc-runtime-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] @@ -11951,7 +11989,7 @@ name = "pallet-gear-staking-rewards-rpc-runtime-api" version = "1.6.2" dependencies = [ "pallet-gear-staking-rewards", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -11972,16 +12010,16 @@ dependencies = [ "parity-wasm", "primitive-types", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11991,36 +12029,35 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12029,18 +12066,17 @@ dependencies = [ "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12048,15 +12084,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-nomination-pools" -version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "35.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -12064,29 +12099,27 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", - "sp-std 8.0.0", - "sp-tracing 10.0.0", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "33.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -12095,15 +12128,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-runtime 39.0.1", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12111,49 +12143,47 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-proxy" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-ranked-collective" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-referenda" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -12163,16 +12193,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12181,16 +12210,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-weights", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", @@ -12199,20 +12227,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", "sp-staking", - "sp-state-machine", - "sp-std 8.0.0", - "sp-trie", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12222,39 +12249,38 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand_chacha 0.2.2", + "rand_chacha 0.3.1", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "pallet-staking-reward-fn" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "22.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-staking-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "24.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-staking", ] [[package]] name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12262,15 +12288,14 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12280,61 +12305,59 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", ] [[package]] name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "41.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "pallet-treasury" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "docify", "frame-benchmarking", @@ -12345,31 +12368,29 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-vesting" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12377,23 +12398,21 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] @@ -12407,11 +12426,24 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "parity-bip39" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" +dependencies = [ + "bitcoin_hashes 0.13.0", + "rand 0.8.5", + "rand_core 0.6.4", + "serde", + "unicode-normalization", +] + [[package]] name = "parity-db" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dab3ac198341b2f0fec6e7f8a6eeed07a41201d98a124260611598c142e76df" +checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" dependencies = [ "blake2 0.10.6", "crc32fast", @@ -12425,6 +12457,7 @@ dependencies = [ "rand 0.8.5", "siphasher 0.3.11", "snap", + "winapi", ] [[package]] @@ -12454,12 +12487,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "parity-send-wrapper" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" - [[package]] name = "parity-wasm" version = "0.45.0" @@ -12536,6 +12563,17 @@ dependencies = [ "subtle 2.6.1", ] +[[package]] +name = "password-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle 2.6.1", +] + [[package]] name = "paste" version = "1.0.15" @@ -12560,15 +12598,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" -[[package]] -name = "pbkdf2" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -dependencies = [ - "crypto-mac 0.11.0", -] - [[package]] name = "pbkdf2" version = "0.11.0" @@ -12577,7 +12606,7 @@ checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ "digest 0.10.7", "hmac 0.12.1", - "password-hash", + "password-hash 0.4.2", "sha2 0.10.8", ] @@ -12589,6 +12618,7 @@ checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", "hmac 0.12.1", + "password-hash 0.5.0", ] [[package]] @@ -12757,12 +12787,6 @@ dependencies = [ "syn 2.0.71", ] -[[package]] -name = "pin-project-lite" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" - [[package]] name = "pin-project-lite" version = "0.2.13" @@ -12803,25 +12827,50 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] -name = "polkavm-common" -version = "0.9.0" +name = "polkavm" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +dependencies = [ + "libc", + "log", + "polkavm-assembler", + "polkavm-common", + "polkavm-linux-raw", +] [[package]] -name = "polkavm-derive" -version = "0.9.1" +name = "polkavm-assembler" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" dependencies = [ - "polkavm-derive-impl-macro", + "log", ] [[package]] -name = "polkavm-derive-impl" +name = "polkavm-common" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +dependencies = [ + "polkavm-derive-impl-macro", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" dependencies = [ "polkavm-common", "proc-macro2", @@ -12839,6 +12888,27 @@ dependencies = [ "syn 2.0.71", ] +[[package]] +name = "polkavm-linker" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +dependencies = [ + "gimli 0.28.0", + "hashbrown 0.14.5", + "log", + "object 0.32.2", + "polkavm-common", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linux-raw" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" + [[package]] name = "polling" version = "2.8.0" @@ -12851,7 +12921,7 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.13", + "pin-project-lite", "windows-sys 0.48.0", ] @@ -12863,7 +12933,7 @@ checksum = "24f040dee2588b4963afb4e420540439d126f73fdacf4a9c486a96d840bac3c9" dependencies = [ "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", + "pin-project-lite", "rustix 0.38.31", "tracing", "windows-sys 0.52.0", @@ -12917,9 +12987,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.4.3" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" +checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" [[package]] name = "powerfmt" @@ -12953,6 +13023,16 @@ dependencies = [ "regex", ] +[[package]] +name = "predicates" +version = "3.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" +dependencies = [ + "anstyle", + "predicates-core", +] + [[package]] name = "predicates-core" version = "1.0.6" @@ -13087,6 +13167,17 @@ dependencies = [ "syn 2.0.71", ] +[[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.71", +] + [[package]] name = "proc-macro-warning" version = "1.0.2" @@ -13123,9 +13214,9 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.19.0" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" +checksum = "3c99afa9a01501019ac3a14d71d9f94050346f55ca471ce90c799a15c58f61e2" dependencies = [ "dtoa", "itoa", @@ -13183,7 +13274,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +dependencies = [ + "bytes", + "prost-derive 0.12.6", ] [[package]] @@ -13200,14 +13301,35 @@ dependencies = [ "multimap", "petgraph", "prettyplease 0.1.25", - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", "which", ] +[[package]] +name = "prost-build" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" +dependencies = [ + "bytes", + "heck 0.5.0", + "itertools 0.12.1", + "log", + "multimap", + "once_cell", + "petgraph", + "prettyplease 0.2.15", + "prost 0.12.6", + "prost-types 0.12.6", + "regex", + "syn 2.0.71", + "tempfile", +] + [[package]] name = "prost-derive" version = "0.11.9" @@ -13221,13 +13343,35 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +dependencies = [ + "anyhow", + "itertools 0.12.1", + "proc-macro2", + "quote", + "syn 2.0.71", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", +] + +[[package]] +name = "prost-types" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +dependencies = [ + "prost 0.12.6", ] [[package]] @@ -13270,6 +13414,21 @@ dependencies = [ "unicase", ] +[[package]] +name = "quanta" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + [[package]] name = "quick-error" version = "1.2.3" @@ -13287,9 +13446,9 @@ dependencies = [ [[package]] name = "quick-protobuf-codec" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" +checksum = "f8ededb1cd78531627244d51dd0c7139fbe736c7d57af0092a76f0ffb2f56e98" dependencies = [ "asynchronous-codec 0.6.2", "bytes", @@ -13321,14 +13480,39 @@ dependencies = [ ] [[package]] -name = "quicksink" -version = "0.1.2" +name = "quinn" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" +checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" dependencies = [ - "futures-core", - "futures-sink", - "pin-project-lite 0.1.12", + "bytes", + "pin-project-lite", + "quinn-proto 0.9.4", + "quinn-udp 0.3.2", + "rustc-hash 1.1.0", + "rustls 0.20.8", + "thiserror", + "tokio", + "tracing", + "webpki", +] + +[[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.7", + "thiserror", + "tokio", + "tracing", ] [[package]] @@ -13339,9 +13523,9 @@ checksum = "e4ceeeeabace7857413798eb1ffa1e9c905a9946a57d81fb69b4b71c4d8eb3ad" dependencies = [ "bytes", "futures-io", - "pin-project-lite 0.2.13", + "pin-project-lite", "quinn-proto 0.11.3", - "quinn-udp", + "quinn-udp 0.5.2", "rustc-hash 1.1.0", "rustls 0.23.10", "thiserror", @@ -13367,6 +13551,23 @@ dependencies = [ "webpki", ] +[[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.7", + "slab", + "thiserror", + "tinyvec", + "tracing", +] + [[package]] name = "quinn-proto" version = "0.11.3" @@ -13384,6 +13585,32 @@ dependencies = [ "tracing", ] +[[package]] +name = "quinn-udp" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +dependencies = [ + "libc", + "quinn-proto 0.9.4", + "socket2 0.4.9", + "tracing", + "windows-sys 0.42.0", +] + +[[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.7", + "tracing", + "windows-sys 0.48.0", +] + [[package]] name = "quinn-udp" version = "0.5.2" @@ -13399,9 +13626,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -13512,6 +13739,15 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "raw-cpuid" +version = "11.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ab240315c661615f2ee9f0f2cd32d5a7343a84d5ebcccb99d46e6637565e7b0" +dependencies = [ + "bitflags 2.5.0", +] + [[package]] name = "rawpointer" version = "0.2.1" @@ -13660,6 +13896,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash 1.1.0", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.10.5" @@ -13726,7 +13975,7 @@ dependencies = [ name = "regression-analysis" version = "0.1.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.13", "frame-support", "junit-common", "pallet-gear", @@ -13758,11 +14007,11 @@ dependencies = [ "encoding_rs", "futures-core", "futures-util", - "h2 0.3.21", + "h2 0.3.26", "http 0.2.9", "http-body 0.4.5", - "hyper 0.14.27", - "hyper-rustls", + "hyper 0.14.31", + "hyper-rustls 0.24.2", "hyper-tls 0.5.0", "ipnet", "js-sys", @@ -13771,7 +14020,7 @@ dependencies = [ "native-tls", "once_cell", "percent-encoding", - "pin-project-lite 0.2.13", + "pin-project-lite", "rustls 0.21.7", "rustls-pemfile 1.0.3", "serde", @@ -13814,7 +14063,7 @@ dependencies = [ "native-tls", "once_cell", "percent-encoding", - "pin-project-lite 0.2.13", + "pin-project-lite", "rustls-pemfile 2.1.2", "serde", "serde_json", @@ -13850,23 +14099,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" -dependencies = [ - "ark-ec", - "ark-ff 0.4.2", - "ark-poly", - "ark-serialize 0.4.2", - "ark-std 0.4.0", - "arrayvec 0.7.4", - "blake2 0.10.6", - "common", - "fflonk", - "merlin 3.0.0", -] - [[package]] name = "ring" version = "0.16.20" @@ -14044,7 +14276,7 @@ name = "runtime-fuzzer" version = "0.1.0" dependencies = [ "anyhow", - "clap 4.5.9", + "clap 4.5.13", "frame-support", "frame-system", "gear-call-gen", @@ -14069,10 +14301,10 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-grandpa", "sp-consensus-slots", - "sp-core", - "sp-io", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-runtime", + "sp-runtime 39.0.1", "vara-runtime", ] @@ -14184,7 +14416,6 @@ version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" dependencies = [ - "log", "ring 0.16.20", "sct", "webpki", @@ -14308,16 +14539,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" -[[package]] -name = "rustls-webpki" -version = "0.100.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98ff011474fa39949b7e5c0428f9b4937eda7da7848bbb947786b7be0b27dab" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - [[package]] name = "rustls-webpki" version = "0.101.4" @@ -14341,9 +14562,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" [[package]] name = "rusty-fork" @@ -14370,9 +14591,9 @@ dependencies = [ [[package]] name = "rw-stream-sink" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" +checksum = "d8c9026ff5d2f23da5e45bbc283f156383001bfb09c4e44256d02c1a685fe9a1" dependencies = [ "futures", "pin-project", @@ -14422,51 +14643,66 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "sc-allocator" +version = "29.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b975ee3a95eaacb611e7b415737a7fa2db4d8ad7b880cc1b97371b04e95c7903" +dependencies = [ + "log", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", +] + [[package]] name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.42.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-block-builder", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", + "sp-runtime 39.0.1", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "docify", "log", - "memmap2 0.5.10", + "memmap2 0.9.5", "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-network", "sc-telemetry", "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", - "sp-io", - "sp-runtime", - "sp-state-machine", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "12.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.71", @@ -14474,19 +14710,19 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.47.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", - "bip39", + "array-bytes", "chrono", - "clap 4.5.9", + "clap 4.5.13", "fdlimit", "futures", - "itertools 0.10.5", - "libp2p-identity 0.1.3", + "itertools 0.11.0", + "libp2p-identity", "log", - "names 0.13.0", + "names", + "parity-bip39", "parity-scale-codec", "rand 0.8.5", "regex", @@ -14503,47 +14739,47 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-panic-handler 13.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tokio", ] [[package]] name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-transaction-pool-api", "sc-utils", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-externalities 0.19.0", - "sp-runtime", - "sp-state-machine", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-statement-store", - "sp-storage 13.0.0", - "sp-trie", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "hash-db", "kvdb", @@ -14557,44 +14793,43 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", - "futures-timer", - "libp2p-identity 0.1.3", "log", - "mockall", + "mockall 0.11.4", "parking_lot 0.12.3", "sc-client-api", + "sc-network-types", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "fork-tree", @@ -14611,63 +14846,64 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "fork-tree", "parity-scale-codec", "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] name = "sc-consensus-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.30.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "ahash 0.8.11", - "array-bytes 6.2.3", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", @@ -14686,31 +14922,33 @@ dependencies = [ "sc-network-common", "sc-network-gossip", "sc-network-sync", + "sc-network-types", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.30.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "finality-grandpa", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", "sc-client-api", @@ -14718,15 +14956,15 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", @@ -14736,55 +14974,137 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f0cc0a3728fd033589183460c5a49b2e7545d09dc89a098216ef9e9aadcd9dc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor-common", - "sc-executor-wasmtime", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-polkavm 0.32.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sc-executor-wasmtime 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", "schnellru", - "sp-api", - "sp-core", - "sp-externalities 0.19.0", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface 17.0.0", - "sp-trie", - "sp-version", - "sp-wasm-interface 14.0.0", + "sp-api 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", - "wasmi 0.13.2", ] [[package]] -name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +name = "sc-executor" +version = "0.40.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "sp-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0", - "thiserror", - "wasm-instrument", + "parity-scale-codec", + "parking_lot 0.12.3", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-polkavm 0.32.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sc-executor-wasmtime 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "schnellru", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-panic-handler 13.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "tracing", + "wasmi 0.13.2", +] + +[[package]] +name = "sc-executor-common" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3b703a33dcb7cddf19176fdf12294b9a6408125836b0f4afee3e6969e7f190" +dependencies = [ + "polkavm", + "sc-allocator", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-common" +version = "0.35.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "polkavm", + "sp-allocator", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "thiserror", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-polkavm" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26fe58d9cacfab73e5595fa84b80f7bd03efebe54a0574daaeb221a1d1f7ab80" +dependencies = [ + "log", + "polkavm", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sc-executor-polkavm" +version = "0.32.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "log", + "polkavm", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.35.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd498f2f77ec1f861c30804f5bfd796d4afcc8ce44ea1f11bfbe2847551d161" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "parking_lot 0.12.3", + "rustix 0.36.15", + "sc-allocator", + "sc-executor-common 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmtime", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.35.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "anyhow", "cfg-if", @@ -14792,19 +15112,19 @@ dependencies = [ "log", "parking_lot 0.12.3", "rustix 0.36.15", - "sc-executor-common", + "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-allocator", - "sp-runtime-interface 17.0.0", - "sp-wasm-interface 14.0.0", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "ansi_term", + "console", "futures", "futures-timer", "log", @@ -14813,218 +15133,212 @@ dependencies = [ "sc-network-common", "sc-network-sync", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "33.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "parking_lot 0.12.3", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-mixnet" -version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.15.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 4.2.0", + "array-bytes", "arrayvec 0.7.4", "blake2 0.10.6", + "bytes", "futures", "futures-timer", - "libp2p-identity 0.1.3", "log", "mixnet", - "multiaddr 0.17.1", + "multiaddr 0.18.1", "parity-scale-codec", "parking_lot 0.12.3", "sc-client-api", "sc-network", + "sc-network-types", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus", - "sp-core", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-mixnet", - "sp-runtime", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "asynchronous-codec 0.6.2", "bytes", + "cid 0.9.0", "either", "fnv", "futures", "futures-timer", "ip_network", - "libp2p 0.51.4", + "libp2p 0.52.4", "linked_hash_set", + "litep2p", "log", - "mockall", + "mockall 0.11.4", + "once_cell", "parity-scale-codec", "parking_lot 0.12.3", "partial_sort", "pin-project", + "prost 0.12.6", + "prost-build 0.12.6", "rand 0.8.5", "sc-client-api", "sc-network-common", + "sc-network-types", "sc-utils", + "schnellru", "serde", "serde_json", "smallvec", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", "unsigned-varint 0.7.2", + "void", "wasm-timer", "zeroize", ] -[[package]] -name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "async-channel 1.9.0", - "cid", - "futures", - "libp2p-identity 0.1.3", - "log", - "prost", - "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", - "thiserror", - "unsigned-varint 0.7.2", -] - [[package]] name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "bitflags 1.3.2", "futures", - "libp2p-identity 0.1.3", + "libp2p-identity", "parity-scale-codec", - "prost-build", + "prost-build 0.12.6", "sc-consensus", + "sc-network-types", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "ahash 0.8.11", "futures", "futures-timer", - "libp2p 0.51.4", "log", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "schnellru", - "sp-runtime", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "futures", - "libp2p-identity 0.1.3", "log", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.12.6", + "prost-build 0.12.6", "sc-client-api", "sc-network", + "sc-network-types", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-network-statement" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.27.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "futures", - "libp2p 0.51.4", "log", "parity-scale-codec", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sp-consensus", + "sp-runtime 39.0.1", "sp-statement-store", "substrate-prometheus-endpoint", ] [[package]] name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-channel 1.9.0", "async-trait", "fork-tree", "futures", "futures-timer", - "libp2p 0.51.4", + "libp2p 0.52.4", "log", - "mockall", + "mockall 0.11.4", "parity-scale-codec", - "prost", - "prost-build", + "prost 0.12.6", + "prost-build 0.12.6", "sc-client-api", "sc-consensus", "sc-network", "sc-network-common", + "sc-network-types", "sc-utils", "schnellru", "smallvec", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -15033,36 +15347,52 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", - "libp2p 0.51.4", "log", "parity-scale-codec", "sc-network", "sc-network-common", "sc-network-sync", + "sc-network-types", "sc-utils", "sp-consensus", - "sp-runtime", + "sp-runtime 39.0.1", "substrate-prometheus-endpoint", ] +[[package]] +name = "sc-network-types" +version = "0.12.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "bs58 0.5.1", + "ed25519-dalek", + "libp2p-identity", + "litep2p", + "log", + "multiaddr 0.18.1", + "multihash 0.19.1", + "rand 0.8.5", + "thiserror", + "zeroize", +] + [[package]] name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "40.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "bytes", "fnv", "futures", "futures-timer", - "hyper 0.14.27", - "hyper-rustls", - "libp2p 0.51.4", + "hyper 0.14.31", + "hyper-rustls 0.24.2", "log", "num_cpus", "once_cell", @@ -15072,22 +15402,23 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-types", "sc-transaction-pool-api", "sc-utils", - "sp-api", - "sp-core", - "sp-externalities 0.19.0", - "sp-keystore", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", - "sp-runtime", + "sp-runtime 39.0.1", "threadpool", "tracing", ] [[package]] name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.18.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -15095,11 +15426,11 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "40.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -15112,25 +15443,25 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-keystore", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-offchain", "sp-rpc", - "sp-runtime", + "sp-runtime 39.0.1", "sp-session", "sp-statement-store", - "sp-version", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", ] [[package]] name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "parity-scale-codec", "sc-chain-spec", "sc-mixnet", @@ -15138,21 +15469,30 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 39.0.1", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "17.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "http 0.2.9", - "jsonrpsee 0.16.3", + "dyn-clone", + "forwarded-header-value", + "futures", + "governor", + "http 1.1.0", + "http-body-util", + "hyper 1.4.1", + "ip_network", + "jsonrpsee 0.24.7", "log", + "sc-rpc-api", + "serde", "serde_json", "substrate-prometheus-endpoint", "tokio", @@ -15162,28 +15502,31 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "futures", "futures-util", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", "parking_lot 0.12.3", + "rand 0.8.5", "sc-chain-spec", "sc-client-api", + "sc-rpc", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 39.0.1", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tokio", "tokio-stream", @@ -15191,15 +15534,15 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.46.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", "parking_lot 0.12.3", @@ -15209,15 +15552,15 @@ dependencies = [ "sc-client-api", "sc-client-db", "sc-consensus", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-informant", "sc-keystore", "sc-network", - "sc-network-bitswap", "sc-network-common", "sc-network-light", "sc-network-sync", "sc-network-transactions", + "sc-network-types", "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", @@ -15227,22 +15570,23 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "serde_json", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities 0.19.0", - "sp-keystore", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-session", - "sp-state-machine", - "sp-storage 13.0.0", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -15254,21 +15598,21 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.36.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-sync-state-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -15278,14 +15622,14 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "derive_more 0.99.18", "futures", @@ -15297,23 +15641,25 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "25.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "chrono", "futures", - "libp2p 0.51.4", + "libp2p 0.52.4", "log", "parking_lot 0.12.3", "pin-project", "rand 0.8.5", + "sc-network", "sc-utils", "serde", "serde_json", @@ -15323,39 +15669,39 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "ansi_term", - "atty", "chrono", + "console", + "is-terminal", "lazy_static", "libc", "log", + "parity-scale-codec", "parking_lot 0.12.3", - "regex", "rustc-hash 1.1.0", "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-rpc", - "sp-runtime", - "sp-tracing 10.0.0", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tracing", - "tracing-log 0.1.3", - "tracing-subscriber 0.2.25", + "tracing-log", + "tracing-subscriber", ] [[package]] name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "11.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.71", @@ -15363,8 +15709,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", @@ -15377,11 +15723,12 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing 10.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -15389,8 +15736,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", @@ -15398,15 +15745,15 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "17.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-channel 1.9.0", "futures", @@ -15415,7 +15762,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -15591,9 +15938,9 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ "ahash 0.8.11", "cfg-if", @@ -15677,6 +16024,21 @@ dependencies = [ "untrusted 0.7.1", ] +[[package]] +name = "sctp-proto" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6220f78bb44c15f326b0596113305f6101097a18755d53727a575c97e09fb24" +dependencies = [ + "bytes", + "crc", + "fxhash", + "log", + "rand 0.8.5", + "slab", + "thiserror", +] + [[package]] name = "seahash" version = "4.1.0" @@ -15693,17 +16055,18 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", + "serdect", "subtle 2.6.1", "zeroize", ] [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ - "secp256k1-sys 0.6.1", + "secp256k1-sys 0.9.2", ] [[package]] @@ -15719,9 +16082,9 @@ dependencies = [ [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] @@ -15850,9 +16213,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.205" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33aedb1a7135da52b7c21791455563facbbcc43d0f0f66165b42c21b3dfb150" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] @@ -15889,9 +16252,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.205" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692d6f5ac90220161d6774db30c662202721e64aed9058d2c394f451261420c1" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -15911,11 +16274,12 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "6dbcf9b78a125ee667ae19388837dd12294b858d101fdd393cb9d5501ef09eb2" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] @@ -15995,6 +16359,16 @@ dependencies = [ "unsafe-libyaml", ] +[[package]] +name = "serdect" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" +dependencies = [ + "base16ct", + "serde", +] + [[package]] name = "sha-1" version = "0.9.8" @@ -16017,6 +16391,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.10.7", + "sha1-asm", ] [[package]] @@ -16030,6 +16405,15 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha1-asm" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "286acebaf8b67c1130aedffad26f594eff0c1292389158135327d2e23aed582b" +dependencies = [ + "cc", +] + [[package]] name = "sha2" version = "0.8.2" @@ -16107,9 +16491,9 @@ dependencies = [ [[package]] name = "shlex" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" @@ -16149,6 +16533,21 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" +[[package]] +name = "simple-dns" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" +dependencies = [ + "bitflags 2.5.0", +] + +[[package]] +name = "simple-mermaid" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" + [[package]] name = "simple_asn1" version = "0.6.2" @@ -16227,7 +16626,7 @@ dependencies = [ "chacha20 0.9.1", "crossbeam-queue", "derive_more 0.99.18", - "ed25519-zebra 4.0.3", + "ed25519-zebra", "either", "event-listener 4.0.3", "fnv", @@ -16262,7 +16661,7 @@ dependencies = [ "soketto 0.7.1", "twox-hash", "wasmi 0.31.2", - "x25519-dalek 2.0.1", + "x25519-dalek", "zeroize", ] @@ -16287,7 +16686,7 @@ dependencies = [ "hex", "itertools 0.12.1", "log", - "lru 0.12.3", + "lru", "no-std-net", "parking_lot 0.12.3", "pin-project", @@ -16353,9 +16752,7 @@ checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ "base64 0.13.1", "bytes", - "flate2", "futures", - "http 0.2.9", "httparse", "log", "rand 0.8.5", @@ -16394,8 +16791,8 @@ dependencies = [ [[package]] name = "sp-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "29.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "log", "parity-scale-codec", @@ -16405,34 +16802,73 @@ dependencies = [ [[package]] name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbce492e0482134128b7729ea36f5ef1a9f9b4de2d48ff8dde7b5e464e28ce75" dependencies = [ + "docify", "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-externalities 0.19.0", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std 8.0.0", - "sp-trie", - "sp-version", + "sp-api-proc-macro 20.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-metadata-ir 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "docify", + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 20.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-metadata-ir 0.7.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "20.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9aadf9e97e694f0e343978aa632938c5de309cbcc8afed4136cb71596737278" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.71", +] + +[[package]] +name = "sp-api-proc-macro" +version = "20.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "Inflector", + "blake2 0.10.6", + "expander", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.71", @@ -16440,215 +16876,202 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8133012faa5f75b2f0b1619d9f720c1424ac477152c143e5f7dbde2fe1a958" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std 8.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +name = "sp-application-crypto" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "integer-sqrt", - "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", - "static_assertions", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] -name = "sp-ark-bls12-381" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +name = "sp-arithmetic" +version = "26.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" dependencies = [ - "ark-bls12-381-ext", - "sp-crypto-ec-utils 0.10.0", + "docify", + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", ] [[package]] -name = "sp-ark-ed-on-bls12-381-bandersnatch" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +name = "sp-arithmetic" +version = "26.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "ark-ed-on-bls12-381-bandersnatch-ext", - "sp-crypto-ec-utils 0.10.0", + "docify", + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "static_assertions", ] [[package]] name = "sp-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", ] [[package]] name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "futures", - "log", "parity-scale-codec", "parking_lot 0.12.3", "schnellru", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", + "tracing", ] [[package]] name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "futures", "log", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] -[[package]] -name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", - "sp-timestamp", -] - [[package]] name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-consensus-slots", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", "sp-timestamp", ] [[package]] name = "sp-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "21.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", "sp-timestamp", ] [[package]] name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c961a5e33fb2962fa775c044ceba43df9c6f917e2c35d63bfe23738468fa76a7" dependencies = [ - "array-bytes 6.2.3", - "bandersnatch_vrfs", - "bip39", + "array-bytes", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", "bs58 0.5.1", "dyn-clonable", - "ed25519-zebra 3.1.0", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", "impl-serde", - "itertools 0.10.5", - "lazy_static", + "itertools 0.11.0", + "k256", "libsecp256k1", "log", - "merlin 2.0.1", + "merlin 3.0.0", + "parity-bip39", "parity-scale-codec", "parking_lot 0.12.3", "paste", "primitive-types", "rand 0.8.5", - "regex", "scale-info", - "schnorrkel 0.9.1", - "secp256k1 0.24.3", + "schnorrkel 0.11.4", + "secp256k1 0.28.2", "secrecy", "serde", - "sp-allocator", - "sp-core-hashing", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "ss58-registry", - "substrate-bip39", + "substrate-bip39 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", "tracing", "w3f-bls", @@ -16656,32 +17079,55 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +name = "sp-core" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "quote", - "sp-core-hashing", - "syn 2.0.71", + "array-bytes", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "itertools 0.11.0", + "k256", + "libsecp256k1", + "log", + "merlin 3.0.0", + "parity-bip39", + "parity-scale-codec", + "parking_lot 0.12.3", + "paste", + "primitive-types", + "rand 0.8.5", + "scale-info", + "schnorrkel 0.11.4", + "secp256k1 0.28.2", + "secrecy", + "serde", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "ss58-registry", + "substrate-bip39 0.6.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "thiserror", + "tracing", + "w3f-bls", + "zeroize", ] [[package]] name = "sp-crypto-ec-utils" -version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.14.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -16694,36 +17140,28 @@ dependencies = [ "ark-ed-on-bls12-377-ext", "ark-ed-on-bls12-381-bandersnatch", "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale 0.0.12", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", + "ark-scale", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +name = "sp-crypto-hashing" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ - "ark-bls12-377", - "ark-bls12-377-ext", - "ark-bls12-381", - "ark-bls12-381-ext", - "ark-bw6-761", - "ark-bw6-761-ext", - "ark-ec", - "ark-ed-on-bls12-377", - "ark-ed-on-bls12-377-ext", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale 0.0.12", - "sp-runtime-interface 24.0.0", + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3", + "twox-hash", ] [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "blake2b_simd", "byteorder", @@ -16733,10 +17171,31 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" +dependencies = [ + "quote", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 2.0.71", +] + +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "quote", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "syn 2.0.71", +] + [[package]] name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "10.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -16744,8 +17203,9 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", @@ -16755,7 +17215,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "proc-macro2", "quote", @@ -16764,101 +17224,150 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a904407d61cb94228c71b55a9d3708e9d6558991f9e83bd42bd91df37a159d30" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-externalities" -version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "0.29.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 19.0.0", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-genesis-builder" -version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.15.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "parity-scale-codec", + "scale-info", "serde_json", - "sp-api", - "sp-runtime", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ef7eb561bb4839cc8424ce58c5ea236cbcca83f26fcc0426d8decfe8aa97d4" +dependencies = [ + "bytes", + "docify", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "polkavm-derive", + "rustversion", + "secp256k1 0.28.2", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-keystore 0.40.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 28.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "bytes", + "docify", "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", + "polkavm-derive", "rustversion", - "secp256k1 0.24.3", - "sp-core", - "sp-externalities 0.19.0", - "sp-keystore", - "sp-runtime-interface 17.0.0", - "sp-state-machine", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-trie", + "secp256k1 0.28.2", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tracing", "tracing-core", ] [[package]] name = "sp-keyring" -version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "lazy_static", - "sp-core", - "sp-runtime", - "strum 0.24.1", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "strum 0.26.2", ] [[package]] name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0248b4d784cb4a01472276928977121fa39d977a5bb24793b6b15e64b046df42" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core", - "sp-externalities 0.19.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-keystore" +version = "0.40.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "11.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" +dependencies = [ "thiserror", + "zstd 0.12.4", ] [[package]] name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "11.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "thiserror", "zstd 0.12.4", @@ -16866,55 +17375,74 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a616fa51350b35326682a472ee8e6ba742fdacb18babac38ecd46b3e05ead869" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.7.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-std 8.0.0", ] [[package]] name = "sp-mixnet" -version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.12.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "13.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f5a17a0a11de029a8b811cb6e8b32ce7e02183cc04a3e965c383246798c416" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-panic-handler" +version = "13.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "backtrace", "lazy_static", @@ -16923,80 +17451,115 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "32.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "rustc-hash 1.1.0", "serde", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", + "num-traits", "parity-scale-codec", "paste", "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std 8.0.0", - "sp-weights", + "simple-mermaid", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-weights 31.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "tracing", +] + +[[package]] +name = "sp-runtime" +version = "39.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658f23be7c79a85581029676a73265c107c5469157e3444c8c640fdbaa8bfed0" +dependencies = [ + "docify", + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "num-traits", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "simple-mermaid", + "sp-application-crypto 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-weights 31.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing", ] [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "28.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985eb981f40c689c6a0012c937b68ed58dabb4341d06f2dfe4dfd5ed72fa4017" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive", "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface-proc-macro 18.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 21.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 21.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions", ] [[package]] name = "sp-runtime-interface" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "28.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive", "primitive-types", - "sp-externalities 0.25.0", - "sp-runtime-interface-proc-macro 17.0.0", - "sp-std 14.0.0", - "sp-storage 19.0.0", - "sp-tracing 16.0.0", - "sp-wasm-interface 20.0.0", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime-interface-proc-macro 18.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-tracing 17.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" dependencies = [ "Inflector", - "proc-macro-crate 1.1.3", + "expander", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.71", @@ -17004,8 +17567,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "18.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "Inflector", "expander", @@ -17017,37 +17580,36 @@ dependencies = [ [[package]] name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "36.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", "sp-staking", - "sp-std 8.0.0", ] [[package]] name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "36.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std 8.0.0", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.43.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "930104d6ae882626e8880d9b1578da9300655d337a3ffb45e130c608b6c89660" dependencies = [ "hash-db", "log", @@ -17055,11 +17617,30 @@ dependencies = [ "parking_lot 0.12.3", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities 0.19.0", - "sp-panic-handler", - "sp-std 8.0.0", - "sp-trie", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", + "tracing", + "trie-db", +] + +[[package]] +name = "sp-state-machine" +version = "0.43.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand 0.8.5", + "smallvec", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-panic-handler 13.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", "tracing", "trie-db", @@ -17067,8 +17648,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "18.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.1.3", @@ -17078,120 +17659,119 @@ dependencies = [ "rand 0.8.5", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-externalities 0.19.0", - "sp-runtime", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-runtime-interface 28.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", - "x25519-dalek 2.0.1", + "x25519-dalek", ] [[package]] name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" [[package]] name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "21.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-storage" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "21.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", + "sp-runtime 39.0.1", "thiserror", ] [[package]] name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "17.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf641a1d17268c8fcfdb8e0fa51a79c2d4222f4cfda5f3944dbdbc384dced8d5" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0", "tracing", "tracing-core", - "tracing-subscriber 0.2.25", + "tracing-subscriber", ] [[package]] name = "sp-tracing" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "17.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", "tracing", "tracing-core", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "34.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", - "sp-runtime", - "sp-std 8.0.0", - "sp-trie", + "sp-runtime 39.0.1", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6282aef9f4b6ecd95a67a45bcdb67a71f4a4155c09a53c10add4ffe823db18cd" dependencies = [ "ahash 0.8.11", "hash-db", - "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -17200,35 +17780,77 @@ dependencies = [ "rand 0.8.5", "scale-info", "schnellru", - "sp-core", - "sp-std 8.0.0", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", "tracing", "trie-db", "trie-root", ] +[[package]] +name = "sp-trie" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "ahash 0.8.11", + "hash-db", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand 0.8.5", + "scale-info", + "schnellru", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "thiserror", + "tracing", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-version" +version = "37.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d521a405707b5be561367cd3d442ff67588993de24062ce3adefcf8437ee9fe1" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-crypto-hashing-proc-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 39.0.2", + "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version-proc-macro 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "thiserror", +] + [[package]] name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "37.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std 8.0.0", - "sp-version-proc-macro", + "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-version-proc-macro 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "thiserror", ] [[package]] name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aee8f6730641a65fcf0c8f9b1e448af4b3bb083d08058b47528188bccc7b7a7" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -17237,53 +17859,80 @@ dependencies = [ ] [[package]] -name = "sp-wasm-interface" +name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.71", +] + +[[package]] +name = "sp-wasm-interface" +version = "21.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b066baa6d57951600b14ffe1243f54c47f9c23dd89c262e17ca00ae8dca58be9" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-allocator", - "sp-std 8.0.0", - "sp-wasm-interface-common", "wasmtime", ] [[package]] name = "sp-wasm-interface" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#149c70938f2b29f8d92ba1cc952aeb63d4084e27" +version = "21.0.1" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", + "sp-allocator", + "sp-wasm-interface-common", + "wasmtime", ] [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "wasmi 0.13.2", ] [[package]] name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "31.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93cdaf72a1dad537bbb130ba4d47307ebe5170405280ed1aa31fa712718a400e" +dependencies = [ + "bounded-collections", + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 26.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-weights" +version = "31.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-debug-derive 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", ] [[package]] @@ -17309,6 +17958,15 @@ dependencies = [ "strum 0.24.1", ] +[[package]] +name = "spinning_top" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" +dependencies = [ + "lock_api", +] + [[package]] name = "spki" version = "0.7.2" @@ -17392,6 +18050,26 @@ version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e75b72ee54e2f93c3ea1354066162be893ee5e25773ab743de3e088cecbb4f31" +[[package]] +name = "str0m" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" +dependencies = [ + "combine", + "crc", + "fastrand 2.0.1", + "hmac 0.12.1", + "once_cell", + "openssl", + "openssl-sys", + "sctp-proto", + "serde", + "sha-1 0.10.1", + "thiserror", + "tracing", +] + [[package]] name = "string_cache" version = "0.8.7" @@ -17512,47 +18190,62 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.4" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" +checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.9.1", - "sha2 0.9.9", + "hmac 0.12.1", + "pbkdf2 0.12.2", + "schnorrkel 0.11.4", + "sha2 0.10.8", + "zeroize", +] + +[[package]] +name = "substrate-bip39" +version = "0.6.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "hmac 0.12.1", + "pbkdf2 0.12.2", + "schnorrkel 0.11.4", + "sha2 0.10.8", "zeroize", ] [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "11.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" [[package]] name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "39.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ + "docify", "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", ] [[package]] name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.17.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "hyper 0.14.27", + "http-body-util", + "hyper 1.4.1", + "hyper-util", "log", "prometheus", "thiserror", @@ -17561,74 +18254,87 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "0.44.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "async-trait", - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 39.0.1", ] [[package]] name = "substrate-state-trie-migration-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "38.0.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.24.7", "parity-scale-codec", "sc-client-api", "sc-rpc-api", "serde", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-trie 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "trie-db", ] [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ - "array-bytes 6.2.3", + "array-bytes", "async-trait", "futures", "parity-scale-codec", "sc-client-api", "sc-client-db", "sc-consensus", - "sc-executor", + "sc-executor 0.40.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-offchain", "sc-service", "serde", "serde_json", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-state-machine", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "tokio", ] [[package]] name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" +version = "24.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf035ffe7335fb24053edfe4d0a5780250eda772082a1b80ae25835dd4c09265" dependencies = [ - "ansi_term", + "array-bytes", "build-helper", "cargo_metadata 0.15.4", + "console", "filetime", + "frame-metadata 16.0.0", + "jobserver", + "merkleized-metadata", + "parity-scale-codec", "parity-wasm", - "sp-maybe-compressed-blob", - "strum 0.24.1", + "polkavm-linker", + "sc-executor 0.40.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 38.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 17.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 37.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "strum 0.26.2", "tempfile", - "toml 0.7.8", + "toml 0.8.14", "walkdir", "wasm-opt", ] @@ -17670,7 +18376,7 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-core", "subxt-lightclient", "subxt-macro", @@ -17724,7 +18430,7 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "subxt-metadata", "tracing", ] @@ -17771,7 +18477,7 @@ dependencies = [ "hashbrown 0.14.5", "parity-scale-codec", "scale-info", - "sp-crypto-hashing", + "sp-crypto-hashing 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -18119,7 +18825,7 @@ dependencies = [ "mio", "num_cpus", "parking_lot 0.12.3", - "pin-project-lite 0.2.13", + "pin-project-lite", "signal-hook-registry", "socket2 0.5.7", "tokio-macros", @@ -18197,7 +18903,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite", "tokio", "tokio-util", ] @@ -18224,6 +18930,7 @@ dependencies = [ "futures-util", "log", "rustls 0.21.7", + "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.24.1", "tungstenite 0.20.1", @@ -18256,7 +18963,7 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite", "tokio", ] @@ -18350,7 +19057,7 @@ dependencies = [ "hdrhistogram", "indexmap 1.9.3", "pin-project", - "pin-project-lite 0.2.13", + "pin-project-lite", "rand 0.8.5", "slab", "tokio", @@ -18368,7 +19075,7 @@ checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" dependencies = [ "futures-core", "futures-util", - "pin-project-lite 0.2.13", + "pin-project-lite", "sync_wrapper", "tower-layer", "tower-service", @@ -18376,18 +19083,16 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.4" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" dependencies = [ "bitflags 2.5.0", "bytes", - "futures-core", - "futures-util", - "http 0.2.9", - "http-body 0.4.5", - "http-range-header", - "pin-project-lite 0.2.13", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "pin-project-lite", "tower-layer", "tower-service", ] @@ -18411,7 +19116,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.13", + "pin-project-lite", "tracing-attributes", "tracing-core", ] @@ -18425,7 +19130,7 @@ dependencies = [ "crossbeam-channel", "thiserror", "time", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -18456,7 +19161,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d686ec1c0f384b1277f097b2f279a2ecc11afe8c133c1aabf036a27cb4cd206e" dependencies = [ "tracing", - "tracing-subscriber 0.3.18", + "tracing-subscriber", ] [[package]] @@ -18469,17 +19174,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -18501,38 +19195,16 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-subscriber" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" -dependencies = [ - "ansi_term", - "chrono", - "lazy_static", - "matchers 0.0.1", - "parking_lot 0.11.2", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log 0.1.3", - "tracing-serde", -] - [[package]] name = "tracing-subscriber" version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ - "matchers 0.1.0", + "matchers", "nu-ansi-term", "once_cell", + "parking_lot 0.12.3", "regex", "serde", "serde_json", @@ -18542,18 +19214,17 @@ dependencies = [ "time", "tracing", "tracing-core", - "tracing-log 0.2.0", + "tracing-log", "tracing-serde", ] [[package]] name = "trie-db" -version = "0.28.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" +checksum = "0c992b4f40c234a074d48a757efeabb1a6be88af84c0c23f7ca158950cb0ae7f" dependencies = [ "hash-db", - "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -18594,24 +19265,50 @@ dependencies = [ "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.0", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.4.0", + "ipnet", + "once_cell", + "rand 0.8.5", + "smallvec", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" -version = "0.22.0" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" +checksum = "10a3e6c3aff1718b3c73e395d1f35202ba2ffa847c6a62eea0db8fb4cfe30be6" dependencies = [ "cfg-if", "futures-util", "ipconfig", - "lazy_static", "lru-cache", + "once_cell", "parking_lot 0.12.3", + "rand 0.8.5", "resolv-conf", "smallvec", "thiserror", "tokio", "tracing", - "trust-dns-proto", + "trust-dns-proto 0.23.2", ] [[package]] @@ -18620,41 +19317,6 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" -[[package]] -name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.4.0#09bdd2a6953d057ae360ec3ef6ec735f9306cc04" -dependencies = [ - "async-trait", - "clap 4.5.9", - "frame-remote-externalities", - "hex", - "log", - "parity-scale-codec", - "sc-cli", - "sc-executor", - "serde", - "serde_json", - "sp-api", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", - "sp-transaction-storage-proof", - "sp-version", - "sp-weights", - "substrate-rpc-client", - "zstd 0.12.4", -] - [[package]] name = "trybuild" version = "1.0.96" @@ -18858,6 +19520,10 @@ name = "unsigned-varint" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" +dependencies = [ + "bytes", + "tokio-util", +] [[package]] name = "untrusted" @@ -18926,6 +19592,7 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", + "frame-metadata-hash-extension", "frame-support", "frame-system", "frame-system-benchmarking", @@ -18990,25 +19657,27 @@ dependencies = [ "pallet-whitelist", "parity-scale-codec", "scale-info", - "sp-api", - "sp-arithmetic", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", - "sp-core", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-genesis-builder", "sp-inherents", - "sp-io", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 39.0.1", "sp-session", "sp-staking", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-storage 21.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-transaction-pool", - "sp-version", + "sp-version 37.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "substrate-build-script-utils", "substrate-wasm-builder", "wabt", @@ -19101,9 +19770,9 @@ checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" [[package]] name = "walkdir" -version = "2.3.3" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -19129,7 +19798,7 @@ dependencies = [ "futures-util", "headers", "http 0.2.9", - "hyper 0.14.27", + "hyper 0.14.31", "log", "mime", "mime_guess", @@ -19250,15 +19919,15 @@ dependencies = [ name = "wasm-info" version = "0.1.0" dependencies = [ - "clap 4.5.9", + "clap 4.5.13", "hex", "parity-wasm", ] [[package]] name = "wasm-instrument" -version = "0.3.0" -source = "git+https://github.com/gear-tech/wasm-instrument?branch=v0.3.0-sign-ext#7d5226a805b39ed297e78427c21ee2cb39795139" +version = "0.4.0" +source = "git+https://github.com/gear-tech/wasm-instrument?branch=v0.4.0-sign-ext#e57b713873d4364e41ed495893a2f06a80cca5ab" dependencies = [ "parity-wasm", ] @@ -19307,7 +19976,7 @@ dependencies = [ name = "wasm-proc" version = "1.6.2" dependencies = [ - "clap 4.5.9", + "clap 4.5.13", "env_logger", "gear-wasm-builder", "log", @@ -20003,30 +20672,12 @@ dependencies = [ [[package]] name = "webpki" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - -[[package]] -name = "webpki-roots" -version = "0.22.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" -dependencies = [ - "webpki", -] - -[[package]] -name = "webpki-roots" -version = "0.23.1" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" +checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "rustls-webpki 0.100.2", + "ring 0.17.8", + "untrusted 0.9.0", ] [[package]] @@ -20155,6 +20806,21 @@ dependencies = [ "windows_x86_64_msvc 0.33.0", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -20464,17 +21130,6 @@ dependencies = [ "tap", ] -[[package]] -name = "x25519-dalek" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" -dependencies = [ - "curve25519-dalek 3.2.0", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "x25519-dalek" version = "2.0.1" @@ -20489,12 +21144,11 @@ dependencies = [ [[package]] name = "x509-parser" -version = "0.14.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" +checksum = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da" dependencies = [ "asn1-rs 0.5.2", - "base64 0.13.1", "data-encoding", "der-parser 8.2.0", "lazy_static", @@ -20554,20 +21208,6 @@ version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63658493314859b4dfdf3fb8c1defd61587839def09582db50b8a4e93afca6bb" -[[package]] -name = "yamux" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" -dependencies = [ - "futures", - "log", - "nohash-hasher", - "parking_lot 0.12.3", - "rand 0.8.5", - "static_assertions", -] - [[package]] name = "yamux" version = "0.12.1" @@ -20788,3 +21428,8 @@ dependencies = [ "quote", "syn 1.0.109", ] + +[[patch.unused]] +name = "blake3" +version = "1.3.1" +source = "git+https://github.com/gear-tech/BLAKE3?branch=fix-clang-cl-cross#124a7d89c43dd242c080e59ad46e8c8904ae4b6e" diff --git a/common/src/pallet_tests.rs b/common/src/pallet_tests.rs index 980481da4a1..0780e7b1701 100644 --- a/common/src/pallet_tests.rs +++ b/common/src/pallet_tests.rs @@ -42,7 +42,6 @@ macro_rules! impl_pallet_balances_inner { ($runtime:ty) => { impl pallet_balances::Config for $runtime { type MaxLocks = (); - type MaxHolds = ConstU32<1>; type MaxFreezes = ConstU32<1>; type MaxReserves = (); type RuntimeFreezeReason = RuntimeFreezeReason; @@ -112,6 +111,7 @@ macro_rules! impl_pallet_system_inner { type Block = Block; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; + type RuntimeTask = (); type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; @@ -121,6 +121,11 @@ macro_rules! impl_pallet_system_inner { type SS58Prefix = $crate::pallet_tests::SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type MultiBlockMigrator = (); + type SingleBlockMigrations = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } }; @@ -255,6 +260,7 @@ macro_rules! impl_pallet_staking_inner { pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); pub const HistoryDepth: u32 = 84; pub const MaxNominations: u32 = 16; + pub const MaxControllersInDeprecationBatch: u32 = 5900; } impl pallet_staking::Config for Test { @@ -276,7 +282,6 @@ macro_rules! impl_pallet_staking_inner { type EraPayout = StakingConfigEraPayout; type NextNewSession = StakingConfigNextNewSession; type MaxExposurePageSize = MaxExposurePageSize; - type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type VoterList = pallet_staking::UseNominatorsAndValidatorsMap; type TargetList = pallet_staking::UseValidatorsMap; type NominationsQuota = pallet_staking::FixedNominationsQuota<16>; @@ -285,6 +290,8 @@ macro_rules! impl_pallet_staking_inner { type EventListeners = (); type WeightInfo = (); type BenchmarkingConfig = pallet_staking::TestBenchmarkingConfig; + type MaxControllersInDeprecationBatch = MaxControllersInDeprecationBatch; + type DisablingStrategy = pallet_staking::UpToLimitDisablingStrategy; } }; diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 88d375ebf7c..10b8e8b8685 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -353,10 +353,7 @@ where } /// Creates a full service from the configuration. -pub fn new_full_base< - N: NetworkBackend::Hash>, - RuntimeApi, ->( +pub fn new_full_base::Hash>, RuntimeApi>( config: Configuration, disable_hardware_benchmarks: bool, with_startup_data: impl FnOnce( diff --git a/node/testing/Cargo.toml b/node/testing/Cargo.toml index a3445314ef4..d4d311e671c 100644 --- a/node/testing/Cargo.toml +++ b/node/testing/Cargo.toml @@ -52,6 +52,7 @@ sp-std.workspace = true frame-system.workspace = true frame-support.workspace = true frame-benchmarking.workspace = true +frame-metadata-hash-extension.workspace = true [features] default = ["std"] diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index 06f13da759f..e7cc4e67dd8 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -91,6 +91,6 @@ impl TestClientBuilderExt fn build_with_wasm_executor(self, executor: Option) -> Client { let executor = executor.unwrap_or_else(|| WasmExecutor::builder().build()); - executor + self.build_with_native_executor(executor).0 } } diff --git a/node/testing/src/genesis.rs b/node/testing/src/genesis.rs index bb140024170..a8eba90123f 100644 --- a/node/testing/src/genesis.rs +++ b/node/testing/src/genesis.rs @@ -55,7 +55,7 @@ pub fn config_endowed(extra_endowed: Vec) -> RuntimeGenesisConfig { balances: BalancesConfig { balances: endowed }, babe: BabeConfig { authorities: vec![], - epoch_config: Some(BABE_GENESIS_EPOCH_CONFIG), + epoch_config: BABE_GENESIS_EPOCH_CONFIG, ..Default::default() }, grandpa: GrandpaConfig { @@ -80,6 +80,7 @@ pub fn config_endowed(extra_endowed: Vec) -> RuntimeGenesisConfig { to_session_keys(&Ed25519Keyring::Charlie, &Sr25519Keyring::Charlie), ), ], + ..Default::default() }, staking: StakingConfig { stakers: vec![ diff --git a/node/testing/src/keyring.rs b/node/testing/src/keyring.rs index bdeca6582c9..51266ffa5fe 100644 --- a/node/testing/src/keyring.rs +++ b/node/testing/src/keyring.rs @@ -82,6 +82,7 @@ pub fn signed_extra(nonce: Nonce) -> SignedExtra { frame_system::CheckTxVersion::new(), frame_system::CheckGenesis::new(), frame_system::CheckEra::from(Era::mortal(256, 0)), + frame_metadata_hash_extension::CheckMetadataHash::new(true), CustomCheckNonce::from(nonce), frame_system::CheckWeight::new(), CustomChargeTransactionPayment::from(0), diff --git a/pallets/gear-builtin/src/tests/staking.rs b/pallets/gear-builtin/src/tests/staking.rs index 2390851e076..97ea79e0012 100644 --- a/pallets/gear-builtin/src/tests/staking.rs +++ b/pallets/gear-builtin/src/tests/staking.rs @@ -382,7 +382,7 @@ fn set_payee_works() { // Assert the `payee` is set to contract's stash let payee = pallet_staking::Pallet::::payee(StakingAccount::Stash(contract_account_id)); - assert_eq!(payee, pallet_staking::RewardDestination::Stash); + assert_eq!(payee, Some(pallet_staking::RewardDestination::Stash)); // Set the `payee` to SIGNER assert_ok!(Gear::send_message( @@ -404,7 +404,7 @@ fn set_payee_works() { pallet_staking::Pallet::::payee(StakingAccount::Stash(contract_account_id)); assert_eq!( payee, - pallet_staking::RewardDestination::Account(REWARD_PAYEE) + Some(pallet_staking::RewardDestination::Account(REWARD_PAYEE)) ); }); } @@ -812,6 +812,7 @@ mod util { .iter() .map(|x| (x.0, x.0, x.1.clone())) .collect(), + ..Default::default() } .assimilate_storage(&mut storage) .unwrap(); diff --git a/pallets/gear-eth-bridge/src/mock.rs b/pallets/gear-eth-bridge/src/mock.rs index cf5fbb3bce6..cbc729a1c17 100644 --- a/pallets/gear-eth-bridge/src/mock.rs +++ b/pallets/gear-eth-bridge/src/mock.rs @@ -337,9 +337,12 @@ impl ExtBuilder { }) .collect(); - pallet_session::GenesisConfig:: { keys } - .assimilate_storage(&mut storage) - .unwrap(); + pallet_session::GenesisConfig:: { + keys, + ..Default::default() + } + .assimilate_storage(&mut storage) + .unwrap(); let mut ext: sp_io::TestExternalities = storage.into(); diff --git a/pallets/gear-program/src/mock.rs b/pallets/gear-program/src/mock.rs index ed97f3a42d7..2476ce6a4a2 100644 --- a/pallets/gear-program/src/mock.rs +++ b/pallets/gear-program/src/mock.rs @@ -93,13 +93,8 @@ parameter_types! { impl pallet_treasury::Config for Test { type PalletId = TreasuryPalletId; type Currency = Balances; - type ApproveOrigin = EnsureRoot; type RejectOrigin = EnsureRoot; type RuntimeEvent = RuntimeEvent; - type OnSlash = (); - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = (); type SpendPeriod = ConstU64<100>; type Burn = Burn; type BurnDestination = (); diff --git a/pallets/gear/src/tests.rs b/pallets/gear/src/tests.rs index 9d0f129d77b..4137a0e0541 100644 --- a/pallets/gear/src/tests.rs +++ b/pallets/gear/src/tests.rs @@ -16047,7 +16047,7 @@ pub(crate) mod utils { ) where B: Into> + Copy, { - let account_id = origin.cast(); + let account_id: u64 = origin.cast(); let available = available.into(); let locked = locked.into(); let reserved = reserved.into(); @@ -16059,7 +16059,7 @@ pub(crate) mod utils { "Free balance of {available} + {locked} (available + locked)" ); assert_eq!(account_data.frozen, locked, "Frozen balance"); - let maybe_ed = Balances::locks(account_id) + let maybe_ed = Balances::locks(&account_id) .into_iter() .filter_map(|lock| { if lock.id == EXISTENTIAL_DEPOSIT_LOCK_ID { diff --git a/pallets/payment/src/mock.rs b/pallets/payment/src/mock.rs index 1c9424600ab..94b5fa00056 100644 --- a/pallets/payment/src/mock.rs +++ b/pallets/payment/src/mock.rs @@ -127,7 +127,7 @@ type NegativeImbalance = >::NegativeImbalance; pub struct DealWithFees; impl OnUnbalanced for DealWithFees { - fn on_unbalanceds(mut fees_then_tips: impl Iterator) { + fn on_unbalanceds(mut fees_then_tips: impl Iterator) { if let Some(fees) = fees_then_tips.next() { if let Some(author) = Authorship::author() { Balances::resolve_creating(&author, fees); diff --git a/runtime/vara/src/integration_tests.rs b/runtime/vara/src/integration_tests.rs index b03df197d6f..836aa1ecbf6 100644 --- a/runtime/vara/src/integration_tests.rs +++ b/runtime/vara/src/integration_tests.rs @@ -185,6 +185,7 @@ impl ExtBuilder { ) }) .collect(), + ..Default::default() } .assimilate_storage(&mut storage) .unwrap(); @@ -595,33 +596,33 @@ fn slashed_proposals_back_to_treasury() { )); assert_eq!(Treasury::pot(), 1_000 * UNITS); - assert_ok!(Treasury::propose_spend( - RuntimeOrigin::signed(dave.to_account_id()), + assert_ok!(Treasury::spend( + RuntimeOrigin::signed(alice.to_account_id()), + Box::new(()), 1_000 * UNITS, - sp_runtime::MultiAddress::Id(ferdie.to_account_id()), + Box::new(ferdie.to_account_id()), + None, )); - let proposal_bond = - ::ProposalBond::get() * UNITS * 1_000; - let dave_acc_data = System::account(dave.to_account_id()).data; - // Proposer's free balance has decreased by the `proposal_bond` - assert_eq!(dave_acc_data.free, ENDOWMENT - proposal_bond); - // The reserved balance is 5% of the proposed amount - assert_eq!(dave_acc_data.reserved, proposal_bond); - - assert_ok!(Treasury::reject_proposal(RuntimeOrigin::root(), 0)); - - // Run chain for a day so that `Treasury::spend_funds()` is triggered - run_to_block(DAYS); - - // The `proposal_bond` has been slashed - let dave_acc_data = System::account(dave.to_account_id()).data; - assert_eq!(dave_acc_data.free, ENDOWMENT - proposal_bond); - // Nothing is reserved now - assert_eq!(dave_acc_data.reserved, 0); - - // Treasury funds haven't been spent, no burning has taken place, - // the slashed deposit has landed in the `Treasury`, as well - assert_eq!(Treasury::pot(), 1_000 * UNITS + proposal_bond); + // let proposal_bond = + // ::ProposalBond::get() * UNITS * 1_000; + // let dave_acc_data = System::account(dave.to_account_id()).data; + // // Proposer's free balance has decreased by the `proposal_bond` + // assert_eq!(dave_acc_data.free, ENDOWMENT - proposal_bond); + // // The reserved balance is 5% of the proposed amount + // assert_eq!(dave_acc_data.reserved, proposal_bond); + + // // Run chain for a day so that `Treasury::spend_funds()` is triggered + // run_to_block(DAYS); + + // // The `proposal_bond` has been slashed + // let dave_acc_data = System::account(dave.to_account_id()).data; + // assert_eq!(dave_acc_data.free, ENDOWMENT - proposal_bond); + // // Nothing is reserved now + // assert_eq!(dave_acc_data.reserved, 0); + + // // Treasury funds haven't been spent, no burning has taken place, + // // the slashed deposit has landed in the `Treasury`, as well + // assert_eq!(Treasury::pot(), 1_000 * UNITS + proposal_bond); // The total issuance has, therefore, persisted assert_eq!(Balances::total_issuance(), initial_total_issuance); From 65f2b8de3f5168a783a996427e9e193f0f73c1e8 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 18 Oct 2024 22:46:40 +0200 Subject: [PATCH 11/59] spawn statement executor --- node/service/src/lib.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 10b8e8b8685..715d27730c4 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -605,6 +605,26 @@ where ); } + // Spawn statement protocol worker + let statement_protocol_executor = { + let spawn_handle = task_manager.spawn_handle(); + Box::new(move |fut| { + spawn_handle.spawn("network-statement-validator", Some("networking"), fut); + }) + }; + let statement_handler = statement_handler_proto.build( + network.clone(), + sync_service.clone(), + statement_store.clone(), + prometheus_registry.as_ref(), + statement_protocol_executor, + )?; + task_manager.spawn_handle().spawn( + "network-statement-handler", + Some("networking"), + statement_handler.run(), + ); + if enable_offchain_worker { task_manager.spawn_handle().spawn( "offchain-workers-runner", From 12cd85371ce345a3cf76022d8a7954760e434864 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 18 Oct 2024 22:52:10 +0200 Subject: [PATCH 12/59] Revert "spawn statement executor" This reverts commit 65f2b8de3f5168a783a996427e9e193f0f73c1e8. --- node/service/src/lib.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 715d27730c4..10b8e8b8685 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -605,26 +605,6 @@ where ); } - // Spawn statement protocol worker - let statement_protocol_executor = { - let spawn_handle = task_manager.spawn_handle(); - Box::new(move |fut| { - spawn_handle.spawn("network-statement-validator", Some("networking"), fut); - }) - }; - let statement_handler = statement_handler_proto.build( - network.clone(), - sync_service.clone(), - statement_store.clone(), - prometheus_registry.as_ref(), - statement_protocol_executor, - )?; - task_manager.spawn_handle().spawn( - "network-statement-handler", - Some("networking"), - statement_handler.run(), - ); - if enable_offchain_worker { task_manager.spawn_handle().spawn( "offchain-workers-runner", From c0c499b37ab96b6a041ddc30723567b5cba79867 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 18 Oct 2024 22:53:00 +0200 Subject: [PATCH 13/59] rm statement client --- Cargo.lock | 21 --------------------- node/service/Cargo.toml | 1 - node/service/src/lib.rs | 9 --------- 3 files changed, 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 859e8edf1d5..4ec743d5bb3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6907,7 +6907,6 @@ dependencies = [ "sc-executor-common 0.35.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sc-network", "sc-network-common", - "sc-network-statement", "sc-network-sync", "sc-offchain", "sc-rpc", @@ -15288,26 +15287,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "sc-network-statement" -version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" -dependencies = [ - "array-bytes", - "async-channel 1.9.0", - "futures", - "log", - "parity-scale-codec", - "sc-network", - "sc-network-common", - "sc-network-sync", - "sc-network-types", - "sp-consensus", - "sp-runtime 39.0.1", - "sp-statement-store", - "substrate-prometheus-endpoint", -] - [[package]] name = "sc-network-sync" version = "0.44.0" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 2535b10e12e..55321627256 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -47,7 +47,6 @@ sc-telemetry.workspace = true sc-network.workspace = true sc-network-common.workspace = true sc-network-sync.workspace = true -sc-network-statement.workspace = true sc-consensus-slots.workspace = true sc-transaction-pool.workspace = true sc-transaction-pool-api.workspace = true diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 10b8e8b8685..e62d53f257e 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -422,15 +422,6 @@ where net_config.add_notification_protocol(grandpa_protocol_config); - let (statement_handler_proto, statement_config) = - sc_network_statement::StatementHandlerPrototype::new::<_, _, N>( - genesis_hash, - config.chain_spec.fork_id(), - metrics.clone(), - Arc::clone(&peer_store_handle), - ); - net_config.add_notification_protocol(statement_config); - let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new( backend.clone(), import_setup.1.shared_authority_set().clone(), From d65ca7dde54cdb36a9a575b524fb3f2826b3876b Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 18 Oct 2024 23:12:54 +0200 Subject: [PATCH 14/59] rm test --- runtime/vara/src/integration_tests.rs | 85 --------------------------- 1 file changed, 85 deletions(-) diff --git a/runtime/vara/src/integration_tests.rs b/runtime/vara/src/integration_tests.rs index 836aa1ecbf6..babcf2cf7e2 100644 --- a/runtime/vara/src/integration_tests.rs +++ b/runtime/vara/src/integration_tests.rs @@ -544,91 +544,6 @@ fn dust_ends_up_in_offset_pool() { }); } -#[test] -fn slashed_proposals_back_to_treasury() { - init_logger(); - - let alice = AccountKeyring::Alice; - let bob = AccountKeyring::Bob; - let charlie = AccountKeyring::Charlie; - let dave = AccountKeyring::Dave; - let ferdie = AccountKeyring::Ferdie; - - let treasury_id = Treasury::account_id(); - - ExtBuilder::default() - .initial_authorities(vec![ - ( - alice.into(), - charlie.into(), - alice.public(), - ed25519::Pair::from_string("//Alice", None) - .unwrap() - .public(), - alice.public(), - alice.public(), - ), - ( - bob.into(), - dave.into(), - bob.public(), - ed25519::Pair::from_string("//Bob", None).unwrap().public(), - bob.public(), - bob.public(), - ), - ]) - .stash(STASH) - .endowment(ENDOWMENT) - .endowed_accounts(vec![charlie.into(), dave.into()]) - .root(alice.into()) - .build() - .execute_with(|| { - // Treasury pot is empty in the beginning - assert_eq!(Treasury::pot(), 0); - - let initial_total_issuance = Balances::total_issuance(); - - // Top up treasury balance - assert_ok!(Balances::transfer_allow_death( - RuntimeOrigin::signed(charlie.to_account_id()), - sp_runtime::MultiAddress::Id(treasury_id.clone()), - 1_000 * UNITS, - )); - assert_eq!(Treasury::pot(), 1_000 * UNITS); - - assert_ok!(Treasury::spend( - RuntimeOrigin::signed(alice.to_account_id()), - Box::new(()), - 1_000 * UNITS, - Box::new(ferdie.to_account_id()), - None, - )); - // let proposal_bond = - // ::ProposalBond::get() * UNITS * 1_000; - // let dave_acc_data = System::account(dave.to_account_id()).data; - // // Proposer's free balance has decreased by the `proposal_bond` - // assert_eq!(dave_acc_data.free, ENDOWMENT - proposal_bond); - // // The reserved balance is 5% of the proposed amount - // assert_eq!(dave_acc_data.reserved, proposal_bond); - - // // Run chain for a day so that `Treasury::spend_funds()` is triggered - // run_to_block(DAYS); - - // // The `proposal_bond` has been slashed - // let dave_acc_data = System::account(dave.to_account_id()).data; - // assert_eq!(dave_acc_data.free, ENDOWMENT - proposal_bond); - // // Nothing is reserved now - // assert_eq!(dave_acc_data.reserved, 0); - - // // Treasury funds haven't been spent, no burning has taken place, - // // the slashed deposit has landed in the `Treasury`, as well - // assert_eq!(Treasury::pot(), 1_000 * UNITS + proposal_bond); - - // The total issuance has, therefore, persisted - assert_eq!(Balances::total_issuance(), initial_total_issuance); - }); -} - // Setting lock on an account prevents the account from being dusted #[test] fn dusting_prevented_by_lock() { From 05d0a2cac01e0244b9b6415036ec748c6f1ed073 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 18 Oct 2024 23:23:37 +0200 Subject: [PATCH 15/59] update fuzzer tests --- utils/runtime-fuzzer/src/runtime/mod.rs | 1 + utils/runtime-fuzzer/src/tests.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/runtime-fuzzer/src/runtime/mod.rs b/utils/runtime-fuzzer/src/runtime/mod.rs index b2c51d66a74..16e14cb0a75 100644 --- a/utils/runtime-fuzzer/src/runtime/mod.rs +++ b/utils/runtime-fuzzer/src/runtime/mod.rs @@ -85,6 +85,7 @@ pub fn new_test_ext() -> TestExternalities { ) }) .collect(), + ..Default::default() } .assimilate_storage(&mut t) .unwrap(); diff --git a/utils/runtime-fuzzer/src/tests.rs b/utils/runtime-fuzzer/src/tests.rs index 1538cd596d1..c1cd6a9fd16 100644 --- a/utils/runtime-fuzzer/src/tests.rs +++ b/utils/runtime-fuzzer/src/tests.rs @@ -98,8 +98,8 @@ proptest! { let ext2 = run_impl(FuzzerInput::new(&buf)); match (ext1, ext2) { - (Ok(ext1), Ok(ext2)) => { - assert!(ext1.eq(&ext2), "Both test-exts must be equal"); + (Ok(mut ext1), Ok(mut ext2)) => { + assert!(ext1.eq(&mut ext2), "Both test-exts must be equal"); } (ext1, ext2) => { ext1.expect("One or both of fuzzer runs failed"); From ca77917660f580f9c07b0f2d57d8408803c58664 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sat, 19 Oct 2024 08:41:39 +0200 Subject: [PATCH 16/59] current_storage_version -> in_code_storage_version --- pallets/gear-program/src/migrations/add_section_sizes.rs | 4 ++-- pallets/gear-program/src/migrations/allocations.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pallets/gear-program/src/migrations/add_section_sizes.rs b/pallets/gear-program/src/migrations/add_section_sizes.rs index 5e258e1d889..2d8dc2f6bbe 100644 --- a/pallets/gear-program/src/migrations/add_section_sizes.rs +++ b/pallets/gear-program/src/migrations/add_section_sizes.rs @@ -49,7 +49,7 @@ impl OnRuntimeUpgrade for AddSectionSizesMigration { let mut counter = 0; if onchain == MIGRATE_FROM_VERSION { - let current = Pallet::::current_storage_version(); + let current = Pallet::::in_code_storage_version(); if current != ALLOWED_CURRENT_STORAGE_VERSION { log::error!("❌ Migration is not allowed for current storage version {current:?}."); return weight; @@ -96,7 +96,7 @@ impl OnRuntimeUpgrade for AddSectionSizesMigration { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, TryRuntimeError> { - let current = Pallet::::current_storage_version(); + let current = Pallet::::in_code_storage_version(); let onchain = Pallet::::on_chain_storage_version(); let res = if onchain == MIGRATE_FROM_VERSION { diff --git a/pallets/gear-program/src/migrations/allocations.rs b/pallets/gear-program/src/migrations/allocations.rs index 3fde976a1c5..434e2cb0c95 100644 --- a/pallets/gear-program/src/migrations/allocations.rs +++ b/pallets/gear-program/src/migrations/allocations.rs @@ -50,7 +50,7 @@ impl OnRuntimeUpgrade for MigrateAllocations { let mut weight = T::DbWeight::get().reads(1); if onchain == MIGRATE_FROM_VERSION { - let current = Pallet::::current_storage_version(); + let current = Pallet::::in_code_storage_version(); if current != ALLOWED_CURRENT_STORAGE_VERSION { log::error!("❌ Migration is not allowed for current storage version {current:?}."); return weight; @@ -98,7 +98,7 @@ impl OnRuntimeUpgrade for MigrateAllocations { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, TryRuntimeError> { - let current = Pallet::::current_storage_version(); + let current = Pallet::::in_code_storage_version(); let onchain = Pallet::::on_chain_storage_version(); let res = if onchain == MIGRATE_FROM_VERSION { From f736d11f87dee23a41ca234819b1e74eaf4e1603 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sat, 19 Oct 2024 08:41:58 +0200 Subject: [PATCH 17/59] feat(node): Spawn authority discovery module --- Cargo.lock | 515 +++++++++------------- Cargo.toml | 4 +- gsdk/Cargo.toml | 2 +- node/service/Cargo.toml | 1 + node/service/src/client.rs | 2 + node/service/src/lib.rs | 48 +- node/service/src/rpc/runtime_info.rs | 1 - pallets/gear-builtin/rpc/src/lib.rs | 5 +- pallets/gear-eth-bridge/rpc/src/lib.rs | 9 +- pallets/gear/rpc/src/lib.rs | 6 +- pallets/staking-rewards/rpc/src/lib.rs | 7 +- runtime/vara/src/governance/fellowship.rs | 2 + runtime/vara/src/lib.rs | 7 + utils/gring/src/keystore.rs | 4 +- utils/gring/src/pair.rs | 3 +- 15 files changed, 270 insertions(+), 346 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4ec743d5bb3..ad8835f0978 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -119,7 +119,7 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.15", + "getrandom", "once_cell", "version_check", ] @@ -131,7 +131,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.15", + "getrandom", "once_cell", "version_check", "zerocopy", @@ -374,7 +374,7 @@ dependencies = [ "alloy-genesis", "alloy-primitives", "k256", - "rand 0.8.5", + "rand", "serde_json", "tempfile", "thiserror", @@ -402,7 +402,7 @@ dependencies = [ "keccak-asm", "paste", "proptest", - "rand 0.8.5", + "rand", "ruint", "rustc-hash 2.0.0", "serde", @@ -626,7 +626,7 @@ dependencies = [ "alloy-signer", "async-trait", "k256", - "rand 0.8.5", + "rand", "thiserror", ] @@ -1170,7 +1170,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ "num-traits", - "rand 0.8.5", + "rand", ] [[package]] @@ -1180,7 +1180,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand 0.8.5", + "rand", "rayon", ] @@ -1205,12 +1205,6 @@ dependencies = [ "nodrop", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -1879,18 +1873,6 @@ dependencies = [ "constant_time_eq 0.3.1", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding 0.1.5", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" @@ -1915,19 +1897,10 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2cb03d1bed155d89dce0f845b7899b18a9a163e148fd004e1c28421a783e2d8e" dependencies = [ - "block-padding 0.2.1", + "block-padding", "cipher 0.3.0", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "block-padding" version = "0.2.1" @@ -2549,7 +2522,7 @@ dependencies = [ "hmac 0.12.1", "once_cell", "pbkdf2 0.12.2", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", ] @@ -2700,7 +2673,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.15", + "getrandom", "once_cell", "tiny-keccak", ] @@ -3103,7 +3076,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", "zeroize", ] @@ -3115,7 +3088,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", - "rand_core 0.6.4", + "rand_core", "typenum", ] @@ -3167,19 +3140,6 @@ dependencies = [ "cipher 0.4.4", ] -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "4.1.3" @@ -3586,7 +3546,7 @@ dependencies = [ "gmeta", "gstd", "hashbrown 0.14.5", - "rand 0.8.5", + "rand", "statrs", "tokio", ] @@ -3877,7 +3837,7 @@ dependencies = [ "gstd", "gtest", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", ] @@ -4437,9 +4397,9 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.3", + "curve25519-dalek", "ed25519", - "rand_core 0.6.4", + "rand_core", "serde", "sha2 0.10.8", "subtle 2.6.1", @@ -4452,11 +4412,11 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.3", + "curve25519-dalek", "ed25519", "hashbrown 0.14.5", "hex", - "rand_core 0.6.4", + "rand_core", "sha2 0.10.8", "zeroize", ] @@ -4480,7 +4440,7 @@ dependencies = [ "generic-array 0.14.7", "group", "pkcs8", - "rand_core 0.6.4", + "rand_core", "sec1", "serdect", "subtle 2.6.1", @@ -4522,7 +4482,7 @@ dependencies = [ "hex", "k256", "log", - "rand 0.8.5", + "rand", "rlp", "serde", "sha3", @@ -4708,7 +4668,7 @@ dependencies = [ "hex", "hmac 0.12.1", "pbkdf2 0.11.0", - "rand 0.8.5", + "rand", "scrypt", "serde", "serde_json", @@ -4871,7 +4831,7 @@ dependencies = [ "num_enum 0.7.2", "once_cell", "open-fastrlp", - "rand 0.8.5", + "rand", "rlp", "serde", "serde_json", @@ -4976,7 +4936,7 @@ dependencies = [ "elliptic-curve", "eth-keystore", "ethers-core", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", "tracing", @@ -5048,7 +5008,7 @@ dependencies = [ "log", "ntest", "parity-scale-codec", - "rand 0.8.5", + "rand", "serde", "static_init", "tempfile", @@ -5103,7 +5063,7 @@ dependencies = [ "gprimitives", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "tokio", ] @@ -5124,7 +5084,7 @@ dependencies = [ "libp2p-swarm-test", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "tempfile", "tokio", "void", @@ -5173,7 +5133,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-wasm", - "rand 0.8.5", + "rand", "sp-allocator", "sp-wasm-interface 21.0.1 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", @@ -5386,15 +5346,9 @@ checksum = "fe5e43d0f78a42ad591453aedb1d7ae631ce7ee445c7643691055a9ed8d3b01c" dependencies = [ "log", "once_cell", - "rand 0.8.5", + "rand", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fallible-iterator" version = "0.2.0" @@ -5449,7 +5403,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", ] @@ -5514,7 +5468,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -5654,7 +5608,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", "sc-block-builder", "sc-chain-spec", @@ -6268,7 +6222,7 @@ dependencies = [ "jsonrpsee 0.24.7", "keyring", "log", - "rand 0.8.5", + "rand", "reqwest 0.11.27", "scale-info", "serde", @@ -6411,7 +6365,7 @@ dependencies = [ "gear-wasm-gen", "hex", "log", - "rand 0.8.5", + "rand", "thiserror", ] @@ -6504,7 +6458,7 @@ dependencies = [ "paste", "primitive-types", "proptest", - "rand 0.8.5", + "rand", "scale-info", "serde", "wabt", @@ -6651,7 +6605,7 @@ dependencies = [ "names", "parking_lot 0.12.3", "primitive-types", - "rand 0.8.5", + "rand", "reqwest 0.11.27", "subxt", "thiserror", @@ -6706,7 +6660,7 @@ name = "gear-node-wrapper" version = "1.6.2" dependencies = [ "anyhow", - "rand 0.8.5", + "rand", "smallvec", "which", ] @@ -6894,6 +6848,7 @@ dependencies = [ "pallet-transaction-payment-rpc", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", + "sc-authority-discovery", "sc-chain-spec", "sc-client-api", "sc-consensus", @@ -7041,7 +6996,7 @@ dependencies = [ "log", "nonempty 0.8.1", "proptest", - "rand 0.8.5", + "rand", "thiserror", "wasm-smith", "wasmparser-nostd", @@ -7142,17 +7097,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.15" @@ -7162,7 +7106,7 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "wasm-bindgen", ] @@ -7172,8 +7116,8 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "rand 0.8.5", - "rand_core 0.6.4", + "rand", + "rand_core", ] [[package]] @@ -7309,7 +7253,7 @@ dependencies = [ "parking_lot 0.12.3", "portable-atomic", "quanta", - "rand 0.8.5", + "rand", "smallvec", "spinning_top", ] @@ -7339,8 +7283,8 @@ dependencies = [ "gear-ss58", "hex", "nacl", - "rand 0.8.5", - "schnorrkel 0.9.1", + "rand", + "schnorrkel", "serde", "serde_json", "tracing", @@ -7354,7 +7298,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", ] @@ -7382,7 +7326,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "scale-decode", "scale-value", "serde", @@ -7489,7 +7433,7 @@ dependencies = [ "log", "parity-scale-codec", "path-clean", - "rand 0.8.5", + "rand", ] [[package]] @@ -7753,7 +7697,7 @@ dependencies = [ "idna 0.4.0", "ipnet", "once_cell", - "rand 0.8.5", + "rand", "socket2 0.5.7", "thiserror", "tinyvec", @@ -7775,7 +7719,7 @@ dependencies = [ "lru-cache", "once_cell", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "resolv-conf", "smallvec", "thiserror", @@ -8172,7 +8116,7 @@ dependencies = [ "http 0.2.9", "hyper 0.14.31", "log", - "rand 0.8.5", + "rand", "tokio", "url", "xmltree", @@ -8628,7 +8572,7 @@ dependencies = [ "jsonrpsee-types 0.24.7", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand", "rustc-hash 2.0.0", "serde", "serde_json", @@ -9044,7 +8988,7 @@ dependencies = [ "either", "futures", "futures-timer", - "getrandom 0.2.15", + "getrandom", "instant", "libp2p-allow-block-list 0.2.0", "libp2p-connection-limits 0.2.1", @@ -9080,7 +9024,7 @@ dependencies = [ "either", "futures", "futures-timer", - "getrandom 0.2.15", + "getrandom", "libp2p-allow-block-list 0.4.0", "libp2p-connection-limits 0.4.0", "libp2p-core 0.42.0", @@ -9172,7 +9116,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec", "thiserror", @@ -9197,7 +9141,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink 0.4.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "smallvec", "thiserror", @@ -9251,7 +9195,7 @@ dependencies = [ "fnv", "futures", "futures-ticker", - "getrandom 0.2.15", + "getrandom", "hex_fmt", "libp2p-core 0.42.0", "libp2p-identity", @@ -9259,7 +9203,7 @@ dependencies = [ "prometheus-client 0.22.2", "quick-protobuf", "quick-protobuf-codec 0.3.1", - "rand 0.8.5", + "rand", "regex", "sha2 0.10.8", "smallvec", @@ -9326,7 +9270,7 @@ dependencies = [ "libsecp256k1", "multihash 0.19.1", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", "tracing", @@ -9353,7 +9297,7 @@ dependencies = [ "log", "quick-protobuf", "quick-protobuf-codec 0.2.0", - "rand 0.8.5", + "rand", "sha2 0.10.8", "smallvec", "thiserror", @@ -9380,7 +9324,7 @@ dependencies = [ "libp2p-swarm 0.45.1", "quick-protobuf", "quick-protobuf-codec 0.3.1", - "rand 0.8.5", + "rand", "sha2 0.10.8", "smallvec", "thiserror", @@ -9403,7 +9347,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm 0.43.7", "log", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.5.7", "tokio", @@ -9423,7 +9367,7 @@ dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", "libp2p-swarm 0.45.1", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.5.7", "tokio", @@ -9473,7 +9417,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2eeec39ad3ad0677551907dd304b2f13f17208ccebe333bef194076cd2e8921" dependencies = [ "bytes", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "futures", "libp2p-core 0.40.1", "libp2p-identity", @@ -9482,7 +9426,7 @@ dependencies = [ "multihash 0.19.1", "once_cell", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "snow", "static_assertions", @@ -9505,7 +9449,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm 0.43.7", "log", - "rand 0.8.5", + "rand", "void", ] @@ -9520,7 +9464,7 @@ dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", "libp2p-swarm 0.45.1", - "rand 0.8.5", + "rand", "tracing", "void", "web-time", @@ -9557,7 +9501,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "quinn 0.10.2", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustls 0.21.7", "socket2 0.5.7", @@ -9579,7 +9523,7 @@ dependencies = [ "libp2p-tls 0.5.0", "parking_lot 0.12.3", "quinn 0.11.2", - "rand 0.8.5", + "rand", "ring 0.17.8", "rustls 0.23.10", "socket2 0.5.7", @@ -9601,7 +9545,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm 0.43.7", "log", - "rand 0.8.5", + "rand", "smallvec", "void", ] @@ -9618,7 +9562,7 @@ dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", "libp2p-swarm 0.45.1", - "rand 0.8.5", + "rand", "smallvec", "tracing", "void", @@ -9642,7 +9586,7 @@ dependencies = [ "log", "multistream-select 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "once_cell", - "rand 0.8.5", + "rand", "smallvec", "tokio", "void", @@ -9663,7 +9607,7 @@ dependencies = [ "lru", "multistream-select 0.13.0 (git+https://github.com/gear-tech/rust-libp2p?branch=al/v0.54.1-patches)", "once_cell", - "rand 0.8.5", + "rand", "smallvec", "tokio", "tracing", @@ -9709,7 +9653,7 @@ dependencies = [ "libp2p-swarm 0.45.1", "libp2p-tcp 0.42.0", "libp2p-yamux 0.46.0", - "rand 0.8.5", + "rand", "tracing", ] @@ -9906,7 +9850,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -10056,7 +10000,7 @@ dependencies = [ "prost 0.12.6", "prost-build 0.11.9", "quinn 0.9.4", - "rand 0.8.5", + "rand", "rcgen 0.10.0", "ring 0.16.20", "rustls 0.20.8", @@ -10365,18 +10309,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "merlin" version = "3.0.0" @@ -10385,7 +10317,7 @@ checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core 0.6.4", + "rand_core", "zeroize", ] @@ -10436,7 +10368,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "windows-sys 0.48.0", ] @@ -10451,14 +10383,14 @@ dependencies = [ "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "either", "hashlink", "lioness", "log", "parking_lot 0.12.3", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "rand_distr", "subtle 2.6.1", "thiserror", @@ -10683,7 +10615,7 @@ dependencies = [ "num-complex", "num-rational", "num-traits", - "rand 0.8.5", + "rand", "rand_distr", "simba", "typenum", @@ -10707,7 +10639,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ "clap 3.2.25", - "rand 0.8.5", + "rand", ] [[package]] @@ -11443,7 +11375,7 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -11552,7 +11484,7 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "primitive-types", - "rand 0.8.5", + "rand", "rand_pcg", "scale-info", "scopeguard", @@ -11804,7 +11736,7 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "primitive-types", - "rand 0.8.5", + "rand", "scale-info", "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-runtime 39.0.1", @@ -12248,7 +12180,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand_chacha 0.3.1", + "rand_chacha", "scale-info", "serde", "sp-application-crypto 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -12432,8 +12364,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", - "rand 0.8.5", - "rand_core 0.6.4", + "rand", + "rand_core", "serde", "unicode-normalization", ] @@ -12453,7 +12385,7 @@ dependencies = [ "lz4", "memmap2 0.5.10", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "siphasher 0.3.11", "snap", "winapi", @@ -12558,7 +12490,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" dependencies = [ "base64ct", - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", ] @@ -12569,7 +12501,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" dependencies = [ "base64ct", - "rand_core 0.6.4", + "rand_core", "subtle 2.6.1", ] @@ -12732,7 +12664,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" dependencies = [ "phf_shared 0.11.2", - "rand 0.8.5", + "rand", ] [[package]] @@ -13257,8 +13189,8 @@ dependencies = [ "bitflags 2.5.0", "lazy_static", "num-traits", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "rand_xorshift", "regex-syntax 0.8.2", "rusty-fork", @@ -13423,7 +13355,7 @@ dependencies = [ "libc", "once_cell", "raw-cpuid", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "web-sys", "winapi", ] @@ -13539,7 +13471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f31999cfc7927c4e212e60fd50934ab40e8e8bfd2d493d6095d2d306bc0764d9" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustc-hash 1.1.0", "rustls 0.20.8", @@ -13557,7 +13489,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustc-hash 1.1.0", "rustls 0.21.7", @@ -13574,7 +13506,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddf517c03a109db8100448a4be38d498df8a210a99fe0e1b9eaf39e78c640efe" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.17.8", "rustc-hash 1.1.0", "rustls 0.23.10", @@ -13638,19 +13570,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -13658,21 +13577,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", + "rand_chacha", + "rand_core", "serde", ] -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - [[package]] name = "rand_chacha" version = "0.3.1" @@ -13680,16 +13589,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", + "rand_core", ] [[package]] @@ -13698,7 +13598,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom", ] [[package]] @@ -13708,16 +13608,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", + "rand", ] [[package]] @@ -13726,7 +13617,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -13735,7 +13626,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -13846,7 +13737,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom 0.2.15", + "getrandom", "redox_syscall 0.2.16", "thiserror", ] @@ -14121,7 +14012,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.15", + "getrandom", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -14256,7 +14147,7 @@ dependencies = [ "parity-scale-codec", "primitive-types", "proptest", - "rand 0.8.5", + "rand", "rlp", "ruint-macro", "serde", @@ -14294,7 +14185,7 @@ dependencies = [ "pallet-im-online", "parity-scale-codec", "proptest", - "rand 0.8.5", + "rand", "sha-1 0.10.1", "sp-authority-discovery", "sp-consensus-babe", @@ -14654,6 +14545,36 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-authority-discovery" +version = "0.45.0" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "ip_network", + "libp2p 0.52.4", + "linked_hash_set", + "log", + "multihash 0.19.1", + "parity-scale-codec", + "prost 0.12.6", + "prost-build 0.12.6", + "rand", + "sc-client-api", + "sc-network", + "sc-network-types", + "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-authority-discovery", + "sp-blockchain", + "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-keystore 0.40.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", + "sp-runtime 39.0.1", + "substrate-prometheus-endpoint", + "thiserror", +] + [[package]] name = "sc-block-builder" version = "0.42.0" @@ -14723,7 +14644,7 @@ dependencies = [ "names", "parity-bip39", "parity-scale-codec", - "rand 0.8.5", + "rand", "regex", "rpassword", "sc-client-api", @@ -14912,7 +14833,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -15206,7 +15127,7 @@ dependencies = [ "pin-project", "prost 0.12.6", "prost-build 0.12.6", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network-common", "sc-network-types", @@ -15355,7 +15276,7 @@ dependencies = [ "log", "multiaddr 0.18.1", "multihash 0.19.1", - "rand 0.8.5", + "rand", "thiserror", "zeroize", ] @@ -15377,7 +15298,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sc-network-common", @@ -15492,7 +15413,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "sc-chain-spec", "sc-client-api", "sc-rpc", @@ -15526,7 +15447,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -15614,7 +15535,7 @@ dependencies = [ "futures", "libc", "log", - "rand 0.8.5", + "rand", "rand_pcg", "regex", "sc-telemetry", @@ -15637,7 +15558,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand", "sc-network", "sc-utils", "serde", @@ -15926,24 +15847,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "schnorrkel" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "schnorrkel" version = "0.11.4" @@ -15953,10 +15856,10 @@ dependencies = [ "aead 0.5.2", "arrayref", "arrayvec 0.7.4", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "getrandom_or_panic", - "merlin 3.0.0", - "rand_core 0.6.4", + "merlin", + "rand_core", "serde_bytes", "sha2 0.10.8", "subtle 2.6.1", @@ -16013,7 +15916,7 @@ dependencies = [ "crc", "fxhash", "log", - "rand 0.8.5", + "rand", "slab", "thiserror", ] @@ -16055,7 +15958,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" dependencies = [ "bitcoin_hashes 0.14.0", - "rand 0.8.5", + "rand", "secp256k1-sys 0.10.0", ] @@ -16097,7 +16000,7 @@ dependencies = [ "hkdf 0.11.0", "lazy_static", "num", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "zbus", @@ -16393,18 +16296,6 @@ dependencies = [ "cc", ] -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - [[package]] name = "sha2" version = "0.9.9" @@ -16490,7 +16381,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" dependencies = [ "digest 0.10.7", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -16617,7 +16508,7 @@ dependencies = [ "itertools 0.12.1", "libm", "libsecp256k1", - "merlin 3.0.0", + "merlin", "no-std-net", "nom", "num-bigint", @@ -16626,10 +16517,10 @@ dependencies = [ "pbkdf2 0.12.2", "pin-project", "poly1305 0.8.0", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "ruzstd", - "schnorrkel 0.11.4", + "schnorrkel", "serde", "serde_json", "sha2 0.10.8", @@ -16669,8 +16560,8 @@ dependencies = [ "no-std-net", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "serde", "serde_json", "siphasher 1.0.1", @@ -16695,8 +16586,8 @@ dependencies = [ "aes-gcm 0.9.2", "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.3", - "rand_core 0.6.4", + "curve25519-dalek", + "rand_core", "ring 0.16.20", "rustc_version 0.4.0", "sha2 0.10.8", @@ -16734,7 +16625,7 @@ dependencies = [ "futures", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1 0.9.8", ] @@ -16750,7 +16641,7 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "rand 0.8.5", + "rand", "sha1", ] @@ -17031,15 +16922,15 @@ dependencies = [ "k256", "libsecp256k1", "log", - "merlin 3.0.0", + "merlin", "parity-bip39", "parity-scale-codec", "parking_lot 0.12.3", "paste", "primitive-types", - "rand 0.8.5", + "rand", "scale-info", - "schnorrkel 0.11.4", + "schnorrkel", "secp256k1 0.28.2", "secrecy", "serde", @@ -17077,15 +16968,15 @@ dependencies = [ "k256", "libsecp256k1", "log", - "merlin 3.0.0", + "merlin", "parity-bip39", "parity-scale-codec", "parking_lot 0.12.3", "paste", "primitive-types", - "rand 0.8.5", + "rand", "scale-info", - "schnorrkel 0.11.4", + "schnorrkel", "secp256k1 0.28.2", "secrecy", "serde", @@ -17451,7 +17342,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", "simple-mermaid", @@ -17478,7 +17369,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", "simple-mermaid", @@ -17594,7 +17485,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "smallvec", "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-externalities 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -17614,7 +17505,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "smallvec", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-externalities 0.29.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -17631,11 +17522,11 @@ version = "18.0.0" source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" dependencies = [ "aes-gcm 0.10.3", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "ed25519-dalek", "hkdf 0.12.4", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sha2 0.10.8", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -17756,7 +17647,7 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "scale-info", "schnellru", "sp-core 34.0.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -17779,7 +17670,7 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "scale-info", "schnellru", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -18020,7 +17911,7 @@ dependencies = [ "approx", "nalgebra", "num-traits", - "rand 0.8.5", + "rand", ] [[package]] @@ -18175,7 +18066,7 @@ checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", - "schnorrkel 0.11.4", + "schnorrkel", "sha2 0.10.8", "zeroize", ] @@ -18187,7 +18078,7 @@ source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", - "schnorrkel 0.11.4", + "schnorrkel", "sha2 0.10.8", "zeroize", ] @@ -18839,7 +18730,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -19037,7 +18928,7 @@ dependencies = [ "indexmap 1.9.3", "pin-project", "pin-project-lite", - "rand 0.8.5", + "rand", "slab", "tokio", "tokio-util", @@ -19234,7 +19125,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.9", "thiserror", @@ -19260,7 +19151,7 @@ dependencies = [ "idna 0.4.0", "ipnet", "once_cell", - "rand 0.8.5", + "rand", "smallvec", "thiserror", "tinyvec", @@ -19281,7 +19172,7 @@ dependencies = [ "lru-cache", "once_cell", "parking_lot 0.12.3", - "rand 0.8.5", + "rand", "resolv-conf", "smallvec", "thiserror", @@ -19329,7 +19220,7 @@ dependencies = [ "http 0.2.9", "httparse", "log", - "rand 0.8.5", + "rand", "rustls 0.21.7", "sha1", "thiserror", @@ -19349,7 +19240,7 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "rand 0.8.5", + "rand", "rustls 0.23.10", "rustls-pki-types", "sha1", @@ -19365,7 +19256,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -19546,7 +19437,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" dependencies = [ - "getrandom 0.2.15", + "getrandom", "serde", ] @@ -19702,9 +19593,9 @@ dependencies = [ "arrayref", "constcat", "digest 0.10.7", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.4", + "rand", + "rand_chacha", + "rand_core", "sha2 0.10.8", "sha3", "thiserror", @@ -19793,12 +19684,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -20142,7 +20027,7 @@ dependencies = [ "bytecheck", "enum-iterator 0.7.0", "enumset", - "getrandom 0.2.15", + "getrandom", "hex", "indexmap 1.9.3", "more-asserts", @@ -20547,7 +20432,7 @@ dependencies = [ "memfd", "memoffset 0.8.0", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.15", "wasmtime-asm-macros", "wasmtime-environ", @@ -21115,8 +21000,8 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.3", - "rand_core 0.6.4", + "curve25519-dalek", + "rand_core", "serde", "zeroize", ] @@ -21198,7 +21083,7 @@ dependencies = [ "nohash-hasher", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -21213,7 +21098,7 @@ dependencies = [ "nohash-hasher", "parking_lot 0.12.3", "pin-project", - "rand 0.8.5", + "rand", "static_assertions", "web-time", ] diff --git a/Cargo.toml b/Cargo.toml index 220fa2d1b25..c1f2db3e038 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -360,7 +360,7 @@ pallet-utility = { version = "38.0.0", git = "https://github.com/gear-tech/polka pallet-vesting = { version = "38.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } pallet-whitelist = { version = "37.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409", default-features = false } prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.17.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } -sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } +sc-authority-discovery = { version = "0.45.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } sc-block-builder = { version = "0.42.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } sc-consensus = { version = "0.44.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } sc-consensus-babe = { version = "0.45.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409" } @@ -519,7 +519,7 @@ page_size = { version = "0.6", default-features = false } # pallets/gear pathdiff = { version = "0.2.1", default-features = false } # utils/wasm-builder rand_pcg = "0.3.1" # pallets/gear rustc_version = "0.4.0" # utils/wasm-builder -schnorrkel = "0.9.1" # gcli +schnorrkel = "0.11.4" # gcli scopeguard = { version = "1.2.0", default-features = false } # pallets/gear tabled = "0.10.0" # utils/regression-analysis thousands = "0.2.0" # utils/regression-analysis diff --git a/gsdk/Cargo.toml b/gsdk/Cargo.toml index eaaed1c305e..1b54f5ff72f 100644 --- a/gsdk/Cargo.toml +++ b/gsdk/Cargo.toml @@ -30,7 +30,7 @@ serde_json.workspace = true subxt.workspace = true thiserror.workspace = true sp-runtime = { workspace = true, features = [ "std" ] } -sp-core.workspace = true +sp-core = { workspace = true, features = [ "std" , "full_crypto"] } gsdk-codegen.workspace = true parking_lot.workspace = true diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 55321627256..2b5fd458cf4 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -39,6 +39,7 @@ gear-runtime-common = { workspace = true, features = ["std"] } vara-runtime = { workspace = true, optional = true, features = ["std", "dev"] } # Substrate Client +sc-authority-discovery.workspace = true sc-chain-spec.workspace = true sc-executor.workspace = true sc-executor-common.workspace = true diff --git a/node/service/src/client.rs b/node/service/src/client.rs index 32a8817fb6e..130514a1d6d 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -84,6 +84,7 @@ pub trait RuntimeApiCollection: + sp_api::Metadata + sp_offchain::OffchainWorkerApi + sp_session::SessionKeys + + sp_authority_discovery::AuthorityDiscoveryApi + pallet_gear_rpc_runtime_api::GearApi + pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi + pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi @@ -102,6 +103,7 @@ impl RuntimeApiCollection for Api where + sp_api::Metadata + sp_offchain::OffchainWorkerApi + sp_session::SessionKeys + + sp_authority_discovery::AuthorityDiscoveryApi + pallet_gear_rpc_runtime_api::GearApi + pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi + pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index e62d53f257e..2a8e6f5689a 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -22,9 +22,7 @@ use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; use futures::FutureExt; use sc_client_api::{Backend as BackendT, BlockBackend, UsageProvider}; use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; -use sc_network::{ - event::Event, service::traits::NetworkService, NetworkBackend, NetworkEventStream, -}; +use sc_network::{service::traits::NetworkService, NetworkBackend}; use sc_network_sync::{strategy::warp::WarpSyncConfig, SyncingService}; use sc_service::{ error::Error as ServiceError, ChainSpec, Configuration, PartialComponents, RpcHandlers, @@ -33,7 +31,7 @@ use sc_service::{ use sc_telemetry::{Telemetry, TelemetryWorker}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_api::ConstructRuntimeApi; -use sp_core::traits::CodeExecutor; +use sp_authority_discovery::AuthorityDiscoveryApi; use sp_runtime::{ traits::{BlakeTwo256, Block as BlockT}, OpaqueExtrinsic, @@ -396,6 +394,9 @@ where ); let shared_voter_state = rpc_setup; + let auth_disc_publish_non_global_ips = config.network.allow_non_globals_in_dht; + let auth_disc_public_addresses = config.network.public_addresses.clone(); + let mut net_config = sc_network::config::FullNetworkConfiguration::<_, _, N>::new( &config.network, config @@ -548,6 +549,45 @@ where ); } + // Spawn authority discovery module. + if role.is_authority() { + use futures::StreamExt; + use sc_network::{Event, NetworkEventStream}; + + let authority_discovery_role = + sc_authority_discovery::Role::PublishAndDiscover(keystore_container.keystore()); + let dht_event_stream = + network + .event_stream("authority-discovery") + .filter_map(|e| async move { + match e { + Event::Dht(e) => Some(e), + _ => None, + } + }); + let (authority_discovery_worker, _service) = + sc_authority_discovery::new_worker_and_service_with_config( + sc_authority_discovery::WorkerConfig { + publish_non_global_ips: auth_disc_publish_non_global_ips, + public_addresses: auth_disc_public_addresses, + // Require that authority discovery records are signed. + strict_record_validation: true, + ..Default::default() + }, + client.clone(), + Arc::new(network.clone()), + Box::pin(dht_event_stream), + authority_discovery_role, + prometheus_registry.clone(), + ); + + task_manager.spawn_handle().spawn( + "authority-discovery-worker", + Some("networking"), + Box::pin(authority_discovery_worker.run()), + ); + } + // if the node isn't actively participating in consensus then it doesn't // need a keystore, regardless of which protocol we use below. let keystore = if role.is_authority() { diff --git a/node/service/src/rpc/runtime_info.rs b/node/service/src/rpc/runtime_info.rs index cec57da8d17..251c2132953 100644 --- a/node/service/src/rpc/runtime_info.rs +++ b/node/service/src/rpc/runtime_info.rs @@ -22,7 +22,6 @@ use jsonrpsee::{ core::RpcResult, proc_macros::rpc, types::{ - error::{ErrorCode, ErrorObject}, ErrorObjectOwned, }, }; diff --git a/pallets/gear-builtin/rpc/src/lib.rs b/pallets/gear-builtin/rpc/src/lib.rs index 049ecf9385b..5c2f0f9946f 100644 --- a/pallets/gear-builtin/rpc/src/lib.rs +++ b/pallets/gear-builtin/rpc/src/lib.rs @@ -21,10 +21,7 @@ use jsonrpsee::{ core::RpcResult, proc_macros::rpc, - types::{ - error::{ErrorCode, ErrorObject}, - ErrorObjectOwned, - }, + types::{error::ErrorObject, ErrorObjectOwned}, }; pub use pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi as GearBuiltinRuntimeApi; use sp_api::ProvideRuntimeApi; diff --git a/pallets/gear-eth-bridge/rpc/src/lib.rs b/pallets/gear-eth-bridge/rpc/src/lib.rs index c210ffd323e..a038b969e17 100644 --- a/pallets/gear-eth-bridge/rpc/src/lib.rs +++ b/pallets/gear-eth-bridge/rpc/src/lib.rs @@ -18,14 +18,7 @@ //! RPC interface for the gear module. -use jsonrpsee::{ - core::RpcResult, - proc_macros::rpc, - types::{ - error::{ErrorCode, ErrorObject}, - ErrorObjectOwned, - }, -}; +use jsonrpsee::{core::RpcResult, proc_macros::rpc, types::error::ErrorObject}; use pallet_gear_eth_bridge_rpc_runtime_api::Proof; use primitive_types::H256; use sp_api::ProvideRuntimeApi; diff --git a/pallets/gear/rpc/src/lib.rs b/pallets/gear/rpc/src/lib.rs index e6b32b6dc09..8646ca3d0be 100644 --- a/pallets/gear/rpc/src/lib.rs +++ b/pallets/gear/rpc/src/lib.rs @@ -28,7 +28,7 @@ use jsonrpsee::{ core::{async_trait, RpcResult}, proc_macros::rpc, types::{ - error::{ErrorCode, ErrorObject}, + error::ErrorObject, ErrorObjectOwned, }, }; @@ -462,7 +462,7 @@ where self.max_batch_size )), ) - .into()); + ); } let at_hash = at.unwrap_or_else(|| self.client.info().best_hash); @@ -557,7 +557,7 @@ where self.max_batch_size )), ) - .into()); + ); } let at_hash = at.unwrap_or_else(|| self.client.info().best_hash); diff --git a/pallets/staking-rewards/rpc/src/lib.rs b/pallets/staking-rewards/rpc/src/lib.rs index 350625e2c23..87325df9f4c 100644 --- a/pallets/staking-rewards/rpc/src/lib.rs +++ b/pallets/staking-rewards/rpc/src/lib.rs @@ -21,10 +21,7 @@ use jsonrpsee::{ core::RpcResult, proc_macros::rpc, - types::{ - error::{ErrorCode, ErrorObject}, - ErrorObjectOwned, - }, + types::{error::ErrorObject, ErrorObjectOwned}, }; pub use pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi as GearStakingRewardsRuntimeApi; use pallet_gear_staking_rewards_rpc_runtime_api::InflationInfo; @@ -85,7 +82,7 @@ where let at_hash = at.unwrap_or_else(|| self.client.info().best_hash); fn map_err(err: impl std::fmt::Debug, desc: &'static str) -> ErrorObjectOwned { - ErrorObject::owned(8000, desc, Some(format!("{err:?}"))).into() + ErrorObject::owned(8000, desc, Some(format!("{err:?}"))) } api.inflation_info(at_hash) diff --git a/runtime/vara/src/governance/fellowship.rs b/runtime/vara/src/governance/fellowship.rs index 1b6e45c6972..619e296d985 100644 --- a/runtime/vara/src/governance/fellowship.rs +++ b/runtime/vara/src/governance/fellowship.rs @@ -370,4 +370,6 @@ impl pallet_ranked_collective::Config for Runtime type VoteWeight = pallet_ranked_collective::Geometric; type MemberSwappedHandler = (); type MaxMemberCount = (); + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkSetup = (); } diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 5a63aba7b46..a1ba4fbd97a 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -98,6 +98,7 @@ use scale_info::TypeInfo; use sp_api::impl_runtime_apis; #[cfg(any(feature = "std", test))] use sp_api::{CallApiAt, CallContext, ProofRecorder}; +use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; use sp_core::{crypto::KeyTypeId, ConstBool, ConstU64, ConstU8, OpaqueMetadata, H256}; #[cfg(any(feature = "std", test))] use sp_externalities::Extensions; @@ -1744,6 +1745,12 @@ impl_runtime_apis_plus_common! { } + impl sp_authority_discovery::AuthorityDiscoveryApi for Runtime { + fn authorities() -> Vec { + AuthorityDiscovery::authorities() + } + } + impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi for Runtime { diff --git a/utils/gring/src/keystore.rs b/utils/gring/src/keystore.rs index 36a3c7bbdd1..fd77963b3b2 100644 --- a/utils/gring/src/keystore.rs +++ b/utils/gring/src/keystore.rs @@ -16,11 +16,11 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use crate::{ss58, KeypairInfo, Scrypt}; +use crate::{ss58, KeypairInfo, Scrypt, Keypair}; use anyhow::{anyhow, Result}; use base64::{engine::general_purpose::STANDARD, Engine as _}; use rand::RngCore; -use schnorrkel::Keypair; +// use schnorrkel::Keypair; use serde::{Deserialize, Serialize}; use std::time::{SystemTime, UNIX_EPOCH}; diff --git a/utils/gring/src/pair.rs b/utils/gring/src/pair.rs index abe3aa3b28c..0a9565c7f75 100644 --- a/utils/gring/src/pair.rs +++ b/utils/gring/src/pair.rs @@ -16,8 +16,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +use crate::Keypair; use anyhow::{anyhow, Result}; -use schnorrkel::{Keypair, KEYPAIR_LENGTH, PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH}; +use schnorrkel::{KEYPAIR_LENGTH, PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH}; /// Key info wrapped in pkcs8 format. /// From 1f68b4d4a05a6bf0293fadf3e4d198aa75a71e47 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sat, 19 Oct 2024 11:47:55 +0200 Subject: [PATCH 18/59] clippy --- gsdk/tests/rpc.rs | 10 ++++----- node/service/src/client.rs | 2 -- node/service/src/lib.rs | 31 +++++++++++++--------------- node/service/src/rpc/runtime_info.rs | 10 ++------- pallets/payment/src/mock.rs | 2 ++ pallets/staking-rewards/src/mock.rs | 13 +----------- utils/gring/src/keystore.rs | 2 +- 7 files changed, 25 insertions(+), 45 deletions(-) diff --git a/gsdk/tests/rpc.rs b/gsdk/tests/rpc.rs index 8ae224973ce..15a269c4fb1 100644 --- a/gsdk/tests/rpc.rs +++ b/gsdk/tests/rpc.rs @@ -24,7 +24,7 @@ use gear_core::{ }; use gear_core_errors::{ReplyCode, SuccessReplyReason}; use gsdk::{Api, Error, Result}; -use jsonrpsee::types::error::{CallError, ErrorObject}; +use jsonrpsee::types::error::ErrorObject; use parity_scale_codec::Encode; use std::{borrow::Cow, process::Command, str::FromStr, time::Instant}; use subxt::{error::RpcError, utils::H256, Error as SubxtError}; @@ -50,11 +50,11 @@ async fn pallet_errors_formatting() -> Result<()> { .expect_err("Must return error"); let expected_err = Error::Subxt(SubxtError::Rpc(RpcError::ClientError(Box::new( - CallError::Custom(ErrorObject::owned( + ErrorObject::owned( 8000, "Runtime error", Some("Extrinsic `gear.upload_program` failed: 'ProgramConstructionFailed'"), - )), + ), )))); assert_eq!(format!("{err}"), format!("{expected_err}")); @@ -285,11 +285,11 @@ async fn test_runtime_wasm_blob_version_history() -> Result<()> { .runtime_wasm_blob_version(Some(no_method_block_hash)) .await; - let err = CallError::Custom(ErrorObject::owned( + let err = ErrorObject::owned( 9000, "Unable to find WASM blob version in WASM blob", None::, - )); + ); assert!( matches!( &wasm_blob_version_result, diff --git a/node/service/src/client.rs b/node/service/src/client.rs index 130514a1d6d..b9a3049c8ef 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -52,7 +52,6 @@ pub type FullClient = sc_service::TFullClient Result { match &config.chain_spec { #[cfg(feature = "vara-native")] - spec if spec.is_vara() => new_full_base::< - sc_network::NetworkWorker<_, _>, - vara_runtime::RuntimeApi, - // WasmExecutor, - >( - config, - disable_hardware_benchmarks, - |_, _| (), - max_gas, - rpc_calculations_multiplier, - rpc_max_batch_size, - ) - .map(|NewFullBase { task_manager, .. }| task_manager), + spec if spec.is_vara() => { + new_full_base::, vara_runtime::RuntimeApi>( + config, + disable_hardware_benchmarks, + |_, _| (), + max_gas, + rpc_calculations_multiplier, + rpc_max_batch_size, + ) + .map(|NewFullBase { task_manager, .. }| task_manager) + } _ => Err(ServiceError::Other("Invalid chain spec".into())), } } diff --git a/node/service/src/rpc/runtime_info.rs b/node/service/src/rpc/runtime_info.rs index 251c2132953..477f3f28231 100644 --- a/node/service/src/rpc/runtime_info.rs +++ b/node/service/src/rpc/runtime_info.rs @@ -18,13 +18,7 @@ //! This module is used to add custom runtime irrelevant RPC endpoints to the node. -use jsonrpsee::{ - core::RpcResult, - proc_macros::rpc, - types::{ - ErrorObjectOwned, - }, -}; +use jsonrpsee::{core::RpcResult, proc_macros::rpc, types::ErrorObjectOwned}; use sc_client_api::StorageProvider; use sc_executor_common::runtime_blob::RuntimeBlob; use sp_blockchain::HeaderBackend; @@ -102,5 +96,5 @@ fn map_err_into_rpc_err(err: impl std::fmt::Debug) -> ErrorObjectOwned { fn rpc_err(message: &str, data: Option) -> ErrorObjectOwned { use jsonrpsee::types::error::ErrorObject; - ErrorObject::owned(9000, message, data).into() + ErrorObject::owned(9000, message, data) } diff --git a/pallets/payment/src/mock.rs b/pallets/payment/src/mock.rs index 94b5fa00056..71d1529517c 100644 --- a/pallets/payment/src/mock.rs +++ b/pallets/payment/src/mock.rs @@ -30,6 +30,7 @@ use frame_support::{ use frame_support_test::TestRandomness; use frame_system::{self as system, mocking, pallet_prelude::BlockNumberFor}; use pallet_gear_voucher::VoucherId; +#[allow(deprecated)] use pallet_transaction_payment::CurrencyAdapter; use primitive_types::H256; use sp_runtime::{ @@ -98,6 +99,7 @@ parameter_types! { pub const QueueLengthStep: u64 = 5; } +#[allow(deprecated)] impl pallet_transaction_payment::Config for Test { type RuntimeEvent = RuntimeEvent; type OnChargeTransaction = CurrencyAdapter; diff --git a/pallets/staking-rewards/src/mock.rs b/pallets/staking-rewards/src/mock.rs index 7bfa76495dc..9784b8cbbae 100644 --- a/pallets/staking-rewards/src/mock.rs +++ b/pallets/staking-rewards/src/mock.rs @@ -272,13 +272,8 @@ parameter_types! { impl pallet_treasury::Config for Test { type PalletId = TreasuryPalletId; type Currency = Balances; - type ApproveOrigin = EnsureRoot; type RejectOrigin = EnsureRoot; type RuntimeEvent = RuntimeEvent; - type OnSlash = (); - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = (); type SpendPeriod = SpendPeriod; type Burn = Burn; type BurnDestination = (); @@ -350,7 +345,6 @@ impl multi_phase::Config for Test { type EstimateCallFee = ConstU32<1_000>; type SignedPhase = SignedPhase; type UnsignedPhase = UnsignedPhase; - type BetterUnsignedThreshold = BetterUnsignedThreshold; type BetterSignedThreshold = (); type OffchainRepeat = OffchainRepeat; type MinerTxPriority = MinerTxPriority; @@ -518,6 +512,7 @@ where .iter() .map(|x| (x.0, x.0, x.1.clone())) .collect(), + ..Default::default() } .assimilate_storage(&mut storage) .unwrap(); @@ -782,13 +777,8 @@ pub(crate) mod two_block_producers { impl pallet_treasury::Config for Test { type PalletId = TreasuryPalletId; type Currency = Balances; - type ApproveOrigin = EnsureRoot; type RejectOrigin = EnsureRoot; type RuntimeEvent = RuntimeEvent; - type OnSlash = (); - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = (); type SpendPeriod = SpendPeriod; type Burn = Burn; type BurnDestination = (); @@ -838,7 +828,6 @@ pub(crate) mod two_block_producers { type EstimateCallFee = ConstU32<1_000>; type SignedPhase = SignedPhase; type UnsignedPhase = UnsignedPhase; - type BetterUnsignedThreshold = BetterUnsignedThreshold; type BetterSignedThreshold = (); type OffchainRepeat = OffchainRepeat; type MinerTxPriority = MinerTxPriority; diff --git a/utils/gring/src/keystore.rs b/utils/gring/src/keystore.rs index fd77963b3b2..7704b4779fc 100644 --- a/utils/gring/src/keystore.rs +++ b/utils/gring/src/keystore.rs @@ -16,7 +16,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use crate::{ss58, KeypairInfo, Scrypt, Keypair}; +use crate::{ss58, Keypair, KeypairInfo, Scrypt}; use anyhow::{anyhow, Result}; use base64::{engine::general_purpose::STANDARD, Engine as _}; use rand::RngCore; From 0227cfe2532cce21633a467271b82d9048fb8c6d Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sat, 19 Oct 2024 11:48:12 +0200 Subject: [PATCH 19/59] update test extensions --- Cargo.lock | 2 ++ node/authorship/Cargo.toml | 1 + node/authorship/src/tests.rs | 7 +++---- node/cli/Cargo.toml | 1 + node/cli/src/benchmarking.rs | 2 ++ node/cli/src/command.rs | 6 +++--- node/testing/src/keyring.rs | 2 +- pallets/gear/rpc/src/lib.rs | 11 +++-------- runtime/vara/src/lib.rs | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad8835f0978..b6aa446ce72 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6338,6 +6338,7 @@ dependencies = [ "sp-consensus-babe", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", + "sp-io 38.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-runtime 39.0.1", "sp-state-machine 0.43.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-timestamp", @@ -6376,6 +6377,7 @@ dependencies = [ "clap 4.5.13", "frame-benchmarking", "frame-benchmarking-cli", + "frame-metadata-hash-extension", "frame-system", "futures", "gcli", diff --git a/node/authorship/Cargo.toml b/node/authorship/Cargo.toml index 2dea80d520d..86d36070dd7 100644 --- a/node/authorship/Cargo.toml +++ b/node/authorship/Cargo.toml @@ -33,6 +33,7 @@ sc-service.workspace = true sp-core = { workspace = true, features = ["std"] } sp-api = { workspace = true, features = ["std"] } sp-consensus.workspace = true +sp-io = { workspace = true, features = ["std"] } sp-runtime = { workspace = true, features = ["std"] } sp-blockchain.workspace = true sp-inherents = { workspace = true, features = ["std"] } diff --git a/node/authorship/src/tests.rs b/node/authorship/src/tests.rs index 779f566311f..c87ebabeea4 100644 --- a/node/authorship/src/tests.rs +++ b/node/authorship/src/tests.rs @@ -29,7 +29,6 @@ use crate::{ block_builder::{BlockBuilder, BlockBuilderBuilder}, ProposerFactory, }; - use codec::{Decode, Encode}; use core::convert::TryFrom; use demo_constructor::{Calls, Scheme, WASM_BINARY}; @@ -69,8 +68,8 @@ use std::{ }; use testing::{ client::{ - Backend as TestBackend, Client as TestClient, ClientBlockImportExt, TestClientBuilder, - TestClientBuilderExt, + Backend as TestBackend, Client as TestClient, ClientBlockImportExt, ExtendHostFunctions, + TestClientBuilder, TestClientBuilderExt, }, keyring::{alice, bob, sign, signed_extra, CheckedExtrinsic}, }; @@ -271,7 +270,7 @@ pub fn init() -> ( } pub fn create_proposal( - mut client: Arc, + client: Arc, _backend: Arc, txpool: Arc, spawner: sp_core::testing::TaskExecutor, diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 3de1a1494d6..d5362db079d 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -50,6 +50,7 @@ sp-timestamp = { workspace = true, features = ["std"] } # Substrate other (benchmarking etc) frame-system = { workspace = true, features = ["std"] } +frame-metadata-hash-extension = { workspace = true, features = ["std"] } frame-benchmarking = { workspace = true, optional = true, features = ["std"] } frame-benchmarking-cli = { workspace = true, optional = true } diff --git a/node/cli/src/benchmarking.rs b/node/cli/src/benchmarking.rs index af13934f899..1ed3f422dc2 100644 --- a/node/cli/src/benchmarking.rs +++ b/node/cli/src/benchmarking.rs @@ -84,6 +84,7 @@ macro_rules! with_signed_payload { runtime::CustomCheckNonce::::from($nonce), frame_system::CheckWeight::::new(), pallet_gear_payment::CustomChargeTransactionPayment::::from($tip), + frame_metadata_hash_extension::CheckMetadataHash::::new(false), ); let $raw_payload = runtime::SignedPayload::from_raw( @@ -99,6 +100,7 @@ macro_rules! with_signed_payload { (), (), (), + None, ), ); diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index c4606d7a02b..4708c627a01 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -20,7 +20,7 @@ use crate::cli::{Cli, Subcommand}; use runtime_primitives::Block; use sc_cli::{ChainSpec, SubstrateCli}; use sc_service::config::BasePath; -use service::{chain_spec, IdentifyVariant}; +use service::{chain_spec, ExtendHostFunctions, IdentifyVariant}; impl SubstrateCli for Cli { fn impl_name() -> String { @@ -231,10 +231,10 @@ pub fn run() -> sc_cli::Result<()> { match &config.chain_spec { #[cfg(feature = "vara-native")] spec if spec.is_vara() => cmd - .run::, ExtendedHostFunctions< sp_io::SubstrateHostFunctions, ExtendHostFunctions, - >>(config), + >>(Some(config.chain_spec)), _ => Err("invalid chain spec".into()), } } diff --git a/node/testing/src/keyring.rs b/node/testing/src/keyring.rs index 51266ffa5fe..6c6499c6769 100644 --- a/node/testing/src/keyring.rs +++ b/node/testing/src/keyring.rs @@ -82,10 +82,10 @@ pub fn signed_extra(nonce: Nonce) -> SignedExtra { frame_system::CheckTxVersion::new(), frame_system::CheckGenesis::new(), frame_system::CheckEra::from(Era::mortal(256, 0)), - frame_metadata_hash_extension::CheckMetadataHash::new(true), CustomCheckNonce::from(nonce), frame_system::CheckWeight::new(), CustomChargeTransactionPayment::from(0), + frame_metadata_hash_extension::CheckMetadataHash::new(true), ) } diff --git a/pallets/gear/rpc/src/lib.rs b/pallets/gear/rpc/src/lib.rs index 8646ca3d0be..209d23644cb 100644 --- a/pallets/gear/rpc/src/lib.rs +++ b/pallets/gear/rpc/src/lib.rs @@ -27,10 +27,7 @@ use gear_core_errors::*; use jsonrpsee::{ core::{async_trait, RpcResult}, proc_macros::rpc, - types::{ - error::ErrorObject, - ErrorObjectOwned, - }, + types::{error::ErrorObject, ErrorObjectOwned}, }; pub use pallet_gear_rpc_runtime_api::GearApi as GearRuntimeApi; use pallet_gear_rpc_runtime_api::{GasInfo, HandleKind, ReplyInfo}; @@ -461,8 +458,7 @@ where "Batch size must be lower than {:?}", self.max_batch_size )), - ) - ); + )); } let at_hash = at.unwrap_or_else(|| self.client.info().best_hash); @@ -556,8 +552,7 @@ where "Batch size must be lower than {:?}", self.max_batch_size )), - ) - ); + )); } let at_hash = at.unwrap_or_else(|| self.client.info().best_hash); diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index a1ba4fbd97a..d750aca72f6 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1625,10 +1625,10 @@ pub type SignedExtra = ( frame_system::CheckTxVersion, frame_system::CheckGenesis, frame_system::CheckEra, - frame_metadata_hash_extension::CheckMetadataHash, CustomCheckNonce, frame_system::CheckWeight, CustomChargeTransactionPayment, + frame_metadata_hash_extension::CheckMetadataHash, ); /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = From f89c2a1a97b2a0feac3665c87e9b4dfaa18f3182 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sat, 19 Oct 2024 12:06:00 +0200 Subject: [PATCH 20/59] add rust-src --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 4b31897a399..33f18ed66bc 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] channel = "nightly-2024-07-30" -components = [ "llvm-tools" ] +components = [ "llvm-tools", "rust-src" ] targets = [ "wasm32-unknown-unknown" ] profile = "default" From 0e4f8d53a504c89cf76001bd915c1d7783943508 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sat, 19 Oct 2024 12:25:13 +0200 Subject: [PATCH 21/59] update gsdk metadata --- gsdk/src/metadata/generated.rs | 3061 ++++++++++++++++++++++++++++---- 1 file changed, 2719 insertions(+), 342 deletions(-) diff --git a/gsdk/src/metadata/generated.rs b/gsdk/src/metadata/generated.rs index 4d3c64a6c0b..83baf65e88b 100644 --- a/gsdk/src/metadata/generated.rs +++ b/gsdk/src/metadata/generated.rs @@ -66,6 +66,20 @@ pub mod runtime_types { pub target_number: _1, } } + pub mod frame_metadata_hash_extension { + use super::runtime_types; + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct CheckMetadataHash { + pub mode: runtime_types::frame_metadata_hash_extension::Mode, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub enum Mode { + #[codec(index = 0)] + Disabled, + #[codec(index = 1)] + Enabled, + } + } pub mod frame_support { use super::runtime_types; pub mod dispatch { @@ -176,6 +190,13 @@ pub mod runtime_types { #[codec(index = 1)] Reserved, } + #[derive( + Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode, + )] + pub struct IdAmount<_0, _1> { + pub id: _0, + pub amount: _1, + } } } } @@ -262,25 +283,30 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::remark`]."] + #[doc = "Make some on-chain remark."] + #[doc = ""] + #[doc = "Can be executed by every `origin`."] remark { remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] - #[doc = "See [`Pallet::set_heap_pages`]."] + #[doc = "Set the number of pages in the WebAssembly environment's heap."] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] - #[doc = "See [`Pallet::set_code`]."] + #[doc = "Set the new runtime code."] set_code { code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 3)] - #[doc = "See [`Pallet::set_code_without_checks`]."] + #[doc = "Set the new runtime code without doing any checks of the given `code`."] + #[doc = ""] + #[doc = "Note that runtime upgrades will not run if this is called with a not-increasing spec"] + #[doc = "version!"] set_code_without_checks { code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 4)] - #[doc = "See [`Pallet::set_storage`]."] + #[doc = "Set some items of storage."] set_storage { items: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -288,23 +314,59 @@ pub mod runtime_types { )>, }, #[codec(index = 5)] - #[doc = "See [`Pallet::kill_storage`]."] + #[doc = "Kill some items from storage."] kill_storage { keys: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, }, #[codec(index = 6)] - #[doc = "See [`Pallet::kill_prefix`]."] + #[doc = "Kill all storage items with a key that starts with the given prefix."] + #[doc = ""] + #[doc = "**NOTE:** We rely on the Root origin to provide us the number of subkeys under"] + #[doc = "the prefix we are removing to accurately calculate the weight of this function."] kill_prefix { prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] - #[doc = "See [`Pallet::remark_with_event`]."] + #[doc = "Make some on-chain remark and emit event."] remark_with_event { remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, + #[codec(index = 9)] + #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] + #[doc = "later."] + #[doc = ""] + #[doc = "This call requires Root origin."] + authorize_upgrade { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 10)] + #[doc = "Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied"] + #[doc = "later."] + #[doc = ""] + #[doc = "WARNING: This authorizes an upgrade that will take place without any safety checks, for"] + #[doc = "example that the spec name remains the same and that the version number increases. Not"] + #[doc = "recommended for normal use. Use `authorize_upgrade` instead."] + #[doc = ""] + #[doc = "This call requires Root origin."] + authorize_upgrade_without_checks { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 11)] + #[doc = "Provide the preimage (runtime binary) `code` for an upgrade that has been authorized."] + #[doc = ""] + #[doc = "If the authorization required a version check, this call will ensure the spec name"] + #[doc = "remains unchanged and that the spec version has increased."] + #[doc = ""] + #[doc = "Depending on the runtime's `OnSetCode` configuration, this function may directly apply"] + #[doc = "the new `code` in the same block or attempt to schedule the upgrade."] + #[doc = ""] + #[doc = "All origins are allowed."] + apply_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "Error for the System pallet"] @@ -331,6 +393,15 @@ pub mod runtime_types { #[codec(index = 5)] #[doc = "The origin filter prevent the call to be dispatched."] CallFiltered, + #[codec(index = 6)] + #[doc = "A multi-block migration is ongoing and prevents the current code from being replaced."] + MultiBlockMigrationsOngoing, + #[codec(index = 7)] + #[doc = "No upgrade authorized."] + NothingAuthorized, + #[codec(index = 8)] + #[doc = "The submitted code is not authorized."] + Unauthorized, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "Event for the System pallet."] @@ -365,6 +436,12 @@ pub mod runtime_types { sender: ::subxt::ext::subxt_core::utils::AccountId32, hash: ::subxt::ext::subxt_core::utils::H256, }, + #[codec(index = 6)] + #[doc = "An upgrade was authorized."] + UpgradeAuthorized { + code_hash: ::subxt::ext::subxt_core::utils::H256, + check_version: ::core::primitive::bool, + }, } } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] @@ -376,6 +453,11 @@ pub mod runtime_types { pub data: _1, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct CodeUpgradeAuthorization { + pub code_hash: ::subxt::ext::subxt_core::utils::H256, + pub check_version: ::core::primitive::bool, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, @@ -1046,7 +1128,10 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::report_equivocation`]."] + #[doc = "Report authority equivocation/misbehavior. This method will verify"] + #[doc = "the equivocation proof and validate the given key ownership proof"] + #[doc = "against the extracted offender. If both are valid, the offence will"] + #[doc = "be reported."] report_equivocation { equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< @@ -1059,7 +1144,14 @@ pub mod runtime_types { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 1)] - #[doc = "See [`Pallet::report_equivocation_unsigned`]."] + #[doc = "Report authority equivocation/misbehavior. This method will verify"] + #[doc = "the equivocation proof and validate the given key ownership proof"] + #[doc = "against the extracted offender. If both are valid, the offence will"] + #[doc = "be reported."] + #[doc = "This extrinsic must be called unsigned and it is expected that only"] + #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] + #[doc = "if the block author is defined it will be defined as the equivocation"] + #[doc = "reporter."] report_equivocation_unsigned { equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< @@ -1072,7 +1164,10 @@ pub mod runtime_types { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 2)] - #[doc = "See [`Pallet::plan_config_change`]."] + #[doc = "Plan an epoch config change. The epoch config change is recorded and will be enacted on"] + #[doc = "the next call to `enact_epoch_change`. The config will be activated one epoch after."] + #[doc = "Multiple calls to this method will replace any existing planned config change that had"] + #[doc = "not been enacted yet."] plan_config_change { config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, }, @@ -1130,7 +1225,16 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::rebag`]."] + #[doc = "Declare that some `dislocated` account has, through rewards or penalties, sufficiently"] + #[doc = "changed its score that it should properly fall into a different bag than its current"] + #[doc = "one."] + #[doc = ""] + #[doc = "Anyone can call this function about any potentially dislocated account."] + #[doc = ""] + #[doc = "Will always update the stored score of `dislocated` to the correct score, based on"] + #[doc = "`ScoreProvider`."] + #[doc = ""] + #[doc = "If `dislocated` does not exists, it returns an error."] rebag { dislocated: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1138,7 +1242,16 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::put_in_front_of`]."] + #[doc = "Move the caller's Id directly in front of `lighter`."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and can only be called by the Id of"] + #[doc = "the account going in front of `lighter`. Fee is payed by the origin under all"] + #[doc = "circumstances."] + #[doc = ""] + #[doc = "Only works if:"] + #[doc = ""] + #[doc = "- both nodes are within the same bag,"] + #[doc = "- and `origin` has a greater `Score` than `lighter`."] put_in_front_of { lighter: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1146,7 +1259,9 @@ pub mod runtime_types { >, }, #[codec(index = 2)] - #[doc = "See [`Pallet::put_in_front_of_other`]."] + #[doc = "Same as [`Pallet::put_in_front_of`], but it can be called by anyone."] + #[doc = ""] + #[doc = "Fee is paid by the origin under all circumstances."] put_in_front_of_other { heavier: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1192,7 +1307,13 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::transfer_allow_death`]."] + #[doc = "Transfer some liquid free balance to another account."] + #[doc = ""] + #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] + #[doc = "If the sender's account is below the existential deposit as a result"] + #[doc = "of the transfer, the account will be reaped."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] transfer_allow_death { dest: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1202,7 +1323,8 @@ pub mod runtime_types { value: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "See [`Pallet::force_transfer`]."] + #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] + #[doc = "may be specified."] force_transfer { source: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1216,7 +1338,12 @@ pub mod runtime_types { value: ::core::primitive::u128, }, #[codec(index = 3)] - #[doc = "See [`Pallet::transfer_keep_alive`]."] + #[doc = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] + #[doc = "kill the origin account."] + #[doc = ""] + #[doc = "99% of the time you want [`transfer_allow_death`] instead."] + #[doc = ""] + #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] transfer_keep_alive { dest: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1226,7 +1353,21 @@ pub mod runtime_types { value: ::core::primitive::u128, }, #[codec(index = 4)] - #[doc = "See [`Pallet::transfer_all`]."] + #[doc = "Transfer the entire transferable balance from the caller account."] + #[doc = ""] + #[doc = "NOTE: This function only attempts to transfer _transferable_ balances. This means that"] + #[doc = "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be"] + #[doc = "transferred by this function. To ensure that this function results in a killed account,"] + #[doc = "you might need to prepare the account by removing any reference counters, storage"] + #[doc = "deposits, etc..."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be Signed."] + #[doc = ""] + #[doc = "- `dest`: The recipient of the transfer."] + #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] + #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] + #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] + #[doc = " keep the sender account alive (true)."] transfer_all { dest: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1235,7 +1376,9 @@ pub mod runtime_types { keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] - #[doc = "See [`Pallet::force_unreserve`]."] + #[doc = "Unreserve some balance from a user by force."] + #[doc = ""] + #[doc = "Can only be called by ROOT."] force_unreserve { who: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1244,14 +1387,23 @@ pub mod runtime_types { amount: ::core::primitive::u128, }, #[codec(index = 6)] - #[doc = "See [`Pallet::upgrade_accounts`]."] + #[doc = "Upgrade a specified account."] + #[doc = ""] + #[doc = "- `origin`: Must be `Signed`."] + #[doc = "- `who`: The account to be upgraded."] + #[doc = ""] + #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] + #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] + #[doc = "possibility of churn)."] upgrade_accounts { who: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::utils::AccountId32, >, }, #[codec(index = 8)] - #[doc = "See [`Pallet::force_set_balance`]."] + #[doc = "Set the regular balance of a given account."] + #[doc = ""] + #[doc = "The dispatch origin for this call is `root`."] force_set_balance { who: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1260,6 +1412,30 @@ pub mod runtime_types { #[codec(compact)] new_free: ::core::primitive::u128, }, + #[codec(index = 9)] + #[doc = "Adjust the total issuance in a saturating way."] + #[doc = ""] + #[doc = "Can only be called by root and always needs a positive `delta`."] + #[doc = ""] + #[doc = "# Example"] + force_adjust_total_issuance { + direction: runtime_types::pallet_balances::types::AdjustmentDirection, + #[codec(compact)] + delta: ::core::primitive::u128, + }, + #[codec(index = 10)] + #[doc = "Burn the specified liquid free balance from the origin account."] + #[doc = ""] + #[doc = "If the origin's account ends up below the existential deposit as a result"] + #[doc = "of the burn and `keep_alive` is false, the account will be reaped."] + #[doc = ""] + #[doc = "Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,"] + #[doc = "this `burn` operation will reduce total issuance by the amount _burned_."] + burn { + #[codec(compact)] + value: ::core::primitive::u128, + keep_alive: ::core::primitive::bool, + }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Error` enum of this pallet."] @@ -1289,11 +1465,17 @@ pub mod runtime_types { #[doc = "Number of named reserves exceed `MaxReserves`."] TooManyReserves, #[codec(index = 8)] - #[doc = "Number of holds exceed `MaxHolds`."] + #[doc = "Number of holds exceed `VariantCountOf`."] TooManyHolds, #[codec(index = 9)] #[doc = "Number of freezes exceed `MaxFreezes`."] TooManyFreezes, + #[codec(index = 10)] + #[doc = "The issuance cannot be modified since it is already deactivated."] + IssuanceDeactivated, + #[codec(index = 11)] + #[doc = "The delta cannot be zero."] + DeltaZero, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Event` enum of this pallet"] @@ -1423,6 +1605,12 @@ pub mod runtime_types { who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, + #[codec(index = 21)] + #[doc = "The `TotalIssuance` was forcefully changed."] + TotalIssuanceForced { + old: ::core::primitive::u128, + new: ::core::primitive::u128, + }, } } pub mod types { @@ -1435,6 +1623,13 @@ pub mod runtime_types { pub flags: runtime_types::pallet_balances::types::ExtraFlags, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub enum AdjustmentDirection { + #[codec(index = 0)] + Increase, + #[codec(index = 1)] + Decrease, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, @@ -1449,11 +1644,6 @@ pub mod runtime_types { )] pub struct ExtraFlags(pub ::core::primitive::u128); #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct IdAmount<_0, _1> { - pub id: _0, - pub amount: _1, - } - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -1477,7 +1667,18 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::propose_bounty`]."] + #[doc = "Propose a new bounty."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "Payment: `TipReportDepositBase` will be reserved from the origin account, as well as"] + #[doc = "`DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,"] + #[doc = "or slashed when rejected."] + #[doc = ""] + #[doc = "- `curator`: The curator account whom will manage this bounty."] + #[doc = "- `fee`: The curator fee."] + #[doc = "- `value`: The total payment amount of this bounty, curator fee included."] + #[doc = "- `description`: The description of this bounty."] propose_bounty { #[codec(compact)] value: ::core::primitive::u128, @@ -1485,13 +1686,24 @@ pub mod runtime_types { ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] - #[doc = "See [`Pallet::approve_bounty`]."] + #[doc = "Approve a bounty proposal. At a later time, the bounty will be funded and become active"] + #[doc = "and the original deposit will be returned."] + #[doc = ""] + #[doc = "May only be called from `T::SpendOrigin`."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] approve_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 2)] - #[doc = "See [`Pallet::propose_curator`]."] + #[doc = "Propose a curator to a funded bounty."] + #[doc = ""] + #[doc = "May only be called from `T::SpendOrigin`."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] propose_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, @@ -1503,19 +1715,50 @@ pub mod runtime_types { fee: ::core::primitive::u128, }, #[codec(index = 3)] - #[doc = "See [`Pallet::unassign_curator`]."] + #[doc = "Unassign curator from a bounty."] + #[doc = ""] + #[doc = "This function can only be called by the `RejectOrigin` a signed origin."] + #[doc = ""] + #[doc = "If this function is called by the `RejectOrigin`, we assume that the curator is"] + #[doc = "malicious or inactive. As a result, we will slash the curator when possible."] + #[doc = ""] + #[doc = "If the origin is the curator, we take this as a sign they are unable to do their job and"] + #[doc = "they willingly give up. We could slash them, but for now we allow them to recover their"] + #[doc = "deposit and exit without issue. (We may want to change this if it is abused.)"] + #[doc = ""] + #[doc = "Finally, the origin can be anyone if and only if the curator is \"inactive\". This allows"] + #[doc = "anyone in the community to call out that a curator is not doing their due diligence, and"] + #[doc = "we should pick a new curator. In this case the curator should also be slashed."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] unassign_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 4)] - #[doc = "See [`Pallet::accept_curator`]."] + #[doc = "Accept the curator role for a bounty."] + #[doc = "A deposit will be reserved from curator and refund upon successful payout."] + #[doc = ""] + #[doc = "May only be called from the curator."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] accept_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "See [`Pallet::award_bounty`]."] + #[doc = "Award bounty to a beneficiary account. The beneficiary will be able to claim the funds"] + #[doc = "after a delay."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be the curator of this bounty."] + #[doc = ""] + #[doc = "- `bounty_id`: Bounty ID to award."] + #[doc = "- `beneficiary`: The beneficiary account whom will receive the payout."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] award_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, @@ -1525,19 +1768,42 @@ pub mod runtime_types { >, }, #[codec(index = 6)] - #[doc = "See [`Pallet::claim_bounty`]."] + #[doc = "Claim the payout from an awarded bounty after payout delay."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be the beneficiary of this bounty."] + #[doc = ""] + #[doc = "- `bounty_id`: Bounty ID to claim."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] claim_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 7)] - #[doc = "See [`Pallet::close_bounty`]."] + #[doc = "Cancel a proposed or active bounty. All the funds will be sent to treasury and"] + #[doc = "the curator deposit will be unreserved if possible."] + #[doc = ""] + #[doc = "Only `T::RejectOrigin` is able to cancel a bounty."] + #[doc = ""] + #[doc = "- `bounty_id`: Bounty ID to cancel."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] close_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, }, #[codec(index = 8)] - #[doc = "See [`Pallet::extend_bounty_expiry`]."] + #[doc = "Extend the expiry time of an active bounty."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be the curator of this bounty."] + #[doc = ""] + #[doc = "- `bounty_id`: Bounty ID to extend."] + #[doc = "- `remark`: additional information."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] extend_bounty_expiry { #[codec(compact)] bounty_id: ::core::primitive::u32, @@ -1673,7 +1939,25 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::add_child_bounty`]."] + #[doc = "Add a new child-bounty."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be the curator of parent"] + #[doc = "bounty and the parent bounty must be in \"active\" state."] + #[doc = ""] + #[doc = "Child-bounty gets added successfully & fund gets transferred from"] + #[doc = "parent bounty to child-bounty account, if parent bounty has enough"] + #[doc = "funds, else the call fails."] + #[doc = ""] + #[doc = "Upper bound to maximum number of active child bounties that can be"] + #[doc = "added are managed via runtime trait config"] + #[doc = "[`Config::MaxActiveChildBountyCount`]."] + #[doc = ""] + #[doc = "If the call is success, the status of child-bounty is updated to"] + #[doc = "\"Added\"."] + #[doc = ""] + #[doc = "- `parent_bounty_id`: Index of parent bounty for which child-bounty is being added."] + #[doc = "- `value`: Value for executing the proposal."] + #[doc = "- `description`: Text description for the child-bounty."] add_child_bounty { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -1683,7 +1967,21 @@ pub mod runtime_types { ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] - #[doc = "See [`Pallet::propose_curator`]."] + #[doc = "Propose curator for funded child-bounty."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be curator of parent bounty."] + #[doc = ""] + #[doc = "Parent bounty must be in active state, for this child-bounty call to"] + #[doc = "work."] + #[doc = ""] + #[doc = "Child-bounty must be in \"Added\" state, for processing the call. And"] + #[doc = "state of child-bounty is moved to \"CuratorProposed\" on successful"] + #[doc = "call completion."] + #[doc = ""] + #[doc = "- `parent_bounty_id`: Index of parent bounty."] + #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "- `curator`: Address of child-bounty curator."] + #[doc = "- `fee`: payment fee to child-bounty curator for execution."] propose_curator { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -1697,7 +1995,25 @@ pub mod runtime_types { fee: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "See [`Pallet::accept_curator`]."] + #[doc = "Accept the curator role for the child-bounty."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be the curator of this"] + #[doc = "child-bounty."] + #[doc = ""] + #[doc = "A deposit will be reserved from the curator and refund upon"] + #[doc = "successful payout or cancellation."] + #[doc = ""] + #[doc = "Fee for curator is deducted from curator fee of parent bounty."] + #[doc = ""] + #[doc = "Parent bounty must be in active state, for this child-bounty call to"] + #[doc = "work."] + #[doc = ""] + #[doc = "Child-bounty must be in \"CuratorProposed\" state, for processing the"] + #[doc = "call. And state of child-bounty is moved to \"Active\" on successful"] + #[doc = "call completion."] + #[doc = ""] + #[doc = "- `parent_bounty_id`: Index of parent bounty."] + #[doc = "- `child_bounty_id`: Index of child bounty."] accept_curator { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -1705,7 +2021,40 @@ pub mod runtime_types { child_bounty_id: ::core::primitive::u32, }, #[codec(index = 3)] - #[doc = "See [`Pallet::unassign_curator`]."] + #[doc = "Unassign curator from a child-bounty."] + #[doc = ""] + #[doc = "The dispatch origin for this call can be either `RejectOrigin`, or"] + #[doc = "the curator of the parent bounty, or any signed origin."] + #[doc = ""] + #[doc = "For the origin other than T::RejectOrigin and the child-bounty"] + #[doc = "curator, parent bounty must be in active state, for this call to"] + #[doc = "work. We allow child-bounty curator and T::RejectOrigin to execute"] + #[doc = "this call irrespective of the parent bounty state."] + #[doc = ""] + #[doc = "If this function is called by the `RejectOrigin` or the"] + #[doc = "parent bounty curator, we assume that the child-bounty curator is"] + #[doc = "malicious or inactive. As a result, child-bounty curator deposit is"] + #[doc = "slashed."] + #[doc = ""] + #[doc = "If the origin is the child-bounty curator, we take this as a sign"] + #[doc = "that they are unable to do their job, and are willingly giving up."] + #[doc = "We could slash the deposit, but for now we allow them to unreserve"] + #[doc = "their deposit and exit without issue. (We may want to change this if"] + #[doc = "it is abused.)"] + #[doc = ""] + #[doc = "Finally, the origin can be anyone iff the child-bounty curator is"] + #[doc = "\"inactive\". Expiry update due of parent bounty is used to estimate"] + #[doc = "inactive state of child-bounty curator."] + #[doc = ""] + #[doc = "This allows anyone in the community to call out that a child-bounty"] + #[doc = "curator is not doing their due diligence, and we should pick a new"] + #[doc = "one. In this case the child-bounty curator deposit is slashed."] + #[doc = ""] + #[doc = "State of child-bounty is moved to Added state on successful call"] + #[doc = "completion."] + #[doc = ""] + #[doc = "- `parent_bounty_id`: Index of parent bounty."] + #[doc = "- `child_bounty_id`: Index of child bounty."] unassign_curator { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -1713,7 +2062,23 @@ pub mod runtime_types { child_bounty_id: ::core::primitive::u32, }, #[codec(index = 4)] - #[doc = "See [`Pallet::award_child_bounty`]."] + #[doc = "Award child-bounty to a beneficiary."] + #[doc = ""] + #[doc = "The beneficiary will be able to claim the funds after a delay."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be the parent curator or"] + #[doc = "curator of this child-bounty."] + #[doc = ""] + #[doc = "Parent bounty must be in active state, for this child-bounty call to"] + #[doc = "work."] + #[doc = ""] + #[doc = "Child-bounty must be in active state, for processing the call. And"] + #[doc = "state of child-bounty is moved to \"PendingPayout\" on successful call"] + #[doc = "completion."] + #[doc = ""] + #[doc = "- `parent_bounty_id`: Index of parent bounty."] + #[doc = "- `child_bounty_id`: Index of child bounty."] + #[doc = "- `beneficiary`: Beneficiary account."] award_child_bounty { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -1725,7 +2090,22 @@ pub mod runtime_types { >, }, #[codec(index = 5)] - #[doc = "See [`Pallet::claim_child_bounty`]."] + #[doc = "Claim the payout from an awarded child-bounty after payout delay."] + #[doc = ""] + #[doc = "The dispatch origin for this call may be any signed origin."] + #[doc = ""] + #[doc = "Call works independent of parent bounty state, No need for parent"] + #[doc = "bounty to be in active state."] + #[doc = ""] + #[doc = "The Beneficiary is paid out with agreed bounty value. Curator fee is"] + #[doc = "paid & curator deposit is unreserved."] + #[doc = ""] + #[doc = "Child-bounty must be in \"PendingPayout\" state, for processing the"] + #[doc = "call. And instance of child-bounty is removed from the state on"] + #[doc = "successful call completion."] + #[doc = ""] + #[doc = "- `parent_bounty_id`: Index of parent bounty."] + #[doc = "- `child_bounty_id`: Index of child bounty."] claim_child_bounty { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -1733,7 +2113,28 @@ pub mod runtime_types { child_bounty_id: ::core::primitive::u32, }, #[codec(index = 6)] - #[doc = "See [`Pallet::close_child_bounty`]."] + #[doc = "Cancel a proposed or active child-bounty. Child-bounty account funds"] + #[doc = "are transferred to parent bounty account. The child-bounty curator"] + #[doc = "deposit may be unreserved if possible."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be either parent curator or"] + #[doc = "`T::RejectOrigin`."] + #[doc = ""] + #[doc = "If the state of child-bounty is `Active`, curator deposit is"] + #[doc = "unreserved."] + #[doc = ""] + #[doc = "If the state of child-bounty is `PendingPayout`, call fails &"] + #[doc = "returns `PendingPayout` error."] + #[doc = ""] + #[doc = "For the origin other than T::RejectOrigin, parent bounty must be in"] + #[doc = "active state, for this child-bounty call to work. For origin"] + #[doc = "T::RejectOrigin execution is forced."] + #[doc = ""] + #[doc = "Instance of child-bounty is removed from the state on successful"] + #[doc = "call completion."] + #[doc = ""] + #[doc = "- `parent_bounty_id`: Index of parent bounty."] + #[doc = "- `child_bounty_id`: Index of child bounty."] close_child_bounty { #[codec(compact)] parent_bounty_id: ::core::primitive::u32, @@ -1838,7 +2239,15 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::vote`]."] + #[doc = "Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;"] + #[doc = "otherwise it is a vote to keep the status quo."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be _Signed_."] + #[doc = ""] + #[doc = "- `poll_index`: The index of the poll to vote for."] + #[doc = "- `vote`: The vote configuration."] + #[doc = ""] + #[doc = "Weight: `O(R)` where R is the number of polls the voter has voted on."] vote { #[codec(compact)] poll_index: ::core::primitive::u32, @@ -1847,7 +2256,29 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::delegate`]."] + #[doc = "Delegate the voting power (with some given conviction) of the sending account for a"] + #[doc = "particular class of polls."] + #[doc = ""] + #[doc = "The balance delegated is locked for as long as it's delegated, and thereafter for the"] + #[doc = "time appropriate for the conviction's lock period."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be _Signed_, and the signing account must either:"] + #[doc = " - be delegating already; or"] + #[doc = " - have no voting activity (if there is, then it will need to be removed through"] + #[doc = " `remove_vote`)."] + #[doc = ""] + #[doc = "- `to`: The account whose voting the `target` account's voting power will follow."] + #[doc = "- `class`: The class of polls to delegate. To delegate multiple classes, multiple calls"] + #[doc = " to this function are required."] + #[doc = "- `conviction`: The conviction that will be attached to the delegated votes. When the"] + #[doc = " account is undelegated, the funds will be locked for the corresponding period."] + #[doc = "- `balance`: The amount of the account's balance to be used in delegating. This must not"] + #[doc = " be more than the account's current balance."] + #[doc = ""] + #[doc = "Emits `Delegated`."] + #[doc = ""] + #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] + #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] delegate { class: ::core::primitive::u16, to: ::subxt::ext::subxt_core::utils::MultiAddress< @@ -1858,10 +2289,31 @@ pub mod runtime_types { balance: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "See [`Pallet::undelegate`]."] + #[doc = "Undelegate the voting power of the sending account for a particular class of polls."] + #[doc = ""] + #[doc = "Tokens may be unlocked following once an amount of time consistent with the lock period"] + #[doc = "of the conviction with which the delegation was issued has passed."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be _Signed_ and the signing account must be"] + #[doc = "currently delegating."] + #[doc = ""] + #[doc = "- `class`: The class of polls to remove the delegation from."] + #[doc = ""] + #[doc = "Emits `Undelegated`."] + #[doc = ""] + #[doc = "Weight: `O(R)` where R is the number of polls the voter delegating to has"] + #[doc = " voted on. Weight is initially charged as if maximum votes, but is refunded later."] undelegate { class: ::core::primitive::u16 }, #[codec(index = 3)] - #[doc = "See [`Pallet::unlock`]."] + #[doc = "Remove the lock caused by prior voting/delegating which has expired within a particular"] + #[doc = "class."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be _Signed_."] + #[doc = ""] + #[doc = "- `class`: The class of polls to unlock."] + #[doc = "- `target`: The account to remove the lock on."] + #[doc = ""] + #[doc = "Weight: `O(R)` with R number of vote of target."] unlock { class: ::core::primitive::u16, target: ::subxt::ext::subxt_core::utils::MultiAddress< @@ -1870,13 +2322,56 @@ pub mod runtime_types { >, }, #[codec(index = 4)] - #[doc = "See [`Pallet::remove_vote`]."] + #[doc = "Remove a vote for a poll."] + #[doc = ""] + #[doc = "If:"] + #[doc = "- the poll was cancelled, or"] + #[doc = "- the poll is ongoing, or"] + #[doc = "- the poll has ended such that"] + #[doc = " - the vote of the account was in opposition to the result; or"] + #[doc = " - there was no conviction to the account's vote; or"] + #[doc = " - the account made a split vote"] + #[doc = "...then the vote is removed cleanly and a following call to `unlock` may result in more"] + #[doc = "funds being available."] + #[doc = ""] + #[doc = "If, however, the poll has ended and:"] + #[doc = "- it finished corresponding to the vote of the account, and"] + #[doc = "- the account made a standard vote with conviction, and"] + #[doc = "- the lock period of the conviction is not over"] + #[doc = "...then the lock will be aggregated into the overall account's lock, which may involve"] + #[doc = "*overlocking* (where the two locks are combined into a single lock that is the maximum"] + #[doc = "of both the amount locked and the time is it locked for)."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be _Signed_, and the signer must have a vote"] + #[doc = "registered for poll `index`."] + #[doc = ""] + #[doc = "- `index`: The index of poll of the vote to be removed."] + #[doc = "- `class`: Optional parameter, if given it indicates the class of the poll. For polls"] + #[doc = " which have finished or are cancelled, this must be `Some`."] + #[doc = ""] + #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] + #[doc = " Weight is calculated for the maximum number of vote."] remove_vote { class: ::core::option::Option<::core::primitive::u16>, index: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "See [`Pallet::remove_other_vote`]."] + #[doc = "Remove a vote for a poll."] + #[doc = ""] + #[doc = "If the `target` is equal to the signer, then this function is exactly equivalent to"] + #[doc = "`remove_vote`. If not equal to the signer, then the vote must have expired,"] + #[doc = "either because the poll was cancelled, because the voter lost the poll or"] + #[doc = "because the conviction period is over."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be _Signed_."] + #[doc = ""] + #[doc = "- `target`: The account of the vote to be removed; this account must have voted for poll"] + #[doc = " `index`."] + #[doc = "- `index`: The index of poll of the vote to be removed."] + #[doc = "- `class`: The class of the poll."] + #[doc = ""] + #[doc = "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on."] + #[doc = " Weight is calculated for the maximum number of vote."] remove_other_vote { target: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -1906,7 +2401,7 @@ pub mod runtime_types { AlreadyDelegating, #[codec(index = 5)] #[doc = "The account currently has votes attached to it and the operation cannot succeed until"] - #[doc = "these are removed, either through `unvote` or `reap_vote`."] + #[doc = "these are removed through `remove_vote`."] AlreadyVoting, #[codec(index = 6)] #[doc = "Too high a balance was provided that the account cannot afford."] @@ -1939,6 +2434,22 @@ pub mod runtime_types { #[codec(index = 1)] #[doc = "An \\[account\\] has cancelled a previous delegation operation."] Undelegated(::subxt::ext::subxt_core::utils::AccountId32), + #[codec(index = 2)] + #[doc = "An account that has voted"] + Voted { + who: ::subxt::ext::subxt_core::utils::AccountId32, + vote: runtime_types::pallet_conviction_voting::vote::AccountVote< + ::core::primitive::u128, + >, + }, + #[codec(index = 3)] + #[doc = "A vote that been removed"] + VoteRemoved { + who: ::subxt::ext::subxt_core::utils::AccountId32, + vote: runtime_types::pallet_conviction_voting::vote::AccountVote< + ::core::primitive::u128, + >, + }, } } pub mod types { @@ -2019,7 +2530,7 @@ pub mod runtime_types { #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { - # [codec (index = 0)] # [doc = "See [`Pallet::submit_unsigned`]."] submit_unsigned { raw_solution : ::subxt::ext ::subxt_core::alloc::boxed::Box < runtime_types::pallet_election_provider_multi_phase::RawSolution < runtime_types::vara_runtime::NposSolution16 > > , witness : runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize , } , # [codec (index = 1)] # [doc = "See [`Pallet::set_minimum_untrusted_score`]."] set_minimum_untrusted_score { maybe_next_score: ::core::option::Option < runtime_types::sp_npos_elections::ElectionScore > , } , # [codec (index = 2)] # [doc = "See [`Pallet::set_emergency_election_result`]."] set_emergency_election_result { supports : ::subxt::ext ::subxt_core::alloc::vec::Vec < (::subxt::ext ::subxt_core::utils::AccountId32 , runtime_types::sp_npos_elections::Support < ::subxt::ext ::subxt_core::utils::AccountId32 > ,) > , } , # [codec (index = 3)] # [doc = "See [`Pallet::submit`]."] submit { raw_solution : ::subxt::ext ::subxt_core::alloc::boxed::Box < runtime_types::pallet_election_provider_multi_phase::RawSolution < runtime_types::vara_runtime::NposSolution16 > > , } , # [codec (index = 4)] # [doc = "See [`Pallet::governance_fallback`]."] governance_fallback { maybe_max_voters: ::core::option::Option <::core::primitive::u32 > , maybe_max_targets: ::core::option::Option <::core::primitive::u32 > , } , } + # [codec (index = 0)] # [doc = "Submit a solution for the unsigned phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __none__."] # [doc = ""] # [doc = "This submission is checked on the fly. Moreover, this unsigned solution is only"] # [doc = "validated when submitted to the pool from the **local** node. Effectively, this means"] # [doc = "that only active validators can submit this transaction when authoring a block (similar"] # [doc = "to an inherent)."] # [doc = ""] # [doc = "To prevent any incorrect solution (and thus wasted time/weight), this transaction will"] # [doc = "panic if the solution submitted by the validator is invalid in any way, effectively"] # [doc = "putting their authoring reward at risk."] # [doc = ""] # [doc = "No deposit or reward is associated with this submission."] submit_unsigned { raw_solution : ::subxt::ext ::subxt_core::alloc::boxed::Box < runtime_types::pallet_election_provider_multi_phase::RawSolution < runtime_types::vara_runtime::NposSolution16 > > , witness : runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize , } , # [codec (index = 1)] # [doc = "Set a new value for `MinimumUntrustedScore`."] # [doc = ""] # [doc = "Dispatch origin must be aligned with `T::ForceOrigin`."] # [doc = ""] # [doc = "This check can be turned off by setting the value to `None`."] set_minimum_untrusted_score { maybe_next_score: ::core::option::Option < runtime_types::sp_npos_elections::ElectionScore > , } , # [codec (index = 2)] # [doc = "Set a solution in the queue, to be handed out to the client of this pallet in the next"] # [doc = "call to `ElectionProvider::elect`."] # [doc = ""] # [doc = "This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`."] # [doc = ""] # [doc = "The solution is not checked for any feasibility and is assumed to be trustworthy, as any"] # [doc = "feasibility check itself can in principle cause the election process to fail (due to"] # [doc = "memory/weight constrains)."] set_emergency_election_result { supports : ::subxt::ext ::subxt_core::alloc::vec::Vec < (::subxt::ext ::subxt_core::utils::AccountId32 , runtime_types::sp_npos_elections::Support < ::subxt::ext ::subxt_core::utils::AccountId32 > ,) > , } , # [codec (index = 3)] # [doc = "Submit a solution for the signed phase."] # [doc = ""] # [doc = "The dispatch origin fo this call must be __signed__."] # [doc = ""] # [doc = "The solution is potentially queued, based on the claimed score and processed at the end"] # [doc = "of the signed phase."] # [doc = ""] # [doc = "A deposit is reserved and recorded for the solution. Based on the outcome, the solution"] # [doc = "might be rewarded, slashed, or get all or a part of the deposit back."] submit { raw_solution : ::subxt::ext ::subxt_core::alloc::boxed::Box < runtime_types::pallet_election_provider_multi_phase::RawSolution < runtime_types::vara_runtime::NposSolution16 > > , } , # [codec (index = 4)] # [doc = "Trigger the governance fallback."] # [doc = ""] # [doc = "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to"] # [doc = "calling [`Call::set_emergency_election_result`]."] governance_fallback { maybe_max_voters: ::core::option::Option <::core::primitive::u32 > , maybe_max_targets: ::core::option::Option <::core::primitive::u32 > , } , } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "Error of the pallet that can be returned in response to dispatches."] pub enum Error { @@ -2065,6 +2576,9 @@ pub mod runtime_types { #[codec(index = 13)] #[doc = "Submitted solution has too many winners"] TooManyWinners, + #[codec(index = 14)] + #[doc = "Submission was prepared for a different round."] + PreDispatchDifferentRound, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Event` enum of this pallet"] @@ -2073,7 +2587,7 @@ pub mod runtime_types { #[doc = "A solution was stored with the given compute."] #[doc = ""] #[doc = "The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,"] - #[doc = "the stored solution was submited in the signed phase by a miner with the `AccountId`."] + #[doc = "the stored solution was submitted in the signed phase by a miner with the `AccountId`."] #[doc = "Otherwise, the solution was stored either during the unsigned phase or by"] #[doc = "`T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make"] #[doc = "room for this one."] @@ -2194,12 +2708,73 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::upload_code`]."] + #[doc = "Saves program `code` in storage."] + #[doc = ""] + #[doc = "The extrinsic was created to provide _deploy program from program_ functionality."] + #[doc = "Anyone who wants to define a \"factory\" logic in program should first store the code and metadata for the \"child\""] + #[doc = "program in storage. So the code for the child will be initialized by program initialization request only if it exists in storage."] + #[doc = ""] + #[doc = "More precisely, the code and its metadata are actually saved in the storage under the hash of the `code`. The code hash is computed"] + #[doc = "as Blake256 hash. At the time of the call the `code` hash should not be in the storage. If it was stored previously, call will end up"] + #[doc = "with an `CodeAlreadyExists` error. In this case user can be sure, that he can actually use the hash of his program's code bytes to define"] + #[doc = "\"program factory\" logic in his program."] + #[doc = ""] + #[doc = "Parameters"] + #[doc = "- `code`: wasm code of a program as a byte vector."] + #[doc = ""] + #[doc = "Emits the following events:"] + #[doc = "- `SavedCode(H256)` - when the code is saved in storage."] upload_code { code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] - #[doc = "See [`Pallet::upload_program`]."] + #[doc = "Creates program initialization request (message), that is scheduled to be run in the same block."] + #[doc = ""] + #[doc = "There are no guarantees that initialization message will be run in the same block due to block"] + #[doc = "gas limit restrictions. For example, when it will be the message's turn, required gas limit for it"] + #[doc = "could be more than remaining block gas limit. Therefore, the message processing will be postponed"] + #[doc = "until the next block."] + #[doc = ""] + #[doc = "`ProgramId` is computed as Blake256 hash of concatenated bytes of `code` + `salt`. (todo #512 `code_hash` + `salt`)"] + #[doc = "Such `ProgramId` must not exist in the Program Storage at the time of this call."] + #[doc = ""] + #[doc = "There is the same guarantee here as in `upload_code`. That is, future program's"] + #[doc = "`code` and metadata are stored before message was added to the queue and processed."] + #[doc = ""] + #[doc = "The origin must be Signed and the sender must have sufficient funds to pay"] + #[doc = "for `gas` and `value` (in case the latter is being transferred)."] + #[doc = ""] + #[doc = "Gear runtime guarantees that an active program always has an account to store value."] + #[doc = "If the underlying account management platform (e.g. Substrate's System pallet) requires"] + #[doc = "an existential deposit to keep an account alive, the related overhead is considered an"] + #[doc = "extra cost related with a program instantiation and is charged to the program's creator"] + #[doc = "and is released back to the creator when the program is removed."] + #[doc = "In context of the above, the `value` parameter represents the so-called `reducible` balance"] + #[doc = "a program should have at its disposal upon instantiation. It is not used to offset the"] + #[doc = "existential deposit required for an account creation."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `code`: wasm code of a program as a byte vector."] + #[doc = "- `salt`: randomness term (a seed) to allow programs with identical code"] + #[doc = " to be created independently."] + #[doc = "- `init_payload`: encoded parameters of the wasm module `init` function."] + #[doc = "- `gas_limit`: maximum amount of gas the program can spend before it is halted."] + #[doc = "- `value`: balance to be transferred to the program once it's been created."] + #[doc = ""] + #[doc = "Emits the following events:"] + #[doc = "- `InitMessageEnqueued(MessageInfo)` when init message is placed in the queue."] + #[doc = ""] + #[doc = "# Note"] + #[doc = "Faulty (uninitialized) programs still have a valid addresses (program ids) that can deterministically be derived on the"] + #[doc = "caller's side upfront. It means that if messages are sent to such an address, they might still linger in the queue."] + #[doc = ""] + #[doc = "In order to mitigate the risk of users' funds being sent to an address,"] + #[doc = "where a valid program should have resided, while it's not,"] + #[doc = "such \"failed-to-initialize\" programs are not silently deleted from the"] + #[doc = "program storage but rather marked as \"ghost\" programs."] + #[doc = "Ghost program can be removed by their original author via an explicit call."] + #[doc = "The funds stored by a ghost program will be release to the author once the program"] + #[doc = "has been removed."] upload_program { code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, salt: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -2210,7 +2785,22 @@ pub mod runtime_types { keep_alive: ::core::primitive::bool, }, #[codec(index = 2)] - #[doc = "See [`Pallet::create_program`]."] + #[doc = "Creates program via `code_id` from storage."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `code_id`: wasm code id in the code storage."] + #[doc = "- `salt`: randomness term (a seed) to allow programs with identical code"] + #[doc = " to be created independently."] + #[doc = "- `init_payload`: encoded parameters of the wasm module `init` function."] + #[doc = "- `gas_limit`: maximum amount of gas the program can spend before it is halted."] + #[doc = "- `value`: balance to be transferred to the program once it's been created."] + #[doc = ""] + #[doc = "Emits the following events:"] + #[doc = "- `InitMessageEnqueued(MessageInfo)` when init message is placed in the queue."] + #[doc = ""] + #[doc = "# NOTE"] + #[doc = ""] + #[doc = "For the details of this extrinsic, see `upload_code`."] create_program { code_id: runtime_types::gprimitives::CodeId, salt: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -2221,7 +2811,23 @@ pub mod runtime_types { keep_alive: ::core::primitive::bool, }, #[codec(index = 3)] - #[doc = "See [`Pallet::send_message`]."] + #[doc = "Sends a message to a program or to another account."] + #[doc = ""] + #[doc = "The origin must be Signed and the sender must have sufficient funds to pay"] + #[doc = "for `gas` and `value` (in case the latter is being transferred)."] + #[doc = ""] + #[doc = "To avoid an undefined behavior a check is made that the destination address"] + #[doc = "is not a program in uninitialized state. If the opposite holds true,"] + #[doc = "the message is not enqueued for processing."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `destination`: the message destination."] + #[doc = "- `payload`: in case of a program destination, parameters of the `handle` function."] + #[doc = "- `gas_limit`: maximum amount of gas the program can spend before it is halted."] + #[doc = "- `value`: balance to be transferred to the program once it's been created."] + #[doc = ""] + #[doc = "Emits the following events:"] + #[doc = "- `DispatchMessageEnqueued(MessageInfo)` when dispatch message is placed in the queue."] send_message { destination: runtime_types::gprimitives::ActorId, payload: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -2230,7 +2836,19 @@ pub mod runtime_types { keep_alive: ::core::primitive::bool, }, #[codec(index = 4)] - #[doc = "See [`Pallet::send_reply`]."] + #[doc = "Send reply on message in `Mailbox`."] + #[doc = ""] + #[doc = "Removes message by given `MessageId` from callers `Mailbox`:"] + #[doc = "rent funds become free, associated with the message value"] + #[doc = "transfers from message sender to extrinsic caller."] + #[doc = ""] + #[doc = "Generates reply on removed message with given parameters"] + #[doc = "and pushes it in `MessageQueue`."] + #[doc = ""] + #[doc = "NOTE: source of the message in mailbox guaranteed to be a program."] + #[doc = ""] + #[doc = "NOTE: only user who is destination of the message, can claim value"] + #[doc = "or reply on the message from mailbox."] send_reply { reply_to_id: runtime_types::gprimitives::MessageId, payload: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -2239,20 +2857,47 @@ pub mod runtime_types { keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] - #[doc = "See [`Pallet::claim_value`]."] + #[doc = "Claim value from message in `Mailbox`."] + #[doc = ""] + #[doc = "Removes message by given `MessageId` from callers `Mailbox`:"] + #[doc = "rent funds become free, associated with the message value"] + #[doc = "transfers from message sender to extrinsic caller."] + #[doc = ""] + #[doc = "NOTE: only user who is destination of the message, can claim value"] + #[doc = "or reply on the message from mailbox."] claim_value { message_id: runtime_types::gprimitives::MessageId, }, #[codec(index = 6)] - #[doc = "See [`Pallet::run`]."] + #[doc = "Process message queue"] run { max_gas: ::core::option::Option<::core::primitive::u64>, }, #[codec(index = 7)] - #[doc = "See [`Pallet::set_execute_inherent`]."] + #[doc = "Sets `ExecuteInherent` flag."] + #[doc = ""] + #[doc = "Requires root origin (eventually, will only be set via referendum)"] set_execute_inherent { value: ::core::primitive::bool }, #[codec(index = 8)] - #[doc = "See [`Pallet::claim_value_to_inheritor`]."] + #[doc = "Transfers value from chain of terminated or exited programs to its final inheritor."] + #[doc = ""] + #[doc = "`depth` parameter is how far to traverse to inheritor."] + #[doc = "A value of 10 is sufficient for most cases."] + #[doc = ""] + #[doc = "# Example of chain"] + #[doc = ""] + #[doc = "- Program #1 exits (e.g `gr_exit syscall) with argument pointing to user."] + #[doc = "Balance of program #1 has been sent to user."] + #[doc = "- Program #2 exits with inheritor pointing to program #1."] + #[doc = "Balance of program #2 has been sent to exited program #1."] + #[doc = "- Program #3 exits with inheritor pointing to program #2"] + #[doc = "Balance of program #1 has been sent to exited program #2."] + #[doc = ""] + #[doc = "So chain of inheritors looks like: Program #3 -> Program #2 -> Program #1 -> User."] + #[doc = ""] + #[doc = "We have programs #1 and #2 with stuck value on their balances."] + #[doc = "The balances should've been transferred to user (final inheritor) according to the chain."] + #[doc = "But protocol doesn't traverse the chain automatically, so user have to call this extrinsic."] claim_value_to_inheritor { program_id: runtime_types::gprimitives::ActorId, depth: ::core::num::NonZeroU32, @@ -2714,12 +3359,25 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::enable_debug_mode`]."] + #[doc = "Turn the debug mode on and off."] + #[doc = ""] + #[doc = "The origin must be the root."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `debug_mode_on`: if true, debug mode will be turned on, turned off otherwise."] + #[doc = ""] + #[doc = "Emits the following events:"] + #[doc = "- `DebugMode(debug_mode_on)."] enable_debug_mode { debug_mode_on: ::core::primitive::bool, }, #[codec(index = 1)] - #[doc = "See [`Pallet::exhaust_block_resources`]."] + #[doc = "A dummy extrinsic with programmatically set weight."] + #[doc = ""] + #[doc = "Used in tests to exhaust block resources."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `fraction`: the fraction of the `max_extrinsic` the extrinsic will use."] exhaust_block_resources { fraction: runtime_types::sp_arithmetic::per_things::Percent, }, @@ -2786,13 +3444,16 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::pause`]."] + #[doc = "Root extrinsic that pauses pallet."] + #[doc = "When paused, no new messages could be queued."] pause, #[codec(index = 1)] - #[doc = "See [`Pallet::unpause`]."] + #[doc = "Root extrinsic that unpauses pallet."] + #[doc = "When paused, no new messages could be queued."] unpause, #[codec(index = 2)] - #[doc = "See [`Pallet::send_eth_message`]."] + #[doc = "Extrinsic that inserts message in a bridging queue,"] + #[doc = "updating queue merkle root at the end of the block."] send_eth_message { destination: ::subxt::ext::subxt_core::utils::H160, payload: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -3020,10 +3681,8 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::refill`]."] refill { value: ::core::primitive::u128 }, #[codec(index = 1)] - #[doc = "See [`Pallet::force_refill`]."] force_refill { from: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3032,7 +3691,6 @@ pub mod runtime_types { value: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "See [`Pallet::withdraw`]."] withdraw { to: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3041,7 +3699,6 @@ pub mod runtime_types { value: ::core::primitive::u128, }, #[codec(index = 3)] - #[doc = "See [`Pallet::align_supply`]."] align_supply { target: ::core::primitive::u128 }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] @@ -3121,7 +3778,26 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::issue`]."] + #[doc = "Issue a new voucher."] + #[doc = ""] + #[doc = "Deposits event `VoucherIssued`, that contains `VoucherId` to be"] + #[doc = "used by spender for balance-less on-chain interactions."] + #[doc = ""] + #[doc = "Arguments:"] + #[doc = "* spender: user id that is eligible to use the voucher;"] + #[doc = "* balance: voucher balance could be used for transactions"] + #[doc = " fees and gas;"] + #[doc = "* programs: pool of programs spender can interact with,"] + #[doc = " if None - means any program,"] + #[doc = " limited by Config param;"] + #[doc = "* code_uploading:"] + #[doc = " allow voucher to be used as payer for `upload_code`"] + #[doc = " transactions fee;"] + #[doc = "* duration: amount of blocks voucher could be used by spender"] + #[doc = " and couldn't be revoked by owner."] + #[doc = " Must be out in [MinDuration; MaxDuration] constants."] + #[doc = " Expiration block of the voucher calculates as:"] + #[doc = " current bn (extrinsic exec bn) + duration + 1."] issue { spender: ::subxt::ext::subxt_core::utils::AccountId32, balance: ::core::primitive::u128, @@ -3134,7 +3810,13 @@ pub mod runtime_types { duration: ::core::primitive::u32, }, #[codec(index = 1)] - #[doc = "See [`Pallet::call`]."] + #[doc = "Execute prepaid call with given voucher id."] + #[doc = ""] + #[doc = "Arguments:"] + #[doc = "* voucher_id: associated with origin existing vouchers id,"] + #[doc = " that should be used to pay for fees and gas"] + #[doc = " within the call;"] + #[doc = "* call: prepaid call that is requested to execute."] call { voucher_id: runtime_types::pallet_gear_voucher::internal::VoucherId, call: runtime_types::pallet_gear_voucher::internal::PrepaidCall< @@ -3142,13 +3824,50 @@ pub mod runtime_types { >, }, #[codec(index = 2)] - #[doc = "See [`Pallet::revoke`]."] + #[doc = "Revoke existing voucher."] + #[doc = ""] + #[doc = "This extrinsic revokes existing voucher, if current block is greater"] + #[doc = "than expiration block of the voucher (it is no longer valid)."] + #[doc = ""] + #[doc = "Currently it means sending of all balance from voucher account to"] + #[doc = "voucher owner without voucher removal from storage map, but this"] + #[doc = "behavior may change in future, as well as the origin validation:"] + #[doc = "only owner is able to revoke voucher now."] + #[doc = ""] + #[doc = "Arguments:"] + #[doc = "* spender: account id of the voucher spender;"] + #[doc = "* voucher_id: voucher id to be revoked."] revoke { spender: ::subxt::ext::subxt_core::utils::AccountId32, voucher_id: runtime_types::pallet_gear_voucher::internal::VoucherId, }, #[codec(index = 3)] - #[doc = "See [`Pallet::update`]."] + #[doc = "Update existing voucher."] + #[doc = ""] + #[doc = "This extrinsic updates existing voucher: it can only extend vouchers"] + #[doc = "rights in terms of balance, validity or programs to interact pool."] + #[doc = ""] + #[doc = "Can only be called by the voucher owner."] + #[doc = ""] + #[doc = "Arguments:"] + #[doc = "* spender: account id of the voucher spender;"] + #[doc = "* voucher_id: voucher id to be updated;"] + #[doc = "* move_ownership: optionally moves ownership to another account;"] + #[doc = "* balance_top_up: optionally top ups balance of the voucher from"] + #[doc = " origins balance;"] + #[doc = "* append_programs: optionally extends pool of programs by"] + #[doc = " `Some(programs_set)` passed or allows"] + #[doc = " it to interact with any program by"] + #[doc = " `None` passed;"] + #[doc = "* code_uploading: optionally allows voucher to be used to pay"] + #[doc = " fees for `upload_code` extrinsics;"] + #[doc = "* prolong_duration: optionally increases expiry block number."] + #[doc = " If voucher is expired, prolongs since current bn."] + #[doc = " Validity prolongation (since current block number"] + #[doc = " for expired or since storage written expiry)"] + #[doc = " should be in [MinDuration; MaxDuration], in other"] + #[doc = " words voucher couldn't have expiry greater than"] + #[doc = " current block number + MaxDuration."] update { spender: ::subxt::ext::subxt_core::utils::AccountId32, voucher_id: runtime_types::pallet_gear_voucher::internal::VoucherId, @@ -3166,7 +3885,13 @@ pub mod runtime_types { prolong_duration: ::core::option::Option<::core::primitive::u32>, }, #[codec(index = 4)] - #[doc = "See [`Pallet::decline`]."] + #[doc = "Decline existing and not expired voucher."] + #[doc = ""] + #[doc = "This extrinsic expires voucher of the caller, if it's still active,"] + #[doc = "allowing it to be revoked."] + #[doc = ""] + #[doc = "Arguments:"] + #[doc = "* voucher_id: voucher id to be declined."] decline { voucher_id: runtime_types::pallet_gear_voucher::internal::VoucherId, }, @@ -3251,7 +3976,10 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::report_equivocation`]."] + #[doc = "Report voter equivocation/misbehavior. This method will verify the"] + #[doc = "equivocation proof and validate the given key ownership proof"] + #[doc = "against the extracted offender. If both are valid, the offence"] + #[doc = "will be reported."] report_equivocation { equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< @@ -3262,7 +3990,15 @@ pub mod runtime_types { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 1)] - #[doc = "See [`Pallet::report_equivocation_unsigned`]."] + #[doc = "Report voter equivocation/misbehavior. This method will verify the"] + #[doc = "equivocation proof and validate the given key ownership proof"] + #[doc = "against the extracted offender. If both are valid, the offence"] + #[doc = "will be reported."] + #[doc = ""] + #[doc = "This extrinsic must be called unsigned and it is expected that only"] + #[doc = "block authors will call it (validated in `ValidateUnsigned`), as such"] + #[doc = "if the block author is defined it will be defined as the equivocation"] + #[doc = "reporter."] report_equivocation_unsigned { equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< @@ -3273,7 +4009,18 @@ pub mod runtime_types { key_owner_proof: runtime_types::sp_session::MembershipProof, }, #[codec(index = 2)] - #[doc = "See [`Pallet::note_stalled`]."] + #[doc = "Note that the current authority set of the GRANDPA finality gadget has stalled."] + #[doc = ""] + #[doc = "This will trigger a forced authority set change at the beginning of the next session, to"] + #[doc = "be enacted `delay` blocks after that. The `delay` should be high enough to safely assume"] + #[doc = "that the block signalling the forced change will not be re-orged e.g. 1000 blocks."] + #[doc = "The block production rate (which may be slowed down because of finality lagging) should"] + #[doc = "be taken into account when choosing the `delay`. The GRANDPA voters based on the new"] + #[doc = "authority will start voting on top of `best_finalized_block_number` for new finalized"] + #[doc = "blocks. `best_finalized_block_number` should be the highest of the latest finalized"] + #[doc = "block of all validators of the new authority set."] + #[doc = ""] + #[doc = "Only callable by root."] note_stalled { delay: ::core::primitive::u32, best_finalized_block_number: ::core::primitive::u32, @@ -3374,7 +4121,13 @@ pub mod runtime_types { #[doc = "Identity pallet declaration."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::add_registrar`]."] + #[doc = "Add a registrar to the system."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be `T::RegistrarOrigin`."] + #[doc = ""] + #[doc = "- `account`: the account of the registrar."] + #[doc = ""] + #[doc = "Emits `RegistrarAdded` if successful."] add_registrar { account: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3382,14 +4135,31 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::set_identity`]."] + #[doc = "Set an account's identity information and reserve the appropriate deposit."] + #[doc = ""] + #[doc = "If the account already has identity information, the deposit is taken as part payment"] + #[doc = "for the new deposit."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `info`: The identity information."] + #[doc = ""] + #[doc = "Emits `IdentitySet` if successful."] set_identity { info: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::pallet_identity::legacy::IdentityInfo, >, }, #[codec(index = 2)] - #[doc = "See [`Pallet::set_subs`]."] + #[doc = "Set the sub-accounts of the sender."] + #[doc = ""] + #[doc = "Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned"] + #[doc = "and an amount `SubAccountDeposit` will be reserved for each item in `subs`."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] + #[doc = "identity."] + #[doc = ""] + #[doc = "- `subs`: The identity's (new) sub-accounts."] set_subs { subs: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::subxt::ext::subxt_core::utils::AccountId32, @@ -3397,10 +4167,32 @@ pub mod runtime_types { )>, }, #[codec(index = 3)] - #[doc = "See [`Pallet::clear_identity`]."] + #[doc = "Clear an account's identity info and all sub-accounts and return all deposits."] + #[doc = ""] + #[doc = "Payment: All reserved balances on the account are returned."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] + #[doc = "identity."] + #[doc = ""] + #[doc = "Emits `IdentityCleared` if successful."] clear_identity, #[codec(index = 4)] - #[doc = "See [`Pallet::request_judgement`]."] + #[doc = "Request a judgement from a registrar."] + #[doc = ""] + #[doc = "Payment: At most `max_fee` will be reserved for payment to the registrar if judgement"] + #[doc = "given."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] + #[doc = "registered identity."] + #[doc = ""] + #[doc = "- `reg_index`: The index of the registrar whose judgement is requested."] + #[doc = "- `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:"] + #[doc = ""] + #[doc = "```nocompile"] + #[doc = "Registrars::::get().get(reg_index).unwrap().fee"] + #[doc = "```"] + #[doc = ""] + #[doc = "Emits `JudgementRequested` if successful."] request_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, @@ -3408,18 +4200,39 @@ pub mod runtime_types { max_fee: ::core::primitive::u128, }, #[codec(index = 5)] - #[doc = "See [`Pallet::cancel_request`]."] + #[doc = "Cancel a previous request."] + #[doc = ""] + #[doc = "Payment: A previously reserved deposit is returned on success."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a"] + #[doc = "registered identity."] + #[doc = ""] + #[doc = "- `reg_index`: The index of the registrar whose judgement is no longer requested."] + #[doc = ""] + #[doc = "Emits `JudgementUnrequested` if successful."] cancel_request { reg_index: ::core::primitive::u32 }, #[codec(index = 6)] - #[doc = "See [`Pallet::set_fee`]."] - set_fee { + #[doc = "Set the fee required for a judgement to be requested from a registrar."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] + #[doc = "of the registrar whose index is `index`."] + #[doc = ""] + #[doc = "- `index`: the index of the registrar whose fee is to be set."] + #[doc = "- `fee`: the new fee."] + set_fee { #[codec(compact)] index: ::core::primitive::u32, #[codec(compact)] fee: ::core::primitive::u128, }, #[codec(index = 7)] - #[doc = "See [`Pallet::set_account_id`]."] + #[doc = "Change the account associated with a registrar."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] + #[doc = "of the registrar whose index is `index`."] + #[doc = ""] + #[doc = "- `index`: the index of the registrar whose fee is to be set."] + #[doc = "- `new`: the new account ID."] set_account_id { #[codec(compact)] index: ::core::primitive::u32, @@ -3429,14 +4242,34 @@ pub mod runtime_types { >, }, #[codec(index = 8)] - #[doc = "See [`Pallet::set_fields`]."] + #[doc = "Set the field information for a registrar."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] + #[doc = "of the registrar whose index is `index`."] + #[doc = ""] + #[doc = "- `index`: the index of the registrar whose fee is to be set."] + #[doc = "- `fields`: the fields that the registrar concerns themselves with."] set_fields { #[codec(compact)] index: ::core::primitive::u32, fields: ::core::primitive::u64, }, #[codec(index = 9)] - #[doc = "See [`Pallet::provide_judgement`]."] + #[doc = "Provide a judgement for an account's identity."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must be the account"] + #[doc = "of the registrar whose index is `reg_index`."] + #[doc = ""] + #[doc = "- `reg_index`: the index of the registrar whose judgement is being made."] + #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] + #[doc = " with a registered identity."] + #[doc = "- `judgement`: the judgement of the registrar of index `reg_index` about `target`."] + #[doc = "- `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is"] + #[doc = " provided."] + #[doc = ""] + #[doc = "Note: Judgements do not apply to a username."] + #[doc = ""] + #[doc = "Emits `JudgementGiven` if successful."] provide_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, @@ -3450,7 +4283,18 @@ pub mod runtime_types { identity: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 10)] - #[doc = "See [`Pallet::kill_identity`]."] + #[doc = "Remove an account's identity and sub-account information and slash the deposits."] + #[doc = ""] + #[doc = "Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by"] + #[doc = "`Slash`. Verification request deposits are not returned; they should be cancelled"] + #[doc = "manually using `cancel_request`."] + #[doc = ""] + #[doc = "The dispatch origin for this call must match `T::ForceOrigin`."] + #[doc = ""] + #[doc = "- `target`: the account whose identity the judgement is upon. This must be an account"] + #[doc = " with a registered identity."] + #[doc = ""] + #[doc = "Emits `IdentityKilled` if successful."] kill_identity { target: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3458,7 +4302,13 @@ pub mod runtime_types { >, }, #[codec(index = 11)] - #[doc = "See [`Pallet::add_sub`]."] + #[doc = "Add the given account to the sender's subs."] + #[doc = ""] + #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] + #[doc = "to the sender."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] + #[doc = "sub identity of `sub`."] add_sub { sub: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3467,7 +4317,10 @@ pub mod runtime_types { data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 12)] - #[doc = "See [`Pallet::rename_sub`]."] + #[doc = "Alter the associated name of the given sub-account."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] + #[doc = "sub identity of `sub`."] rename_sub { sub: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3476,7 +4329,13 @@ pub mod runtime_types { data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 13)] - #[doc = "See [`Pallet::remove_sub`]."] + #[doc = "Remove the given account from the sender's subs."] + #[doc = ""] + #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] + #[doc = "to the sender."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] + #[doc = "sub identity of `sub`."] remove_sub { sub: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3484,8 +4343,89 @@ pub mod runtime_types { >, }, #[codec(index = 14)] - #[doc = "See [`Pallet::quit_sub`]."] + #[doc = "Remove the sender as a sub-account."] + #[doc = ""] + #[doc = "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated"] + #[doc = "to the sender (*not* the original depositor)."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have a registered"] + #[doc = "super-identity."] + #[doc = ""] + #[doc = "NOTE: This should not normally be used, but is provided in the case that the non-"] + #[doc = "controller of an account is maliciously registered as a sub-account."] quit_sub, + #[codec(index = 15)] + #[doc = "Add an `AccountId` with permission to grant usernames with a given `suffix` appended."] + #[doc = ""] + #[doc = "The authority can grant up to `allocation` usernames. To top up their allocation, they"] + #[doc = "should just issue (or request via governance) a new `add_username_authority` call."] + add_username_authority { + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + suffix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + allocation: ::core::primitive::u32, + }, + #[codec(index = 16)] + #[doc = "Remove `authority` from the username authorities."] + remove_username_authority { + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + }, + #[codec(index = 17)] + #[doc = "Set the username for `who`. Must be called by a username authority."] + #[doc = ""] + #[doc = "The authority must have an `allocation`. Users can either pre-sign their usernames or"] + #[doc = "accept them later."] + #[doc = ""] + #[doc = "Usernames must:"] + #[doc = " - Only contain lowercase ASCII characters or digits."] + #[doc = " - When combined with the suffix of the issuing authority be _less than_ the"] + #[doc = " `MaxUsernameLength`."] + set_username_for { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + username: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + signature: + ::core::option::Option, + }, + #[codec(index = 18)] + #[doc = "Accept a given username that an `authority` granted. The call must include the full"] + #[doc = "username, as in `username.suffix`."] + accept_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 19)] + #[doc = "Remove an expired username approval. The username was approved by an authority but never"] + #[doc = "accepted by the user and must now be beyond its expiration. The call must include the"] + #[doc = "full username, as in `username.suffix`."] + remove_expired_approval { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 20)] + #[doc = "Set a given username as the primary. The username should include the suffix."] + set_primary_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 21)] + #[doc = "Remove a username that corresponds to an account with no identity. Exists when a user"] + #[doc = "gets a username but then calls `clear_identity`."] + remove_dangling_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Error` enum of this pallet."] @@ -3541,6 +4481,33 @@ pub mod runtime_types { #[codec(index = 16)] #[doc = "Error that occurs when there is an issue paying for judgement."] JudgementPaymentFailed, + #[codec(index = 17)] + #[doc = "The provided suffix is too long."] + InvalidSuffix, + #[codec(index = 18)] + #[doc = "The sender does not have permission to issue a username."] + NotUsernameAuthority, + #[codec(index = 19)] + #[doc = "The authority cannot allocate any more usernames."] + NoAllocation, + #[codec(index = 20)] + #[doc = "The signature on a username was not valid."] + InvalidSignature, + #[codec(index = 21)] + #[doc = "Setting this username requires a signature, but none was provided."] + RequiresSignature, + #[codec(index = 22)] + #[doc = "The username does not meet the requirements."] + InvalidUsername, + #[codec(index = 23)] + #[doc = "The username is already taken."] + UsernameTaken, + #[codec(index = 24)] + #[doc = "The requested username does not exist."] + NoUsername, + #[codec(index = 25)] + #[doc = "The username cannot be forcefully removed because it can still be accepted."] + NotExpired, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Event` enum of this pallet"] @@ -3607,11 +4574,65 @@ pub mod runtime_types { main: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, + #[codec(index = 10)] + #[doc = "A username authority was added."] + AuthorityAdded { + authority: ::subxt::ext::subxt_core::utils::AccountId32, + }, + #[codec(index = 11)] + #[doc = "A username authority was removed."] + AuthorityRemoved { + authority: ::subxt::ext::subxt_core::utils::AccountId32, + }, + #[codec(index = 12)] + #[doc = "A username was set for `who`."] + UsernameSet { + who: ::subxt::ext::subxt_core::utils::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 13)] + #[doc = "A username was queued, but `who` must accept it prior to `expiration`."] + UsernameQueued { + who: ::subxt::ext::subxt_core::utils::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + expiration: ::core::primitive::u32, + }, + #[codec(index = 14)] + #[doc = "A queued username passed its expiration without being claimed and was removed."] + PreapprovalExpired { + whose: ::subxt::ext::subxt_core::utils::AccountId32, + }, + #[codec(index = 15)] + #[doc = "A username was set as a primary and can be looked up from `who`."] + PrimaryUsernameSet { + who: ::subxt::ext::subxt_core::utils::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 16)] + #[doc = "A dangling username (as in, a username corresponding to an account that has removed its"] + #[doc = "identity) has been removed."] + DanglingUsernameRemoved { + who: ::subxt::ext::subxt_core::utils::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, } } pub mod types { use super::runtime_types; #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct AuthorityProperties<_0> { + pub suffix: _0, + pub allocation: ::core::primitive::u32, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum Data { #[codec(index = 0)] None, @@ -3732,7 +4753,9 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::heartbeat`]."] + #[doc = "## Complexity:"] + #[doc = "- `O(K)` where K is length of `Keys` (heartbeat.validators_len)"] + #[doc = " - `O(K)`: decoding of length `K`"] heartbeat { heartbeat: runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, @@ -3780,11 +4803,11 @@ pub mod runtime_types { #[derive( Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode, )] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + pub struct Public(pub [::core::primitive::u8; 32usize]); #[derive( Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode, )] - pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); + pub struct Signature(pub [::core::primitive::u8; 64usize]); } } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] @@ -3803,7 +4826,18 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::as_multi_threshold_1`]."] + #[doc = "Immediately dispatch a multi-signature call using a single approval from the caller."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `other_signatories`: The accounts (other than the sender) who are part of the"] + #[doc = "multi-signature, but do not participate in the approval process."] + #[doc = "- `call`: The call to be executed."] + #[doc = ""] + #[doc = "Result is equivalent to the dispatched result."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "O(Z + C) where Z is the length of the call and C its execution weight."] as_multi_threshold_1 { other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3813,7 +4847,45 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::as_multi`]."] + #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] + #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] + #[doc = ""] + #[doc = "If there are enough, then dispatch the call."] + #[doc = ""] + #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] + #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] + #[doc = "is cancelled."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] + #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] + #[doc = "dispatch. May not be empty."] + #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] + #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] + #[doc = "transaction index) of the first approval transaction."] + #[doc = "- `call`: The call to be executed."] + #[doc = ""] + #[doc = "NOTE: Unless this is the final approval, you will generally want to use"] + #[doc = "`approve_as_multi` instead, since it only requires a hash of the call."] + #[doc = ""] + #[doc = "Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise"] + #[doc = "on success, result is `Ok` and the result from the interior call, if it was executed,"] + #[doc = "may be found in the deposited `MultisigExecuted` event."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(S + Z + Call)`."] + #[doc = "- Up to one balance-reserve or unreserve operation."] + #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] + #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] + #[doc = "- One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len."] + #[doc = "- One encode & hash, both of complexity `O(S)`."] + #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] + #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] + #[doc = "- One event."] + #[doc = "- The weight of the `call`."] + #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] + #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] as_multi { threshold: ::core::primitive::u16, other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -3828,7 +4900,36 @@ pub mod runtime_types { max_weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 2)] - #[doc = "See [`Pallet::approve_as_multi`]."] + #[doc = "Register approval for a dispatch to be made from a deterministic composite account if"] + #[doc = "approved by a total of `threshold - 1` of `other_signatories`."] + #[doc = ""] + #[doc = "Payment: `DepositBase` will be reserved if this is the first approval, plus"] + #[doc = "`threshold` times `DepositFactor`. It is returned once this dispatch happens or"] + #[doc = "is cancelled."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] + #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] + #[doc = "dispatch. May not be empty."] + #[doc = "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is"] + #[doc = "not the first approval, then it must be `Some`, with the timepoint (block number and"] + #[doc = "transaction index) of the first approval transaction."] + #[doc = "- `call_hash`: The hash of the call to be executed."] + #[doc = ""] + #[doc = "NOTE: If this is the final approval, you will want to use `as_multi` instead."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(S)`."] + #[doc = "- Up to one balance-reserve or unreserve operation."] + #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] + #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] + #[doc = "- One encode & hash, both of complexity `O(S)`."] + #[doc = "- Up to one binary search and insert (`O(logS + S)`)."] + #[doc = "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove."] + #[doc = "- One event."] + #[doc = "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit"] + #[doc = " taken for its lifetime of `DepositBase + threshold * DepositFactor`."] approve_as_multi { threshold: ::core::primitive::u16, other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -3841,7 +4942,27 @@ pub mod runtime_types { max_weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 3)] - #[doc = "See [`Pallet::cancel_as_multi`]."] + #[doc = "Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously"] + #[doc = "for this operation will be unreserved on success."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `threshold`: The total number of approvals for this dispatch before it is executed."] + #[doc = "- `other_signatories`: The accounts (other than the sender) who can approve this"] + #[doc = "dispatch. May not be empty."] + #[doc = "- `timepoint`: The timepoint (block number and transaction index) of the first approval"] + #[doc = "transaction for this dispatch."] + #[doc = "- `call_hash`: The hash of the call to be executed."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(S)`."] + #[doc = "- Up to one balance-reserve or unreserve operation."] + #[doc = "- One passthrough operation, one insert, both `O(S)` where `S` is the number of"] + #[doc = " signatories. `S` is capped by `MaxSignatories`, with weight being proportional."] + #[doc = "- One encode & hash, both of complexity `O(S)`."] + #[doc = "- One event."] + #[doc = "- I/O: 1 read `O(S)`, one remove."] + #[doc = "- Storage: removes one item."] cancel_as_multi { threshold: ::core::primitive::u16, other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -3960,24 +5081,81 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::join`]."] + #[doc = "Stake funds with a pool. The amount to bond is transferred from the member to the pool"] + #[doc = "account and immediately increases the pools bond."] + #[doc = ""] + #[doc = "The method of transferring the amount to the pool account is determined by"] + #[doc = "[`adapter::StakeStrategyType`]. If the pool is configured to use"] + #[doc = "[`adapter::StakeStrategyType::Delegate`], the funds remain in the account of"] + #[doc = "the `origin`, while the pool gains the right to use these funds for staking."] + #[doc = ""] + #[doc = "# Note"] + #[doc = ""] + #[doc = "* An account can only be a member of a single pool."] + #[doc = "* An account cannot join the same pool multiple times."] + #[doc = "* This call will *not* dust the member account, so the member must have at least"] + #[doc = " `existential deposit + amount` in their account."] + #[doc = "* Only a pool with [`PoolState::Open`] can be joined"] join { #[codec(compact)] amount: ::core::primitive::u128, pool_id: ::core::primitive::u32, }, #[codec(index = 1)] - #[doc = "See [`Pallet::bond_extra`]."] + #[doc = "Bond `extra` more funds from `origin` into the pool to which they already belong."] + #[doc = ""] + #[doc = "Additional funds can come from either the free balance of the account, of from the"] + #[doc = "accumulated rewards, see [`BondExtra`]."] + #[doc = ""] + #[doc = "Bonding extra funds implies an automatic payout of all pending rewards as well."] + #[doc = "See `bond_extra_other` to bond pending rewards of `other` members."] bond_extra { extra: runtime_types::pallet_nomination_pools::BondExtra< ::core::primitive::u128, >, }, #[codec(index = 2)] - #[doc = "See [`Pallet::claim_payout`]."] + #[doc = "A bonded member can use this to claim their payout based on the rewards that the pool"] + #[doc = "has accumulated since their last claimed payout (OR since joining if this is their first"] + #[doc = "time claiming rewards). The payout will be transferred to the member's account."] + #[doc = ""] + #[doc = "The member will earn rewards pro rata based on the members stake vs the sum of the"] + #[doc = "members in the pools stake. Rewards do not \"expire\"."] + #[doc = ""] + #[doc = "See `claim_payout_other` to claim rewards on behalf of some `other` pool member."] claim_payout, #[codec(index = 3)] - #[doc = "See [`Pallet::unbond`]."] + #[doc = "Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It"] + #[doc = "implicitly collects the rewards one last time, since not doing so would mean some"] + #[doc = "rewards would be forfeited."] + #[doc = ""] + #[doc = "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any"] + #[doc = "account)."] + #[doc = ""] + #[doc = "# Conditions for a permissionless dispatch."] + #[doc = ""] + #[doc = "* The pool is blocked and the caller is either the root or bouncer. This is refereed to"] + #[doc = " as a kick."] + #[doc = "* The pool is destroying and the member is not the depositor."] + #[doc = "* The pool is destroying, the member is the depositor and no other members are in the"] + #[doc = " pool."] + #[doc = ""] + #[doc = "## Conditions for permissioned dispatch (i.e. the caller is also the"] + #[doc = "`member_account`):"] + #[doc = ""] + #[doc = "* The caller is not the depositor."] + #[doc = "* The caller is the depositor, the pool is destroying and no other members are in the"] + #[doc = " pool."] + #[doc = ""] + #[doc = "# Note"] + #[doc = ""] + #[doc = "If there are too many unlocking chunks to unbond with the pool account,"] + #[doc = "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks."] + #[doc = "The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]"] + #[doc = "to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks"] + #[doc = "are available). However, it may not be possible to release the current unlocking chunks,"] + #[doc = "in which case, the result of this call will likely be the `NoMoreChunks` error from the"] + #[doc = "staking system."] unbond { member_account: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -3987,13 +5165,39 @@ pub mod runtime_types { unbonding_points: ::core::primitive::u128, }, #[codec(index = 4)] - #[doc = "See [`Pallet::pool_withdraw_unbonded`]."] + #[doc = "Call `withdraw_unbonded` for the pools account. This call can be made by any account."] + #[doc = ""] + #[doc = "This is useful if there are too many unlocking chunks to call `unbond`, and some"] + #[doc = "can be cleared by withdrawing. In the case there are too many unlocking chunks, the user"] + #[doc = "would probably see an error like `NoMoreChunks` emitted from the staking system when"] + #[doc = "they attempt to unbond."] pool_withdraw_unbonded { pool_id: ::core::primitive::u32, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "See [`Pallet::withdraw_unbonded`]."] + #[doc = "Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an"] + #[doc = "error is returned."] + #[doc = ""] + #[doc = "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any"] + #[doc = "account)."] + #[doc = ""] + #[doc = "# Conditions for a permissionless dispatch"] + #[doc = ""] + #[doc = "* The pool is in destroy mode and the target is not the depositor."] + #[doc = "* The target is the depositor and they are the only member in the sub pools."] + #[doc = "* The pool is blocked and the caller is either the root or bouncer."] + #[doc = ""] + #[doc = "# Conditions for permissioned dispatch"] + #[doc = ""] + #[doc = "* The caller is the target and they are not the depositor."] + #[doc = ""] + #[doc = "# Note"] + #[doc = ""] + #[doc = "- If the target is the depositor, the pool will be destroyed."] + #[doc = "- If the pool has any pending slash, we also try to slash the member before letting them"] + #[doc = "withdraw. This calculation adds some weight overhead and is only defensive. In reality,"] + #[doc = "pool slashes must have been already applied via permissionless [`Call::apply_slash`]."] withdraw_unbonded { member_account: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4002,7 +5206,23 @@ pub mod runtime_types { num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 6)] - #[doc = "See [`Pallet::create`]."] + #[doc = "Create a new delegation pool."] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `amount` - The amount of funds to delegate to the pool. This also acts of a sort of"] + #[doc = " deposit since the pools creator cannot fully unbond funds until the pool is being"] + #[doc = " destroyed."] + #[doc = "* `index` - A disambiguation index for creating the account. Likely only useful when"] + #[doc = " creating multiple pools in the same extrinsic."] + #[doc = "* `root` - The account to set as [`PoolRoles::root`]."] + #[doc = "* `nominator` - The account to set as the [`PoolRoles::nominator`]."] + #[doc = "* `bouncer` - The account to set as the [`PoolRoles::bouncer`]."] + #[doc = ""] + #[doc = "# Note"] + #[doc = ""] + #[doc = "In addition to `amount`, the caller will transfer the existential deposit; so the caller"] + #[doc = "needs at have at least `amount + existential_deposit` transferable."] create { #[codec(compact)] amount: ::core::primitive::u128, @@ -4020,7 +5240,12 @@ pub mod runtime_types { >, }, #[codec(index = 7)] - #[doc = "See [`Pallet::create_with_pool_id`]."] + #[doc = "Create a new delegation pool with a previously used pool id"] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "same as `create` with the inclusion of"] + #[doc = "* `pool_id` - `A valid PoolId."] create_with_pool_id { #[codec(compact)] amount: ::core::primitive::u128, @@ -4039,7 +5264,18 @@ pub mod runtime_types { pool_id: ::core::primitive::u32, }, #[codec(index = 8)] - #[doc = "See [`Pallet::nominate`]."] + #[doc = "Nominate on behalf of the pool."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be signed by the pool nominator or the pool"] + #[doc = "root role."] + #[doc = ""] + #[doc = "This directly forward the call to the staking pallet, on behalf of the pool bonded"] + #[doc = "account."] + #[doc = ""] + #[doc = "# Note"] + #[doc = ""] + #[doc = "In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have"] + #[doc = "at least `depositor_min_bond` in the pool to start nominating."] nominate { pool_id: ::core::primitive::u32, validators: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -4047,19 +5283,41 @@ pub mod runtime_types { >, }, #[codec(index = 9)] - #[doc = "See [`Pallet::set_state`]."] + #[doc = "Set a new state for the pool."] + #[doc = ""] + #[doc = "If a pool is already in the `Destroying` state, then under no condition can its state"] + #[doc = "change again."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be either:"] + #[doc = ""] + #[doc = "1. signed by the bouncer, or the root role of the pool,"] + #[doc = "2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and"] + #[doc = " then the state of the pool can be permissionlessly changed to `Destroying`."] set_state { pool_id: ::core::primitive::u32, state: runtime_types::pallet_nomination_pools::PoolState, }, #[codec(index = 10)] - #[doc = "See [`Pallet::set_metadata`]."] + #[doc = "Set a new metadata for the pool."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be signed by the bouncer, or the root role of the"] + #[doc = "pool."] set_metadata { pool_id: ::core::primitive::u32, metadata: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 11)] - #[doc = "See [`Pallet::set_configs`]."] + #[doc = "Update configurations for the nomination pools. The origin for this call must be"] + #[doc = "[`Config::AdminOrigin`]."] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `min_join_bond` - Set [`MinJoinBond`]."] + #[doc = "* `min_create_bond` - Set [`MinCreateBond`]."] + #[doc = "* `max_pools` - Set [`MaxPools`]."] + #[doc = "* `max_members` - Set [`MaxPoolMembers`]."] + #[doc = "* `max_members_per_pool` - Set [`MaxPoolMembersPerPool`]."] + #[doc = "* `global_max_commission` - Set [`GlobalMaxCommission`]."] set_configs { min_join_bond: runtime_types::pallet_nomination_pools::ConfigOp< ::core::primitive::u128, @@ -4081,7 +5339,13 @@ pub mod runtime_types { >, }, #[codec(index = 12)] - #[doc = "See [`Pallet::update_roles`]."] + #[doc = "Update the roles of the pool."] + #[doc = ""] + #[doc = "The root is the only entity that can change any of the roles, including itself,"] + #[doc = "excluding the depositor, who can never change."] + #[doc = ""] + #[doc = "It emits an event, notifying UIs of the role change. This event is quite relevant to"] + #[doc = "most pool members and they should be informed of changes to pool roles."] update_roles { pool_id: ::core::primitive::u32, new_root: runtime_types::pallet_nomination_pools::ConfigOp< @@ -4095,10 +5359,33 @@ pub mod runtime_types { >, }, #[codec(index = 13)] - #[doc = "See [`Pallet::chill`]."] + #[doc = "Chill on behalf of the pool."] + #[doc = ""] + #[doc = "The dispatch origin of this call can be signed by the pool nominator or the pool"] + #[doc = "root role, same as [`Pallet::nominate`]."] + #[doc = ""] + #[doc = "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any"] + #[doc = "account)."] + #[doc = ""] + #[doc = "# Conditions for a permissionless dispatch:"] + #[doc = "* When pool depositor has less than `MinNominatorBond` staked, otherwise pool members"] + #[doc = " are unable to unbond."] + #[doc = ""] + #[doc = "# Conditions for permissioned dispatch:"] + #[doc = "* The caller has a nominator or root role of the pool."] + #[doc = "This directly forward the call to the staking pallet, on behalf of the pool bonded"] + #[doc = "account."] chill { pool_id: ::core::primitive::u32 }, #[codec(index = 14)] - #[doc = "See [`Pallet::bond_extra_other`]."] + #[doc = "`origin` bonds funds from `extra` for some pool member `member` into their respective"] + #[doc = "pools."] + #[doc = ""] + #[doc = "`origin` can bond extra funds from free balance or pending rewards when `origin =="] + #[doc = "other`."] + #[doc = ""] + #[doc = "In the case of `origin != other`, `origin` can only bond extra pending rewards of"] + #[doc = "`other` members assuming set_claim_permission for the given member is"] + #[doc = "`PermissionlessCompound` or `PermissionlessAll`."] bond_extra_other { member: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4109,17 +5396,30 @@ pub mod runtime_types { >, }, #[codec(index = 15)] - #[doc = "See [`Pallet::set_claim_permission`]."] + #[doc = "Allows a pool member to set a claim permission to allow or disallow permissionless"] + #[doc = "bonding and withdrawing."] + #[doc = ""] + #[doc = "# Arguments"] + #[doc = ""] + #[doc = "* `origin` - Member of a pool."] + #[doc = "* `permission` - The permission to be applied."] set_claim_permission { permission: runtime_types::pallet_nomination_pools::ClaimPermission, }, #[codec(index = 16)] - #[doc = "See [`Pallet::claim_payout_other`]."] + #[doc = "`origin` can claim payouts on some pool member `other`'s behalf."] + #[doc = ""] + #[doc = "Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim"] + #[doc = "permission for this call to be successful."] claim_payout_other { other: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 17)] - #[doc = "See [`Pallet::set_commission`]."] + #[doc = "Set the commission of a pool."] + #[doc = "Both a commission percentage and a commission payee must be provided in the `current`"] + #[doc = "tuple. Where a `current` of `None` is provided, any current commission will be removed."] + #[doc = ""] + #[doc = "- If a `None` is supplied to `new_commission`, existing commission will be removed."] set_commission { pool_id: ::core::primitive::u32, new_commission: ::core::option::Option<( @@ -4128,13 +5428,20 @@ pub mod runtime_types { )>, }, #[codec(index = 18)] - #[doc = "See [`Pallet::set_commission_max`]."] + #[doc = "Set the maximum commission of a pool."] + #[doc = ""] + #[doc = "- Initial max can be set to any `Perbill`, and only smaller values thereafter."] + #[doc = "- Current commission will be lowered in the event it is higher than a new max"] + #[doc = " commission."] set_commission_max { pool_id: ::core::primitive::u32, max_commission: runtime_types::sp_arithmetic::per_things::Perbill, }, #[codec(index = 19)] - #[doc = "See [`Pallet::set_commission_change_rate`]."] + #[doc = "Set the commission change rate for a pool."] + #[doc = ""] + #[doc = "Initial change rate is not bounded, whereas subsequent updates can only be more"] + #[doc = "restrictive than the current."] set_commission_change_rate { pool_id: ::core::primitive::u32, change_rate: runtime_types::pallet_nomination_pools::CommissionChangeRate< @@ -4142,11 +5449,75 @@ pub mod runtime_types { >, }, #[codec(index = 20)] - #[doc = "See [`Pallet::claim_commission`]."] + #[doc = "Claim pending commission."] + #[doc = ""] + #[doc = "The dispatch origin of this call must be signed by the `root` role of the pool. Pending"] + #[doc = "commission is paid out and added to total claimed commission`. Total pending commission"] + #[doc = "is reset to zero. the current."] claim_commission { pool_id: ::core::primitive::u32 }, #[codec(index = 21)] - #[doc = "See [`Pallet::adjust_pool_deposit`]."] + #[doc = "Top up the deficit or withdraw the excess ED from the pool."] + #[doc = ""] + #[doc = "When a pool is created, the pool depositor transfers ED to the reward account of the"] + #[doc = "pool. ED is subject to change and over time, the deposit in the reward account may be"] + #[doc = "insufficient to cover the ED deficit of the pool or vice-versa where there is excess"] + #[doc = "deposit to the pool. This call allows anyone to adjust the ED deposit of the"] + #[doc = "pool by either topping up the deficit or claiming the excess."] adjust_pool_deposit { pool_id: ::core::primitive::u32 }, + #[codec(index = 22)] + #[doc = "Set or remove a pool's commission claim permission."] + #[doc = ""] + #[doc = "Determines who can claim the pool's pending commission. Only the `Root` role of the pool"] + #[doc = "is able to configure commission claim permissions."] + set_commission_claim_permission { + pool_id: ::core::primitive::u32, + permission: ::core::option::Option< + runtime_types::pallet_nomination_pools::CommissionClaimPermission< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + >, + }, + #[codec(index = 23)] + #[doc = "Apply a pending slash on a member."] + #[doc = ""] + #[doc = "Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:"] + #[doc = "[`adapter::StakeStrategyType::Delegate`]."] + #[doc = ""] + #[doc = "This call can be dispatched permissionlessly (i.e. by any account). If the member has"] + #[doc = "slash to be applied, caller may be rewarded with the part of the slash."] + apply_slash { + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + }, + #[codec(index = 24)] + #[doc = "Migrates delegated funds from the pool account to the `member_account`."] + #[doc = ""] + #[doc = "Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:"] + #[doc = "[`adapter::StakeStrategyType::Delegate`]."] + #[doc = ""] + #[doc = "This is a permission-less call and refunds any fee if claim is successful."] + #[doc = ""] + #[doc = "If the pool has migrated to delegation based staking, the staked tokens of pool members"] + #[doc = "can be moved and held in their own account. See [`adapter::DelegateStake`]"] + migrate_delegation { + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + }, + #[codec(index = 25)] + #[doc = "Migrate pool from [`adapter::StakeStrategyType::Transfer`] to"] + #[doc = "[`adapter::StakeStrategyType::Delegate`]."] + #[doc = ""] + #[doc = "Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:"] + #[doc = "[`adapter::StakeStrategyType::Delegate`]."] + #[doc = ""] + #[doc = "This call can be dispatched permissionlessly, and refunds any fee if successful."] + #[doc = ""] + #[doc = "If the pool has already migrated to delegation based staking, this call will fail."] + migrate_pool_to_delegate_stake { pool_id: ::core::primitive::u32 }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum DefensiveError { @@ -4160,6 +5531,10 @@ pub mod runtime_types { SubPoolsNotFound, #[codec(index = 4)] BondedStashKilledPrematurely, + #[codec(index = 5)] + DelegationUnsupported, + #[codec(index = 6)] + SlashNotApplied, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Error` enum of this pallet."] @@ -4268,6 +5643,18 @@ pub mod runtime_types { #[codec(index = 31)] #[doc = "No imbalance in the ED deposit for the pool."] NothingToAdjust, + #[codec(index = 32)] + #[doc = "No slash pending that can be applied to the member."] + NothingToSlash, + #[codec(index = 33)] + #[doc = "The pool or member delegation has already migrated to delegate stake."] + AlreadyMigrated, + #[codec(index = 34)] + #[doc = "The pool or member delegation has not migrated yet to delegate stake."] + NotMigrated, + #[codec(index = 35)] + #[doc = "This call is not allowed in the current state of the pallet."] + NotSupported, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "Events of this pallet."] @@ -4338,9 +5725,12 @@ pub mod runtime_types { #[doc = "A member has been removed from a pool."] #[doc = ""] #[doc = "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."] + #[doc = "Any funds that are still delegated (i.e. dangling delegation) are released and are"] + #[doc = "represented by `released_balance`."] MemberRemoved { pool_id: ::core::primitive::u32, member: ::subxt::ext::subxt_core::utils::AccountId32, + released_balance: ::core::primitive::u128, }, #[codec(index = 8)] #[doc = "The roles of a pool have been updated to the given new roles. Note that the depositor"] @@ -4389,18 +5779,28 @@ pub mod runtime_types { >, }, #[codec(index = 14)] + #[doc = "Pool commission claim permission has been updated."] + PoolCommissionClaimPermissionUpdated { + pool_id: ::core::primitive::u32, + permission: ::core::option::Option< + runtime_types::pallet_nomination_pools::CommissionClaimPermission< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + >, + }, + #[codec(index = 15)] #[doc = "Pool commission has been claimed."] PoolCommissionClaimed { pool_id: ::core::primitive::u32, commission: ::core::primitive::u128, }, - #[codec(index = 15)] + #[codec(index = 16)] #[doc = "Topped up deficit in frozen ED of the reward pool."] MinBalanceDeficitAdjusted { pool_id: ::core::primitive::u32, amount: ::core::primitive::u128, }, - #[codec(index = 16)] + #[codec(index = 17)] #[doc = "Claimed excess frozen ED of af the reward pool."] MinBalanceExcessAdjusted { pool_id: ::core::primitive::u32, @@ -4454,6 +5854,11 @@ pub mod runtime_types { >, >, pub throttle_from: ::core::option::Option<::core::primitive::u32>, + pub claim_permission: ::core::option::Option< + runtime_types::pallet_nomination_pools::CommissionClaimPermission< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + >, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct CommissionChangeRate<_0> { @@ -4461,6 +5866,13 @@ pub mod runtime_types { pub min_delay: _0, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub enum CommissionClaimPermission<_0> { + #[codec(index = 0)] + Permissionless, + #[codec(index = 1)] + Account(_0), + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -4547,27 +5959,42 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::note_preimage`]."] + #[doc = "Register a preimage on-chain."] + #[doc = ""] + #[doc = "If the preimage was previously requested, no fees or deposits are taken for providing"] + #[doc = "the preimage. Otherwise, a deposit is taken proportional to the size of the preimage."] note_preimage { bytes: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] - #[doc = "See [`Pallet::unnote_preimage`]."] + #[doc = "Clear an unrequested preimage from the runtime storage."] + #[doc = ""] + #[doc = "If `len` is provided, then it will be a much cheaper operation."] + #[doc = ""] + #[doc = "- `hash`: The hash of the preimage to be removed from the store."] + #[doc = "- `len`: The length of the preimage of `hash`."] unnote_preimage { hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 2)] - #[doc = "See [`Pallet::request_preimage`]."] + #[doc = "Request a preimage be uploaded to the chain without paying any fees or deposits."] + #[doc = ""] + #[doc = "If the preimage requests has already been provided on-chain, we unreserve any deposit"] + #[doc = "a user may have paid, and take the control of the preimage out of their hands."] request_preimage { hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] - #[doc = "See [`Pallet::unrequest_preimage`]."] + #[doc = "Clear a previously made request for a preimage."] + #[doc = ""] + #[doc = "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."] unrequest_preimage { hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 4)] - #[doc = "See [`Pallet::ensure_updated`]."] + #[doc = "Ensure that the a bulk of pre-images is upgraded."] + #[doc = ""] + #[doc = "The caller pays no fee if at least 90% of pre-images were successfully updated."] ensure_updated { hashes: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::utils::H256, @@ -4664,7 +6091,15 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::proxy`]."] + #[doc = "Dispatch the given `call` from an account that the sender is authorised for through"] + #[doc = "`add_proxy`."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `real`: The account that the proxy will make a call on behalf of."] + #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] + #[doc = "- `call`: The call to be made by the `real` account."] proxy { real: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4677,7 +6112,15 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::add_proxy`]."] + #[doc = "Register a proxy account for the sender that is able to make calls on its behalf."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `proxy`: The account that the `caller` would like to make a proxy."] + #[doc = "- `proxy_type`: The permissions allowed for this proxy account."] + #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] + #[doc = "zero."] add_proxy { delegate: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4687,7 +6130,13 @@ pub mod runtime_types { delay: ::core::primitive::u32, }, #[codec(index = 2)] - #[doc = "See [`Pallet::remove_proxy`]."] + #[doc = "Unregister a proxy account for the sender."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `proxy`: The account that the `caller` would like to remove as a proxy."] + #[doc = "- `proxy_type`: The permissions currently enabled for the removed proxy account."] remove_proxy { delegate: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4697,17 +6146,54 @@ pub mod runtime_types { delay: ::core::primitive::u32, }, #[codec(index = 3)] - #[doc = "See [`Pallet::remove_proxies`]."] + #[doc = "Unregister all proxy accounts for the sender."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "WARNING: This may be called on accounts created by `pure`, however if done, then"] + #[doc = "the unreserved fees will be inaccessible. **All access to this account will be lost.**"] remove_proxies, #[codec(index = 4)] - #[doc = "See [`Pallet::create_pure`]."] + #[doc = "Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and"] + #[doc = "initialize it with a proxy of `proxy_type` for `origin` sender."] + #[doc = ""] + #[doc = "Requires a `Signed` origin."] + #[doc = ""] + #[doc = "- `proxy_type`: The type of the proxy that the sender will be registered as over the"] + #[doc = "new account. This will almost always be the most permissive `ProxyType` possible to"] + #[doc = "allow for maximum flexibility."] + #[doc = "- `index`: A disambiguation index, in case this is called multiple times in the same"] + #[doc = "transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just"] + #[doc = "want to use `0`."] + #[doc = "- `delay`: The announcement period required of the initial proxy. Will generally be"] + #[doc = "zero."] + #[doc = ""] + #[doc = "Fails with `Duplicate` if this has already been called in this transaction, from the"] + #[doc = "same sender, with the same parameters."] + #[doc = ""] + #[doc = "Fails if there are insufficient funds to pay for deposit."] create_pure { proxy_type: runtime_types::vara_runtime::ProxyType, delay: ::core::primitive::u32, index: ::core::primitive::u16, }, #[codec(index = 5)] - #[doc = "See [`Pallet::kill_pure`]."] + #[doc = "Removes a previously spawned pure proxy."] + #[doc = ""] + #[doc = "WARNING: **All access to this account will be lost.** Any funds held in it will be"] + #[doc = "inaccessible."] + #[doc = ""] + #[doc = "Requires a `Signed` origin, and the sender account must have been created by a call to"] + #[doc = "`pure` with corresponding parameters."] + #[doc = ""] + #[doc = "- `spawner`: The account that originally called `pure` to create this account."] + #[doc = "- `index`: The disambiguation index originally passed to `pure`. Probably `0`."] + #[doc = "- `proxy_type`: The proxy type originally passed to `pure`."] + #[doc = "- `height`: The height of the chain when the call to `pure` was processed."] + #[doc = "- `ext_index`: The extrinsic index in which the call to `pure` was processed."] + #[doc = ""] + #[doc = "Fails with `NoPermission` in case the caller is not a previously created pure"] + #[doc = "account whose `pure` call has corresponding parameters."] kill_pure { spawner: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4721,7 +6207,21 @@ pub mod runtime_types { ext_index: ::core::primitive::u32, }, #[codec(index = 6)] - #[doc = "See [`Pallet::announce`]."] + #[doc = "Publish the hash of a proxy-call that will be made in the future."] + #[doc = ""] + #[doc = "This must be called some number of blocks before the corresponding `proxy` is attempted"] + #[doc = "if the delay associated with the proxy relationship is greater than zero."] + #[doc = ""] + #[doc = "No more than `MaxPending` announcements may be made at any one time."] + #[doc = ""] + #[doc = "This will take a deposit of `AnnouncementDepositFactor` as well as"] + #[doc = "`AnnouncementDepositBase` if there are no other pending announcements."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and a proxy of `real`."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `real`: The account that the proxy will make a call on behalf of."] + #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] announce { real: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4730,7 +6230,16 @@ pub mod runtime_types { call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 7)] - #[doc = "See [`Pallet::remove_announcement`]."] + #[doc = "Remove a given announcement."] + #[doc = ""] + #[doc = "May be called by a proxy account to remove a call they previously announced and return"] + #[doc = "the deposit."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `real`: The account that the proxy will make a call on behalf of."] + #[doc = "- `call_hash`: The hash of the call to be made by the `real` account."] remove_announcement { real: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4739,7 +6248,16 @@ pub mod runtime_types { call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 8)] - #[doc = "See [`Pallet::reject_announcement`]."] + #[doc = "Remove the given announcement of a delegate."] + #[doc = ""] + #[doc = "May be called by a target (proxied) account to remove a call that one of their delegates"] + #[doc = "(`delegate`) has announced they want to execute. The deposit is returned."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `delegate`: The account that previously announced the call."] + #[doc = "- `call_hash`: The hash of the call to be made."] reject_announcement { delegate: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4748,7 +6266,17 @@ pub mod runtime_types { call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 9)] - #[doc = "See [`Pallet::proxy_announced`]."] + #[doc = "Dispatch the given `call` from an account that the sender is authorized for through"] + #[doc = "`add_proxy`."] + #[doc = ""] + #[doc = "Removes any corresponding announcement(s)."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `real`: The account that the proxy will make a call on behalf of."] + #[doc = "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call."] + #[doc = "- `call`: The call to be made by the `real` account."] proxy_announced { delegate: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4857,7 +6385,12 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::add_member`]."] + #[doc = "Introduce a new member."] + #[doc = ""] + #[doc = "- `origin`: Must be the `AddOrigin`."] + #[doc = "- `who`: Account of non-member which will become a member."] + #[doc = ""] + #[doc = "Weight: `O(1)`"] add_member { who: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4865,7 +6398,12 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::promote_member`]."] + #[doc = "Increment the rank of an existing member by one."] + #[doc = ""] + #[doc = "- `origin`: Must be the `PromoteOrigin`."] + #[doc = "- `who`: Account of existing member."] + #[doc = ""] + #[doc = "Weight: `O(1)`"] promote_member { who: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4873,7 +6411,13 @@ pub mod runtime_types { >, }, #[codec(index = 2)] - #[doc = "See [`Pallet::demote_member`]."] + #[doc = "Decrement the rank of an existing member by one. If the member is already at rank zero,"] + #[doc = "then they are removed entirely."] + #[doc = ""] + #[doc = "- `origin`: Must be the `DemoteOrigin`."] + #[doc = "- `who`: Account of existing member of rank greater than zero."] + #[doc = ""] + #[doc = "Weight: `O(1)`, less if the member's index is highest in its rank."] demote_member { who: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4881,7 +6425,13 @@ pub mod runtime_types { >, }, #[codec(index = 3)] - #[doc = "See [`Pallet::remove_member`]."] + #[doc = "Remove the member entirely."] + #[doc = ""] + #[doc = "- `origin`: Must be the `RemoveOrigin`."] + #[doc = "- `who`: Account of existing member of rank greater than zero."] + #[doc = "- `min_rank`: The rank of the member or greater."] + #[doc = ""] + #[doc = "Weight: `O(min_rank)`."] remove_member { who: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -4890,17 +6440,52 @@ pub mod runtime_types { min_rank: ::core::primitive::u16, }, #[codec(index = 4)] - #[doc = "See [`Pallet::vote`]."] + #[doc = "Add an aye or nay vote for the sender to the given proposal."] + #[doc = ""] + #[doc = "- `origin`: Must be `Signed` by a member account."] + #[doc = "- `poll`: Index of a poll which is ongoing."] + #[doc = "- `aye`: `true` if the vote is to approve the proposal, `false` otherwise."] + #[doc = ""] + #[doc = "Transaction fees are be waived if the member is voting on any particular proposal"] + #[doc = "for the first time and the call is successful. Subsequent vote changes will charge a"] + #[doc = "fee."] + #[doc = ""] + #[doc = "Weight: `O(1)`, less if there was no previous vote on the poll by the member."] vote { poll: ::core::primitive::u32, aye: ::core::primitive::bool, }, #[codec(index = 5)] - #[doc = "See [`Pallet::cleanup_poll`]."] + #[doc = "Remove votes from the given poll. It must have ended."] + #[doc = ""] + #[doc = "- `origin`: Must be `Signed` by any account."] + #[doc = "- `poll_index`: Index of a poll which is completed and for which votes continue to"] + #[doc = " exist."] + #[doc = "- `max`: Maximum number of vote items from remove in this call."] + #[doc = ""] + #[doc = "Transaction fees are waived if the operation is successful."] + #[doc = ""] + #[doc = "Weight `O(max)` (less if there are fewer items to remove than `max`)."] cleanup_poll { poll_index: ::core::primitive::u32, max: ::core::primitive::u32, }, + #[codec(index = 6)] + #[doc = "Exchanges a member with a new account and the same existing rank."] + #[doc = ""] + #[doc = "- `origin`: Must be the `ExchangeOrigin`."] + #[doc = "- `who`: Account of existing member of rank greater than zero to be exchanged."] + #[doc = "- `new_who`: New Account of existing member of rank greater than zero to exchanged to."] + exchange_member { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + new_who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Error` enum of this pallet."] @@ -4932,6 +6517,12 @@ pub mod runtime_types { #[codec(index = 8)] #[doc = "The origin is not sufficiently privileged to do the operation."] NoPermission, + #[codec(index = 9)] + #[doc = "The new member to exchange is the same as the old member"] + SameMember, + #[codec(index = 10)] + #[doc = "The max member count for the rank has been reached."] + TooManyMembers, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Event` enum of this pallet"] @@ -4962,6 +6553,12 @@ pub mod runtime_types { vote: runtime_types::pallet_ranked_collective::VoteRecord, tally: runtime_types::pallet_ranked_collective::Tally, }, + #[codec(index = 4)] + #[doc = "The member `who` had their `AccountId` changed to `new_who`."] + MemberExchanged { + who: ::subxt::ext::subxt_core::utils::AccountId32, + new_who: ::subxt::ext::subxt_core::utils::AccountId32, + }, } } #[derive( @@ -4996,7 +6593,15 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::submit`]."] + #[doc = "Propose a referendum on a privileged action."] + #[doc = ""] + #[doc = "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds"] + #[doc = " available."] + #[doc = "- `proposal_origin`: The origin from which the proposal should be executed."] + #[doc = "- `proposal`: The proposal."] + #[doc = "- `enactment_moment`: The moment that the proposal should be enacted."] + #[doc = ""] + #[doc = "Emits `Submitted`."] submit { proposal_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::vara_runtime::OriginCaller, @@ -5011,28 +6616,74 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::place_decision_deposit`]."] + #[doc = "Post the Decision Deposit for a referendum."] + #[doc = ""] + #[doc = "- `origin`: must be `Signed` and the account must have funds available for the"] + #[doc = " referendum's track's Decision Deposit."] + #[doc = "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be"] + #[doc = " posted."] + #[doc = ""] + #[doc = "Emits `DecisionDepositPlaced`."] place_decision_deposit { index: ::core::primitive::u32 }, #[codec(index = 2)] - #[doc = "See [`Pallet::refund_decision_deposit`]."] + #[doc = "Refund the Decision Deposit for a closed referendum back to the depositor."] + #[doc = ""] + #[doc = "- `origin`: must be `Signed` or `Root`."] + #[doc = "- `index`: The index of a closed referendum whose Decision Deposit has not yet been"] + #[doc = " refunded."] + #[doc = ""] + #[doc = "Emits `DecisionDepositRefunded`."] refund_decision_deposit { index: ::core::primitive::u32 }, #[codec(index = 3)] - #[doc = "See [`Pallet::cancel`]."] + #[doc = "Cancel an ongoing referendum."] + #[doc = ""] + #[doc = "- `origin`: must be the `CancelOrigin`."] + #[doc = "- `index`: The index of the referendum to be cancelled."] + #[doc = ""] + #[doc = "Emits `Cancelled`."] cancel { index: ::core::primitive::u32 }, #[codec(index = 4)] - #[doc = "See [`Pallet::kill`]."] + #[doc = "Cancel an ongoing referendum and slash the deposits."] + #[doc = ""] + #[doc = "- `origin`: must be the `KillOrigin`."] + #[doc = "- `index`: The index of the referendum to be cancelled."] + #[doc = ""] + #[doc = "Emits `Killed` and `DepositSlashed`."] kill { index: ::core::primitive::u32 }, #[codec(index = 5)] - #[doc = "See [`Pallet::nudge_referendum`]."] + #[doc = "Advance a referendum onto its next logical state. Only used internally."] + #[doc = ""] + #[doc = "- `origin`: must be `Root`."] + #[doc = "- `index`: the referendum to be advanced."] nudge_referendum { index: ::core::primitive::u32 }, #[codec(index = 6)] - #[doc = "See [`Pallet::one_fewer_deciding`]."] + #[doc = "Advance a track onto its next logical state. Only used internally."] + #[doc = ""] + #[doc = "- `origin`: must be `Root`."] + #[doc = "- `track`: the track to be advanced."] + #[doc = ""] + #[doc = "Action item for when there is now one fewer referendum in the deciding phase and the"] + #[doc = "`DecidingCount` is not yet updated. This means that we should either:"] + #[doc = "- begin deciding another referendum (and leave `DecidingCount` alone); or"] + #[doc = "- decrement `DecidingCount`."] one_fewer_deciding { track: ::core::primitive::u16 }, #[codec(index = 7)] - #[doc = "See [`Pallet::refund_submission_deposit`]."] + #[doc = "Refund the Submission Deposit for a closed referendum back to the depositor."] + #[doc = ""] + #[doc = "- `origin`: must be `Signed` or `Root`."] + #[doc = "- `index`: The index of a closed referendum whose Submission Deposit has not yet been"] + #[doc = " refunded."] + #[doc = ""] + #[doc = "Emits `SubmissionDepositRefunded`."] refund_submission_deposit { index: ::core::primitive::u32 }, #[codec(index = 8)] - #[doc = "See [`Pallet::set_metadata`]."] + #[doc = "Set or clear metadata of a referendum."] + #[doc = ""] + #[doc = "Parameters:"] + #[doc = "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a"] + #[doc = " metadata of a finished referendum."] + #[doc = "- `index`: The index of a referendum to set or clear metadata for."] + #[doc = "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."] set_metadata { index: ::core::primitive::u32, maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, @@ -5080,6 +6731,9 @@ pub mod runtime_types { #[codec(index = 12)] #[doc = "The preimage does not exist."] PreimageNotExist, + #[codec(index = 13)] + #[doc = "The preimage is stored with a different length than the one provided."] + PreimageStoredWithDifferentLength, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Event` enum of this pallet"] @@ -5428,7 +7082,7 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::schedule`]."] + #[doc = "Anonymously schedule a task."] schedule { when: ::core::primitive::u32, maybe_periodic: ::core::option::Option<( @@ -5441,13 +7095,13 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::cancel`]."] + #[doc = "Cancel an anonymously scheduled task."] cancel { when: ::core::primitive::u32, index: ::core::primitive::u32, }, #[codec(index = 2)] - #[doc = "See [`Pallet::schedule_named`]."] + #[doc = "Schedule a named task."] schedule_named { id: [::core::primitive::u8; 32usize], when: ::core::primitive::u32, @@ -5461,12 +7115,12 @@ pub mod runtime_types { >, }, #[codec(index = 3)] - #[doc = "See [`Pallet::cancel_named`]."] + #[doc = "Cancel a named scheduled task."] cancel_named { id: [::core::primitive::u8; 32usize], }, #[codec(index = 4)] - #[doc = "See [`Pallet::schedule_after`]."] + #[doc = "Anonymously schedule a task after a delay."] schedule_after { after: ::core::primitive::u32, maybe_periodic: ::core::option::Option<( @@ -5479,7 +7133,7 @@ pub mod runtime_types { >, }, #[codec(index = 5)] - #[doc = "See [`Pallet::schedule_named_after`]."] + #[doc = "Schedule a named task after a delay."] schedule_named_after { id: [::core::primitive::u8; 32usize], after: ::core::primitive::u32, @@ -5492,6 +7146,52 @@ pub mod runtime_types { runtime_types::vara_runtime::RuntimeCall, >, }, + #[codec(index = 6)] + #[doc = "Set a retry configuration for a task so that, in case its scheduled run fails, it will"] + #[doc = "be retried after `period` blocks, for a total amount of `retries` retries or until it"] + #[doc = "succeeds."] + #[doc = ""] + #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] + #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] + #[doc = "normally while the task is retrying."] + #[doc = ""] + #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] + #[doc = "clones of the original task. Their retry configuration will be derived from the"] + #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] + #[doc = "original `total_retries`."] + set_retry { + task: (::core::primitive::u32, ::core::primitive::u32), + retries: ::core::primitive::u8, + period: ::core::primitive::u32, + }, + #[codec(index = 7)] + #[doc = "Set a retry configuration for a named task so that, in case its scheduled run fails, it"] + #[doc = "will be retried after `period` blocks, for a total amount of `retries` retries or until"] + #[doc = "it succeeds."] + #[doc = ""] + #[doc = "Tasks which need to be scheduled for a retry are still subject to weight metering and"] + #[doc = "agenda space, same as a regular task. If a periodic task fails, it will be scheduled"] + #[doc = "normally while the task is retrying."] + #[doc = ""] + #[doc = "Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic"] + #[doc = "clones of the original task. Their retry configuration will be derived from the"] + #[doc = "original task's configuration, but will have a lower value for `remaining` than the"] + #[doc = "original `total_retries`."] + set_retry_named { + id: [::core::primitive::u8; 32usize], + retries: ::core::primitive::u8, + period: ::core::primitive::u32, + }, + #[codec(index = 8)] + #[doc = "Removes the retry configuration of a task."] + cancel_retry { + task: (::core::primitive::u32, ::core::primitive::u32), + }, + #[codec(index = 9)] + #[doc = "Cancel the retry configuration of a named task."] + cancel_retry_named { + id: [::core::primitive::u8; 32usize], + }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "The `Error` enum of this pallet."] @@ -5536,18 +7236,39 @@ pub mod runtime_types { ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 3)] + #[doc = "Set a retry configuration for some task."] + RetrySet { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + period: ::core::primitive::u32, + retries: ::core::primitive::u8, + }, + #[codec(index = 4)] + #[doc = "Cancel a retry configuration for some task."] + RetryCancelled { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, + #[codec(index = 5)] #[doc = "The call for the provided hash was not found so the task has been aborted."] CallUnavailable { task: (::core::primitive::u32, ::core::primitive::u32), id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, - #[codec(index = 4)] + #[codec(index = 6)] #[doc = "The given task was unable to be renewed since the agenda is full at that block."] PeriodicFailed { task: (::core::primitive::u32, ::core::primitive::u32), id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, - #[codec(index = 5)] + #[codec(index = 7)] + #[doc = "The given task was unable to be retried since the agenda is full at that block or there"] + #[doc = "was not enough weight to reschedule it."] + RetryFailed { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, + #[codec(index = 8)] #[doc = "The given task can never be executed since it is overweight."] PermanentlyOverweight { task: (::core::primitive::u32, ::core::primitive::u32), @@ -5556,6 +7277,12 @@ pub mod runtime_types { } } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct RetryConfig<_0> { + pub total_retries: ::core::primitive::u8, + pub remaining: ::core::primitive::u8, + pub period: _0, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct Scheduled<_0, _1, _2, _3, _4> { pub maybe_id: ::core::option::Option<_0>, pub priority: ::core::primitive::u8, @@ -5574,13 +7301,32 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::set_keys`]."] + #[doc = "Sets the session key(s) of the function caller to `keys`."] + #[doc = "Allows an account to set its session key prior to becoming a validator."] + #[doc = "This doesn't take effect until the next session."] + #[doc = ""] + #[doc = "The dispatch origin of this function must be signed."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is"] + #[doc = " fixed."] set_keys { keys: runtime_types::vara_runtime::SessionKeys, proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] - #[doc = "See [`Pallet::purge_keys`]."] + #[doc = "Removes any session key(s) of the function caller."] + #[doc = ""] + #[doc = "This doesn't take effect until the next session."] + #[doc = ""] + #[doc = "The dispatch origin of this function must be Signed and the account must be either be"] + #[doc = "convertible to a validator ID using the chain's typical addressing system (this usually"] + #[doc = "means being a controller account) or directly convertible into a validator ID (which"] + #[doc = "usually means being a stash account)."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(1)` in number of key types. Actual cost depends on the number of length of"] + #[doc = " `T::Keys::key_ids()` which is fixed."] purge_keys, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] @@ -5626,7 +7372,22 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::bond`]."] + #[doc = "Take the origin account as a stash and lock up `value` of its balance. `controller` will"] + #[doc = "be the account that controls it."] + #[doc = ""] + #[doc = "`value` must be more than the `minimum_balance` specified by `T::Currency`."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the stash account."] + #[doc = ""] + #[doc = "Emits `Bonded`."] + #[doc = "## Complexity"] + #[doc = "- Independent of the arguments. Moderate complexity."] + #[doc = "- O(1)."] + #[doc = "- Three extra DB entries."] + #[doc = ""] + #[doc = "NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned"] + #[doc = "unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed"] + #[doc = "as dust."] bond { #[codec(compact)] value: ::core::primitive::u128, @@ -5635,29 +7396,95 @@ pub mod runtime_types { >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::bond_extra`]."] + #[doc = "Add some extra amount that have appeared in the stash `free_balance` into the balance up"] + #[doc = "for staking."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the stash, not the controller."] + #[doc = ""] + #[doc = "Use this if there are additional funds in your stash account that you wish to bond."] + #[doc = "Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose"] + #[doc = "any limitation on the amount that can be added."] + #[doc = ""] + #[doc = "Emits `Bonded`."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- Independent of the arguments. Insignificant complexity."] + #[doc = "- O(1)."] bond_extra { #[codec(compact)] max_additional: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "See [`Pallet::unbond`]."] + #[doc = "Schedule a portion of the stash to be unlocked ready for transfer out after the bond"] + #[doc = "period ends. If this leaves an amount actively bonded less than"] + #[doc = "T::Currency::minimum_balance(), then it is increased to the full amount."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the controller, not the stash."] + #[doc = ""] + #[doc = "Once the unlock period is done, you can call `withdraw_unbonded` to actually move"] + #[doc = "the funds out of management ready for transfer."] + #[doc = ""] + #[doc = "No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)"] + #[doc = "can co-exists at the same time. If there are no unlocking chunks slots available"] + #[doc = "[`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible)."] + #[doc = ""] + #[doc = "If a user encounters the `InsufficientBond` error when calling this extrinsic,"] + #[doc = "they should call `chill` first in order to free up their bonded funds."] + #[doc = ""] + #[doc = "Emits `Unbonded`."] + #[doc = ""] + #[doc = "See also [`Call::withdraw_unbonded`]."] unbond { #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 3)] - #[doc = "See [`Pallet::withdraw_unbonded`]."] + #[doc = "Remove any unlocked chunks from the `unlocking` queue from our management."] + #[doc = ""] + #[doc = "This essentially frees up that balance to be used by the stash account to do whatever"] + #[doc = "it wants."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the controller."] + #[doc = ""] + #[doc = "Emits `Withdrawn`."] + #[doc = ""] + #[doc = "See also [`Call::unbond`]."] + #[doc = ""] + #[doc = "## Parameters"] + #[doc = ""] + #[doc = "- `num_slashing_spans` indicates the number of metadata slashing spans to clear when"] + #[doc = "this call results in a complete removal of all the data related to the stash account."] + #[doc = "In this case, the `num_slashing_spans` must be larger or equal to the number of"] + #[doc = "slashing spans associated with the stash account in the [`SlashingSpans`] storage type,"] + #[doc = "otherwise the call will fail. The call weight is directly proportional to"] + #[doc = "`num_slashing_spans`."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "O(S) where S is the number of slashing spans to remove"] + #[doc = "NOTE: Weight annotation is the kill scenario, we refund otherwise."] withdraw_unbonded { num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 4)] - #[doc = "See [`Pallet::validate`]."] + #[doc = "Declare the desire to validate for the origin controller."] + #[doc = ""] + #[doc = "Effects will be felt at the beginning of the next era."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the controller, not the stash."] validate { prefs: runtime_types::pallet_staking::ValidatorPrefs, }, #[codec(index = 5)] - #[doc = "See [`Pallet::nominate`]."] + #[doc = "Declare the desire to nominate `targets` for the origin controller."] + #[doc = ""] + #[doc = "Effects will be felt at the beginning of the next era."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the controller, not the stash."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- The transaction's complexity is proportional to the size of `targets` (N)"] + #[doc = "which is capped at CompactAssignments::LIMIT (T::MaxNominations)."] + #[doc = "- Both the reads and writes follow a similar pattern."] nominate { targets: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::utils::MultiAddress< @@ -5667,84 +7494,225 @@ pub mod runtime_types { >, }, #[codec(index = 6)] - #[doc = "See [`Pallet::chill`]."] + #[doc = "Declare no desire to either validate or nominate."] + #[doc = ""] + #[doc = "Effects will be felt at the beginning of the next era."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the controller, not the stash."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- Independent of the arguments. Insignificant complexity."] + #[doc = "- Contains one read."] + #[doc = "- Writes are limited to the `origin` account key."] chill, #[codec(index = 7)] - #[doc = "See [`Pallet::set_payee`]."] + #[doc = "(Re-)set the payment target for a controller."] + #[doc = ""] + #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the controller, not the stash."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)"] + #[doc = "- Independent of the arguments. Insignificant complexity."] + #[doc = "- Contains a limited number of reads."] + #[doc = "- Writes are limited to the `origin` account key."] + #[doc = "---------"] set_payee { payee: runtime_types::pallet_staking::RewardDestination< ::subxt::ext::subxt_core::utils::AccountId32, >, }, #[codec(index = 8)] - #[doc = "See [`Pallet::set_controller`]."] + #[doc = "(Re-)sets the controller of a stash to the stash itself. This function previously"] + #[doc = "accepted a `controller` argument to set the controller to an account other than the"] + #[doc = "stash itself. This functionality has now been removed, now only setting the controller"] + #[doc = "to the stash, if it is not already."] + #[doc = ""] + #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the stash, not the controller."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "O(1)"] + #[doc = "- Independent of the arguments. Insignificant complexity."] + #[doc = "- Contains a limited number of reads."] + #[doc = "- Writes are limited to the `origin` account key."] set_controller, #[codec(index = 9)] - #[doc = "See [`Pallet::set_validator_count`]."] + #[doc = "Sets the ideal number of validators."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "O(1)"] set_validator_count { #[codec(compact)] new: ::core::primitive::u32, }, #[codec(index = 10)] - #[doc = "See [`Pallet::increase_validator_count`]."] + #[doc = "Increments the ideal number of validators up to maximum of"] + #[doc = "`ElectionProviderBase::MaxWinners`."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "Same as [`Self::set_validator_count`]."] increase_validator_count { #[codec(compact)] additional: ::core::primitive::u32, }, #[codec(index = 11)] - #[doc = "See [`Pallet::scale_validator_count`]."] + #[doc = "Scale up the ideal number of validators by a factor up to maximum of"] + #[doc = "`ElectionProviderBase::MaxWinners`."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "Same as [`Self::set_validator_count`]."] scale_validator_count { factor: runtime_types::sp_arithmetic::per_things::Percent, }, #[codec(index = 12)] - #[doc = "See [`Pallet::force_no_eras`]."] + #[doc = "Force there to be no new eras indefinitely."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] + #[doc = ""] + #[doc = "# Warning"] + #[doc = ""] + #[doc = "The election process starts multiple blocks before the end of the era."] + #[doc = "Thus the election process may be ongoing when this is called. In this case the"] + #[doc = "election will continue until the next era is triggered."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- No arguments."] + #[doc = "- Weight: O(1)"] force_no_eras, #[codec(index = 13)] - #[doc = "See [`Pallet::force_new_era`]."] + #[doc = "Force there to be a new era at the end of the next session. After this, it will be"] + #[doc = "reset to normal (non-forced) behaviour."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] + #[doc = ""] + #[doc = "# Warning"] + #[doc = ""] + #[doc = "The election process starts multiple blocks before the end of the era."] + #[doc = "If this is called just before a new era is triggered, the election process may not"] + #[doc = "have enough blocks to get a result."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- No arguments."] + #[doc = "- Weight: O(1)"] force_new_era, #[codec(index = 14)] - #[doc = "See [`Pallet::set_invulnerables`]."] + #[doc = "Set the validators who cannot be slashed (if any)."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] set_invulnerables { invulnerables: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::utils::AccountId32, >, }, #[codec(index = 15)] - #[doc = "See [`Pallet::force_unstake`]."] + #[doc = "Force a current staker to become completely unstaked, immediately."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] + #[doc = ""] + #[doc = "## Parameters"] + #[doc = ""] + #[doc = "- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more"] + #[doc = "details."] force_unstake { stash: ::subxt::ext::subxt_core::utils::AccountId32, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 16)] - #[doc = "See [`Pallet::force_new_era_always`]."] + #[doc = "Force there to be a new era at the end of sessions indefinitely."] + #[doc = ""] + #[doc = "The dispatch origin must be Root."] + #[doc = ""] + #[doc = "# Warning"] + #[doc = ""] + #[doc = "The election process starts multiple blocks before the end of the era."] + #[doc = "If this is called just before a new era is triggered, the election process may not"] + #[doc = "have enough blocks to get a result."] force_new_era_always, #[codec(index = 17)] - #[doc = "See [`Pallet::cancel_deferred_slash`]."] + #[doc = "Cancel enactment of a deferred slash."] + #[doc = ""] + #[doc = "Can be called by the `T::AdminOrigin`."] + #[doc = ""] + #[doc = "Parameters: era and indices of the slashes for that era to kill."] cancel_deferred_slash { era: ::core::primitive::u32, slash_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, }, #[codec(index = 18)] - #[doc = "See [`Pallet::payout_stakers`]."] + #[doc = "Pay out next page of the stakers behind a validator for the given era."] + #[doc = ""] + #[doc = "- `validator_stash` is the stash account of the validator."] + #[doc = "- `era` may be any era between `[current_era - history_depth; current_era]`."] + #[doc = ""] + #[doc = "The origin of this call must be _Signed_. Any account can call this function, even if"] + #[doc = "it is not one of the stakers."] + #[doc = ""] + #[doc = "The reward payout could be paged in case there are too many nominators backing the"] + #[doc = "`validator_stash`. This call will payout unpaid pages in an ascending order. To claim a"] + #[doc = "specific page, use `payout_stakers_by_page`.`"] + #[doc = ""] + #[doc = "If all pages are claimed, it returns an error `InvalidPage`."] payout_stakers { validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, era: ::core::primitive::u32, }, #[codec(index = 19)] - #[doc = "See [`Pallet::rebond`]."] + #[doc = "Rebond a portion of the stash scheduled to be unlocked."] + #[doc = ""] + #[doc = "The dispatch origin must be signed by the controller."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- Time complexity: O(L), where L is unlocking chunks"] + #[doc = "- Bounded by `MaxUnlockingChunks`."] rebond { #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 20)] - #[doc = "See [`Pallet::reap_stash`]."] + #[doc = "Remove all data structures concerning a staker/stash once it is at a state where it can"] + #[doc = "be considered `dust` in the staking system. The requirements are:"] + #[doc = ""] + #[doc = "1. the `total_balance` of the stash is below existential deposit."] + #[doc = "2. or, the `ledger.total` of the stash is below existential deposit."] + #[doc = "3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero."] + #[doc = ""] + #[doc = "The former can happen in cases like a slash; the latter when a fully unbonded account"] + #[doc = "is still receiving staking rewards in `RewardDestination::Staked`."] + #[doc = ""] + #[doc = "It can be called by anyone, as long as `stash` meets the above requirements."] + #[doc = ""] + #[doc = "Refunds the transaction fees upon successful execution."] + #[doc = ""] + #[doc = "## Parameters"] + #[doc = ""] + #[doc = "- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more"] + #[doc = "details."] reap_stash { stash: ::subxt::ext::subxt_core::utils::AccountId32, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 21)] - #[doc = "See [`Pallet::kick`]."] + #[doc = "Remove the given nominations from the calling validator."] + #[doc = ""] + #[doc = "Effects will be felt at the beginning of the next era."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ by the controller, not the stash."] + #[doc = ""] + #[doc = "- `who`: A list of nominator stash accounts who are nominating this validator which"] + #[doc = " should no longer be nominating this validator."] + #[doc = ""] + #[doc = "Note: Making this call only makes sense if you first set the validator preferences to"] + #[doc = "block any further nominations."] kick { who: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::utils::MultiAddress< @@ -5754,7 +7722,23 @@ pub mod runtime_types { >, }, #[codec(index = 22)] - #[doc = "See [`Pallet::set_staking_configs`]."] + #[doc = "Update the various staking configurations ."] + #[doc = ""] + #[doc = "* `min_nominator_bond`: The minimum active bond needed to be a nominator."] + #[doc = "* `min_validator_bond`: The minimum active bond needed to be a validator."] + #[doc = "* `max_nominator_count`: The max number of users who can be a nominator at once. When"] + #[doc = " set to `None`, no limit is enforced."] + #[doc = "* `max_validator_count`: The max number of users who can be a validator at once. When"] + #[doc = " set to `None`, no limit is enforced."] + #[doc = "* `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which"] + #[doc = " should be filled in order for the `chill_other` transaction to work."] + #[doc = "* `min_commission`: The minimum amount of commission that each validators must maintain."] + #[doc = " This is checked only upon calling `validate`. Existing validators are not affected."] + #[doc = ""] + #[doc = "RuntimeOrigin must be Root to call this function."] + #[doc = ""] + #[doc = "NOTE: Existing nominators and validators will not be affected by this update."] + #[doc = "to kick people under the new limits, `chill_other` should be called."] set_staking_configs { min_nominator_bond: runtime_types::pallet_staking::pallet::pallet::ConfigOp< @@ -5779,29 +7763,129 @@ pub mod runtime_types { min_commission: runtime_types::pallet_staking::pallet::pallet::ConfigOp< runtime_types::sp_arithmetic::per_things::Perbill, >, + max_staked_rewards: + runtime_types::pallet_staking::pallet::pallet::ConfigOp< + runtime_types::sp_arithmetic::per_things::Percent, + >, }, #[codec(index = 23)] - #[doc = "See [`Pallet::chill_other`]."] + #[doc = "Declare a `controller` to stop participating as either a validator or nominator."] + #[doc = ""] + #[doc = "Effects will be felt at the beginning of the next era."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_, but can be called by anyone."] + #[doc = ""] + #[doc = "If the caller is the same as the controller being targeted, then no further checks are"] + #[doc = "enforced, and this function behaves just like `chill`."] + #[doc = ""] + #[doc = "If the caller is different than the controller being targeted, the following conditions"] + #[doc = "must be met:"] + #[doc = ""] + #[doc = "* `controller` must belong to a nominator who has become non-decodable,"] + #[doc = ""] + #[doc = "Or:"] + #[doc = ""] + #[doc = "* A `ChillThreshold` must be set and checked which defines how close to the max"] + #[doc = " nominators or validators we must reach before users can start chilling one-another."] + #[doc = "* A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine"] + #[doc = " how close we are to the threshold."] + #[doc = "* A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines"] + #[doc = " if this is a person that should be chilled because they have not met the threshold"] + #[doc = " bond required."] + #[doc = ""] + #[doc = "This can be helpful if bond requirements are updated, and we need to remove old users"] + #[doc = "who do not satisfy these requirements."] chill_other { - controller: ::subxt::ext::subxt_core::utils::AccountId32, + stash: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 24)] - #[doc = "See [`Pallet::force_apply_min_commission`]."] + #[doc = "Force a validator to have at least the minimum commission. This will not affect a"] + #[doc = "validator who already has a commission greater than or equal to the minimum. Any account"] + #[doc = "can call this."] force_apply_min_commission { validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 25)] - #[doc = "See [`Pallet::set_min_commission`]."] + #[doc = "Sets the minimum amount of commission that each validators must maintain."] + #[doc = ""] + #[doc = "This call has lower privilege requirements than `set_staking_config` and can be called"] + #[doc = "by the `T::AdminOrigin`. Root can always call this."] set_min_commission { new: runtime_types::sp_arithmetic::per_things::Perbill, }, #[codec(index = 26)] - #[doc = "See [`Pallet::payout_stakers_by_page`]."] + #[doc = "Pay out a page of the stakers behind a validator for the given era and page."] + #[doc = ""] + #[doc = "- `validator_stash` is the stash account of the validator."] + #[doc = "- `era` may be any era between `[current_era - history_depth; current_era]`."] + #[doc = "- `page` is the page index of nominators to pay out with value between 0 and"] + #[doc = " `num_nominators / T::MaxExposurePageSize`."] + #[doc = ""] + #[doc = "The origin of this call must be _Signed_. Any account can call this function, even if"] + #[doc = "it is not one of the stakers."] + #[doc = ""] + #[doc = "If a validator has more than [`Config::MaxExposurePageSize`] nominators backing"] + #[doc = "them, then the list of nominators is paged, with each page being capped at"] + #[doc = "[`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,"] + #[doc = "the call needs to be made for each page separately in order for all the nominators"] + #[doc = "backing a validator to receive the reward. The nominators are not sorted across pages"] + #[doc = "and so it should not be assumed the highest staker would be on the topmost page and vice"] + #[doc = "versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost."] payout_stakers_by_page { validator_stash: ::subxt::ext::subxt_core::utils::AccountId32, era: ::core::primitive::u32, page: ::core::primitive::u32, }, + #[codec(index = 27)] + #[doc = "Migrates an account's `RewardDestination::Controller` to"] + #[doc = "`RewardDestination::Account(controller)`."] + #[doc = ""] + #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] + #[doc = ""] + #[doc = "This will waive the transaction fee if the `payee` is successfully migrated."] + update_payee { + controller: ::subxt::ext::subxt_core::utils::AccountId32, + }, + #[codec(index = 28)] + #[doc = "Updates a batch of controller accounts to their corresponding stash account if they are"] + #[doc = "not the same. Ignores any controller accounts that do not exist, and does not operate if"] + #[doc = "the stash and controller are already the same."] + #[doc = ""] + #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] + #[doc = ""] + #[doc = "The dispatch origin must be `T::AdminOrigin`."] + deprecate_controller_batch { + controllers: + runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + }, + #[codec(index = 29)] + #[doc = "Restores the state of a ledger which is in an inconsistent state."] + #[doc = ""] + #[doc = "The requirements to restore a ledger are the following:"] + #[doc = "* The stash is bonded; or"] + #[doc = "* The stash is not bonded but it has a staking lock left behind; or"] + #[doc = "* If the stash has an associated ledger and its state is inconsistent; or"] + #[doc = "* If the ledger is not corrupted *but* its staking lock is out of sync."] + #[doc = ""] + #[doc = "The `maybe_*` input parameters will overwrite the corresponding data and metadata of the"] + #[doc = "ledger associated with the stash. If the input parameters are not set, the ledger will"] + #[doc = "be reset values from on-chain state."] + restore_ledger { + stash: ::subxt::ext::subxt_core::utils::AccountId32, + maybe_controller: ::core::option::Option< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + maybe_total: ::core::option::Option<::core::primitive::u128>, + maybe_unlocking: ::core::option::Option< + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::pallet_staking::UnlockChunk< + ::core::primitive::u128, + >, + >, + >, + }, } #[derive( Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode, @@ -5901,6 +7985,21 @@ pub mod runtime_types { #[codec(index = 25)] #[doc = "Some bound is not met."] BoundNotMet, + #[codec(index = 26)] + #[doc = "Used when attempting to use deprecated controller account logic."] + ControllerDeprecated, + #[codec(index = 27)] + #[doc = "Cannot reset a ledger."] + CannotRestoreLedger, + #[codec(index = 28)] + #[doc = "Provided reward destination is not allowed."] + RewardDestinationRestricted, + #[codec(index = 29)] + #[doc = "Not enough funds available to withdraw."] + NotEnoughFunds, + #[codec(index = 30)] + #[doc = "Operation not allowed for virtual stakers."] + VirtualStakerNotAllowed, } #[derive( Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode, @@ -6006,6 +8105,9 @@ pub mod runtime_types { ForceEra { mode: runtime_types::pallet_staking::Forcing, }, + #[codec(index = 17)] + #[doc = "Report of a controller batch deprecation."] + ControllerBatchDeprecated { failures: ::core::primitive::u32 }, } } } @@ -6112,14 +8214,18 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::sudo`]."] + #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] sudo { call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::vara_runtime::RuntimeCall, >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::sudo_unchecked_weight`]."] + #[doc = "Authenticates the sudo key and dispatches a function call with `Root` origin."] + #[doc = "This function does not check the weight of the call, and instead allows the"] + #[doc = "Sudo user to specify the weight of the call."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] sudo_unchecked_weight { call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::vara_runtime::RuntimeCall, @@ -6127,7 +8233,8 @@ pub mod runtime_types { weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 2)] - #[doc = "See [`Pallet::set_key`]."] + #[doc = "Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo"] + #[doc = "key."] set_key { new: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -6135,7 +8242,10 @@ pub mod runtime_types { >, }, #[codec(index = 3)] - #[doc = "See [`Pallet::sudo_as`]."] + #[doc = "Authenticates the sudo key and dispatches a function call with `Signed` origin from"] + #[doc = "a given account."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] sudo_as { who: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -6146,7 +8256,9 @@ pub mod runtime_types { >, }, #[codec(index = 4)] - #[doc = "See [`Pallet::remove_key`]."] + #[doc = "Permanently removes the sudo key."] + #[doc = ""] + #[doc = "**This cannot be un-done.**"] remove_key, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] @@ -6191,7 +8303,25 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::set`]."] + #[doc = "Set the current time."] + #[doc = ""] + #[doc = "This call should be invoked exactly once per block. It will panic at the finalization"] + #[doc = "phase, if this call hasn't been invoked by that time."] + #[doc = ""] + #[doc = "The timestamp should be greater than the previous one by the amount specified by"] + #[doc = "[`Config::MinimumPeriod`]."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _None_."] + #[doc = ""] + #[doc = "This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware"] + #[doc = "that changing the complexity of this call could result exhausting the resources in a"] + #[doc = "block to execute any other calls."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)"] + #[doc = "- 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in"] + #[doc = " `on_finalize`)"] + #[doc = "- 1 event handler `on_timestamp_set`. Must be `O(1)`."] set { #[codec(compact)] now: ::core::primitive::u64, @@ -6233,30 +8363,24 @@ pub mod runtime_types { #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { - #[codec(index = 0)] - #[doc = "See [`Pallet::propose_spend`]."] - propose_spend { - #[codec(compact)] - value: ::core::primitive::u128, - beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< - ::subxt::ext::subxt_core::utils::AccountId32, - (), - >, - }, - #[codec(index = 1)] - #[doc = "See [`Pallet::reject_proposal`]."] - reject_proposal { - #[codec(compact)] - proposal_id: ::core::primitive::u32, - }, - #[codec(index = 2)] - #[doc = "See [`Pallet::approve_proposal`]."] - approve_proposal { - #[codec(compact)] - proposal_id: ::core::primitive::u32, - }, #[codec(index = 3)] - #[doc = "See [`Pallet::spend_local`]."] + #[doc = "Propose and approve a spend of treasury funds."] + #[doc = ""] + #[doc = "## Dispatch Origin"] + #[doc = ""] + #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`."] + #[doc = ""] + #[doc = "### Details"] + #[doc = "NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the"] + #[doc = "beneficiary."] + #[doc = ""] + #[doc = "### Parameters"] + #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] + #[doc = "- `beneficiary`: The destination account for the transfer."] + #[doc = ""] + #[doc = "## Events"] + #[doc = ""] + #[doc = "Emits [`Event::SpendApproved`] if successful."] spend_local { #[codec(compact)] amount: ::core::primitive::u128, @@ -6266,13 +8390,58 @@ pub mod runtime_types { >, }, #[codec(index = 4)] - #[doc = "See [`Pallet::remove_approval`]."] + #[doc = "Force a previously approved proposal to be removed from the approval queue."] + #[doc = ""] + #[doc = "## Dispatch Origin"] + #[doc = ""] + #[doc = "Must be [`Config::RejectOrigin`]."] + #[doc = ""] + #[doc = "## Details"] + #[doc = ""] + #[doc = "The original deposit will no longer be returned."] + #[doc = ""] + #[doc = "### Parameters"] + #[doc = "- `proposal_id`: The index of a proposal"] + #[doc = ""] + #[doc = "### Complexity"] + #[doc = "- O(A) where `A` is the number of approvals"] + #[doc = ""] + #[doc = "### Errors"] + #[doc = "- [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the"] + #[doc = " approval queue, i.e., the proposal has not been approved. This could also mean the"] + #[doc = " proposal does not exist altogether, thus there is no way it would have been approved"] + #[doc = " in the first place."] remove_approval { #[codec(compact)] proposal_id: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "See [`Pallet::spend`]."] + #[doc = "Propose and approve a spend of treasury funds."] + #[doc = ""] + #[doc = "## Dispatch Origin"] + #[doc = ""] + #[doc = "Must be [`Config::SpendOrigin`] with the `Success` value being at least"] + #[doc = "`amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted"] + #[doc = "for assertion using the [`Config::BalanceConverter`]."] + #[doc = ""] + #[doc = "## Details"] + #[doc = ""] + #[doc = "Create an approved spend for transferring a specific `amount` of `asset_kind` to a"] + #[doc = "designated beneficiary. The spend must be claimed using the `payout` dispatchable within"] + #[doc = "the [`Config::PayoutPeriod`]."] + #[doc = ""] + #[doc = "### Parameters"] + #[doc = "- `asset_kind`: An indicator of the specific asset class to be spent."] + #[doc = "- `amount`: The amount to be transferred from the treasury to the `beneficiary`."] + #[doc = "- `beneficiary`: The beneficiary of the spend."] + #[doc = "- `valid_from`: The block number from which the spend can be claimed. It can refer to"] + #[doc = " the past if the resulting spend has not yet expired according to the"] + #[doc = " [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after"] + #[doc = " approval."] + #[doc = ""] + #[doc = "## Events"] + #[doc = ""] + #[doc = "Emits [`Event::AssetSpendApproved`] if successful."] spend { asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box<()>, #[codec(compact)] @@ -6283,53 +8452,101 @@ pub mod runtime_types { valid_from: ::core::option::Option<::core::primitive::u32>, }, #[codec(index = 6)] - #[doc = "See [`Pallet::payout`]."] + #[doc = "Claim a spend."] + #[doc = ""] + #[doc = "## Dispatch Origin"] + #[doc = ""] + #[doc = "Must be signed"] + #[doc = ""] + #[doc = "## Details"] + #[doc = ""] + #[doc = "Spends must be claimed within some temporal bounds. A spend may be claimed within one"] + #[doc = "[`Config::PayoutPeriod`] from the `valid_from` block."] + #[doc = "In case of a payout failure, the spend status must be updated with the `check_status`"] + #[doc = "dispatchable before retrying with the current function."] + #[doc = ""] + #[doc = "### Parameters"] + #[doc = "- `index`: The spend index."] + #[doc = ""] + #[doc = "## Events"] + #[doc = ""] + #[doc = "Emits [`Event::Paid`] if successful."] payout { index: ::core::primitive::u32 }, #[codec(index = 7)] - #[doc = "See [`Pallet::check_status`]."] + #[doc = "Check the status of the spend and remove it from the storage if processed."] + #[doc = ""] + #[doc = "## Dispatch Origin"] + #[doc = ""] + #[doc = "Must be signed."] + #[doc = ""] + #[doc = "## Details"] + #[doc = ""] + #[doc = "The status check is a prerequisite for retrying a failed payout."] + #[doc = "If a spend has either succeeded or expired, it is removed from the storage by this"] + #[doc = "function. In such instances, transaction fees are refunded."] + #[doc = ""] + #[doc = "### Parameters"] + #[doc = "- `index`: The spend index."] + #[doc = ""] + #[doc = "## Events"] + #[doc = ""] + #[doc = "Emits [`Event::PaymentFailed`] if the spend payout has failed."] + #[doc = "Emits [`Event::SpendProcessed`] if the spend payout has succeed."] check_status { index: ::core::primitive::u32 }, #[codec(index = 8)] - #[doc = "See [`Pallet::void_spend`]."] + #[doc = "Void previously approved spend."] + #[doc = ""] + #[doc = "## Dispatch Origin"] + #[doc = ""] + #[doc = "Must be [`Config::RejectOrigin`]."] + #[doc = ""] + #[doc = "## Details"] + #[doc = ""] + #[doc = "A spend void is only possible if the payout has not been attempted yet."] + #[doc = ""] + #[doc = "### Parameters"] + #[doc = "- `index`: The spend index."] + #[doc = ""] + #[doc = "## Events"] + #[doc = ""] + #[doc = "Emits [`Event::AssetSpendVoided`] if successful."] void_spend { index: ::core::primitive::u32 }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "Error for the treasury pallet."] pub enum Error { #[codec(index = 0)] - #[doc = "Proposer's balance is too low."] - InsufficientProposersBalance, - #[codec(index = 1)] #[doc = "No proposal, bounty or spend at that index."] InvalidIndex, - #[codec(index = 2)] + #[codec(index = 1)] #[doc = "Too many approvals in the queue."] TooManyApprovals, - #[codec(index = 3)] + #[codec(index = 2)] #[doc = "The spend origin is valid but the amount it is allowed to spend is lower than the"] #[doc = "amount to be spent."] InsufficientPermission, - #[codec(index = 4)] + #[codec(index = 3)] #[doc = "Proposal has not been approved."] ProposalNotApproved, - #[codec(index = 5)] + #[codec(index = 4)] #[doc = "The balance of the asset kind is not convertible to the balance of the native asset."] FailedToConvertBalance, - #[codec(index = 6)] + #[codec(index = 5)] #[doc = "The spend has expired and cannot be claimed."] SpendExpired, - #[codec(index = 7)] + #[codec(index = 6)] #[doc = "The spend is not yet eligible for payout."] EarlyPayout, - #[codec(index = 8)] + #[codec(index = 7)] #[doc = "The payment has already been attempted."] AlreadyAttempted, - #[codec(index = 9)] + #[codec(index = 8)] #[doc = "There was some issue with the mechanism of payment."] PayoutError, - #[codec(index = 10)] + #[codec(index = 9)] #[doc = "The payout was not yet attempted/claimed."] NotAttempted, - #[codec(index = 11)] + #[codec(index = 10)] #[doc = "The payment has neither failed nor succeeded yet."] Inconclusive, } @@ -6337,55 +8554,44 @@ pub mod runtime_types { #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] - #[doc = "New proposal."] - Proposed { - proposal_index: ::core::primitive::u32, - }, - #[codec(index = 1)] #[doc = "We have ended a spend period and will now allocate funds."] Spending { budget_remaining: ::core::primitive::u128, }, - #[codec(index = 2)] + #[codec(index = 1)] #[doc = "Some funds have been allocated."] Awarded { proposal_index: ::core::primitive::u32, award: ::core::primitive::u128, account: ::subxt::ext::subxt_core::utils::AccountId32, }, - #[codec(index = 3)] - #[doc = "A proposal was rejected; funds were slashed."] - Rejected { - proposal_index: ::core::primitive::u32, - slashed: ::core::primitive::u128, - }, - #[codec(index = 4)] + #[codec(index = 2)] #[doc = "Some of our funds have been burnt."] Burnt { burnt_funds: ::core::primitive::u128, }, - #[codec(index = 5)] + #[codec(index = 3)] #[doc = "Spending has finished; this is the amount that rolls over until next spend."] Rollover { rollover_balance: ::core::primitive::u128, }, - #[codec(index = 6)] + #[codec(index = 4)] #[doc = "Some funds have been deposited."] Deposit { value: ::core::primitive::u128 }, - #[codec(index = 7)] + #[codec(index = 5)] #[doc = "A new spend proposal has been approved."] SpendApproved { proposal_index: ::core::primitive::u32, amount: ::core::primitive::u128, beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, - #[codec(index = 8)] + #[codec(index = 6)] #[doc = "The inactive funds of the pallet have been updated."] UpdatedInactive { reactivated: ::core::primitive::u128, deactivated: ::core::primitive::u128, }, - #[codec(index = 9)] + #[codec(index = 7)] #[doc = "A new asset spend proposal has been approved."] AssetSpendApproved { index: ::core::primitive::u32, @@ -6395,22 +8601,22 @@ pub mod runtime_types { valid_from: ::core::primitive::u32, expire_at: ::core::primitive::u32, }, - #[codec(index = 10)] + #[codec(index = 8)] #[doc = "An approved spend was voided."] AssetSpendVoided { index: ::core::primitive::u32 }, - #[codec(index = 11)] + #[codec(index = 9)] #[doc = "A payment happened."] Paid { index: ::core::primitive::u32, payment_id: (), }, - #[codec(index = 12)] + #[codec(index = 10)] #[doc = "A payment failed and can be retried."] PaymentFailed { index: ::core::primitive::u32, payment_id: (), }, - #[codec(index = 13)] + #[codec(index = 11)] #[doc = "A spend was processed and removed from the storage. It might have been successfully"] #[doc = "paid or it may have expired."] SpendProcessed { index: ::core::primitive::u32 }, @@ -6452,14 +8658,43 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::batch`]."] + #[doc = "Send a batch of dispatch calls."] + #[doc = ""] + #[doc = "May be called from any origin except `None`."] + #[doc = ""] + #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] + #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] + #[doc = ""] + #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] + #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(C) where C is the number of calls to be batched."] + #[doc = ""] + #[doc = "This will return `Ok` in all circumstances. To determine the success of the batch, an"] + #[doc = "event is deposited. If a call failed and the batch was interrupted, then the"] + #[doc = "`BatchInterrupted` event is deposited, along with the number of successful calls made"] + #[doc = "and the error of the failed call. If all were successful, then the `BatchCompleted`"] + #[doc = "event is deposited."] batch { calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::vara_runtime::RuntimeCall, >, }, #[codec(index = 1)] - #[doc = "See [`Pallet::as_derivative`]."] + #[doc = "Send a call through an indexed pseudonym of the sender."] + #[doc = ""] + #[doc = "Filter from origin are passed along. The call will be dispatched with an origin which"] + #[doc = "use the same filter as the origin of this call."] + #[doc = ""] + #[doc = "NOTE: If you need to ensure that any account-based filtering is not honored (i.e."] + #[doc = "because you expect `proxy` to have been used prior in the call stack and you do not want"] + #[doc = "the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`"] + #[doc = "in the Multisig pallet instead."] + #[doc = ""] + #[doc = "NOTE: Prior to version *12, this was called `as_limited_sub`."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] as_derivative { index: ::core::primitive::u16, call: ::subxt::ext::subxt_core::alloc::boxed::Box< @@ -6467,14 +8702,31 @@ pub mod runtime_types { >, }, #[codec(index = 2)] - #[doc = "See [`Pallet::batch_all`]."] + #[doc = "Send a batch of dispatch calls and atomically execute them."] + #[doc = "The whole transaction will rollback and fail if any of the calls failed."] + #[doc = ""] + #[doc = "May be called from any origin except `None`."] + #[doc = ""] + #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] + #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] + #[doc = ""] + #[doc = "If origin is root then the calls are dispatched without checking origin filter. (This"] + #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(C) where C is the number of calls to be batched."] batch_all { calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::vara_runtime::RuntimeCall, >, }, #[codec(index = 3)] - #[doc = "See [`Pallet::dispatch_as`]."] + #[doc = "Dispatches a function call with a provided origin."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Root_."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(1)."] dispatch_as { as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::vara_runtime::OriginCaller, @@ -6484,14 +8736,31 @@ pub mod runtime_types { >, }, #[codec(index = 4)] - #[doc = "See [`Pallet::force_batch`]."] + #[doc = "Send a batch of dispatch calls."] + #[doc = "Unlike `batch`, it allows errors and won't interrupt."] + #[doc = ""] + #[doc = "May be called from any origin except `None`."] + #[doc = ""] + #[doc = "- `calls`: The calls to be dispatched from the same origin. The number of call must not"] + #[doc = " exceed the constant: `batched_calls_limit` (available in constant metadata)."] + #[doc = ""] + #[doc = "If origin is root then the calls are dispatch without checking origin filter. (This"] + #[doc = "includes bypassing `frame_system::Config::BaseCallFilter`)."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- O(C) where C is the number of calls to be batched."] force_batch { calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::vara_runtime::RuntimeCall, >, }, #[codec(index = 5)] - #[doc = "See [`Pallet::with_weight`]."] + #[doc = "Dispatch a function call with a specified weight."] + #[doc = ""] + #[doc = "This function does not check the weight of the call, and instead allows the"] + #[doc = "Root origin to specify the weight of the call."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Root_."] with_weight { call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::vara_runtime::RuntimeCall, @@ -6547,10 +8816,28 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::vest`]."] + #[doc = "Unlock any vested funds of the sender account."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_ and the sender must have funds still"] + #[doc = "locked under this pallet."] + #[doc = ""] + #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(1)`."] vest, #[codec(index = 1)] - #[doc = "See [`Pallet::vest_other`]."] + #[doc = "Unlock any vested funds of a `target` account."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `target`: The account whose vested funds should be unlocked. Must have funds still"] + #[doc = "locked under this pallet."] + #[doc = ""] + #[doc = "Emits either `VestingCompleted` or `VestingUpdated`."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(1)`."] vest_other { target: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -6558,7 +8845,19 @@ pub mod runtime_types { >, }, #[codec(index = 2)] - #[doc = "See [`Pallet::vested_transfer`]."] + #[doc = "Create a vested transfer."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `target`: The account receiving the vested funds."] + #[doc = "- `schedule`: The vesting schedule attached to the transfer."] + #[doc = ""] + #[doc = "Emits `VestingCreated`."] + #[doc = ""] + #[doc = "NOTE: This will unlock all schedules through the current block."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(1)`."] vested_transfer { target: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -6570,7 +8869,20 @@ pub mod runtime_types { >, }, #[codec(index = 3)] - #[doc = "See [`Pallet::force_vested_transfer`]."] + #[doc = "Force a vested transfer."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Root_."] + #[doc = ""] + #[doc = "- `source`: The account whose funds should be transferred."] + #[doc = "- `target`: The account that should be transferred the vested funds."] + #[doc = "- `schedule`: The vesting schedule attached to the transfer."] + #[doc = ""] + #[doc = "Emits `VestingCreated`."] + #[doc = ""] + #[doc = "NOTE: This will unlock all schedules through the current block."] + #[doc = ""] + #[doc = "## Complexity"] + #[doc = "- `O(1)`."] force_vested_transfer { source: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -6586,13 +8898,38 @@ pub mod runtime_types { >, }, #[codec(index = 4)] - #[doc = "See [`Pallet::merge_schedules`]."] + #[doc = "Merge two vesting schedules together, creating a new vesting schedule that unlocks over"] + #[doc = "the highest possible start and end blocks. If both schedules have already started the"] + #[doc = "current block will be used as the schedule start; with the caveat that if one schedule"] + #[doc = "is finished by the current block, the other will be treated as the new merged schedule,"] + #[doc = "unmodified."] + #[doc = ""] + #[doc = "NOTE: If `schedule1_index == schedule2_index` this is a no-op."] + #[doc = "NOTE: This will unlock all schedules through the current block prior to merging."] + #[doc = "NOTE: If both schedules have ended by the current block, no new schedule will be created"] + #[doc = "and both will be removed."] + #[doc = ""] + #[doc = "Merged schedule attributes:"] + #[doc = "- `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,"] + #[doc = " current_block)`."] + #[doc = "- `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`."] + #[doc = "- `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`."] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Signed_."] + #[doc = ""] + #[doc = "- `schedule1_index`: index of the first schedule to merge."] + #[doc = "- `schedule2_index`: index of the second schedule to merge."] merge_schedules { schedule1_index: ::core::primitive::u32, schedule2_index: ::core::primitive::u32, }, #[codec(index = 5)] - #[doc = "See [`Pallet::force_remove_vesting_schedule`]."] + #[doc = "Force remove a vesting schedule"] + #[doc = ""] + #[doc = "The dispatch origin for this call must be _Root_."] + #[doc = ""] + #[doc = "- `target`: An account that has a vesting schedule"] + #[doc = "- `schedule_index`: The vesting schedule index that should be removed"] force_remove_vesting_schedule { target: ::subxt::ext::subxt_core::utils::MultiAddress< ::subxt::ext::subxt_core::utils::AccountId32, @@ -6663,24 +9000,20 @@ pub mod runtime_types { #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] - #[doc = "See [`Pallet::whitelist_call`]."] whitelist_call { call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 1)] - #[doc = "See [`Pallet::remove_whitelisted_call`]."] remove_whitelisted_call { call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 2)] - #[doc = "See [`Pallet::dispatch_whitelisted_call`]."] dispatch_whitelisted_call { call_hash: ::subxt::ext::subxt_core::utils::H256, call_encoded_len: ::core::primitive::u32, call_weight_witness: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 3)] - #[doc = "See [`Pallet::dispatch_whitelisted_call_with_preimage`]."] dispatch_whitelisted_call_with_preimage { call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::vara_runtime::RuntimeCall, @@ -6808,7 +9141,7 @@ pub mod runtime_types { pub mod app { use super::runtime_types; #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + pub struct Public(pub [::core::primitive::u8; 32usize]); } } pub mod sp_consensus_babe { @@ -6816,7 +9149,7 @@ pub mod runtime_types { pub mod app { use super::runtime_types; #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + pub struct Public(pub [::core::primitive::u8; 32usize]); } pub mod digests { use super::runtime_types; @@ -6877,9 +9210,9 @@ pub mod runtime_types { pub mod app { use super::runtime_types; #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Public(pub runtime_types::sp_core::ed25519::Public); + pub struct Public(pub [::core::primitive::u8; 32usize]); #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); + pub struct Signature(pub [::core::primitive::u8; 64usize]); } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum Equivocation<_0, _1> { @@ -6931,18 +9264,6 @@ pub mod runtime_types { #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } - pub mod ecdsa { - use super::runtime_types; - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Signature(pub [::core::primitive::u8; 65usize]); - } - pub mod ed25519 { - use super::runtime_types; - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); - } pub mod sr25519 { use super::runtime_types; pub mod vrf { @@ -6951,14 +9272,10 @@ pub mod runtime_types { Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode, )] pub struct VrfSignature { - pub output: [::core::primitive::u8; 32usize], + pub pre_output: [::core::primitive::u8; 32usize], pub proof: [::core::primitive::u8; 64usize], } } - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum Void {} @@ -7601,11 +9918,11 @@ pub mod runtime_types { #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum MultiSignature { #[codec(index = 0)] - Ed25519(runtime_types::sp_core::ed25519::Signature), + Ed25519([::core::primitive::u8; 64usize]), #[codec(index = 1)] - Sr25519(runtime_types::sp_core::sr25519::Signature), + Sr25519([::core::primitive::u8; 64usize]), #[codec(index = 2)] - Ecdsa(runtime_types::sp_core::ecdsa::Signature), + Ecdsa([::core::primitive::u8; 65usize]), } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum TokenError { @@ -7997,6 +10314,10 @@ pub mod runtime_types { Grandpa(runtime_types::pallet_grandpa::pallet::Call), #[codec(index = 5)] Balances(runtime_types::pallet_balances::pallet::Call), + #[codec(index = 7)] + Session(runtime_types::pallet_session::pallet::Call), + #[codec(index = 8)] + Utility(runtime_types::pallet_utility::pallet::Call), #[codec(index = 10)] Vesting(runtime_types::pallet_vesting::pallet::Call), #[codec(index = 11)] @@ -8005,12 +10326,8 @@ pub mod runtime_types { ImOnline(runtime_types::pallet_im_online::pallet::Call), #[codec(index = 13)] Staking(runtime_types::pallet_staking::pallet::pallet::Call), - #[codec(index = 7)] - Session(runtime_types::pallet_session::pallet::Call), #[codec(index = 14)] Treasury(runtime_types::pallet_treasury::pallet::Call), - #[codec(index = 8)] - Utility(runtime_types::pallet_utility::pallet::Call), #[codec(index = 16)] ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Call), #[codec(index = 17)] @@ -8041,6 +10358,8 @@ pub mod runtime_types { ChildBounties(runtime_types::pallet_child_bounties::pallet::Call), #[codec(index = 31)] NominationPools(runtime_types::pallet_nomination_pools::pallet::Call), + #[codec(index = 99)] + Sudo(runtime_types::pallet_sudo::pallet::Call), #[codec(index = 104)] Gear(runtime_types::pallet_gear::pallet::Call), #[codec(index = 106)] @@ -8049,8 +10368,6 @@ pub mod runtime_types { GearVoucher(runtime_types::pallet_gear_voucher::pallet::Call), #[codec(index = 110)] GearEthBridge(runtime_types::pallet_gear_eth_bridge::pallet::Call), - #[codec(index = 99)] - Sudo(runtime_types::pallet_sudo::pallet::Call), #[codec(index = 199)] GearDebug(runtime_types::pallet_gear_debug::pallet::Call), } @@ -8064,6 +10381,10 @@ pub mod runtime_types { Grandpa(runtime_types::pallet_grandpa::pallet::Error), #[codec(index = 5)] Balances(runtime_types::pallet_balances::pallet::Error), + #[codec(index = 7)] + Session(runtime_types::pallet_session::pallet::Error), + #[codec(index = 8)] + Utility(runtime_types::pallet_utility::pallet::Error), #[codec(index = 10)] Vesting(runtime_types::pallet_vesting::pallet::Error), #[codec(index = 11)] @@ -8072,12 +10393,8 @@ pub mod runtime_types { ImOnline(runtime_types::pallet_im_online::pallet::Error), #[codec(index = 13)] Staking(runtime_types::pallet_staking::pallet::pallet::Error), - #[codec(index = 7)] - Session(runtime_types::pallet_session::pallet::Error), #[codec(index = 14)] Treasury(runtime_types::pallet_treasury::pallet::Error), - #[codec(index = 8)] - Utility(runtime_types::pallet_utility::pallet::Error), #[codec(index = 16)] ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Error), #[codec(index = 17)] @@ -8108,6 +10425,8 @@ pub mod runtime_types { ChildBounties(runtime_types::pallet_child_bounties::pallet::Error), #[codec(index = 31)] NominationPools(runtime_types::pallet_nomination_pools::pallet::Error), + #[codec(index = 99)] + Sudo(runtime_types::pallet_sudo::pallet::Error), #[codec(index = 100)] GearProgram(runtime_types::pallet_gear_program::pallet::Error), #[codec(index = 101)] @@ -8126,8 +10445,6 @@ pub mod runtime_types { GearBank(runtime_types::pallet_gear_bank::pallet::Error), #[codec(index = 110)] GearEthBridge(runtime_types::pallet_gear_eth_bridge::pallet::Error), - #[codec(index = 99)] - Sudo(runtime_types::pallet_sudo::pallet::Error), #[codec(index = 199)] GearDebug(runtime_types::pallet_gear_debug::pallet::Error), } @@ -8139,22 +10456,22 @@ pub mod runtime_types { Grandpa(runtime_types::pallet_grandpa::pallet::Event), #[codec(index = 5)] Balances(runtime_types::pallet_balances::pallet::Event), - #[codec(index = 10)] - Vesting(runtime_types::pallet_vesting::pallet::Event), #[codec(index = 6)] TransactionPayment(runtime_types::pallet_transaction_payment::pallet::Event), + #[codec(index = 7)] + Session(runtime_types::pallet_session::pallet::Event), + #[codec(index = 8)] + Utility(runtime_types::pallet_utility::pallet::Event), + #[codec(index = 10)] + Vesting(runtime_types::pallet_vesting::pallet::Event), #[codec(index = 11)] BagsList(runtime_types::pallet_bags_list::pallet::Event), #[codec(index = 12)] ImOnline(runtime_types::pallet_im_online::pallet::Event), #[codec(index = 13)] Staking(runtime_types::pallet_staking::pallet::pallet::Event), - #[codec(index = 7)] - Session(runtime_types::pallet_session::pallet::Event), #[codec(index = 14)] Treasury(runtime_types::pallet_treasury::pallet::Event), - #[codec(index = 8)] - Utility(runtime_types::pallet_utility::pallet::Event), #[codec(index = 16)] ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Event), #[codec(index = 17)] @@ -8187,6 +10504,8 @@ pub mod runtime_types { ChildBounties(runtime_types::pallet_child_bounties::pallet::Event), #[codec(index = 31)] NominationPools(runtime_types::pallet_nomination_pools::pallet::Event), + #[codec(index = 99)] + Sudo(runtime_types::pallet_sudo::pallet::Event), #[codec(index = 104)] Gear(runtime_types::pallet_gear::pallet::Event), #[codec(index = 106)] @@ -8195,8 +10514,6 @@ pub mod runtime_types { GearVoucher(runtime_types::pallet_gear_voucher::pallet::Event), #[codec(index = 110)] GearEthBridge(runtime_types::pallet_gear_eth_bridge::pallet::Event), - #[codec(index = 99)] - Sudo(runtime_types::pallet_sudo::pallet::Event), #[codec(index = 199)] GearDebug(runtime_types::pallet_gear_debug::pallet::Event), } @@ -8268,6 +10585,8 @@ pub mod calls { ForceUnreserve, UpgradeAccounts, ForceSetBalance, + ForceAdjustTotalIssuance, + Burn, } impl CallInfo for BalancesCall { const PALLET: &'static str = "Balances"; @@ -8280,6 +10599,8 @@ pub mod calls { Self::ForceUnreserve => "force_unreserve", Self::UpgradeAccounts => "upgrade_accounts", Self::ForceSetBalance => "force_set_balance", + Self::ForceAdjustTotalIssuance => "force_adjust_total_issuance", + Self::Burn => "burn", } } } @@ -8385,6 +10706,7 @@ pub mod calls { RemoveMember, Vote, CleanupPoll, + ExchangeMember, } impl CallInfo for FellowshipCollectiveCall { const PALLET: &'static str = "FellowshipCollective"; @@ -8396,6 +10718,7 @@ pub mod calls { Self::RemoveMember => "remove_member", Self::Vote => "vote", Self::CleanupPoll => "cleanup_poll", + Self::ExchangeMember => "exchange_member", } } } @@ -8538,6 +10861,13 @@ pub mod calls { RenameSub, RemoveSub, QuitSub, + AddUsernameAuthority, + RemoveUsernameAuthority, + SetUsernameFor, + AcceptUsername, + RemoveExpiredApproval, + SetPrimaryUsername, + RemoveDanglingUsername, } impl CallInfo for IdentityCall { const PALLET: &'static str = "Identity"; @@ -8558,6 +10888,13 @@ pub mod calls { Self::RenameSub => "rename_sub", Self::RemoveSub => "remove_sub", Self::QuitSub => "quit_sub", + Self::AddUsernameAuthority => "add_username_authority", + Self::RemoveUsernameAuthority => "remove_username_authority", + Self::SetUsernameFor => "set_username_for", + Self::AcceptUsername => "accept_username", + Self::RemoveExpiredApproval => "remove_expired_approval", + Self::SetPrimaryUsername => "set_primary_username", + Self::RemoveDanglingUsername => "remove_dangling_username", } } } @@ -8615,6 +10952,10 @@ pub mod calls { SetCommissionChangeRate, ClaimCommission, AdjustPoolDeposit, + SetCommissionClaimPermission, + ApplySlash, + MigrateDelegation, + MigratePoolToDelegateStake, } impl CallInfo for NominationPoolsCall { const PALLET: &'static str = "NominationPools"; @@ -8642,6 +10983,10 @@ pub mod calls { Self::SetCommissionChangeRate => "set_commission_change_rate", Self::ClaimCommission => "claim_commission", Self::AdjustPoolDeposit => "adjust_pool_deposit", + Self::SetCommissionClaimPermission => "set_commission_claim_permission", + Self::ApplySlash => "apply_slash", + Self::MigrateDelegation => "migrate_delegation", + Self::MigratePoolToDelegateStake => "migrate_pool_to_delegate_stake", } } } @@ -8731,6 +11076,10 @@ pub mod calls { CancelNamed, ScheduleAfter, ScheduleNamedAfter, + SetRetry, + SetRetryNamed, + CancelRetry, + CancelRetryNamed, } impl CallInfo for SchedulerCall { const PALLET: &'static str = "Scheduler"; @@ -8742,6 +11091,10 @@ pub mod calls { Self::CancelNamed => "cancel_named", Self::ScheduleAfter => "schedule_after", Self::ScheduleNamedAfter => "schedule_named_after", + Self::SetRetry => "set_retry", + Self::SetRetryNamed => "set_retry_named", + Self::CancelRetry => "cancel_retry", + Self::CancelRetryNamed => "cancel_retry_named", } } } @@ -8788,6 +11141,9 @@ pub mod calls { ForceApplyMinCommission, SetMinCommission, PayoutStakersByPage, + UpdatePayee, + DeprecateControllerBatch, + RestoreLedger, } impl CallInfo for StakingCall { const PALLET: &'static str = "Staking"; @@ -8820,6 +11176,9 @@ pub mod calls { Self::ForceApplyMinCommission => "force_apply_min_commission", Self::SetMinCommission => "set_min_commission", Self::PayoutStakersByPage => "payout_stakers_by_page", + Self::UpdatePayee => "update_payee", + Self::DeprecateControllerBatch => "deprecate_controller_batch", + Self::RestoreLedger => "restore_ledger", } } } @@ -8871,6 +11230,9 @@ pub mod calls { KillStorage, KillPrefix, RemarkWithEvent, + AuthorizeUpgrade, + AuthorizeUpgradeWithoutChecks, + ApplyAuthorizedUpgrade, } impl CallInfo for SystemCall { const PALLET: &'static str = "System"; @@ -8884,6 +11246,9 @@ pub mod calls { Self::KillStorage => "kill_storage", Self::KillPrefix => "kill_prefix", Self::RemarkWithEvent => "remark_with_event", + Self::AuthorizeUpgrade => "authorize_upgrade", + Self::AuthorizeUpgradeWithoutChecks => "authorize_upgrade_without_checks", + Self::ApplyAuthorizedUpgrade => "apply_authorized_upgrade", } } } @@ -8901,9 +11266,6 @@ pub mod calls { } #[doc = "Calls of pallet `Treasury`."] pub enum TreasuryCall { - ProposeSpend, - RejectProposal, - ApproveProposal, SpendLocal, RemoveApproval, Spend, @@ -8915,9 +11277,6 @@ pub mod calls { const PALLET: &'static str = "Treasury"; fn call_name(&self) -> &'static str { match self { - Self::ProposeSpend => "propose_spend", - Self::RejectProposal => "reject_proposal", - Self::ApproveProposal => "approve_proposal", Self::SpendLocal => "spend_local", Self::RemoveApproval => "remove_approval", Self::Spend => "spend", @@ -9453,6 +11812,9 @@ pub mod storage { SuperOf, SubsOf, Registrars, + UsernameAuthorities, + AccountOfUsername, + PendingUsernames, } impl StorageInfo for IdentityStorage { const PALLET: &'static str = "Identity"; @@ -9462,6 +11824,9 @@ pub mod storage { Self::SuperOf => "SuperOf", Self::SubsOf => "SubsOf", Self::Registrars => "Registrars", + Self::UsernameAuthorities => "UsernameAuthorities", + Self::AccountOfUsername => "AccountOfUsername", + Self::PendingUsernames => "PendingUsernames", } } } @@ -9615,6 +11980,7 @@ pub mod storage { pub enum SchedulerStorage { IncompleteSince, Agenda, + Retries, Lookup, } impl StorageInfo for SchedulerStorage { @@ -9623,6 +11989,7 @@ pub mod storage { match self { Self::IncompleteSince => "IncompleteSince", Self::Agenda => "Agenda", + Self::Retries => "Retries", Self::Lookup => "Lookup", } } @@ -9668,6 +12035,8 @@ pub mod storage { MaxValidatorsCount, Nominators, CounterForNominators, + VirtualStakers, + CounterForVirtualStakers, MaxNominatorsCount, CurrentEra, ActiveEra, @@ -9682,6 +12051,7 @@ pub mod storage { ErasRewardPoints, ErasTotalStake, ForceEra, + MaxStakedRewards, SlashRewardFraction, CanceledSlashPayout, UnappliedSlashes, @@ -9691,7 +12061,7 @@ pub mod storage { SlashingSpans, SpanSlash, CurrentPlannedSession, - OffendingValidators, + DisabledValidators, ChillThreshold, } impl StorageInfo for StakingStorage { @@ -9713,6 +12083,8 @@ pub mod storage { Self::MaxValidatorsCount => "MaxValidatorsCount", Self::Nominators => "Nominators", Self::CounterForNominators => "CounterForNominators", + Self::VirtualStakers => "VirtualStakers", + Self::CounterForVirtualStakers => "CounterForVirtualStakers", Self::MaxNominatorsCount => "MaxNominatorsCount", Self::CurrentEra => "CurrentEra", Self::ActiveEra => "ActiveEra", @@ -9727,6 +12099,7 @@ pub mod storage { Self::ErasRewardPoints => "ErasRewardPoints", Self::ErasTotalStake => "ErasTotalStake", Self::ForceEra => "ForceEra", + Self::MaxStakedRewards => "MaxStakedRewards", Self::SlashRewardFraction => "SlashRewardFraction", Self::CanceledSlashPayout => "CanceledSlashPayout", Self::UnappliedSlashes => "UnappliedSlashes", @@ -9736,7 +12109,7 @@ pub mod storage { Self::SlashingSpans => "SlashingSpans", Self::SpanSlash => "SpanSlash", Self::CurrentPlannedSession => "CurrentPlannedSession", - Self::OffendingValidators => "OffendingValidators", + Self::DisabledValidators => "DisabledValidators", Self::ChillThreshold => "ChillThreshold", } } @@ -9775,6 +12148,7 @@ pub mod storage { pub enum SystemStorage { Account, ExtrinsicCount, + InherentsApplied, BlockWeight, AllExtrinsicsLen, BlockHash, @@ -9789,6 +12163,7 @@ pub mod storage { UpgradedToU32RefCount, UpgradedToTripleRefCount, ExecutionPhase, + AuthorizedUpgrade, } impl StorageInfo for SystemStorage { const PALLET: &'static str = "System"; @@ -9796,6 +12171,7 @@ pub mod storage { match self { Self::Account => "Account", Self::ExtrinsicCount => "ExtrinsicCount", + Self::InherentsApplied => "InherentsApplied", Self::BlockWeight => "BlockWeight", Self::AllExtrinsicsLen => "AllExtrinsicsLen", Self::BlockHash => "BlockHash", @@ -9810,6 +12186,7 @@ pub mod storage { Self::UpgradedToU32RefCount => "UpgradedToU32RefCount", Self::UpgradedToTripleRefCount => "UpgradedToTripleRefCount", Self::ExecutionPhase => "ExecutionPhase", + Self::AuthorizedUpgrade => "AuthorizedUpgrade", } } } @@ -9901,12 +12278,18 @@ pub mod exports { pub mod balances { pub use super::runtime_types::pallet_balances::pallet::Event; } - pub mod vesting { - pub use super::runtime_types::pallet_vesting::pallet::Event; - } pub mod transaction_payment { pub use super::runtime_types::pallet_transaction_payment::pallet::Event; } + pub mod session { + pub use super::runtime_types::pallet_session::pallet::Event; + } + pub mod utility { + pub use super::runtime_types::pallet_utility::pallet::Event; + } + pub mod vesting { + pub use super::runtime_types::pallet_vesting::pallet::Event; + } pub mod bags_list { pub use super::runtime_types::pallet_bags_list::pallet::Event; } @@ -9916,15 +12299,9 @@ pub mod exports { pub mod staking { pub use super::runtime_types::pallet_staking::pallet::pallet::Event; } - pub mod session { - pub use super::runtime_types::pallet_session::pallet::Event; - } pub mod treasury { pub use super::runtime_types::pallet_treasury::pallet::Event; } - pub mod utility { - pub use super::runtime_types::pallet_utility::pallet::Event; - } pub mod conviction_voting { pub use super::runtime_types::pallet_conviction_voting::pallet::Event; } @@ -9970,6 +12347,9 @@ pub mod exports { pub mod nomination_pools { pub use super::runtime_types::pallet_nomination_pools::pallet::Event; } + pub mod sudo { + pub use super::runtime_types::pallet_sudo::pallet::Event; + } pub mod gear { pub use super::runtime_types::pallet_gear::pallet::Event; } @@ -9982,9 +12362,6 @@ pub mod exports { pub mod gear_eth_bridge { pub use super::runtime_types::pallet_gear_eth_bridge::pallet::Event; } - pub mod sudo { - pub use super::runtime_types::pallet_sudo::pallet::Event; - } pub mod gear_debug { pub use super::runtime_types::pallet_gear_debug::pallet::Event; } From dba57e04dda029a8c527450dacae2b1f29d03ef8 Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:58:07 +0300 Subject: [PATCH 22/59] do not pin packages to frame-support 22.0.0 --- utils/crates-io/src/handler.rs | 45 ---------------------------------- 1 file changed, 45 deletions(-) diff --git a/utils/crates-io/src/handler.rs b/utils/crates-io/src/handler.rs index bf3c23ff203..757f738198a 100644 --- a/utils/crates-io/src/handler.rs +++ b/utils/crates-io/src/handler.rs @@ -208,43 +208,6 @@ mod substrate { /// . pub fn patch_workspace(name: &str, table: &mut InlineTable) { match name { - "frame-support" | "frame-system" | "sp-core" => { - table.insert("version", "22.0.0".into()); - } - "frame-support-test" => return, - "frame-benchmarking-cli" => { - table.insert("version", "26.0.0".into()); - } - "sc-cli" => { - table.insert("version", "0.30.0".into()); - } - "sc-client-db" | "sc-service" => { - table.insert("version", "0.29.0".into()); - } - "sp-api" | "sp-rpc" => { - table.insert("version", "20.0.0".into()); - } - "sp-arithmetic" => { - table.insert("version", "17.0.0".into()); - } - "sp-debug-derive" | "sp-std" => { - table.insert("version", "9.0.0".into()); - } - "sp-io" => { - table.insert("version", "24.0.0".into()); - } - "sp-runtime" => { - table.insert("version", "25.0.0".into()); - } - "sp-version" => { - table.insert("version", "23.0.0".into()); - } - "sp-weights" => { - table.insert("version", "21.0.0".into()); - } - "try-runtime-cli" => { - table.insert("version", "0.32.0".into()); - } // sp-allocator is outdated on crates.io, last // 3.0.0 forever, here we use gp-allocator instead. "sp-allocator" => { @@ -273,14 +236,6 @@ mod substrate { table.insert("version", GP_RUNTIME_INTERFACE_VERSION.into()); table.insert("package", "gp-runtime-interface".into()); } - // Depends on sp-wasm-interface. - // - // ref: - // - sp-runtime-interface-18.0.0 - // - sp-runtime-interface-proc-macro-12.0.0 - "sp-crypto-ec-utils" => { - table.insert("package", "gp-crypto-ec-utils".into()); - } _ => return, } From 1b00bd5c49862cd579c19e21fa5ea8533c486256 Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:16:36 +0300 Subject: [PATCH 23/59] fix Cargo.lock after merge --- Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb771e227ab..2bd87d40ae4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2814,7 +2814,7 @@ dependencies = [ "gimli 0.27.3", "hashbrown 0.13.2", "log", - "regalloc2", + "regalloc2 0.6.1", "smallvec", "target-lexicon", ] @@ -12792,7 +12792,7 @@ checksum = "24f040dee2588b4963afb4e420540439d126f73fdacf4a9c486a96d840bac3c9" dependencies = [ "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", + "pin-project-lite", "rustix 0.38.37", "tracing", "windows-sys 0.52.0", @@ -17844,7 +17844,7 @@ checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" dependencies = [ "combine", "crc", - "fastrand 2.0.1", + "fastrand 2.1.1", "hmac 0.12.1", "once_cell", "openssl", From 9cbc881a37b137d92ea02b4ca72035e3930bf89b Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Wed, 23 Oct 2024 17:04:50 +0200 Subject: [PATCH 24/59] rm frame-benchmarking from node-testing --- Cargo.lock | 1 - node/cli/src/command.rs | 4 ++-- node/testing/Cargo.toml | 2 -- node/testing/src/client.rs | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2bd87d40ae4..ae43a0a97cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6539,7 +6539,6 @@ dependencies = [ name = "gear-node-testing" version = "1.6.2" dependencies = [ - "frame-benchmarking", "frame-metadata-hash-extension", "frame-support", "frame-system", diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 4708c627a01..6050904c561 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -20,7 +20,7 @@ use crate::cli::{Cli, Subcommand}; use runtime_primitives::Block; use sc_cli::{ChainSpec, SubstrateCli}; use sc_service::config::BasePath; -use service::{chain_spec, ExtendHostFunctions, IdentifyVariant}; +use service::{chain_spec, IdentifyVariant}; impl SubstrateCli for Cli { fn impl_name() -> String { @@ -233,7 +233,7 @@ pub fn run() -> sc_cli::Result<()> { spec if spec.is_vara() => cmd .run_with_spec::, ExtendedHostFunctions< sp_io::SubstrateHostFunctions, - ExtendHostFunctions, + service::ExtendHostFunctions, >>(Some(config.chain_spec)), _ => Err("invalid chain spec".into()), } diff --git a/node/testing/Cargo.toml b/node/testing/Cargo.toml index d4d311e671c..1f9999cebed 100644 --- a/node/testing/Cargo.toml +++ b/node/testing/Cargo.toml @@ -51,7 +51,6 @@ sp-std.workspace = true # Substrate Other frame-system.workspace = true frame-support.workspace = true -frame-benchmarking.workspace = true frame-metadata-hash-extension.workspace = true [features] @@ -70,6 +69,5 @@ std = [ "sp-std/std", "frame-system/std", "frame-support/std", - "frame-benchmarking/std", "vara-runtime/std", ] diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index e7cc4e67dd8..f29b1c438dd 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -25,7 +25,6 @@ pub use substrate_test_client::*; use vara_runtime as runtime; pub type ExtendHostFunctions = ( - frame_benchmarking::benchmarking::HostFunctions, gear_runtime_interface::gear_ri::HostFunctions, gear_runtime_interface::sandbox::HostFunctions, sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, From e8d0139cda4d0f035046553902c015f800dca9f3 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 29 Oct 2024 11:13:29 +0100 Subject: [PATCH 25/59] update --- node/authorship/src/tests.rs | 16 ++++++-------- node/service/src/client.rs | 8 ++----- node/testing/src/client.rs | 42 ++++++++++++++++++------------------ 3 files changed, 29 insertions(+), 37 deletions(-) diff --git a/node/authorship/src/tests.rs b/node/authorship/src/tests.rs index 56db8c2f772..a66a7e393cd 100644 --- a/node/authorship/src/tests.rs +++ b/node/authorship/src/tests.rs @@ -68,8 +68,8 @@ use std::{ }; use testing::{ client::{ - Backend as TestBackend, Client as TestClient, ClientBlockImportExt, ExtendHostFunctions, - TestClientBuilder, TestClientBuilderExt, + Backend as TestBackend, Client as TestClient, ClientBlockImportExt, + RuntimeExecutor, TestClientBuilder, TestClientBuilderExt, }, keyring::{alice, bob, sign, signed_extra, CheckedExtrinsic}, }; @@ -77,18 +77,14 @@ use vara_runtime::{ AccountId, Runtime, RuntimeApi as RA, RuntimeCall, UncheckedExtrinsic, SLOT_DURATION, VERSION, }; -type RuntimeExecutor = sc_executor::WasmExecutor< - sc_executor::sp_wasm_interface::ExtendedHostFunctions< - sp_io::SubstrateHostFunctions, - ExtendHostFunctions, - >, ->; +// pub type RuntimeExecutor = +// sc_executor::WasmExecutor<(sp_io::SubstrateHostFunctions, ExtendHostFunctions)>; type TestProposal = sp_consensus::Proposal; fn get_executor() -> &'static RwLock { static EXECUTOR: OnceLock> = OnceLock::new(); - EXECUTOR.get_or_init(|| RwLock::new(WasmExecutor::builder().build())) + EXECUTOR.get_or_init(|| RwLock::new(RuntimeExecutor::builder().build())) } const SOURCE: TransactionSource = TransactionSource::External; @@ -254,7 +250,7 @@ pub fn init() -> ( let client_builder = TestClientBuilder::new(); let backend = client_builder.backend(); let executor = get_executor().read(); - let client = Arc::new(client_builder.build_with_wasm_executor(Some(executor.clone()))); + let client = Arc::new(client_builder.build()); let spawner = sp_core::testing::TaskExecutor::new(); let txpool = BasicPool::new_full( Default::default(), diff --git a/node/service/src/client.rs b/node/service/src/client.rs index b9a3049c8ef..959e4530521 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -40,12 +40,8 @@ pub type FullBackend = sc_service::TFullBackend; /// A specialized `WasmExecutor` intended to use across substrate node. It provides all required /// HostFunctions. -pub type RuntimeExecutor = sc_executor::WasmExecutor< - sc_executor::sp_wasm_interface::ExtendedHostFunctions< - sp_io::SubstrateHostFunctions, - ExtendHostFunctions, - >, ->; +pub type RuntimeExecutor = + sc_executor::WasmExecutor<(sp_io::SubstrateHostFunctions, ExtendHostFunctions)>; pub type FullClient = sc_service::TFullClient; diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index f29b1c438dd..41d51c7b7b3 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -18,7 +18,7 @@ //! Utilities to build a `TestClient` for gear- or vara-runtime. -use service::RuntimeExecutor; +pub use service::RuntimeExecutor; use sp_runtime::BuildStorage; /// Re-export test-client utilities. pub use substrate_test_client::*; @@ -61,14 +61,11 @@ impl substrate_test_client::GenesisInit for GenesisParameters { /// A `test-runtime` extensions to `TestClientBuilder`. pub trait TestClientBuilderExt: Sized { - /// Create test client builder. - fn new() -> Self; + /// Create test client builder. + fn new() -> Self; - /// Build the test client. - fn build(self) -> Client; - - /// Build the test client with customized executor. - fn build_with_wasm_executor(self, executor: Option) -> Client; + /// Build the test client. + fn build(self) -> Client; } impl TestClientBuilderExt @@ -79,17 +76,20 @@ impl TestClientBuilderExt GenesisParameters, > { - fn new() -> Self { - Self::default() - } - - fn build(self) -> Client { - self.build_with_native_executor(None).0 - } - - fn build_with_wasm_executor(self, executor: Option) -> Client { - let executor = executor.unwrap_or_else(|| WasmExecutor::builder().build()); - - self.build_with_native_executor(executor).0 - } + fn new() -> Self { + Self::default() + } + fn build(self) -> Client { + let executor = RuntimeExecutor::builder().build(); + use sc_service::client::LocalCallExecutor; + use std::sync::Arc; + let executor = LocalCallExecutor::new( + self.backend().clone(), + executor.clone(), + Default::default(), + ExecutionExtensions::new(None, Arc::new(executor)), + ) + .expect("Creates LocalCallExecutor"); + self.build_with_executor(executor).0 + } } From dbf083a344deb68e73ffbc04e2835feac6f6ec9f Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 29 Oct 2024 14:17:18 +0100 Subject: [PATCH 26/59] Update signature --- node/authorship/src/block_builder.rs | 27 +++++++++-- node/authorship/src/tests.rs | 14 +++--- node/testing/src/client.rs | 6 +-- node/testing/src/keyring.rs | 72 ++++++++++++++-------------- 4 files changed, 70 insertions(+), 49 deletions(-) diff --git a/node/authorship/src/block_builder.rs b/node/authorship/src/block_builder.rs index 43d11ec7fc0..fd780781aa8 100644 --- a/node/authorship/src/block_builder.rs +++ b/node/authorship/src/block_builder.rs @@ -24,7 +24,7 @@ use sp_blockchain::{ApplyExtrinsicFailed, Error, HeaderBackend}; use sp_runtime::{ legacy, traits::{Block as BlockT, Hash, HashingFor, Header as HeaderT, NumberFor, One}, - Digest, + Digest, ExtrinsicInclusionMode, }; use std::{marker::PhantomData, ops::DerefMut}; @@ -172,6 +172,7 @@ pub struct BlockBuilder<'a, Block: BlockT, C: ProvideRuntimeApi + 'a> { parent_hash: Block::Hash, /// The estimated size of the block header. estimated_header_size: usize, + extrinsic_inclusion_mode: ExtrinsicInclusionMode, } impl<'a, Block, C> BlockBuilder<'a, Block, C> @@ -208,9 +209,19 @@ where api.record_proof(); } - api.initialize_block(parent_hash, &header)?; + let core_version = api + .api_version::>(parent_hash)? + .ok_or_else(|| Error::VersionInvalid("Core".to_string()))?; - let version = api + let extrinsic_inclusion_mode = if core_version >= 5 { + api.initialize_block(parent_hash, &header)? + } else { + #[allow(deprecated)] + api.initialize_block_before_version_5(parent_hash, &header)?; + ExtrinsicInclusionMode::AllExtrinsics + }; + + let bb_version = api .api_version::>(parent_hash)? .ok_or_else(|| Error::VersionInvalid("BlockBuilderApi".to_string()))?; @@ -218,12 +229,18 @@ where parent_hash, extrinsics: Vec::new(), api, - version, + version: bb_version, estimated_header_size, call_api_at, + extrinsic_inclusion_mode, }) } + /// The extrinsic inclusion mode of the runtime for this block. + pub fn extrinsic_inclusion_mode(&self) -> ExtrinsicInclusionMode { + self.extrinsic_inclusion_mode + } + /// Push onto the block's list of extrinsics. /// /// This will ensure the extrinsic can be validly executed (by executing it). @@ -414,6 +431,7 @@ where version, parent_hash, estimated_header_size, + extrinsic_inclusion_mode: ExtrinsicInclusionMode::AllExtrinsics, } } @@ -442,6 +460,7 @@ where version: self.version, parent_hash: self.parent_hash, estimated_header_size: self.estimated_header_size, + extrinsic_inclusion_mode: ExtrinsicInclusionMode::AllExtrinsics, } } } diff --git a/node/authorship/src/tests.rs b/node/authorship/src/tests.rs index a66a7e393cd..52072966cfc 100644 --- a/node/authorship/src/tests.rs +++ b/node/authorship/src/tests.rs @@ -40,7 +40,6 @@ use pallet_gear_rpc_runtime_api::GearApi; use parking_lot::{Mutex, RwLock}; use runtime_primitives::{Block as TestBlock, BlockNumber}; use sc_client_api::Backend as _; -use sc_executor::WasmExecutor; use sc_service::client::Client; use sc_transaction_pool::{BasicPool, FullPool}; use sc_transaction_pool_api::{ @@ -77,9 +76,6 @@ use vara_runtime::{ AccountId, Runtime, RuntimeApi as RA, RuntimeCall, UncheckedExtrinsic, SLOT_DURATION, VERSION, }; -// pub type RuntimeExecutor = -// sc_executor::WasmExecutor<(sp_io::SubstrateHostFunctions, ExtendHostFunctions)>; - type TestProposal = sp_consensus::Proposal; fn get_executor() -> &'static RwLock { @@ -142,7 +138,7 @@ where { extrinsics .into_iter() - .map(|x| sign(x, spec_version, tx_version, best_hash).into()) + .map(|x| sign(x, spec_version, tx_version, best_hash, None).into()) .collect() } @@ -250,7 +246,7 @@ pub fn init() -> ( let client_builder = TestClientBuilder::new(); let backend = client_builder.backend(); let executor = get_executor().read(); - let client = Arc::new(client_builder.build()); + let client = Arc::new(client_builder.build(Some(executor.clone()))); let spawner = sp_core::testing::TaskExecutor::new(); let txpool = BasicPool::new_full( Default::default(), @@ -535,6 +531,7 @@ fn test_block_max_gas_works() { VERSION.spec_version, VERSION.transaction_version, genesis_hash, + None, ) .into()]; submit_and_maintain(client.clone(), txpool.clone(), extrinsics.clone()); @@ -657,6 +654,7 @@ fn test_pseudo_inherent_discarded_from_txpool() { VERSION.spec_version, VERSION.transaction_version, genesis_hash, + None, ); // A `DispatchClass::Normal` extrinsic - supposed to end up in the txpool let legit_xt = sign( @@ -667,6 +665,7 @@ fn test_pseudo_inherent_discarded_from_txpool() { VERSION.spec_version, VERSION.transaction_version, genesis_hash, + None, ); let extrinsics = vec![ @@ -706,6 +705,7 @@ fn test_block_builder_cloned_ok() { genesis_hash, ); + let mut block_builder = BlockBuilderBuilder::new(client.as_ref()) .on_parent_block(genesis_hash.into()) .with_parent_block_number(0) @@ -714,6 +714,8 @@ fn test_block_builder_cloned_ok() { .unwrap(); extrinsics.into_iter().for_each(|xt: OpaqueExtrinsic| { + + log::info!("{:?}", &xt); assert_ok!(block_builder.push(xt)); }); diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index 41d51c7b7b3..3b6c04eeac5 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -65,7 +65,7 @@ pub trait TestClientBuilderExt: Sized { fn new() -> Self; /// Build the test client. - fn build(self) -> Client; + fn build(self, executor: Option) -> Client; } impl TestClientBuilderExt @@ -79,8 +79,8 @@ impl TestClientBuilderExt fn new() -> Self { Self::default() } - fn build(self) -> Client { - let executor = RuntimeExecutor::builder().build(); + fn build(self, executor: Option) -> Client { + let executor = executor.unwrap_or_else(|| RuntimeExecutor::builder().build()); use sc_service::client::LocalCallExecutor; use std::sync::Arc; let executor = LocalCallExecutor::new( diff --git a/node/testing/src/keyring.rs b/node/testing/src/keyring.rs index 6c6499c6769..99137e831c6 100644 --- a/node/testing/src/keyring.rs +++ b/node/testing/src/keyring.rs @@ -85,45 +85,45 @@ pub fn signed_extra(nonce: Nonce) -> SignedExtra { CustomCheckNonce::from(nonce), frame_system::CheckWeight::new(), CustomChargeTransactionPayment::from(0), - frame_metadata_hash_extension::CheckMetadataHash::new(true), + frame_metadata_hash_extension::CheckMetadataHash::new(false), ) } -/// Sign given a `CheckedExtrinsic`. +/// Sign given `CheckedExtrinsic`. pub fn sign( - xt: CheckedExtrinsic, - spec_version: u32, - tx_version: u32, - genesis_hash: [u8; 32], + xt: CheckedExtrinsic, + spec_version: u32, + tx_version: u32, + genesis_hash: [u8; 32], + metadata_hash: Option<[u8; 32]>, ) -> UncheckedExtrinsic { - match xt.signed { - Some((signed, extra)) => { - let payload = ( - xt.function, - extra.clone(), - spec_version, - tx_version, - genesis_hash, - genesis_hash, - ); - let key = AccountKeyring::from_account_id(&signed).unwrap(); - let signature = payload - .using_encoded(|b| { - if b.len() > 256 { - key.sign(&sp_io::hashing::blake2_256(b)) - } else { - key.sign(b) - } - }) - .into(); - UncheckedExtrinsic { - signature: Some((sp_runtime::MultiAddress::Id(signed), signature, extra)), - function: payload.0, - } - } - None => UncheckedExtrinsic { - signature: None, - function: xt.function, - }, - } + match xt.signed { + Some((signed, extra)) => { + let payload = ( + xt.function, + extra.clone(), + spec_version, + tx_version, + genesis_hash, + genesis_hash, + metadata_hash, + ); + let key = AccountKeyring::from_account_id(&signed).unwrap(); + let signature = + payload + .using_encoded(|b| { + if b.len() > 256 { + key.sign(&sp_io::hashing::blake2_256(b)) + } else { + key.sign(b) + } + }) + .into(); + UncheckedExtrinsic { + signature: Some((sp_runtime::MultiAddress::Id(signed), signature, extra)), + function: payload.0, + } + }, + None => UncheckedExtrinsic { signature: None, function: xt.function }, + } } From f30239e74fc335f8fef2b3cd2fb9175e541fd65c Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Tue, 29 Oct 2024 19:34:26 +0400 Subject: [PATCH 27/59] update substrate --- Cargo.lock | 312 ++++++++++++++++++++++++++--------------------------- 1 file changed, 156 insertions(+), 156 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ae43a0a97cb..1d899506161 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1685,7 +1685,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "15.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "hash-db", "log", @@ -5451,7 +5451,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", ] @@ -5484,7 +5484,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-support-procedural", @@ -5508,7 +5508,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "43.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "Inflector", "array-bytes", @@ -5558,7 +5558,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "14.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -5569,7 +5569,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -5585,7 +5585,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "aquamarine", "frame-support", @@ -5626,7 +5626,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.6.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "docify", @@ -5641,7 +5641,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.46.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "futures", "indicatif", @@ -5663,7 +5663,7 @@ dependencies = [ [[package]] name = "frame-support" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "aquamarine", "array-bytes", @@ -5704,7 +5704,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "30.0.3" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "Inflector", "cfg-expr", @@ -5724,7 +5724,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -5736,7 +5736,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "proc-macro2", "quote", @@ -5746,7 +5746,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-executive", @@ -5774,7 +5774,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-system", @@ -5787,7 +5787,7 @@ dependencies = [ [[package]] name = "frame-system" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "cfg-if", "docify", @@ -5807,7 +5807,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5821,7 +5821,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "parity-scale-codec", @@ -5831,7 +5831,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "parity-scale-codec", @@ -6989,7 +6989,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "chrono", "frame-election-provider-support", @@ -11155,7 +11155,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-system", @@ -11170,7 +11170,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-system", @@ -11183,7 +11183,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -11206,7 +11206,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "aquamarine", "docify", @@ -11227,7 +11227,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "frame-benchmarking", @@ -11242,7 +11242,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -11259,7 +11259,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -11277,7 +11277,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11293,7 +11293,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11315,7 +11315,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11877,7 +11877,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -11899,7 +11899,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -11915,7 +11915,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -11934,7 +11934,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -11949,7 +11949,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "35.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-system", @@ -11967,7 +11967,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "33.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -11977,7 +11977,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-system", @@ -11993,7 +11993,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -12009,7 +12009,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -12023,7 +12023,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -12041,7 +12041,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -12059,7 +12059,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "frame-benchmarking", @@ -12076,7 +12076,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-system", @@ -12097,7 +12097,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12119,7 +12119,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "log", "sp-arithmetic 26.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -12128,7 +12128,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -12138,7 +12138,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "frame-benchmarking", @@ -12153,7 +12153,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "frame-benchmarking", @@ -12172,7 +12172,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-support", "frame-system", @@ -12187,7 +12187,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "41.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "jsonrpsee 0.24.7", "pallet-transaction-payment-rpc-runtime-api", @@ -12203,7 +12203,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -12215,7 +12215,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "frame-benchmarking", @@ -12233,7 +12233,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -12248,7 +12248,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -12262,7 +12262,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-benchmarking", "frame-support", @@ -14463,7 +14463,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "futures", @@ -14493,7 +14493,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.42.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -14508,7 +14508,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "docify", @@ -14535,7 +14535,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -14546,7 +14546,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.47.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "chrono", @@ -14587,7 +14587,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "fnv", "futures", @@ -14614,7 +14614,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "hash-db", "kvdb", @@ -14640,7 +14640,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "futures", @@ -14664,7 +14664,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "fork-tree", @@ -14700,7 +14700,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "futures", "jsonrpsee 0.24.7", @@ -14722,7 +14722,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "fork-tree", "parity-scale-codec", @@ -14735,7 +14735,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.30.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "ahash 0.8.11", "array-bytes", @@ -14779,7 +14779,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.30.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "finality-grandpa", "futures", @@ -14799,7 +14799,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "futures", @@ -14846,7 +14846,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.40.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -14884,7 +14884,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.35.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "polkavm", "sp-allocator", @@ -14909,7 +14909,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.32.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "log", "polkavm", @@ -14939,7 +14939,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.35.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "anyhow", "cfg-if", @@ -14957,7 +14957,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "console", "futures", @@ -14974,7 +14974,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "33.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -14988,7 +14988,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.15.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -15017,7 +15017,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -15068,7 +15068,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -15086,7 +15086,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "ahash 0.8.11", "futures", @@ -15105,7 +15105,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -15126,7 +15126,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -15163,7 +15163,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "futures", @@ -15182,7 +15182,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.12.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "bs58 0.5.1", "ed25519-dalek", @@ -15199,7 +15199,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "40.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "bytes", @@ -15233,7 +15233,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.18.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -15242,7 +15242,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "40.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "futures", "jsonrpsee 0.24.7", @@ -15274,7 +15274,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "jsonrpsee 0.24.7", "parity-scale-codec", @@ -15294,7 +15294,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -15318,7 +15318,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "futures", @@ -15350,7 +15350,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.46.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "directories", @@ -15414,7 +15414,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.36.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "log", "parity-scale-codec", @@ -15425,7 +15425,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.45.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "jsonrpsee 0.24.7", "parity-scale-codec", @@ -15444,7 +15444,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "derive_more 0.99.18", "futures", @@ -15465,7 +15465,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "25.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "chrono", "futures", @@ -15485,7 +15485,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "37.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "chrono", "console", @@ -15514,7 +15514,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -15525,7 +15525,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "futures", @@ -15552,7 +15552,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "futures", @@ -15568,7 +15568,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-channel 1.9.0", "futures", @@ -16577,7 +16577,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "29.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "log", "parity-scale-codec", @@ -16611,7 +16611,7 @@ dependencies = [ [[package]] name = "sp-api" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "hash-db", @@ -16648,7 +16648,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "Inflector", "blake2 0.10.6", @@ -16675,7 +16675,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "scale-info", @@ -16703,7 +16703,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "integer-sqrt", @@ -16717,7 +16717,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "scale-info", @@ -16729,7 +16729,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-inherents", @@ -16739,7 +16739,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "37.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "futures", "parity-scale-codec", @@ -16758,7 +16758,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.40.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "futures", @@ -16773,7 +16773,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.40.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "parity-scale-codec", @@ -16791,7 +16791,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "finality-grandpa", "log", @@ -16808,7 +16808,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.40.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "scale-info", @@ -16866,7 +16866,7 @@ dependencies = [ [[package]] name = "sp-core" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -16912,7 +16912,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.14.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -16946,7 +16946,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "blake2b_simd", "byteorder", @@ -16970,7 +16970,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "quote", "sp-crypto-hashing 0.1.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -16980,7 +16980,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -17000,7 +17000,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "proc-macro2", "quote", @@ -17021,7 +17021,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.29.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "environmental", "parity-scale-codec", @@ -17031,7 +17031,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.15.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "scale-info", @@ -17043,7 +17043,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -17083,7 +17083,7 @@ dependencies = [ [[package]] name = "sp-io" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "bytes", "docify", @@ -17109,7 +17109,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-runtime 39.0.1", @@ -17131,7 +17131,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.40.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -17152,7 +17152,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "thiserror", "zstd 0.12.4", @@ -17172,7 +17172,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.7.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -17182,7 +17182,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.12.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "scale-info", @@ -17193,7 +17193,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "scale-info", @@ -17206,7 +17206,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -17227,7 +17227,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "backtrace", "lazy_static", @@ -17237,7 +17237,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "32.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -17247,7 +17247,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "39.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "either", @@ -17320,7 +17320,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "28.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -17353,7 +17353,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "Inflector", "expander", @@ -17366,7 +17366,7 @@ dependencies = [ [[package]] name = "sp-session" version = "36.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "scale-info", @@ -17380,7 +17380,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "36.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -17414,7 +17414,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.43.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "hash-db", "log", @@ -17434,7 +17434,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "18.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek", @@ -17464,7 +17464,7 @@ checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" [[package]] name = "sp-storage" @@ -17482,7 +17482,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -17494,7 +17494,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "parity-scale-codec", @@ -17518,7 +17518,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "tracing", @@ -17529,7 +17529,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "sp-api 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "sp-runtime 39.0.1", @@ -17538,7 +17538,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "34.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "parity-scale-codec", @@ -17576,7 +17576,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "ahash 0.8.11", "hash-db", @@ -17617,7 +17617,7 @@ dependencies = [ [[package]] name = "sp-version" version = "37.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -17646,7 +17646,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -17670,7 +17670,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "21.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -17684,7 +17684,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "parity-scale-codec", "sp-std 14.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", @@ -17709,7 +17709,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "31.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -17989,7 +17989,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -18001,12 +18001,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" [[package]] name = "substrate-frame-rpc-system" version = "39.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -18026,7 +18026,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "http-body-util", "hyper 1.4.1", @@ -18040,7 +18040,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.44.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "async-trait", "jsonrpsee 0.24.7", @@ -18053,7 +18053,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "38.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "jsonrpsee 0.24.7", "parity-scale-codec", @@ -18070,7 +18070,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#06891d8665d75e27b6374157e4adba724bdbbae4" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409#2686925248a9b8b6a45c10014db48b35671d473b" dependencies = [ "array-bytes", "async-trait", From deb2cb371b650f94081216efedcb3362f8eab27f Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 29 Oct 2024 16:54:28 +0100 Subject: [PATCH 28/59] extrinsic_inclusion_mode --- node/authorship/src/block_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/authorship/src/block_builder.rs b/node/authorship/src/block_builder.rs index fd780781aa8..96ce1c46555 100644 --- a/node/authorship/src/block_builder.rs +++ b/node/authorship/src/block_builder.rs @@ -460,7 +460,7 @@ where version: self.version, parent_hash: self.parent_hash, estimated_header_size: self.estimated_header_size, - extrinsic_inclusion_mode: ExtrinsicInclusionMode::AllExtrinsics, + extrinsic_inclusion_mode: self.extrinsic_inclusion_mode, } } } From f55a2373b90c9a173ba79546e3d85550bfd3dc6e Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 29 Oct 2024 16:56:02 +0100 Subject: [PATCH 29/59] fmt --- node/authorship/src/tests.rs | 6 ++-- node/testing/src/client.rs | 40 ++++++++++----------- node/testing/src/keyring.rs | 70 ++++++++++++++++++------------------ 3 files changed, 58 insertions(+), 58 deletions(-) diff --git a/node/authorship/src/tests.rs b/node/authorship/src/tests.rs index 52072966cfc..71a761a2890 100644 --- a/node/authorship/src/tests.rs +++ b/node/authorship/src/tests.rs @@ -67,8 +67,8 @@ use std::{ }; use testing::{ client::{ - Backend as TestBackend, Client as TestClient, ClientBlockImportExt, - RuntimeExecutor, TestClientBuilder, TestClientBuilderExt, + Backend as TestBackend, Client as TestClient, ClientBlockImportExt, RuntimeExecutor, + TestClientBuilder, TestClientBuilderExt, }, keyring::{alice, bob, sign, signed_extra, CheckedExtrinsic}, }; @@ -705,7 +705,6 @@ fn test_block_builder_cloned_ok() { genesis_hash, ); - let mut block_builder = BlockBuilderBuilder::new(client.as_ref()) .on_parent_block(genesis_hash.into()) .with_parent_block_number(0) @@ -714,7 +713,6 @@ fn test_block_builder_cloned_ok() { .unwrap(); extrinsics.into_iter().for_each(|xt: OpaqueExtrinsic| { - log::info!("{:?}", &xt); assert_ok!(block_builder.push(xt)); }); diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index 3b6c04eeac5..7f1fcae99d8 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -61,11 +61,11 @@ impl substrate_test_client::GenesisInit for GenesisParameters { /// A `test-runtime` extensions to `TestClientBuilder`. pub trait TestClientBuilderExt: Sized { - /// Create test client builder. - fn new() -> Self; + /// Create test client builder. + fn new() -> Self; - /// Build the test client. - fn build(self, executor: Option) -> Client; + /// Build the test client. + fn build(self, executor: Option) -> Client; } impl TestClientBuilderExt @@ -76,20 +76,20 @@ impl TestClientBuilderExt GenesisParameters, > { - fn new() -> Self { - Self::default() - } - fn build(self, executor: Option) -> Client { - let executor = executor.unwrap_or_else(|| RuntimeExecutor::builder().build()); - use sc_service::client::LocalCallExecutor; - use std::sync::Arc; - let executor = LocalCallExecutor::new( - self.backend().clone(), - executor.clone(), - Default::default(), - ExecutionExtensions::new(None, Arc::new(executor)), - ) - .expect("Creates LocalCallExecutor"); - self.build_with_executor(executor).0 - } + fn new() -> Self { + Self::default() + } + fn build(self, executor: Option) -> Client { + let executor = executor.unwrap_or_else(|| RuntimeExecutor::builder().build()); + use sc_service::client::LocalCallExecutor; + use std::sync::Arc; + let executor = LocalCallExecutor::new( + self.backend().clone(), + executor.clone(), + Default::default(), + ExecutionExtensions::new(None, Arc::new(executor)), + ) + .expect("Creates LocalCallExecutor"); + self.build_with_executor(executor).0 + } } diff --git a/node/testing/src/keyring.rs b/node/testing/src/keyring.rs index 99137e831c6..86913bc54fe 100644 --- a/node/testing/src/keyring.rs +++ b/node/testing/src/keyring.rs @@ -91,39 +91,41 @@ pub fn signed_extra(nonce: Nonce) -> SignedExtra { /// Sign given `CheckedExtrinsic`. pub fn sign( - xt: CheckedExtrinsic, - spec_version: u32, - tx_version: u32, - genesis_hash: [u8; 32], - metadata_hash: Option<[u8; 32]>, + xt: CheckedExtrinsic, + spec_version: u32, + tx_version: u32, + genesis_hash: [u8; 32], + metadata_hash: Option<[u8; 32]>, ) -> UncheckedExtrinsic { - match xt.signed { - Some((signed, extra)) => { - let payload = ( - xt.function, - extra.clone(), - spec_version, - tx_version, - genesis_hash, - genesis_hash, - metadata_hash, - ); - let key = AccountKeyring::from_account_id(&signed).unwrap(); - let signature = - payload - .using_encoded(|b| { - if b.len() > 256 { - key.sign(&sp_io::hashing::blake2_256(b)) - } else { - key.sign(b) - } - }) - .into(); - UncheckedExtrinsic { - signature: Some((sp_runtime::MultiAddress::Id(signed), signature, extra)), - function: payload.0, - } - }, - None => UncheckedExtrinsic { signature: None, function: xt.function }, - } + match xt.signed { + Some((signed, extra)) => { + let payload = ( + xt.function, + extra.clone(), + spec_version, + tx_version, + genesis_hash, + genesis_hash, + metadata_hash, + ); + let key = AccountKeyring::from_account_id(&signed).unwrap(); + let signature = payload + .using_encoded(|b| { + if b.len() > 256 { + key.sign(&sp_io::hashing::blake2_256(b)) + } else { + key.sign(b) + } + }) + .into(); + UncheckedExtrinsic { + signature: Some((sp_runtime::MultiAddress::Id(signed), signature, extra)), + function: payload.0, + } + } + None => UncheckedExtrinsic { + signature: None, + function: xt.function, + }, + } } From cbef49bc87b268dd8812bcdb0dd8eda9e724c9b5 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 29 Oct 2024 23:41:23 +0100 Subject: [PATCH 30/59] fix wasm blob version --- runtime/vara/Cargo.toml | 1 - runtime/vara/build.rs | 4 +++- runtime/vara/src/lib.rs | 18 +++++++++--------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/runtime/vara/Cargo.toml b/runtime/vara/Cargo.toml index ade87c97214..98daa587c3d 100644 --- a/runtime/vara/Cargo.toml +++ b/runtime/vara/Cargo.toml @@ -208,7 +208,6 @@ std = [ "sp-transaction-pool/std", "sp-version/std", "substrate-wasm-builder", - "substrate-wasm-builder/metadata-hash", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/runtime/vara/build.rs b/runtime/vara/build.rs index 93d87991e85..ba56362d007 100644 --- a/runtime/vara/build.rs +++ b/runtime/vara/build.rs @@ -37,4 +37,6 @@ fn main() { } #[cfg(not(feature = "std"))] -fn main() {} +fn main() { + substrate_build_script_utils::generate_cargo_keys(); +} diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index bb79fae8d81..9eb72fb9a81 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -165,15 +165,15 @@ mod migrations; )] static _DEV_RUNTIME: u8 = 0; -// // By this we inject compile time version including commit hash -// // (https://github.com/paritytech/substrate/blob/297b3948f4a0f7f6504d4b654e16cb5d9201e523/utils/build-script-utils/src/version.rs#L44) -// // into the WASM runtime blob. This is used by the `runtime_wasmBlobVersion` RPC call. -// // The format of the version is `x.y.z-commit_hash`, where the `x.y.z` is the version of this crate, -// // and the `commit_hash` is the hash of the commit from which the WASM blob was built. -// #[cfg(all(target_arch = "wasm32", target_os = "unknown"))] -// #[link_section = "wasm_blob_version"] -// static _WASM_BLOB_VERSION: [u8; const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")) -// .len()] = const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")); +// By this we inject compile time version including commit hash +// (https://github.com/paritytech/substrate/blob/297b3948f4a0f7f6504d4b654e16cb5d9201e523/utils/build-script-utils/src/version.rs#L44) +// into the WASM runtime blob. This is used by the `runtime_wasmBlobVersion` RPC call. +// The format of the version is `x.y.z-commit_hash`, where the `x.y.z` is the version of this crate, +// and the `commit_hash` is the hash of the commit from which the WASM blob was built. +#[cfg(all(target_arch = "wasm32", target_os = "unknown"))] +#[link_section = "wasm_blob_version"] +static _WASM_BLOB_VERSION: [u8; const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")) + .len()] = const_str::to_byte_array!(env!("SUBSTRATE_CLI_IMPL_VERSION")); #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { From 59343cf0114d6d84c2836aece9907e29fae1339a Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 29 Oct 2024 23:41:29 +0100 Subject: [PATCH 31/59] fix rpc test --- gsdk/tests/rpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsdk/tests/rpc.rs b/gsdk/tests/rpc.rs index 15a269c4fb1..e5d5efb1e56 100644 --- a/gsdk/tests/rpc.rs +++ b/gsdk/tests/rpc.rs @@ -53,7 +53,7 @@ async fn pallet_errors_formatting() -> Result<()> { ErrorObject::owned( 8000, "Runtime error", - Some("Extrinsic `gear.upload_program` failed: 'ProgramConstructionFailed'"), + Some("\"Extrinsic `gear.upload_program` failed: 'ProgramConstructionFailed'\""), ), )))); From 4ff51f88fa8e9eb1a371f446b2f2b77e636ab0d1 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Wed, 30 Oct 2024 13:23:10 +0100 Subject: [PATCH 32/59] fix deps --- Cargo.lock | 1 + pallets/gear-builtin/Cargo.toml | 1 + pallets/gear-eth-bridge/Cargo.toml | 2 ++ 3 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 86e61a81a67..27e61d7db77 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11013,6 +11013,7 @@ dependencies = [ "pallet-gear-scheduler", "pallet-grandpa", "pallet-session", + "pallet-staking", "pallet-timestamp", "parity-scale-codec", "scale-info", diff --git a/pallets/gear-builtin/Cargo.toml b/pallets/gear-builtin/Cargo.toml index 4430f848c20..707230fbdf0 100644 --- a/pallets/gear-builtin/Cargo.toml +++ b/pallets/gear-builtin/Cargo.toml @@ -102,6 +102,7 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-staking/runtime-benchmarks", "ark-bls12-381", "ark-ec", "ark-ff", diff --git a/pallets/gear-eth-bridge/Cargo.toml b/pallets/gear-eth-bridge/Cargo.toml index ce05edba94e..c0153c75501 100644 --- a/pallets/gear-eth-bridge/Cargo.toml +++ b/pallets/gear-eth-bridge/Cargo.toml @@ -46,6 +46,7 @@ pallet-authorship = { workspace = true, features = ["std"] } pallet-balances = { workspace = true, features = ["std"] } pallet-grandpa = { workspace = true, features = ["std"] } pallet-session = { workspace = true, features = ["std"] } +pallet-staking = { workspace = true, features = ["std"] } sp-session = { workspace = true, features = ["std"] } pallet-gear = { workspace = true, features = ["std"] } pallet-timestamp = { workspace = true, features = ["std"] } @@ -94,6 +95,7 @@ try-runtime = [ # Gear deps. "common/runtime-benchmarks", "pallet-gear-builtin/runtime-benchmarks", + "pallet-staking/runtime-benchmarks", # Substrate deps. "frame-support/try-runtime", From 9e12a47a5d99dce4b7aaccb3f432eba14847c087 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Wed, 30 Oct 2024 16:08:11 +0100 Subject: [PATCH 33/59] update migrations --- runtime/vara/src/migrations.rs | 56 ++-------------------------------- 1 file changed, 3 insertions(+), 53 deletions(-) diff --git a/runtime/vara/src/migrations.rs b/runtime/vara/src/migrations.rs index ad77b0ba53b..3ae1693b1f9 100644 --- a/runtime/vara/src/migrations.rs +++ b/runtime/vara/src/migrations.rs @@ -22,60 +22,10 @@ const IDENTITY_MIGRATION_KEY_LIMIT: u64 = u64::MAX; /// All migrations that will run on the next runtime upgrade. pub type Migrations = ( - // migration for added section sizes - pallet_gear_program::migrations::add_section_sizes::AddSectionSizesMigration, - // substrate v1.4.0 - staking::MigrateToV14, - pallet_grandpa::migrations::MigrateV4ToV5, // move allocations to a separate storage item and remove pages_with_data field from program pallet_gear_program::migrations::allocations::MigrateAllocations, // Migrate Identity pallet for Usernames pallet_identity::migration::versioned::V0ToV1, -); - -mod staking { - use frame_support::{ - pallet_prelude::Weight, - traits::{GetStorageVersion, OnRuntimeUpgrade}, - }; - use pallet_staking::*; - use sp_core::Get; - - #[cfg(feature = "try-runtime")] - use sp_std::vec::Vec; - - #[cfg(feature = "try-runtime")] - use sp_runtime::TryRuntimeError; - - pub struct MigrateToV14(sp_std::marker::PhantomData); - impl OnRuntimeUpgrade for MigrateToV14 { - fn on_runtime_upgrade() -> Weight { - let current = Pallet::::in_code_storage_version(); - let on_chain = Pallet::::on_chain_storage_version(); - - if current == 14 && on_chain == 13 { - current.put::>(); - - log::info!("v14 applied successfully."); - T::DbWeight::get().reads_writes(1, 1) - } else { - log::warn!("v14 not applied."); - T::DbWeight::get().reads(1) - } - } - - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, TryRuntimeError> { - Ok(Default::default()) - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { - frame_support::ensure!( - Pallet::::on_chain_storage_version() == 14, - "v14 not applied" - ); - Ok(()) - } - } -} + pallet_staking::migrations::v15::MigrateV14ToV15, + pallet_nomination_pools::migration::versioned::V7ToV8, +); \ No newline at end of file From 557fa83da8fcc236d15d31b0146bb2775cbf8850 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Thu, 31 Oct 2024 17:47:55 +0400 Subject: [PATCH 34/59] impl cleanup migrations for fellowship index --- runtime/vara/src/migrations.rs | 37 ++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/runtime/vara/src/migrations.rs b/runtime/vara/src/migrations.rs index 3ae1693b1f9..7a719fc8fb9 100644 --- a/runtime/vara/src/migrations.rs +++ b/runtime/vara/src/migrations.rs @@ -18,14 +18,43 @@ use crate::*; -const IDENTITY_MIGRATION_KEY_LIMIT: u64 = u64::MAX; - /// All migrations that will run on the next runtime upgrade. pub type Migrations = ( // move allocations to a separate storage item and remove pages_with_data field from program pallet_gear_program::migrations::allocations::MigrateAllocations, // Migrate Identity pallet for Usernames - pallet_identity::migration::versioned::V0ToV1, + pallet_identity::migration::versioned::V0ToV1, pallet_staking::migrations::v15::MigrateV14ToV15, pallet_nomination_pools::migration::versioned::V7ToV8, -); \ No newline at end of file + CleanupFellowshipIndex, +); + +pub struct CleanupFellowshipIndex< + T: pallet_ranked_collective::Config, +>(core::marker::PhantomData); + +impl> + frame_support::traits::OnRuntimeUpgrade for CleanupFellowshipIndex +{ + fn on_runtime_upgrade() -> Weight { + use pallet_ranked_collective::{IdToIndex, Members}; + use sp_core::Get; + + let mut weight = Weight::zero(); + + IdToIndex::::iter_prefix(0).for_each( + |(who, _member_index)| { + weight = weight.saturating_add(T::DbWeight::get().reads(1)); + + if !Members::::contains_key(&who) { + log::debug!("Removing {who:?} from index"); + weight = weight.saturating_add(T::DbWeight::get().writes(1)); + + IdToIndex::::remove(0, who); + } + }, + ); + + weight + } +} From 70db72379281150f70d46c3f3f4808e5a96cad9a Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Thu, 31 Oct 2024 20:22:54 +0100 Subject: [PATCH 35/59] update blake3 --- Cargo.lock | 8 +------- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27e61d7db77..ed0108bc355 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1848,8 +1848,7 @@ dependencies = [ [[package]] name = "blake3" version = "1.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" +source = "git+https://github.com/gear-tech/BLAKE3?branch=fix-ci-win-cross#2d7c2fd6aa90fdf4b5b651a4acbd44840dd400e2" dependencies = [ "arrayref", "arrayvec 0.7.4", @@ -20354,8 +20353,3 @@ dependencies = [ "quote", "syn 1.0.109", ] - -[[patch.unused]] -name = "blake3" -version = "1.3.1" -source = "git+https://github.com/gear-tech/BLAKE3?branch=fix-clang-cl-cross#124a7d89c43dd242c080e59ad46e8c8904ae4b6e" diff --git a/Cargo.toml b/Cargo.toml index bc44b74d622..1c9e45060a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -586,7 +586,7 @@ wasmi-validation = { version = "0.5.0", git = "https://github.com/gear-tech/wasm wasm-instrument = { version = "0.4.0", git = "https://github.com/gear-tech/wasm-instrument", branch = "v0.4.0-sign-ext" } # TODO: remove after https://github.com/BLAKE3-team/BLAKE3/pull/230 -blake3 = { git = "https://github.com/gear-tech/BLAKE3", branch = "fix-clang-cl-cross" } +blake3 = { git = "https://github.com/gear-tech/BLAKE3", branch = "fix-ci-win-cross" } # TODO: remove after https://github.com/pepyakin/wabt-rs/pull/84 wabt = { git = "https://github.com/gear-tech/wabt-rs", branch = "al-win-crt" } From 837993ad9d9b311b9e18d853c397012c22af802d Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Thu, 31 Oct 2024 20:09:51 +0400 Subject: [PATCH 36/59] fix blake3 win cross compilation --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ed0108bc355..5a6aa626045 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1848,7 +1848,7 @@ dependencies = [ [[package]] name = "blake3" version = "1.5.4" -source = "git+https://github.com/gear-tech/BLAKE3?branch=fix-ci-win-cross#2d7c2fd6aa90fdf4b5b651a4acbd44840dd400e2" +source = "git+https://github.com/gear-tech/BLAKE3?branch=clang-cl-cross-compilation-v1.5.4#1dd5c968e8f1bf47306edaef63144b13a1d0867b" dependencies = [ "arrayref", "arrayvec 0.7.4", diff --git a/Cargo.toml b/Cargo.toml index 1c9e45060a6..60da9d681f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -586,7 +586,7 @@ wasmi-validation = { version = "0.5.0", git = "https://github.com/gear-tech/wasm wasm-instrument = { version = "0.4.0", git = "https://github.com/gear-tech/wasm-instrument", branch = "v0.4.0-sign-ext" } # TODO: remove after https://github.com/BLAKE3-team/BLAKE3/pull/230 -blake3 = { git = "https://github.com/gear-tech/BLAKE3", branch = "fix-ci-win-cross" } +blake3 = { git = "https://github.com/gear-tech/BLAKE3", branch = "clang-cl-cross-compilation-v1.5.4" } # TODO: remove after https://github.com/pepyakin/wabt-rs/pull/84 wabt = { git = "https://github.com/gear-tech/wabt-rs", branch = "al-win-crt" } From 3c5126af0d5fcb13025768bb9c5dec3e5e4692a7 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 31 Oct 2024 22:34:46 +0300 Subject: [PATCH 37/59] Try to fix OpenSSL build in `win-cross` --- .github/workflows/build.yml | 7 +++++++ scripts/win-cross-perl.sh | 5 +++++ 2 files changed, 12 insertions(+) create mode 100755 scripts/win-cross-perl.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f277af5fbc..064e6cbd7ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -219,6 +219,13 @@ jobs: wineboot winetricks win10 + - name: "Install: Strawberry Perl" + run: | + wget https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_53822_64bit/strawberry-perl-5.38.2.2-64bit-portable.zip + unzip strawberry-perl-5.38.2.2-64bit-portable.zip "perl/*" -d /usr/local/bin/strawberry-perl + rm strawberry-perl-5.38.2.2-64bit-portable.zip + echo "OPENSSL_SRC_PERL=$(pwd)/scripts/win-cross-perl.sh" >> $GITHUB_ENV + - name: "Install: LLVM" run: | sudo ./.github/build-win-cross/update-alternatives-clang.sh 12 100 diff --git a/scripts/win-cross-perl.sh b/scripts/win-cross-perl.sh new file mode 100755 index 00000000000..9c84e116a32 --- /dev/null +++ b/scripts/win-cross-perl.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +export WINEDEBUG="-all" + +wine /usr/local/bin/strawberry-perl/perl/bin/perl.exe From 7de9f6cd7412b3ffd22e4620e27d80cd38bebbb1 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 31 Oct 2024 22:39:36 +0300 Subject: [PATCH 38/59] Use `sudo` to unpack perl --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 064e6cbd7ad..d6771523d1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -222,7 +222,7 @@ jobs: - name: "Install: Strawberry Perl" run: | wget https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_53822_64bit/strawberry-perl-5.38.2.2-64bit-portable.zip - unzip strawberry-perl-5.38.2.2-64bit-portable.zip "perl/*" -d /usr/local/bin/strawberry-perl + sudo unzip strawberry-perl-5.38.2.2-64bit-portable.zip "perl/*" -d /usr/local/bin/strawberry-perl rm strawberry-perl-5.38.2.2-64bit-portable.zip echo "OPENSSL_SRC_PERL=$(pwd)/scripts/win-cross-perl.sh" >> $GITHUB_ENV From 8abf3593ef4da236e40d11ccbf73017628d3f64c Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 31 Oct 2024 23:11:07 +0300 Subject: [PATCH 39/59] Set `OPENSSL_NO_VENDOR` env var --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6771523d1b..f2305cfcf05 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -195,6 +195,7 @@ jobs: RUSTUP_HOME: /tmp/rustup_home WINEDEBUG: fixme-all CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse + OPENSSL_NO_VENDOR: 1 steps: - name: "ACTIONS: Checkout" uses: actions/checkout@v4 From 9f923f748404fdac040b25cb2e25d6430acd0906 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 02:22:57 +0300 Subject: [PATCH 40/59] Install Jom --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2305cfcf05..158735c312e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -195,7 +195,6 @@ jobs: RUSTUP_HOME: /tmp/rustup_home WINEDEBUG: fixme-all CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse - OPENSSL_NO_VENDOR: 1 steps: - name: "ACTIONS: Checkout" uses: actions/checkout@v4 @@ -227,6 +226,15 @@ jobs: rm strawberry-perl-5.38.2.2-64bit-portable.zip echo "OPENSSL_SRC_PERL=$(pwd)/scripts/win-cross-perl.sh" >> $GITHUB_ENV + - name: "Install: Jom (nmake)" + run: | + wget http://download.qt.io/official_releases/jom/jom.zip + sudo unzip jom.zip -d /usr/local/bin/jom + sudo ln -sf /usr/local/bin/jom/jom.exe /usr/local/bin/jom/nmake.exe + rm jom.zip + echo "VCINSTALLDIR=/usr/local/bin/jom" >> $GITHUB_ENV + echo "VSINSTALLDIR=" >> $GITHUB_ENV + - name: "Install: LLVM" run: | sudo ./.github/build-win-cross/update-alternatives-clang.sh 12 100 From de8f63f5a5ad97e99c1dbfa50728404699105fac Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 02:30:07 +0300 Subject: [PATCH 41/59] Use bash script to run Jom in wine --- .github/workflows/build.yml | 2 +- scripts/win-cross-nmake.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 scripts/win-cross-nmake.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 158735c312e..584727836d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -230,7 +230,7 @@ jobs: run: | wget http://download.qt.io/official_releases/jom/jom.zip sudo unzip jom.zip -d /usr/local/bin/jom - sudo ln -sf /usr/local/bin/jom/jom.exe /usr/local/bin/jom/nmake.exe + sudo cp "$(pwd)/scripts/win-cross-nmake.sh" /usr/local/bin/jom/nmake.exe rm jom.zip echo "VCINSTALLDIR=/usr/local/bin/jom" >> $GITHUB_ENV echo "VSINSTALLDIR=" >> $GITHUB_ENV diff --git a/scripts/win-cross-nmake.sh b/scripts/win-cross-nmake.sh new file mode 100755 index 00000000000..a6fcbf782c4 --- /dev/null +++ b/scripts/win-cross-nmake.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +export WINEDEBUG="-all" + +wine /usr/local/bin/jom/jom.exe From ee5ef78c7823f2c0f4ebac8c59301ca17e01b6e2 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 03:21:36 +0300 Subject: [PATCH 42/59] Install OpenSSL binaries for `win-cross` job --- .github/workflows/build.yml | 19 +++++-------------- scripts/win-cross-nmake.sh | 5 ----- scripts/win-cross-perl.sh | 5 ----- 3 files changed, 5 insertions(+), 24 deletions(-) delete mode 100755 scripts/win-cross-nmake.sh delete mode 100755 scripts/win-cross-perl.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 584727836d0..a9196efbec6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -219,21 +219,12 @@ jobs: wineboot winetricks win10 - - name: "Install: Strawberry Perl" + - name: "Install: FireDaemon OpenSSL" run: | - wget https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_53822_64bit/strawberry-perl-5.38.2.2-64bit-portable.zip - sudo unzip strawberry-perl-5.38.2.2-64bit-portable.zip "perl/*" -d /usr/local/bin/strawberry-perl - rm strawberry-perl-5.38.2.2-64bit-portable.zip - echo "OPENSSL_SRC_PERL=$(pwd)/scripts/win-cross-perl.sh" >> $GITHUB_ENV - - - name: "Install: Jom (nmake)" - run: | - wget http://download.qt.io/official_releases/jom/jom.zip - sudo unzip jom.zip -d /usr/local/bin/jom - sudo cp "$(pwd)/scripts/win-cross-nmake.sh" /usr/local/bin/jom/nmake.exe - rm jom.zip - echo "VCINSTALLDIR=/usr/local/bin/jom" >> $GITHUB_ENV - echo "VSINSTALLDIR=" >> $GITHUB_ENV + wget -q https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.4.0.zip + unzip openssl-3.4.0.zip "x64/*" -d openssl + echo "OPENSSL_NO_VENDOR=1" >> $GITHUB_ENV + echo "OPENSSL_DIR=$(pwd)/openssl/x64" >> $GIHUB_ENV - name: "Install: LLVM" run: | diff --git a/scripts/win-cross-nmake.sh b/scripts/win-cross-nmake.sh deleted file mode 100755 index a6fcbf782c4..00000000000 --- a/scripts/win-cross-nmake.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -export WINEDEBUG="-all" - -wine /usr/local/bin/jom/jom.exe diff --git a/scripts/win-cross-perl.sh b/scripts/win-cross-perl.sh deleted file mode 100755 index 9c84e116a32..00000000000 --- a/scripts/win-cross-perl.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -export WINEDEBUG="-all" - -wine /usr/local/bin/strawberry-perl/perl/bin/perl.exe From 5dec225997bce4375241c89aa942dcd386fd1dc8 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 03:24:51 +0300 Subject: [PATCH 43/59] Fix env name --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9196efbec6..46c678fc16e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -221,10 +221,10 @@ jobs: - name: "Install: FireDaemon OpenSSL" run: | - wget -q https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.4.0.zip + wget https://download.firedaemon.com/FireDaemon-OpenSSL/openssl-3.4.0.zip unzip openssl-3.4.0.zip "x64/*" -d openssl echo "OPENSSL_NO_VENDOR=1" >> $GITHUB_ENV - echo "OPENSSL_DIR=$(pwd)/openssl/x64" >> $GIHUB_ENV + echo "OPENSSL_DIR=$(pwd)/openssl/x64" >> $GITHUB_ENV - name: "Install: LLVM" run: | From dd35a175438a867b7c2843e6bb508f184d2947a9 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 15:59:43 +0400 Subject: [PATCH 44/59] enable metadata-hash extension --- .github/workflows/release.yml | 4 ++-- node/cli/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1496040fbb..2509d9ddf19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ on: - false default: 'false' -concurrency: +concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -73,7 +73,7 @@ jobs: cp -vf target/release/wasm-proc ./ - name: "Build: Production `vara-runtime`" - run: cargo build -p vara-runtime --profile production --no-default-features --features std + run: cargo build -p vara-runtime --profile production --no-default-features --features std,metadata-hash - name: "Test: Production `vara-runtime`" run: ./wasm-proc --check-runtime-imports --check-runtime-is-dev false target/production/wbuild/vara-runtime/vara_runtime.compact.wasm diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index d5362db079d..b777449eb97 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -32,7 +32,7 @@ pallet-gear-payment = { workspace = true, features = ["std"] } pallet-gear-staking-rewards = { workspace = true, optional = true, features = ["std"] } # Gear Runtimes -vara-runtime = { workspace = true, optional = true, features = ["std", "dev"] } +vara-runtime = { workspace = true, optional = true, features = ["std", "dev", "metadata-hash"] } # Substrate client sc-cli.workspace = true From 345f74309206ed6aa0504c6587a21c37b555b505 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 16:31:03 +0400 Subject: [PATCH 45/59] setup perl for windows runner --- .github/workflows/build-win-native.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 5a47d48b6b4..8ea2dfe6633 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -33,6 +33,11 @@ jobs: - name: "ACTIONS: Checkout" uses: actions/checkout@v4 + - name: "Set up Perl" + run: | + choco install strawberryperl + echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH + - name: "Install: Setup MSYS2 environment" uses: msys2/setup-msys2@v2 with: From 9dd74c5cfc867cc939082bc3daec28b53e125a7c Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 16:33:21 +0400 Subject: [PATCH 46/59] revert me: force win-native before linux --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46c678fc16e..e247f5e0a66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -272,7 +272,7 @@ jobs: CARGO_BUILD_TARGET: x86_64-pc-windows-msvc win-native: - needs: [dynamic-profiles, linux] + needs: [dynamic-profiles] if: ${{ !cancelled() && (github.ref == 'refs/heads/master' || inputs.win-native) }} uses: ./.github/workflows/build-win-native.yml with: From dbe116c5c24c401fbd15f6bf2651a6322ac275d2 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 16:35:30 +0400 Subject: [PATCH 47/59] move perl setup after msys2 --- .github/workflows/build-win-native.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 8ea2dfe6633..8e8405e77bd 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -33,11 +33,6 @@ jobs: - name: "ACTIONS: Checkout" uses: actions/checkout@v4 - - name: "Set up Perl" - run: | - choco install strawberryperl - echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH - - name: "Install: Setup MSYS2 environment" uses: msys2/setup-msys2@v2 with: @@ -46,6 +41,11 @@ jobs: procps mingw-w64-x86_64-protobuf + - name: "Set up Perl" + run: | + choco install strawberryperl + echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH + - name: "Install: Rustup" run: | Invoke-WebRequest -OutFile rustup-init.exe https://win.rustup.rs/x86_64 From a4648a5da0bb4dc01d63230d0fb0e39b1b150c57 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 16:46:00 +0400 Subject: [PATCH 48/59] install perl differently --- .github/workflows/build-win-native.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 8e8405e77bd..7139310189f 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -42,9 +42,15 @@ jobs: mingw-w64-x86_64-protobuf - name: "Set up Perl" + uses: shogo82148/actions-setup-perl@v1 + with: + perl-version: "5.32" + distribution: strawberry + + - name: "Perl install deps" run: | - choco install strawberryperl - echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH + cpanm --installdeps . + prove -lv t - name: "Install: Rustup" run: | From 327508e3ca044e142831a352025db67fd82264d2 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 16:55:55 +0400 Subject: [PATCH 49/59] try install choco --- .github/workflows/build-win-native.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 7139310189f..7f118d85d66 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -41,16 +41,15 @@ jobs: procps mingw-w64-x86_64-protobuf - - name: "Set up Perl" - uses: shogo82148/actions-setup-perl@v1 + - name: "Install: Choco" + uses: crazy-max/ghaction-chocolatey@v3 with: - perl-version: "5.32" - distribution: strawberry + args: -h - - name: "Perl install deps" + - name: "Install: StrawberryPerl" run: | - cpanm --installdeps . - prove -lv t + choco install strawberryperl + echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH - name: "Install: Rustup" run: | From 993a6fe4d27f48198703d0497c427db9f1b98c18 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 18:00:50 +0400 Subject: [PATCH 50/59] Install perl directly --- .github/workflows/build-win-native.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 7f118d85d66..2f69e2e1fe6 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -41,15 +41,18 @@ jobs: procps mingw-w64-x86_64-protobuf - - name: "Install: Choco" - uses: crazy-max/ghaction-chocolatey@v3 - with: - args: -h - - - name: "Install: StrawberryPerl" + - name: "Install: Strawberry Perl" run: | - choco install strawberryperl - echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH + $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'msi' } -PassThru + Invoke-WebRequest -OutFile $tmp "http://strawberryperl.com/download/5.32.1.1/strawberry-perl-5.32.1.1-64bit.msi" + Start-Process msiexec.exe -ArgumentList '/i', $tmp.FullName, '/quiet', '/norestart' -Wait + Remove-Item $tmp.FullName + + # Add Perl to PATH if needed (use the correct installation path) + $perlPath = "$Env:USERPROFILE\Strawberry\perl\bin" + $env:PATH += ";$perlPath" + Write-Host "Perl installed. Path added: $perlPath" + shell: powershell - name: "Install: Rustup" run: | From 5578f4b664423155491e8f01ed54aadc9598c893 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 1 Nov 2024 18:12:40 +0400 Subject: [PATCH 51/59] comment perl installation --- .github/workflows/build-win-native.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 2f69e2e1fe6..e22375bf7eb 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -41,18 +41,18 @@ jobs: procps mingw-w64-x86_64-protobuf - - name: "Install: Strawberry Perl" - run: | - $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'msi' } -PassThru - Invoke-WebRequest -OutFile $tmp "http://strawberryperl.com/download/5.32.1.1/strawberry-perl-5.32.1.1-64bit.msi" - Start-Process msiexec.exe -ArgumentList '/i', $tmp.FullName, '/quiet', '/norestart' -Wait - Remove-Item $tmp.FullName - - # Add Perl to PATH if needed (use the correct installation path) - $perlPath = "$Env:USERPROFILE\Strawberry\perl\bin" - $env:PATH += ";$perlPath" - Write-Host "Perl installed. Path added: $perlPath" - shell: powershell + # - name: "Install: Strawberry Perl" + # run: | + # $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'msi' } -PassThru + # Invoke-WebRequest -OutFile $tmp "http://strawberryperl.com/download/5.32.1.1/strawberry-perl-5.32.1.1-64bit.msi" + # Start-Process msiexec.exe -ArgumentList '/i', $tmp.FullName, '/quiet', '/norestart' -Wait + # Remove-Item $tmp.FullName + + # # Add Perl to PATH if needed (use the correct installation path) + # $perlPath = "$Env:USERPROFILE\Strawberry\perl\bin" + # $env:PATH += ";$perlPath" + # Write-Host "Perl installed. Path added: $perlPath" + # shell: powershell - name: "Install: Rustup" run: | From b70f5480c10a3e85bf0c3b0fb7b22e67e7f747d1 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 22:07:19 +0300 Subject: [PATCH 52/59] Install Strawberry Perl --- .github/workflows/build-win-native.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index e22375bf7eb..7901140402e 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -41,18 +41,17 @@ jobs: procps mingw-w64-x86_64-protobuf - # - name: "Install: Strawberry Perl" - # run: | - # $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'msi' } -PassThru - # Invoke-WebRequest -OutFile $tmp "http://strawberryperl.com/download/5.32.1.1/strawberry-perl-5.32.1.1-64bit.msi" - # Start-Process msiexec.exe -ArgumentList '/i', $tmp.FullName, '/quiet', '/norestart' -Wait - # Remove-Item $tmp.FullName - - # # Add Perl to PATH if needed (use the correct installation path) - # $perlPath = "$Env:USERPROFILE\Strawberry\perl\bin" - # $env:PATH += ";$perlPath" - # Write-Host "Perl installed. Path added: $perlPath" - # shell: powershell + - name: "Install: Strawberry Perl" + run: | + $perlPath = "$Env:USERPROFILE\strawberry-perl" + + $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'msi' } -PassThru + Invoke-WebRequest -OutFile $tmp "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54001_64bit_UCRT/strawberry-perl-5.40.0.1-64bit.msi" + Start-Process msiexec.exe -ArgumentList "/i $tmp /quiet /norestart TARGETDIR=$Env:USERPROFILE\strawberry-perl" -Wait + $tmp | Remove-Item + + Add-Content -Path $Env:GITHUB_ENV -Value "OPENSSl_SRC_PERL=$perlPath/perl/bin/perl.exe" + shell: powershell - name: "Install: Rustup" run: | From 3f3223477173759e26fce5f7cb14f1aaadcc9df0 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 22:14:27 +0300 Subject: [PATCH 53/59] Install nextest without temporary file --- .github/workflows/build-win-native.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 7901140402e..23d4538128d 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -71,7 +71,7 @@ jobs: - name: "Install: cargo-nextest" run: | - $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru + $tmp = "cargo-nextest.zip" Invoke-WebRequest -OutFile $tmp https://get.nexte.st/latest/windows $outputDir = if ($Env:CARGO_HOME) { Join-Path $Env:CARGO_HOME "bin" } else { "~/.cargo/bin" } $tmp | Expand-Archive -DestinationPath $outputDir -Force From 18d9859e7d095d9aa7c4afa1acb26e25e5c94b63 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 22:34:27 +0300 Subject: [PATCH 54/59] Install Strawberry Perl portable --- .github/workflows/build-win-native.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 23d4538128d..0097042f723 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -46,8 +46,8 @@ jobs: $perlPath = "$Env:USERPROFILE\strawberry-perl" $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'msi' } -PassThru - Invoke-WebRequest -OutFile $tmp "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54001_64bit_UCRT/strawberry-perl-5.40.0.1-64bit.msi" - Start-Process msiexec.exe -ArgumentList "/i $tmp /quiet /norestart TARGETDIR=$Env:USERPROFILE\strawberry-perl" -Wait + Invoke-WebRequest -OutFile $tmp "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54001_64bit_UCRT/strawberry-perl-5.40.0.1-64bit-portable.zip" + $tmp | Expand-Archive -DestinationPath $perlPath -Force $tmp | Remove-Item Add-Content -Path $Env:GITHUB_ENV -Value "OPENSSl_SRC_PERL=$perlPath/perl/bin/perl.exe" From 3e1fb7acc4b7e78e661a20b0be6f6983b86a2b0f Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 22:39:12 +0300 Subject: [PATCH 55/59] Fix filename --- .github/workflows/build-win-native.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 0097042f723..e2060e9c593 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -45,7 +45,7 @@ jobs: run: | $perlPath = "$Env:USERPROFILE\strawberry-perl" - $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'msi' } -PassThru + $tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru Invoke-WebRequest -OutFile $tmp "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54001_64bit_UCRT/strawberry-perl-5.40.0.1-64bit-portable.zip" $tmp | Expand-Archive -DestinationPath $perlPath -Force $tmp | Remove-Item From a03aba81fa2de4ee17e98b766ab895fbe850cd4e Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 22:59:58 +0300 Subject: [PATCH 56/59] Revert "revert me: force win-native before linux" This reverts commit 9dd74c5cfc867cc939082bc3daec28b53e125a7c. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e247f5e0a66..46c678fc16e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -272,7 +272,7 @@ jobs: CARGO_BUILD_TARGET: x86_64-pc-windows-msvc win-native: - needs: [dynamic-profiles] + needs: [dynamic-profiles, linux] if: ${{ !cancelled() && (github.ref == 'refs/heads/master' || inputs.win-native) }} uses: ./.github/workflows/build-win-native.yml with: From fc3004473ead73bcf73f43ffed00b2b792aff080 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Mon, 4 Nov 2024 13:13:49 +0100 Subject: [PATCH 57/59] cleanup --- pallets/gear-builtin/rpc/src/lib.rs | 1 - runtime/vara/src/lib.rs | 8 ++++---- runtime/vara/src/migrations.rs | 2 -- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pallets/gear-builtin/rpc/src/lib.rs b/pallets/gear-builtin/rpc/src/lib.rs index 5c2f0f9946f..d3e464a94b7 100644 --- a/pallets/gear-builtin/rpc/src/lib.rs +++ b/pallets/gear-builtin/rpc/src/lib.rs @@ -82,7 +82,6 @@ where fn map_err(error: impl ToString, desc: &'static str) -> ErrorObjectOwned { ErrorObject::owned(Error::RuntimeError.into(), desc, Some(error.to_string())) - // CallError::Custom(ErrorObject::owned(8000, desc, Some(format!("{err:?}")))).into() } api.query_actor_id(best_hash, builtin_id) diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 9eb72fb9a81..e810bccbcac 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1330,13 +1330,13 @@ mod runtime { pub struct Runtime; #[runtime::pallet_index(0)] - pub type System = frame_system::Pallet; + pub type System = frame_system; #[runtime::pallet_index(1)] - pub type Timestamp = pallet_timestamp::Pallet; + pub type Timestamp = pallet_timestamp; #[runtime::pallet_index(2)] - pub type Authorship = pallet_authorship::Pallet; + pub type Authorship = pallet_authorship; #[runtime::pallet_index(9)] pub type AuthorityDiscovery = pallet_authority_discovery; @@ -1493,7 +1493,7 @@ mod runtime { pub type System = frame_system; #[runtime::pallet_index(1)] - pub type Timestamp = pallet_timestamp::Pallet; + pub type Timestamp = pallet_timestamp; #[runtime::pallet_index(2)] pub type Authorship = pallet_authorship; diff --git a/runtime/vara/src/migrations.rs b/runtime/vara/src/migrations.rs index 7a719fc8fb9..be16b963a74 100644 --- a/runtime/vara/src/migrations.rs +++ b/runtime/vara/src/migrations.rs @@ -20,8 +20,6 @@ use crate::*; /// All migrations that will run on the next runtime upgrade. pub type Migrations = ( - // move allocations to a separate storage item and remove pages_with_data field from program - pallet_gear_program::migrations::allocations::MigrateAllocations, // Migrate Identity pallet for Usernames pallet_identity::migration::versioned::V0ToV1, pallet_staking::migrations::v15::MigrateV14ToV15, From cff74fb7fc2bd284ef8f1e6672056afd2b3f186f Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Sun, 10 Nov 2024 18:03:28 +0100 Subject: [PATCH 58/59] Always optimize `corosensei` crate --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 980c53bc65f..8ea6b3bf7b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -547,6 +547,9 @@ num-traits = { version = "0.2", default-features = false } # gear-core glob = "0.3.1" # cargo-gbuild smallvec = "1.13.2" # utils/node-wrapper +[profile.dev.package.corosensei] +opt-level = 3 + [profile.release] panic = "unwind" From 096959af7a397533e3bea1febeb708821818c46d Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Sun, 10 Nov 2024 18:08:02 +0100 Subject: [PATCH 59/59] Update Cargo.lock --- Cargo.lock | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 928ef2adbce..b671f90e6be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4646,6 +4646,7 @@ dependencies = [ "ethexe-common", "ethexe-db", "ethexe-processor", + "ethexe-runtime-common", "futures", "gear-core", "gprimitives", @@ -4654,6 +4655,7 @@ dependencies = [ "jsonrpsee 0.24.7", "log", "parity-scale-codec", + "serde", "sp-core 34.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-polkadot-stable2409)", "tokio", "tower 0.4.13", @@ -4679,6 +4681,7 @@ name = "ethexe-runtime-common" version = "1.6.2" dependencies = [ "anyhow", + "derive_more 0.99.18", "ethexe-common", "gear-core", "gear-core-errors", @@ -4688,6 +4691,7 @@ dependencies = [ "gsys", "log", "parity-scale-codec", + "serde", ] [[package]] @@ -5662,8 +5666,8 @@ dependencies = [ name = "gbuiltin-proxy" version = "1.6.2" dependencies = [ - "derive_more 0.99.18", "gprimitives", + "parity-scale-codec", "scale-info", ] @@ -13165,7 +13169,6 @@ checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" dependencies = [ "base64 0.22.1", "bytes", - "futures-channel", "futures-core", "futures-util", "http 1.1.0",